Latrasis / linter-solidity

Atom Linter support for Solidity
Other
27 stars 10 forks source link

Undeclared identifier Error for "assert" #16

Open AustinFoss opened 7 years ago

AustinFoss commented 7 years ago

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.