mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make CallableDeclaration::annotation pure virtual
This commit is contained in:
parent
dc6c19cafa
commit
dc380f017f
@ -300,12 +300,6 @@ ContractKind FunctionDefinition::inContractKind() const
|
|||||||
return contractDef->contractKind();
|
return contractDef->contractKind();
|
||||||
}
|
}
|
||||||
|
|
||||||
CallableDeclarationAnnotation& CallableDeclaration::annotation() const
|
|
||||||
{
|
|
||||||
return abstractAnnotation<CallableDeclarationAnnotation>("CallableDeclarationAnnotation");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
FunctionTypePointer FunctionDefinition::functionType(bool _internal) const
|
FunctionTypePointer FunctionDefinition::functionType(bool _internal) const
|
||||||
{
|
{
|
||||||
if (_internal)
|
if (_internal)
|
||||||
|
@ -637,7 +637,7 @@ public:
|
|||||||
bool markedVirtual() const { return m_isVirtual; }
|
bool markedVirtual() const { return m_isVirtual; }
|
||||||
virtual bool virtualSemantics() const { return markedVirtual(); }
|
virtual bool virtualSemantics() const { return markedVirtual(); }
|
||||||
|
|
||||||
CallableDeclarationAnnotation& annotation() const override;
|
CallableDeclarationAnnotation& annotation() const override = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
ASTPointer<ParameterList> m_parameters;
|
ASTPointer<ParameterList> m_parameters;
|
||||||
|
Loading…
Reference in New Issue
Block a user