mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Clean up visibility via contract name and fix ICE on calling unimplemented base function.
This commit is contained in:
@@ -1300,7 +1300,7 @@ bool ExpressionCompiler::visit(MemberAccess const& _memberAccess)
|
||||
functionType && member == "selector"
|
||||
)
|
||||
{
|
||||
if (functionType->kind() == FunctionType::Kind::Declaration)
|
||||
if (functionType->hasDeclaration())
|
||||
{
|
||||
m_context << functionType->externalIdentifier();
|
||||
/// need to store it as bytes4
|
||||
|
||||
Reference in New Issue
Block a user