mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update ExpressionCompiler.cpp
This commit is contained in:
parent
72a641fe9f
commit
c78b9c5737
@ -186,6 +186,7 @@ bool ExpressionCompiler::visit(Assignment const& _assignment)
|
|||||||
_assignment.leftHandSide().annotation().type
|
_assignment.leftHandSide().annotation().type
|
||||||
);
|
);
|
||||||
utils().convertType(*_assignment.rightHandSide().annotation().type, *type);
|
utils().convertType(*_assignment.rightHandSide().annotation().type, *type);
|
||||||
|
|
||||||
_assignment.leftHandSide().accept(*this);
|
_assignment.leftHandSide().accept(*this);
|
||||||
solAssert(!!m_currentLValue, "LValue not retrieved.");
|
solAssert(!!m_currentLValue, "LValue not retrieved.");
|
||||||
|
|
||||||
@ -234,6 +235,7 @@ bool ExpressionCompiler::visit(TupleExpression const& _tuple)
|
|||||||
components[i]->annotation().type = arrayType.baseType(); //force conversion
|
components[i]->annotation().type = arrayType.baseType(); //force conversion
|
||||||
utils().storeInMemoryDynamic(*components[i]->annotation().type, true);
|
utils().storeInMemoryDynamic(*components[i]->annotation().type, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_context << eth::Instruction::POP;
|
m_context << eth::Instruction::POP;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user