Return UTF-8 error in BoolResult and remove it from string type

This commit is contained in:
Alex Beregszaszi
2020-09-23 17:35:05 +01:00
parent a154594de6
commit e54110ff17
9 changed files with 19 additions and 17 deletions
@@ -3,4 +3,4 @@ contract C {
}
// ----
// SyntaxError 8452: (28-38): Contains invalid UTF-8 sequence at position 0.
// TypeError 7407: (28-38): Type literal_string hex"c0" (contains invalid UTF-8 sequence at position 0) is not implicitly convertible to expected type string storage ref.
// TypeError 7407: (28-38): Type literal_string hex"c0" is not implicitly convertible to expected type string storage ref. Contains invalid UTF-8 sequence at position 0.