solhint icon indicating copy to clipboard operation
solhint copied to clipboard

Parse error for `unchecked` blocks

Open lukehutch opened this issue 3 years ago • 0 comments

Using the SolHint plugin for Remix, I get Error: Parse error: missing ';' at '{' with the following code, at the line marked // (*):

        unchecked {   // (*)
            _balances[sender] = balance - amount;
        }

I assume this means SolHint does not yet support the syntax of Solidity 0.8.0+?

lukehutch avatar Dec 02 '21 07:12 lukehutch