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:
@@ -8,4 +8,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (169-171): Invalid type for argument in function call. Invalid implicit conversion from address to address payable requested.
|
||||
// TypeError: (169-171): Invalid type for argument in function call. Invalid implicit conversion from "address" to "address payable" requested.
|
||||
|
||||
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (105-144): Type function () external is not implicitly convertible to expected type function () payable external.
|
||||
// TypeError: (105-144): Type "function () external" is not implicitly convertible to expected type "function () payable external".
|
||||
|
||||
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (105-141): Type function () external is not implicitly convertible to expected type function () pure external.
|
||||
// TypeError: (105-141): Type "function () external" is not implicitly convertible to expected type "function () pure external".
|
||||
|
||||
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (105-141): Type function () external is not implicitly convertible to expected type function () view external.
|
||||
// TypeError: (105-141): Type "function () external" is not implicitly convertible to expected type "function () view external".
|
||||
|
||||
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (113-149): Type function () payable external is not implicitly convertible to expected type function () pure external.
|
||||
// TypeError: (113-149): Type "function () payable external" is not implicitly convertible to expected type "function () pure external".
|
||||
|
||||
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (113-149): Type function () payable external is not implicitly convertible to expected type function () view external.
|
||||
// TypeError: (113-149): Type "function () payable external" is not implicitly convertible to expected type "function () view external".
|
||||
|
||||
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (110-149): Type function () pure external is not implicitly convertible to expected type function () payable external.
|
||||
// TypeError: (110-149): Type "function () pure external" is not implicitly convertible to expected type "function () payable external".
|
||||
|
||||
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (110-149): Type function () view external is not implicitly convertible to expected type function () payable external.
|
||||
// TypeError: (110-149): Type "function () view external" is not implicitly convertible to expected type "function () payable external".
|
||||
|
||||
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (110-146): Type function () view external is not implicitly convertible to expected type function () pure external.
|
||||
// TypeError: (110-146): Type "function () view external" is not implicitly convertible to expected type "function () pure external".
|
||||
|
||||
Reference in New Issue
Block a user