diff options
author | chriseth <chris@ethereum.org> | 2016-09-17 17:28:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-17 17:28:44 +0800 |
commit | 0bc8476aeaac94f44d85d72865c142ac4151967f (patch) | |
tree | 8543da5568ebcea7f75245619ec5e777c520e7ba /libsolidity | |
parent | 62f13ad8bf1f7f33bc90bb5c1e1b1e001032501d (diff) | |
parent | 031fd568cc753c2ac21e651eaadf2381b2585191 (diff) | |
download | dexon-solidity-0bc8476aeaac94f44d85d72865c142ac4151967f.tar dexon-solidity-0bc8476aeaac94f44d85d72865c142ac4151967f.tar.gz dexon-solidity-0bc8476aeaac94f44d85d72865c142ac4151967f.tar.bz2 dexon-solidity-0bc8476aeaac94f44d85d72865c142ac4151967f.tar.lz dexon-solidity-0bc8476aeaac94f44d85d72865c142ac4151967f.tar.xz dexon-solidity-0bc8476aeaac94f44d85d72865c142ac4151967f.tar.zst dexon-solidity-0bc8476aeaac94f44d85d72865c142ac4151967f.zip |
Merge pull request #1101 from ethereum/fixcrash
Fix crash for TypeName[k].
Diffstat (limited to 'libsolidity')
-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; } |