mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Improve error coverage of syntax checker
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
contract C {
|
||||
string s = unicode"À";
|
||||
}
|
||||
// ----
|
||||
// SyntaxError 8452: (28-38): Invalid UTF-8 sequence found
|
||||
// TypeError 7407: (28-38): Type literal_string (contains invalid UTF-8 sequence at position 0) is not implicitly convertible to expected type string storage ref.
|
||||
Reference in New Issue
Block a user