mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use quote function for all errors/warnings
This commit is contained in:
@@ -6,4 +6,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (129-138): Member "address" not found or not visible after argument-dependent lookup in struct C.S memory.
|
||||
// TypeError: (129-138): Member "address" not found or not visible after argument-dependent lookup in "struct C.S memory".
|
||||
|
||||
@@ -2,4 +2,4 @@ contract C {
|
||||
struct S { uint address; }
|
||||
}
|
||||
// ----
|
||||
// ParserError: (33-40): Expected identifier but got 'address'
|
||||
// ParserError: (33-40): Expected identifier but got "address"
|
||||
|
||||
@@ -6,6 +6,6 @@ contract Test {
|
||||
}
|
||||
// ----
|
||||
// TypeError: (114-115): External function arguments of reference type are read-only.
|
||||
// TypeError: (118-122): Type struct Test.S memory is not implicitly convertible to expected type struct Test.S calldata.
|
||||
// TypeError: (118-122): Type "struct Test.S memory" is not implicitly convertible to expected type "struct Test.S calldata".
|
||||
// TypeError: (178-179): External function arguments of reference type are read-only.
|
||||
// TypeError: (182-183): Type struct Test.S memory is not implicitly convertible to expected type struct Test.S calldata.
|
||||
// TypeError: (182-183): Type "struct Test.S memory" is not implicitly convertible to expected type "struct Test.S calldata".
|
||||
|
||||
Reference in New Issue
Block a user