diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-04-02 22:56:12 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-04-17 21:27:31 +0800 |
commit | beba2705ba2fd9f87bf76f439c4a99cec0f6a06d (patch) | |
tree | 4e68520e7aec24ea1ff1d09d028feccc84705850 /AST.h | |
parent | d997dc55d154c93af01175d880734b9e737d34ca (diff) | |
download | dexon-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; }; /** |