aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-07-27 20:20:18 +0800
committerGitHub <noreply@github.com>2017-07-27 20:20:18 +0800
commit517a36640469ccf2501f85f763776b04268276c8 (patch)
treee09534264628a5477470c38dd62572a1b645803b /libsolidity/analysis
parent1caa14b0717533dc415d76aa92061235c7aaebfd (diff)
parent7c7c2baa82ec2fa0535381c2ea3418b8623a9062 (diff)
downloaddexon-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.cpp2
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);