[Sol->Yul] Fixing ice when copying struct that contains nested array to storage

This commit is contained in:
Djordje Mijovic
2020-10-28 09:28:40 +01:00
parent 07e3f60ffc
commit 28f92064b9
3 changed files with 55 additions and 8 deletions
+1 -1
View File
@@ -2220,7 +2220,7 @@ string YulUtilFunctions::updateStorageValueFunction(
structMembers[i].type->stackItems().size()
));
t("dynamicallyEncodedMember", structMembers[i].type->isDynamicallyEncoded());
if (structMembers[i].type->isDynamicallySized())
if (structMembers[i].type->isDynamicallyEncoded())
t("accessCalldataTail", accessCalldataTailFunction(*structMembers[i].type));
}
t("isValueType", structMembers[i].type->isValueType());