protofire/solhint

`assembly ("memory-safe")` not supported

PaulRBerg opened this issue · 2 comments

Solidity v0.8.13 introduced a dialect that lets users mark a piece of assembly code as memory safe:

assembly ("memory-safe") {
    ...
}

This dialect is not currently supported by Solhint, at least not in the visual interface in VSCode:

Screenshot 2023-02-05 at 8 03 54 PM

It's odd, however, because when running solhint as a CLI, no error is thrown.

Hey @PaulRBerg, I guess you are using Juan Blanco's solidity extension? If that's the case, i think the error should be reported there if the CLI works fine.

Yes, I am using Juan's extension, and I think you are right. I will close this issue here and re-open it there. Sorry.