aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-04-02 22:56:12 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-04-17 21:27:31 +0800
commitbeba2705ba2fd9f87bf76f439c4a99cec0f6a06d (patch)
tree4e68520e7aec24ea1ff1d09d028feccc84705850 /AST.h
parentd997dc55d154c93af01175d880734b9e737d34ca (diff)
downloaddexon-solidity-beba2705ba2fd9f87bf76f439c4a99cec0f6a06d.tar.gz
dexon-solidity-beba2705ba2fd9f87bf76f439c4a99cec0f6a06d.tar.zst
dexon-solidity-beba2705ba2fd9f87bf76f439c4a99cec0f6a06d.zip
Check all constructors in inheritance chain get args
- Also add a missing override in a function of EnumValue
Diffstat (limited to 'AST.h')
-rw-r--r--AST.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/AST.h b/AST.h
index 8c36caea..99abf229 100644
--- a/AST.h
+++ b/AST.h
@@ -284,6 +284,7 @@ public:
private:
void checkIllegalOverrides() const;
void checkAbstractFunctions();
+ void checkAbstractConstructors();
std::vector<std::pair<FixedHash<4>, FunctionTypePointer>> const& getInterfaceFunctionList() const;
@@ -376,7 +377,7 @@ class EnumValue: public Declaration
virtual void accept(ASTVisitor& _visitor) override;
virtual void accept(ASTConstVisitor& _visitor) const override;
- TypePointer getType(ContractDefinition const* = nullptr) const;
+ TypePointer getType(ContractDefinition const* = nullptr) const override;
};
/**