From 7ffbfe67817ac0c29fe490f4a3dd003dca264b22 Mon Sep 17 00:00:00 2001 From: Anton Bukov Date: Tue, 9 May 2023 13:54:41 +0200 Subject: [PATCH] Fix assert --- libsolidity/ast/Types.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp index 743e381f7..70239bf56 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -4189,7 +4189,7 @@ MemberList::MemberMap MagicType::nativeMembers(ASTNode const*) const }); case Kind::MetaType: { - solAssert(!m_typeArgument, ""); + solAssert(m_typeArgument, ""); if (m_typeArgument->category() == Type::Category::Contract) { ContractDefinition const& contract = dynamic_cast(*m_typeArgument).contractDefinition();