forked from federicobond/solidity-parser-antlr
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update to support Solidity 0.6.0 global structs and enums #11
Comments
There's a companion issue for this at consensys/solidty-antlr4 #4 |
@fluorostani FYI this is fixed in this fork. |
Hi Franco,
Thanks for alerting me to this. Unfortunately our reliance on the parser
isn't direct but via the solidity-coverage module which has it as a
dependency. I believe Goncalo at Consensys is going to be adding the fixes
there soon, along with some additional work to handle the Solidity 0.6.5
immutable keyword which we also use.
Thanks again,
Glyn
<http://www.artos.io/>
[image: twitter] <https://twitter.com/ArtosSystems>
[image: linkedin] <https://www.linkedin.com/company/28150002>
*Glyn Dimond*
Senior Blockchain Engineer | Artos Systems
+44 (0) 7306 666 768
glyn.dimond@artos.io
www.artossystems.io
Salisbury House, Finsbury Circus, London, EC2M 5SQ
…On Wed, 8 Apr 2020 at 19:20, Franco Victorio ***@***.***> wrote:
@fluorostani <https://github.com/fluorostani> FYI this is fixed in this
fork <https://github.com/solidity-parser/parser>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJPL2PZWTDG2FLVVVNFQCXLRLS573ANCNFSM4K7XDI2A>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solidity 0.6.0 allows structs and enums to be defined outside of contracts and libraries but the parser fails if it encounters this with:
extraneous input 'struct' expecting {<EOF>, 'pragma', 'import', 'abstract', 'contract', 'interface', 'library'}
The text was updated successfully, but these errors were encountered: