solang: If a function is declared pure, error should tell you which statement reads/writes contract storage

contract c {
     bool s;
     function test() public pure {
       s = true;
     }
}

This should give an error message tell you exactly where contract storage is being accessed.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

@Web3Foundation thanks for the reminder. Please approve hendobox, thank you very much.