aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-08-12 21:09:55 +0800
committerGitHub <noreply@github.com>2016-08-12 21:09:55 +0800
commit0d894a6832d21ba68f0f3d2fea66c8f4efc45815 (patch)
tree79d06aa3333b9921fbb99e1cecd56dd3ef595df7 /libsolidity/ast
parent08248ff4edca83c2edc57a4f081002cd2bb393a4 (diff)
parent92a711c4fb0f84186aeab955150a733bb1293aae (diff)
downloaddexon-solidity-0d894a6832d21ba68f0f3d2fea66c8f4efc45815.tar.gz
dexon-solidity-0d894a6832d21ba68f0f3d2fea66c8f4efc45815.tar.zst
dexon-solidity-0d894a6832d21ba68f0f3d2fea66c8f4efc45815.zip
Merge pull request #844 from Denton-L/remove-after
BREAKING: Remove after
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/Types.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp
index 28f7e1b7..d86a2caf 100644
--- a/libsolidity/ast/Types.cpp
+++ b/libsolidity/ast/Types.cpp
@@ -306,7 +306,7 @@ TypePointer IntegerType::unaryOperatorResult(Token::Value _operator) const
// for non-address integers, we allow +, -, ++ and --
else if (_operator == Token::Add || _operator == Token::Sub ||
_operator == Token::Inc || _operator == Token::Dec ||
- _operator == Token::After || _operator == Token::BitNot)
+ _operator == Token::BitNot)
return shared_from_this();
else
return TypePointer();
@@ -416,8 +416,7 @@ TypePointer FixedPointType::unaryOperatorResult(Token::Value _operator) const
_operator == Token::Add ||
_operator == Token::Sub ||
_operator == Token::Inc ||
- _operator == Token::Dec ||
- _operator == Token::After
+ _operator == Token::Dec
)
return shared_from_this();
else