Replace "doesn't" with "does not" in error message

This commit is contained in:
Mathias Baumann 2020-07-06 13:44:33 +02:00
parent 6e70aaf7ee
commit 8cdf14f1b3
6 changed files with 6 additions and 6 deletions

View File

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