Fix internal compiler error for arrays of recursive structs.

This commit is contained in:
Daniel Kirchner
2019-10-01 16:51:14 +02:00
parent 48c77c971d
commit 7202ebb5b2
4 changed files with 25 additions and 0 deletions
+2
View File
@@ -2050,6 +2050,8 @@ unsigned StructType::calldataOffsetOfMember(std::string const& _member) const
bool StructType::isDynamicallyEncoded() const
{
if (recursive())
return true;
solAssert(interfaceType(false).get(), "");
for (auto t: memoryMemberTypes())
{