Add setimmutable and loadimmutable to dialect.

This commit is contained in:
Mathias Baumann
2020-05-04 15:00:50 +02:00
committed by chriseth
parent 53ea962864
commit debcc8c056
12 changed files with 146 additions and 32 deletions
@@ -0,0 +1,11 @@
contract C {
function f() public pure {
assembly {
setimmutable("abc", 0)
loadimmutable("abc")
}
}
}
// ----
// DeclarationError: (63-75): Function not found.
// DeclarationError: (92-105): Function not found.