mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[Sol->Yul] Fixing ice when copying struct that contains nested array to storage
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user