mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Changed error message for for Unicode character in non-unicode string literal
Co-authored-by: Kamil Śliwak <cameel2@gmail.com>
This commit is contained in:
committed by
nishant-sachdeva
co-authored by
Kamil Śliwak
parent
9542e46ea4
commit
c21265f9f8
@@ -0,0 +1,7 @@
|
||||
contract test {
|
||||
function f() public pure returns (string memory) {
|
||||
return ";
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError 8936: (86-88): Invalid character in string. If you are trying to use Unicode characters, use a unicode"..." string literal.
|
||||
@@ -4,4 +4,4 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError 8936: (86-88): Invalid character in string.
|
||||
// ParserError 8936: (86-88): Invalid character in string. If you are trying to use Unicode characters, use a unicode"..." string literal.
|
||||
|
||||
Reference in New Issue
Block a user