diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-10 16:52:19 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-10 16:52:19 +0800 |
commit | 82c5fb32458309866033e12b8930a450753bc0bd (patch) | |
tree | 1657a824ff350199cb7454944abc280e35d61f28 /AST.cpp | |
parent | 943407e0fee2999ddeadb12fce417885d3fa59b7 (diff) | |
download | dexon-solidity-82c5fb32458309866033e12b8930a450753bc0bd.tar.gz dexon-solidity-82c5fb32458309866033e12b8930a450753bc0bd.tar.zst dexon-solidity-82c5fb32458309866033e12b8930a450753bc0bd.zip |
Addressing issues in Enum style fix
Diffstat (limited to 'AST.cpp')
-rw-r--r-- | AST.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -449,7 +449,7 @@ void Expression::requireLValue() void UnaryOperation::checkTypeRequirements() { - // INC, DEC, ADD, SUB, NOT, BitNot, DELETE + // Inc, Dec, Add, Sub, Not, BitNot, Delete m_subExpression->checkTypeRequirements(); if (m_operator == Token::Value::Inc || m_operator == Token::Value::Dec || m_operator == Token::Value::Delete) m_subExpression->requireLValue(); @@ -553,7 +553,7 @@ void FunctionCall::checkTypeRequirements() bool FunctionCall::isTypeConversion() const { - return m_expression->getType()->getCategory() == Type::Category::Type; + return m_expression->getType()->getCategory() == Type::Category::TypeType; } void NewExpression::checkTypeRequirements() |