-
Notifications
You must be signed in to change notification settings - Fork 279
Error when instrumenting an "if" in an assembly block #287
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
Comments
@chapati23 It looks like the parser needs to be updated to handle some of the newer assembly syntax. Will fix this weekend, thanks for reporting. |
Hey @cgewecke I'm hitting this issue too, wondering about how the fix is going. Any news? Anything I can do to help? |
If you have the flexibility to change the inline assembly a bit, a workaround is to use a
becomes:
|
is there any plan to address this issue? |
Ran into this on the latest version also |
Any updates on this? Or a fork that addresses the issue? |
This is finally fixed in |
We're getting an error when trying to instrument one of our contracts that has some assembly:
There was a problem instrumenting ./coverageEnv/contracts/MyContract.sol: SyntaxError: Expected "=:", "for", "function", "hex", "let", "return", "switch", "{", "}", comment, end of line, number, string, or whitespace but "i" found. Line: 29, Column: 7
It fails in the
if
statement at the bottom.Any idea why?
The text was updated successfully, but these errors were encountered: