mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Return UTF-8 error in BoolResult and remove it from string type
This commit is contained in:
@@ -2,4 +2,4 @@ contract C {
|
||||
string s = hex"a000";
|
||||
}
|
||||
// ----
|
||||
// TypeError 7407: (28-37): Type literal_string hex"a000" (contains invalid UTF-8 sequence at position 0) is not implicitly convertible to expected type string storage ref.
|
||||
// TypeError 7407: (28-37): Type literal_string hex"a000" is not implicitly convertible to expected type string storage ref. Contains invalid UTF-8 sequence at position 0.
|
||||
|
||||
Reference in New Issue
Block a user