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

Undeclared identifier Error for "assert" #16

Open
AustinFoss opened this issue Aug 30, 2017 · 0 comments
Open

Undeclared identifier Error for "assert" #16

AustinFoss opened this issue Aug 30, 2017 · 0 comments

Comments

@AustinFoss
Copy link

AustinFoss commented Aug 30, 2017

Edit: I had previously included "require" as also exhibiting the same error as "assert". Please disregard that as it does appear to be working.

I was testing the SafeMath contract found here: https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol

After changing to the latest compiler supported by linter-solidity (0.4.1) "assert" and "require" are still being high-lighted as an undeclared identifier. I tested the same code over in browser solidity and using their 0.4.1 compiler there are no errors.

@AustinFoss AustinFoss changed the title Undeclared identifier Error for "assert" and require Undeclared identifier Error for "assert" Aug 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants