Add unimplemented assertion to IR generation when accessing address member of external function types.

This commit is contained in:
Daniel Kirchner 2019-08-15 13:57:12 +02:00 committed by chriseth
parent 80199ded79
commit 42f30981db

View File

@ -718,6 +718,10 @@ void IRGeneratorForStatements::endVisit(MemberAccess const& _memberAccess)
{
solUnimplementedAssert(false, "");
}
else if (member == "address")
{
solUnimplementedAssert(false, "");
}
else
solAssert(
!!_memberAccess.expression().annotation().type->memberType(member),