From c6152b80595c4a1cc41afb2fab13db8180eb7833 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Wed, 23 Oct 2019 13:08:17 +0200 Subject: [PATCH] Compile fix. --- libsolidity/codegen/ExpressionCompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp index 5720cb4b9..3d4383301 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -1281,7 +1281,7 @@ bool ExpressionCompiler::visit(MemberAccess const& _memberAccess) if (FunctionCall const* funCall = dynamic_cast(&_memberAccess.expression())) if (auto const* addr = dynamic_cast(&funCall->expression())) if ( - addr->typeName().token() == Token::Address && + addr->type().typeName().token() == Token::Address && funCall->arguments().size() == 1 ) if (auto arg = dynamic_cast( funCall->arguments().front().get()))