-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I am trying to generate the documentation of my contracts, but the command doxity build in my truffle's project directory fails while compiling my contracts.
Example of contract failing to compile:
pragma solidity ^0.5.0;
/// @title Strategy
/// @notice This contract interface defines the method to compute the final score of a list of data
interface Strategy {
function compute(uint[] calldata _data) external pure returns(uint);
}
Message got:
SyntaxError: Error parsing *Strategy.sol: Expected "contract", "import", "library", "pragma", "using", comment, end of input, end of line, or whitespace but "i" found. Line: 5, Column: 1
Tools:
Truffle v5.0.2
Solc version used by truffle: 0.5.0
Possible reason
May be doxity using an older and incompatible compiler version of solc and for this reason fails to compile?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels