mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Introduce FunctionKind::Declaration and allow accessing function signatures via contract name.
This commit is contained in:
@@ -414,9 +414,9 @@ ReferenceType const* TypeProvider::withLocation(ReferenceType const* _type, Data
|
||||
return static_cast<ReferenceType const*>(instance().m_generalTypes.back().get());
|
||||
}
|
||||
|
||||
FunctionType const* TypeProvider::function(FunctionDefinition const& _function, bool _isInternal)
|
||||
FunctionType const* TypeProvider::function(FunctionDefinition const& _function, FunctionType::Kind _kind)
|
||||
{
|
||||
return createAndGet<FunctionType>(_function, _isInternal);
|
||||
return createAndGet<FunctionType>(_function, _kind);
|
||||
}
|
||||
|
||||
FunctionType const* TypeProvider::function(VariableDeclaration const& _varDecl)
|
||||
|
||||
Reference in New Issue
Block a user