diff options
author | RJ Catalano <catalanor0220@gmail.com> | 2016-01-12 05:39:35 +0800 |
---|---|---|
committer | RJ Catalano <catalanor0220@gmail.com> | 2016-01-12 05:39:35 +0800 |
commit | 4a6815c9bd1884ef8849fd3d2128b3c0c91a3044 (patch) | |
tree | 723e3527734e56a79d36885bed81d06270df2e4c /libsolidity/analysis/TypeChecker.cpp | |
parent | 9c29cf79cf404132ec3ab149c492cfa97b677543 (diff) | |
parent | aa645d11927dce715ed3507e4b2ae89cf984a488 (diff) | |
download | dexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.tar dexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.tar.gz dexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.tar.bz2 dexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.tar.lz dexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.tar.xz dexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.tar.zst dexon-solidity-4a6815c9bd1884ef8849fd3d2128b3c0c91a3044.zip |
Merge branch 'develop' of https://github.com/ethereum/solidity into develop
Diffstat (limited to 'libsolidity/analysis/TypeChecker.cpp')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 3 |
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(), |