mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix null dereference in using for directive when operator name is empty
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
using {f as ''} for uint;
|
||||
using {f as ""} for int;
|
||||
using {f as hex""} for address;
|
||||
// ----
|
||||
// ParserError 4403: (12-14): Not a user-definable operator: . Only the following operators can be user-defined: |, &, ^, ~, +, -, *, /, %, ==, !=, <, >, <=, >=
|
||||
// ParserError 4403: (38-40): Not a user-definable operator: . Only the following operators can be user-defined: |, &, ^, ~, +, -, *, /, %, ==, !=, <, >, <=, >=
|
||||
// ParserError 4403: (63-68): Not a user-definable operator: . Only the following operators can be user-defined: |, &, ^, ~, +, -, *, /, %, ==, !=, <, >, <=, >=
|
||||
Reference in New Issue
Block a user