Disallows old constructor syntax.

This commit is contained in:
Erik Kundt
2018-07-18 14:29:01 +02:00
parent b909df4573
commit 182a0a9551
7 changed files with 35 additions and 49 deletions
-1
View File
@@ -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; }