diff options
author | chriseth <c@ethdev.com> | 2016-09-16 00:01:13 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-09-16 00:16:34 +0800 |
commit | 031fd568cc753c2ac21e651eaadf2381b2585191 (patch) | |
tree | da1d28fb0a26a89eb001544c72834efcbd76a328 /libsolidity/analysis | |
parent | 6a80511ffb63a69589252e26be62d18d6281c8ae (diff) | |
download | dexon-solidity-031fd568cc753c2ac21e651eaadf2381b2585191.tar dexon-solidity-031fd568cc753c2ac21e651eaadf2381b2585191.tar.gz dexon-solidity-031fd568cc753c2ac21e651eaadf2381b2585191.tar.bz2 dexon-solidity-031fd568cc753c2ac21e651eaadf2381b2585191.tar.lz dexon-solidity-031fd568cc753c2ac21e651eaadf2381b2585191.tar.xz dexon-solidity-031fd568cc753c2ac21e651eaadf2381b2585191.tar.zst dexon-solidity-031fd568cc753c2ac21e651eaadf2381b2585191.zip |
Fix crash for TypeName[k].
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index d9c54f75..ae7c13c8 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -1438,7 +1438,7 @@ bool TypeChecker::visit(IndexAccess const& _access) length->literalValue(nullptr) )); else - typeError(index->location(), "Integer constant expected."); + fatalTypeError(index->location(), "Integer constant expected."); } break; } |