diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-04-02 21:10:35 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-04-17 21:27:31 +0800 |
commit | d997dc55d154c93af01175d880734b9e737d34ca (patch) | |
tree | 3e08f516eb4fdb499223e681b93fd86504558589 /AST.h | |
parent | 6e5de4832da7a3c2fdbc87b71523ac671083d9c0 (diff) | |
download | dexon-solidity-d997dc55d154c93af01175d880734b9e737d34ca.tar.gz dexon-solidity-d997dc55d154c93af01175d880734b9e737d34ca.tar.zst dexon-solidity-d997dc55d154c93af01175d880734b9e737d34ca.zip |
Allowing abstract contracts constructor to have no args
- If a constructor is part of an abstract contract we can omit its
arguments
- IF a contract is abstract make sure to not create and/or request
Assembly code about it since it's not compiled
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -566,7 +566,7 @@ public: std::vector<ASTPointer<Expression>> const& getArguments() const { return m_arguments; } /// @param _bases is the list of base contracts for base constructor calls. For modifiers an empty vector should be passed. - void checkTypeRequirements(std::vector<ASTPointer<InheritanceSpecifier>> const& _bases); + void checkTypeRequirements(std::vector<ContractDefinition const*> const& _bases); private: ASTPointer<Identifier> m_modifierName; |