aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-04-02 21:10:35 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-04-17 21:27:31 +0800
commitd997dc55d154c93af01175d880734b9e737d34ca (patch)
tree3e08f516eb4fdb499223e681b93fd86504558589 /AST.h
parent6e5de4832da7a3c2fdbc87b71523ac671083d9c0 (diff)
downloaddexon-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST.h b/AST.h
index 9f5f9fcb..8c36caea 100644
--- a/AST.h
+++ b/AST.h
@@ -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;