Use quote function for all errors/warnings

This commit is contained in:
Mathias Baumann
2020-01-08 16:12:06 +01:00
parent 70a2902714
commit 593e2515e7
494 changed files with 1201 additions and 1157 deletions
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (74-82): Member "pop" is not available in uint256[] memory outside of storage.
// TypeError: (74-82): Member "pop" is not available in "uint256[] memory" outside of storage.
@@ -2,4 +2,4 @@ contract C {
uint[3/0] ids;
}
// ----
// TypeError: (22-25): Operator / not compatible with types int_const 3 and int_const 0
// TypeError: (22-25): Operator "/" not compatible with types "int_const 3" and "int_const 0".
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (63-71): Member "pop" not found or not visible after argument-dependent lookup in uint256.
// TypeError: (63-71): Member "pop" not found or not visible after argument-dependent lookup in "uint256".
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError: (66-71): Member "pop" is not available in uint256[] calldata outside of storage.
// TypeError: (66-71): Member "pop" is not available in "uint256[] calldata" outside of storage.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (72-77): Member "pop" is not available in uint256[] memory outside of storage.
// TypeError: (72-77): Member "pop" is not available in "uint256[] memory" outside of storage.
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError: (66-72): Member "push" is not available in uint256[] calldata outside of storage.
// TypeError: (66-72): Member "push" is not available in "uint256[] calldata" outside of storage.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (72-78): Member "push" is not available in uint256[] memory outside of storage.
// TypeError: (72-78): Member "push" is not available in "uint256[] memory" outside of storage.
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError: (65-88): Type bytes calldata slice is not implicitly convertible to expected type bytes memory.
// TypeError: (65-88): Type "bytes calldata slice" is not implicitly convertible to expected type "bytes memory".
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError: (79-85): Invalid type for argument in function call. Invalid implicit conversion from bytes calldata slice to bytes memory requested.
// TypeError: (79-85): Invalid type for argument in function call. Invalid implicit conversion from "bytes calldata slice" to "bytes memory" requested.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (66-74): Member "pop" not found or not visible after argument-dependent lookup in uint256[3] storage ref.
// TypeError: (66-74): Member "pop" not found or not visible after argument-dependent lookup in "uint256[3] storage ref".
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (65-73): Member "pop" not found or not visible after argument-dependent lookup in string storage ref.
// TypeError: (65-73): Member "pop" not found or not visible after argument-dependent lookup in "string storage ref".