solhint
solhint copied to clipboard
Upgrade @solidity-parser/parser
This will add support for memory-safe assembly inline blocks:
- assembly {
+ assembly ("memory-safe") {
as per https://docs.soliditylang.org/en/v0.8.13/assembly.html#memory-safety
Currently parsing errors due to the outdated version:
195:17 error Parse error: extraneous input '(' expecting {'{', StringLiteralFragment}
195:31 error Parse error: extraneous input ')' expecting '{'
The upgrade was successfully tested in the https://github.com/patrickd-/cheatsheet.sol repository
Need this!
Hey guys, is anyone still maintaining this repository? Sorry to tag you all but PRs like this are becoming a necessity in the latest versions of Solidity.
@fvictorio, @fernandomg, @idrabenia
please merge this ASAP, ("memory-safe")
is a somewhat common pattern