diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-06-27 18:29:03 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-18 20:29:01 +0800 |
commit | 182a0a95516e4f218524b929035e6a1bd5d2742c (patch) | |
tree | bcf6743a43070346a5193f1a4d9d12c3b5bd092c /libsolidity/ast | |
parent | b909df4573130e020c7f4dfb61c0571ba1bc02ab (diff) | |
download | dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.gz dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.bz2 dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.lz dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.xz dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.zst dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.zip |
Disallows old constructor syntax.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/AST.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h index acd90ad8..9ed3b9aa 100644 --- a/libsolidity/ast/AST.h +++ b/libsolidity/ast/AST.h @@ -614,7 +614,6 @@ public: StateMutability stateMutability() const { return m_stateMutability; } bool isConstructor() const { return m_isConstructor; } - bool isOldStyleConstructor() const { return m_isConstructor && !name().empty(); } bool isFallback() const { return !m_isConstructor && name().empty(); } bool isPayable() const { return m_stateMutability == StateMutability::Payable; } std::vector<ASTPointer<ModifierInvocation>> const& modifiers() const { return m_functionModifiers; } |