mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow multi-dimensional arrays in interfaces.
This commit is contained in:
parent
4d9790b6d5
commit
77b26552b1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user