diff options
Refactoring: Check types outside of AST and recover from some errors.
Diffstat (limited to 'libsolidity/ExpressionCompiler.h')
-rw-r--r-- | libsolidity/ExpressionCompiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ExpressionCompiler.h b/libsolidity/ExpressionCompiler.h index 02df4b87..d8fef5af 100644 --- a/libsolidity/ExpressionCompiler.h +++ b/libsolidity/ExpressionCompiler.h @@ -127,7 +127,7 @@ void ExpressionCompiler::setLValue(Expression const& _expression, _Arguments con { solAssert(!m_currentLValue, "Current LValue not reset before trying to set new one."); std::unique_ptr<_LValueType> lvalue(new _LValueType(m_context, _arguments...)); - if (_expression.lvalueRequested()) + if (_expression.annotation().lValueRequested) m_currentLValue = move(lvalue); else lvalue->retrieveValue(_expression.location(), true); |