diff options
author | chriseth <chris@ethereum.org> | 2017-07-27 20:20:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-27 20:20:18 +0800 |
commit | 517a36640469ccf2501f85f763776b04268276c8 (patch) | |
tree | e09534264628a5477470c38dd62572a1b645803b /libsolidity/analysis | |
parent | 1caa14b0717533dc415d76aa92061235c7aaebfd (diff) | |
parent | 7c7c2baa82ec2fa0535381c2ea3418b8623a9062 (diff) | |
download | dexon-solidity-517a36640469ccf2501f85f763776b04268276c8.tar dexon-solidity-517a36640469ccf2501f85f763776b04268276c8.tar.gz dexon-solidity-517a36640469ccf2501f85f763776b04268276c8.tar.bz2 dexon-solidity-517a36640469ccf2501f85f763776b04268276c8.tar.lz dexon-solidity-517a36640469ccf2501f85f763776b04268276c8.tar.xz dexon-solidity-517a36640469ccf2501f85f763776b04268276c8.tar.zst dexon-solidity-517a36640469ccf2501f85f763776b04268276c8.zip |
Merge pull request #2652 from ethereum/fixMultiModifier
Re-allow multiple modifiers per function.
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index 23f01752..0d04c26d 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -510,8 +510,6 @@ bool TypeChecker::visit(FunctionDefinition const& _function) { if (dynamic_cast<ContractDefinition const*>(decl)) m_errorReporter.declarationError(modifier->location(), "Base constructor already provided."); - else - m_errorReporter.declarationError(modifier->location(), "Modifier already used for this function."); } else modifiers.insert(decl); |