mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix wording of error message.
This commit is contained in:
@@ -16,7 +16,7 @@ contract B is A {
|
||||
function i(uint[] memory) public override payable {}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError 1686: (300-353): Function with same name and arguments defined twice.
|
||||
// DeclarationError 1686: (358-419): Function with same name and arguments defined twice.
|
||||
// DeclarationError 1686: (424-485): Function with same name and arguments defined twice.
|
||||
// DeclarationError 1686: (490-546): Function with same name and arguments defined twice.
|
||||
// DeclarationError 1686: (300-353): Function with same name and parameter types defined twice.
|
||||
// DeclarationError 1686: (358-419): Function with same name and parameter types defined twice.
|
||||
// DeclarationError 1686: (424-485): Function with same name and parameter types defined twice.
|
||||
// DeclarationError 1686: (490-546): Function with same name and parameter types defined twice.
|
||||
|
||||
@@ -3,4 +3,4 @@ contract A {
|
||||
function f(uint[] memory) internal pure {}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError 1686: (17-61): Function with same name and arguments defined twice.
|
||||
// DeclarationError 1686: (17-61): Function with same name and parameter types defined twice.
|
||||
|
||||
Reference in New Issue
Block a user