mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Replace "doesn't" with "does not" in error message
This commit is contained in:
parent
6e70aaf7ee
commit
8cdf14f1b3
@ -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() +
|
||||
"."
|
||||
);
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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 ().
|
||||
|
@ -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.
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user