Merge pull request #9313 from ethereum/doesnt

[Trivial] Replace "doesn't" with "does not" in error message
This commit is contained in:
chriseth 2020-07-06 18:21:02 +02:00 committed by GitHub
commit a09a791999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -1336,7 +1336,7 @@ bool TypeChecker::visit(Conditional const& _conditional)
_conditional.location(),
"True expression's type " +
trueType->toString() +
" doesn't match false expression's type " +
" does not match false expression's type " +
falseType->toString() +
"."
);

View File

@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError 1080: (47-62): True expression's type bool doesn't match false expression's type uint8.
// TypeError 1080: (47-62): True expression's type bool does not match false expression's type uint8.

View File

@ -12,4 +12,4 @@ contract C {
}
}
// ----
// TypeError 1080: (165-177): True expression's type struct C.s1 memory doesn't match false expression's type struct C.s2 memory.
// TypeError 1080: (165-177): True expression's type struct C.s1 memory does not match false expression's type struct C.s2 memory.

View File

@ -7,4 +7,4 @@ contract C {
}
}
// ----
// TypeError 1080: (106-118): True expression's type function (bool) doesn't match false expression's type function ().
// TypeError 1080: (106-118): True expression's type function (bool) does not match false expression's type function ().

View File

@ -10,4 +10,4 @@ contract C {
}
}
// ----
// TypeError 1080: (139-151): True expression's type enum C.small doesn't match false expression's type enum C.big.
// TypeError 1080: (139-151): True expression's type enum C.small does not match false expression's type enum C.big.

View File

@ -7,4 +7,4 @@ contract C {
}
}
// ----
// TypeError 1080: (121-143): True expression's type mapping(uint8 => uint8) doesn't match false expression's type mapping(uint32 => uint8).
// TypeError 1080: (121-143): True expression's type mapping(uint8 => uint8) does not match false expression's type mapping(uint32 => uint8).