Closed 0xferit closed 4 years ago
This is an issue with the dependent solidity-parser-antlr library https://github.com/federicobond/solidity-parser-antlr/issues/15
😂
I've finally fixed this issue by forking the dependant libraries. Once PRs https://github.com/ConsenSys/solidity-antlr4/pull/5 and https://github.com/ConsenSys/solidity-parser-antlr/pull/17 on the dependant packages have been merged, I'll change back to ConsenSys' solidity-parser-antlr package.
If we omit patch number, it fails to parse.
So,
this works:
pragma solidity ^0.5.7;
but this doesn't:
pragma solidity ^0.5;