mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[test] Update tests to include location string.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user