Skip to content
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

Minor change cause sample-contract to not compile #28

Open
gpersoon opened this issue Oct 16, 2019 · 0 comments
Open

Minor change cause sample-contract to not compile #28

gpersoon opened this issue Oct 16, 2019 · 0 comments

Comments

@gpersoon
Copy link
Contributor

I've taken a contract from https://smartcontract.codes/ : LikeCoin
0x02f61fd2...992640cf98
image

When i click on it, it opens in https://ethereum-play.github.io/editor-solidity/ and compiles fine.
However when i start editting it, by just typing a space (or even do a page refresh): it suddenly doesn't compile any more and shows the error:

[
  {
    "component": "general",
    "formattedMessage": "MyContract:8:47: ParserError: Expected token LBrace got reserved keyword 'Pure'\n  function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n                                              ^\n",
    "message": "Expected token LBrace got reserved keyword 'Pure'",
    "type": "ParserError"
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant