diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-07 00:20:00 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-03-12 19:53:00 +0800 |
commit | 3ca37cadddf4f58cef5273c6b49e0f55c1162251 (patch) | |
tree | 1147f0f7d00ec34b8099016ff180c5c5f6722087 /AST.cpp | |
parent | 7d7f37bd5e1221243729edbd6ef8d19fd2ce13eb (diff) | |
download | dexon-solidity-3ca37cadddf4f58cef5273c6b49e0f55c1162251.tar.gz dexon-solidity-3ca37cadddf4f58cef5273c6b49e0f55c1162251.tar.zst dexon-solidity-3ca37cadddf4f58cef5273c6b49e0f55c1162251.zip |
Fixes after rebasing on top of develop
Diffstat (limited to 'AST.cpp')
-rw-r--r-- | AST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -671,7 +671,7 @@ void IndexAccess::checkTypeRequirements() BOOST_THROW_EXCEPTION(createTypeError("Index expression cannot be omitted.")); m_index->expectType(IntegerType(256)); if (type.isByteArray()) - m_type = make_shared<IntegerType>(8, IntegerType::Modifier::Hash); + m_type = make_shared<FixedBytesType>(1); else m_type = type.getBaseType(); m_isLValue = type.getLocation() != ArrayType::Location::CallData; |