Explicitly set coder to v1 for syntax tests.

This commit is contained in:
chriseth
2020-12-09 15:25:15 +01:00
parent a5bd22795e
commit 72f1e4ea0b
45 changed files with 88 additions and 38 deletions
@@ -1,3 +1,4 @@
pragma abicoder v1;
contract C {
struct S { uint x; }
S s;
@@ -11,7 +12,7 @@ contract C {
}
}
// ----
// TypeError 2056: (131-132): This type cannot be encoded.
// TypeError 2056: (134-135): This type cannot be encoded.
// TypeError 9578: (200-201): Type not supported in packed mode.
// TypeError 9578: (203-204): Type not supported in packed mode.
// TypeError 2056: (151-152): This type cannot be encoded.
// TypeError 2056: (154-155): This type cannot be encoded.
// TypeError 9578: (220-221): Type not supported in packed mode.
// TypeError 9578: (223-224): Type not supported in packed mode.