-
Couldn't load subscription status.
- Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't workingstaleNo activity for an extensive periodNo activity for an extensive period
Description
Describe the bug
I'm using the somewhat recent unchecked context (new in solidity 0.8.0) in my contract and it makes syntest fail with a ParserError.
Trace: ParserError: missing ';' at '{' (5:18)
To Reproduce
Create a contract that uses the unchecked instruction with solidity version >= 0.8.0.
contract Test {
function uncheckedInc(uint256 i) internal pure returns (uint256) {
unchecked {
return i + 1;
}
}
}Try to run syntest-solitity as described in README.
Expected behavior
Should work
Screenshots
Environment information (please complete the following information):
- OS: Ubuntu 20.04
- Version 0.1.2
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleNo activity for an extensive periodNo activity for an extensive period