Fix compilation on develop

This commit is contained in:
Martin Blicha 2021-03-24 09:40:02 +01:00
parent e3ea5c631e
commit e0b7c2c125

View File

@ -165,7 +165,7 @@ bool FunctionCallGraphBuilder::visit(Identifier const& _identifier)
bool FunctionCallGraphBuilder::visit(MemberAccess const& _memberAccess) bool FunctionCallGraphBuilder::visit(MemberAccess const& _memberAccess)
{ {
TypePointer exprType = _memberAccess.expression().annotation().type; Type const* exprType = _memberAccess.expression().annotation().type;
ASTString const& memberName = _memberAccess.memberName(); ASTString const& memberName = _memberAccess.memberName();
if (auto magicType = dynamic_cast<MagicType const*>(exprType)) if (auto magicType = dynamic_cast<MagicType const*>(exprType))