aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorRJ Catalano <catalanor0220@gmail.com>2016-01-12 05:39:35 +0800
committerRJ Catalano <catalanor0220@gmail.com>2016-01-12 05:39:35 +0800
commit4a6815c9bd1884ef8849fd3d2128b3c0c91a3044 (patch)
tree723e3527734e56a79d36885bed81d06270df2e4c /libsolidity
parent9c29cf79cf404132ec3ab149c492cfa97b677543 (diff)
parentaa645d11927dce715ed3507e4b2ae89cf984a488 (diff)
downloaddexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.tar.gz
dexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.tar.zst
dexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.zip
Merge branch 'develop' of https://github.com/ethereum/solidity into develop
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/analysis/TypeChecker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index 75a9632e..3fb7303f 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -495,7 +495,10 @@ void TypeChecker::visitManually(
break;
}
if (!parameters)
+ {
typeError(_modifier.location(), "Referenced declaration is neither modifier nor base class.");
+ return;
+ }
if (parameters->size() != arguments.size())
typeError(
_modifier.location(),