diff options
author | Albert <me@albert.sh> | 2018-11-28 20:23:19 +0800 |
---|---|---|
committer | Albert <me@albert.sh> | 2018-12-06 08:54:04 +0800 |
commit | df08d79623302d8eb234402c2f4f00f2b06d7646 (patch) | |
tree | 3249b5876e69d5d209a36ede20dd410061af46ce /test | |
parent | 15e28fa444843d6b8e5bef81ae9fc73a41ae97f6 (diff) | |
download | dexon-solidity-df08d79623302d8eb234402c2f4f00f2b06d7646.tar.gz dexon-solidity-df08d79623302d8eb234402c2f4f00f2b06d7646.tar.zst dexon-solidity-df08d79623302d8eb234402c2f4f00f2b06d7646.zip |
Fix #5470
Remove unary + from the type system
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/unary_plus_expression.sol | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/unary_plus_expression.sol b/test/libsolidity/syntaxTests/parsing/unary_plus_expression.sol index 5646c43b..f2542d90 100644 --- a/test/libsolidity/syntaxTests/parsing/unary_plus_expression.sol +++ b/test/libsolidity/syntaxTests/parsing/unary_plus_expression.sol @@ -6,3 +6,4 @@ contract test { } // ---- // SyntaxError: (70-72): Use of unary + is disallowed. +// TypeError: (70-72): Unary operator + cannot be applied to type uint256 |