aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Types.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Types.cpp b/Types.cpp
index caa3b716..0b8259bf 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -308,6 +308,8 @@ TypePointer IntegerConstantType::unaryOperatorResult(Token::Value _operator) con
case Token::Sub:
value = -m_value;
break;
+ case Token::After:
+ return shared_from_this();
default:
return TypePointer();
}