aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-03-06 22:51:17 +0800
committerGitHub <noreply@github.com>2018-03-06 22:51:17 +0800
commit83dacbf669f58ad40e3035837d4ea8a846c46949 (patch)
treef9f2f1fd434fbe1949bd6f9407ecd62bae47c8fe /libsolidity/ast
parent0df4c64884d1b8d3695dd59de5f828ba5298b313 (diff)
parent98e8a9385456b5d3fe3ca7ef2e0c923b0aab2ea3 (diff)
downloaddexon-solidity-83dacbf669f58ad40e3035837d4ea8a846c46949.tar.gz
dexon-solidity-83dacbf669f58ad40e3035837d4ea8a846c46949.tar.zst
dexon-solidity-83dacbf669f58ad40e3035837d4ea8a846c46949.zip
Merge pull request #3549 from ethereum/fixmultidim
Properly detect which array and struct types are unsupported by the old ABI encoder.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/Types.cpp2
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;
}