[Bug]: immutable-state detector incorrectly claims strings can be made immutable #1595
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the issue:
According to the solidity docs while strings can be declared
constant
, they can not be declaredimmutable
at this time. This detector, however, asks for strings to be declaredimmutable
as if they were supported. Doing so causes the solidity compilation to fail.Code example to reproduce the issue:
Version:
0.9.2
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: