Introduce FunctionKind::Declaration and allow accessing function signatures via contract name.

This commit is contained in:
Daniel Kirchner
2020-01-09 15:40:41 +01:00
parent 17158995b5
commit 9535c0f520
18 changed files with 202 additions and 34 deletions
+2 -2
View File
@@ -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)