Merge remote-tracking branch 'origin/develop' into breaking

This commit is contained in:
chriseth
2021-07-06 12:03:11 +02:00
854 changed files with 18718 additions and 7401 deletions
@@ -0,0 +1,5 @@
contract C {
error E(int bytes, bytes x);
}
// ----
// ParserError 2314: (29-34): Expected ',' but got 'bytes'
@@ -0,0 +1,12 @@
contract C {
enum EnumType {A, B, C}
struct StructType {
uint x;
}
error E1(StructType StructType);
error E2(EnumType EnumType);
error E3(EnumType StructType, StructType EnumType);
}
// ----
@@ -0,0 +1,9 @@
error E1(function() internal);
error E2(S);
struct S {
S[] ss;
}
// ----
// TypeError 3417: (9-29): Internal or recursive type is not allowed as error parameter type.
// TypeError 3417: (40-41): Internal or recursive type is not allowed as error parameter type.
@@ -4,6 +4,3 @@ contract C {
}
// ----
// TypeError 3448: (14-35): Type containing a (nested) mapping is not allowed as error parameter type.
// TypeError 3417: (14-35): Internal or recursive type is not allowed as error parameter type.
// TypeError 3448: (70-91): Type containing a (nested) mapping is not allowed as error parameter type.
// TypeError 3417: (70-91): Internal or recursive type is not allowed as error parameter type.