Parsing of immutable state variable.

This commit is contained in:
chriseth
2020-03-12 17:11:24 +01:00
parent f8f18f2e55
commit fa148f2483
17 changed files with 84 additions and 12 deletions
@@ -0,0 +1,5 @@
contract C {
function f(uint immutable) public pure {}
}
// ----
// DeclarationError: (28-42): The "immutable" keyword can only be used for state variables.