Fix wording of error message.

This commit is contained in:
chriseth
2020-07-06 19:22:52 +02:00
parent a09a791999
commit e48d3e5847
9 changed files with 13 additions and 13 deletions
@@ -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.