-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to compile contracts written with solidity 0.5.0 #37
Comments
@0Alic yes, doxity uses solc 0.4.24 |
Is there a way to let doxity use compiler version 0.5.x? In any case, why does it fail compiling an |
You will have to use a version of |
Exploring the Thank you for your time! I will try to figure something out! |
May be you can have a look at this branch |
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:
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?
The text was updated successfully, but these errors were encountered: