[test] Update tests to include location string.

This commit is contained in:
Alexander Arlt
2022-04-01 23:41:18 -05:00
parent d4c02f2270
commit 0783ad9000
2684 changed files with 5877 additions and 5877 deletions
@@ -9,4 +9,4 @@ contract Test {
function f(MyStructName memory s) public {}
}
// ----
// TypeError 4103: (147-168): Recursive type not allowed for public or external contract functions.
// TypeError 4103: (147-168='MyStructName memory s'): Recursive type not allowed for public or external contract functions.
@@ -10,4 +10,4 @@ library Test {
}
}
// ----
// TypeError 4103: (146-168): Recursive structs can only be passed as storage pointers to libraries, not as memory objects to contract functions.
// TypeError 4103: (146-168='MyStructName memory _x'): Recursive structs can only be passed as storage pointers to libraries, not as memory objects to contract functions.
@@ -7,4 +7,4 @@ contract Data {
struct S { S[] x; }
}
// ----
// TypeError 4103: (63-78): Recursive type not allowed for public or external contract functions.
// TypeError 4103: (63-78='Data.S memory a'): Recursive type not allowed for public or external contract functions.
@@ -6,4 +6,4 @@ library a {
function d(b memory) public {}
}
// ----
// TypeError 4103: (149-157): Recursive structs can only be passed as storage pointers to libraries, not as memory objects to contract functions.
// TypeError 4103: (149-157='b memory'): Recursive structs can only be passed as storage pointers to libraries, not as memory objects to contract functions.
@@ -8,4 +8,4 @@ library Test {
function f(MyStructName storage s) public {}
}
// ----
// TypeError 4103: (142-164): Internal type is not allowed for public or external functions.
// TypeError 4103: (142-164='MyStructName storage s'): Internal type is not allowed for public or external functions.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// TypeError 4103: (126-134): Recursive type not allowed for public or external contract functions.
// TypeError 4103: (126-134='S memory'): Recursive type not allowed for public or external contract functions.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// TypeError 4103: (129-137): Recursive type not allowed for public or external contract functions.
// TypeError 4103: (129-137='S memory'): Recursive type not allowed for public or external contract functions.
@@ -7,4 +7,4 @@ contract C {
}
}
// ----
// TypeError 4103: (154-164): Recursive type not allowed for public or external contract functions.
// TypeError 4103: (154-164='T memory t'): Recursive type not allowed for public or external contract functions.