[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,7 +9,7 @@ contract C {
}
}
// ----
// TypeError 7407: (183-184): Type bytes storage ref is not implicitly convertible to expected type bytes16.
// TypeError 7407: (199-205): Type bytes calldata slice is not implicitly convertible to expected type bytes3.
// TypeError 9640: (220-230): Explicit type conversion not allowed from "string memory" to "bytes32".
// TypeError 7407: (245-246): Type string memory is not implicitly convertible to expected type bytes32.
// TypeError 7407: (183-184='s'): Type bytes storage ref is not implicitly convertible to expected type bytes16.
// TypeError 7407: (199-205='c[0:3]'): Type bytes calldata slice is not implicitly convertible to expected type bytes3.
// TypeError 9640: (220-230='bytes32(m)'): Explicit type conversion not allowed from "string memory" to "bytes32".
// TypeError 7407: (245-246='m'): Type string memory is not implicitly convertible to expected type bytes32.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError 1130: (51-52): Invalid use of a library name.
// TypeError 1130: (51-52='L'): Invalid use of a library name.
@@ -4,4 +4,4 @@ library C {
}
}
// ----
// TypeError 2876: (51-55): Index access for library types and arrays of libraries are not possible.
// TypeError 2876: (51-55='C[0]'): Index access for library types and arrays of libraries are not possible.