diff options
author | chriseth <chris@ethereum.org> | 2017-08-07 18:41:45 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-08-14 18:44:25 +0800 |
commit | 77b26552b1ced81a1fda72148518e59292fdff52 (patch) | |
tree | 1c9cf908e587240ca36ed9ee9f8f5e2e2ca79d23 /libsolidity/ast | |
parent | 4d9790b6d5a490d30ed55b69fa117bc568fa4c64 (diff) | |
download | dexon-solidity-77b26552b1ced81a1fda72148518e59292fdff52.tar.gz dexon-solidity-77b26552b1ced81a1fda72148518e59292fdff52.tar.zst dexon-solidity-77b26552b1ced81a1fda72148518e59292fdff52.zip |
Allow multi-dimensional arrays in interfaces.
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 a66ccda5..8950bd75 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -1529,8 +1529,6 @@ TypePointer ArrayType::interfaceType(bool _inLibrary) const TypePointer baseExt = m_baseType->interfaceType(_inLibrary); if (!baseExt) return TypePointer(); - if (m_baseType->category() == Category::Array && m_baseType->isDynamicallySized()) - return TypePointer(); if (isDynamicallySized()) return make_shared<ArrayType>(DataLocation::Memory, baseExt); |