Update tests.

This commit is contained in:
chriseth
2020-07-07 12:16:18 +02:00
parent 747aeb4999
commit 9743390a53
325 changed files with 757 additions and 776 deletions
@@ -1,7 +1,7 @@
contract B {
uint immutable x;
constructor() readX public {
constructor() readX {
x = 3;
}
@@ -18,4 +18,4 @@ contract C is B {
}
}
// ----
// TypeError 7733: (252-253): Immutable variables cannot be read during contract creation time, which means they cannot be read in the constructor or any function or modifier called from it.
// TypeError 7733: (245-246): Immutable variables cannot be read during contract creation time, which means they cannot be read in the constructor or any function or modifier called from it.