Relax restrictions on immutable initialization

This commit is contained in:
Kamil Śliwak
2023-07-14 15:29:32 +02:00
parent 490b90d0ab
commit dad2bf6472
54 changed files with 178 additions and 396 deletions
@@ -7,5 +7,3 @@ contract C is B {
x = 3;
}
}
// ----
// TypeError 7484: (88-89): Cannot write to immutable here: Immutable variables must be initialized in the constructor of the contract they are defined in.