mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update libsolidity/ast/Types.cpp
Co-authored-by: Hari <webmail.hari@gmail.com>
This commit is contained in:
parent
e7bb0b38e1
commit
422676aef2
@ -4189,7 +4189,7 @@ MemberList::MemberMap MagicType::nativeMembers(ASTNode const*) const
|
|||||||
});
|
});
|
||||||
case Kind::MetaType:
|
case Kind::MetaType:
|
||||||
{
|
{
|
||||||
solAssert(m_typeArgument != nullptr, "");
|
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