mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests for unicode literals
This commit is contained in:
@@ -7,29 +7,30 @@ Warning: Source file does not specify required compiler version!
|
||||
Warning: Statement has no effect.
|
||||
--> message_format_utf8/input.sol:2:51:
|
||||
|
|
||||
2 | /* ©©©©ᄅ©©©©© 2017 */ constructor () { "©©©©ᄅ©©©©©" ; }
|
||||
| ^^^^^^^^^^^^
|
||||
2 | /* ©©©©ᄅ©©©©© 2017 */ constructor () { unicode"©©©©ᄅ©©©©©" ; }
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Warning: Statement has no effect.
|
||||
--> message_format_utf8/input.sol:6:25:
|
||||
|
|
||||
6 | "S = π × r²";
|
||||
| ^^^^^^^^^^^^
|
||||
6 | unicode"S = π × r²";
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Warning: Statement has no effect.
|
||||
--> message_format_utf8/input.sol:7:39:
|
||||
|
|
||||
7 | /* ₀₁₂₃₄⁵⁶⁷⁸⁹ */ "∑ 1/n! ≈ 2.7"; // tabs in-between
|
||||
| ^^^^^^^^^^^^^^
|
||||
7 | /* ₀₁₂₃₄⁵⁶⁷⁸⁹ */ unicode"∑ 1/n! ≈ 2.7"; // tabs in-between
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Warning: Statement has no effect.
|
||||
--> message_format_utf8/input.sol:8:30:
|
||||
|
|
||||
8 | /* Ŀŏŗėɯ ïƥŝʉɱ */ "μὴ χεῖρον βέλτιστον"; // tabs in-between and inside
|
||||
| ^^^ ^^^^^^ ^^^^^^^^^^
|
||||
8 | /* Ŀŏŗėɯ ïƥŝʉɱ */ unicode"μὴ χεῖρον βέλτιστον"; // tabs in-between and inside
|
||||
| ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^
|
||||
|
||||
Warning: Function state mutability can be restricted to pure
|
||||
--> message_format_utf8/input.sol:12:2:
|
||||
|
|
||||
12 | function selector() public returns(uint) { // starts with tab
|
||||
| ^ (Relevant source part starts here and spans across multiple lines).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user