mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Compile fix.
This commit is contained in:
parent
7e01696030
commit
c6152b8059
@ -1281,7 +1281,7 @@ bool ExpressionCompiler::visit(MemberAccess const& _memberAccess)
|
|||||||
if (FunctionCall const* funCall = dynamic_cast<FunctionCall const*>(&_memberAccess.expression()))
|
if (FunctionCall const* funCall = dynamic_cast<FunctionCall const*>(&_memberAccess.expression()))
|
||||||
if (auto const* addr = dynamic_cast<ElementaryTypeNameExpression const*>(&funCall->expression()))
|
if (auto const* addr = dynamic_cast<ElementaryTypeNameExpression const*>(&funCall->expression()))
|
||||||
if (
|
if (
|
||||||
addr->typeName().token() == Token::Address &&
|
addr->type().typeName().token() == Token::Address &&
|
||||||
funCall->arguments().size() == 1
|
funCall->arguments().size() == 1
|
||||||
)
|
)
|
||||||
if (auto arg = dynamic_cast<Identifier const*>( funCall->arguments().front().get()))
|
if (auto arg = dynamic_cast<Identifier const*>( funCall->arguments().front().get()))
|
||||||
|
Loading…
Reference in New Issue
Block a user