diff options
author | chriseth <chris@ethereum.org> | 2018-02-20 01:21:02 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-03-01 21:28:27 +0800 |
commit | 08b6a72d37f4e4149575bfc695d76c61b666a8a9 (patch) | |
tree | 555efff83792a49440eebdbebf079b7953d6d3ac /libsolidity/ast | |
parent | 754076319659a387a2c447fe69285aad07e0abb6 (diff) | |
download | dexon-solidity-08b6a72d37f4e4149575bfc695d76c61b666a8a9.tar dexon-solidity-08b6a72d37f4e4149575bfc695d76c61b666a8a9.tar.gz dexon-solidity-08b6a72d37f4e4149575bfc695d76c61b666a8a9.tar.bz2 dexon-solidity-08b6a72d37f4e4149575bfc695d76c61b666a8a9.tar.lz dexon-solidity-08b6a72d37f4e4149575bfc695d76c61b666a8a9.tar.xz dexon-solidity-08b6a72d37f4e4149575bfc695d76c61b666a8a9.tar.zst dexon-solidity-08b6a72d37f4e4149575bfc695d76c61b666a8a9.zip |
Fix multi-dimensional arrays in the ABI.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/Types.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp index 771ae643..6a9707f3 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -1589,8 +1589,6 @@ bool ArrayType::canBeUsedExternally(bool _inLibrary) const return true; else if (!m_baseType->canBeUsedExternally(_inLibrary)) return false; - else if (m_baseType->category() == Category::Array && m_baseType->isDynamicallySized()) - return false; else return true; } |