Open
Description
Describe the issue:
Tests were conducted using solc versions 0.8.27 and 0.8.28, and both failed to generate IR. The bug persists in the latest release. Code:
contract Test {
function test() public {
[hex""][0] = hex"30";
}
}
Run slither: slither a.sol
Output:
ERROR:SlitherSolcParsing:
Failed to generate IR for Test.test. Please open an issue https://github.com/crytic/slither/issues.
Test.test (a.sol#3-5):
()[0] = 0
Traceback (most recent call last):
...
Code example to reproduce the issue:
contract Test {
function test() public {
[hex""][0] = hex"30";
}
}
Version:
0.11.0