Merge pull request #9646 from a3d4/improve-error-coverage-syntaxchecker

Improve error coverage of syntax checker
This commit is contained in:
chriseth
2020-08-20 13:18:35 +02:00
committed by GitHub
5 changed files with 15 additions and 23 deletions
@@ -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.