mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix assert
This commit is contained in:
parent
1d40bb4940
commit
7ffbfe6781
@ -4189,7 +4189,7 @@ MemberList::MemberMap MagicType::nativeMembers(ASTNode const*) const
|
|||||||
});
|
});
|
||||||
case Kind::MetaType:
|
case Kind::MetaType:
|
||||||
{
|
{
|
||||||
solAssert(!m_typeArgument, "");
|
solAssert(m_typeArgument, "");
|
||||||
if (m_typeArgument->category() == Type::Category::Contract)
|
if (m_typeArgument->category() == Type::Category::Contract)
|
||||||
{
|
{
|
||||||
ContractDefinition const& contract = dynamic_cast<ContractType const&>(*m_typeArgument).contractDefinition();
|
ContractDefinition const& contract = dynamic_cast<ContractType const&>(*m_typeArgument).contractDefinition();
|
||||||
|
Loading…
Reference in New Issue
Block a user