Display BoolResult from implicit/explicit conversions for more clarity in error messages

This commit is contained in:
Alex Beregszaszi
2020-09-23 16:04:07 +01:00
parent 858b4507e2
commit af8d78010e
20 changed files with 48 additions and 38 deletions
@@ -5,5 +5,5 @@ contract C {
}
}
// ----
// TypeError 7407: (58-60): Type int_const -1 is not implicitly convertible to expected type uint256.
// TypeError 7407: (58-60): Type int_const -1 is not implicitly convertible to expected type uint256. Cannot implicitly convert signed literal to unsigned type.
// TypeError 6318: (56-61): Index expression cannot be represented as an unsigned integer.