diff options
author | chriseth <chris@ethereum.org> | 2017-07-27 17:52:42 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-07-27 19:45:39 +0800 |
commit | 7c7c2baa82ec2fa0535381c2ea3418b8623a9062 (patch) | |
tree | 6a5bea3334a5e4c426beea7365312b314ab1f36f /libsolidity/analysis | |
parent | 07e0a7e090111dd49e0bb6af96a4036f1bd186ac (diff) | |
download | dexon-solidity-7c7c2baa82ec2fa0535381c2ea3418b8623a9062.tar.gz dexon-solidity-7c7c2baa82ec2fa0535381c2ea3418b8623a9062.tar.zst dexon-solidity-7c7c2baa82ec2fa0535381c2ea3418b8623a9062.zip |
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); |