Immutables with literal values are pure.

This commit is contained in:
chriseth
2020-11-10 13:08:42 +01:00
parent 41f5036507
commit 765ed13814
6 changed files with 12 additions and 6 deletions
@@ -5,4 +5,3 @@ contract B {
}
}
// ----
// TypeError 2527: (100-101): Function declared as pure, but this expression (potentially) reads from the environment or state and thus requires "view".