aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-12 21:15:04 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-16 17:46:46 +0800
commit7d6357ae531f604387fc1f91799fca9a9102e856 (patch)
tree4cb419dd9d6e09ca827dc450287c3d5339b4c082 /ExpressionCompiler.cpp
parent67cd3a7180023f613efda64f4f4d2b1bc37990c6 (diff)
downloaddexon-solidity-7d6357ae531f604387fc1f91799fca9a9102e856.tar.gz
dexon-solidity-7d6357ae531f604387fc1f91799fca9a9102e856.tar.zst
dexon-solidity-7d6357ae531f604387fc1f91799fca9a9102e856.zip
- added isPartOfExternalInterface to Declaration
- changed position for the constant specifier. now it goes after type: <type> <constant> <name> = <value> - removed tests for constant functions, checkings for constant function doesn't belong to this story
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r--ExpressionCompiler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index ce5f184b..9391bc2a 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -859,6 +859,8 @@ void ExpressionCompiler::endVisit(Identifier const& _identifier)
{
if (!variable->isConstant())
setLValueFromDeclaration(*declaration, _identifier);
+ else
+ variable->getValue()->accept(*this);
}
else if (dynamic_cast<ContractDefinition const*>(declaration))
{