A dynamic array declared in a function cannot be substituted away. #2458
Labels
closed due inactivity
The issue/PR was automatically closed due to inactivity.
language design
Any changes to the language, e.g. new features
stale
The issue/PR was marked as stale because it has been open for too long.
The violated property
In general,
should be equivalent to
if
a
does not have side-effects.The violation
However, this property does not hold in Solidity because
behaves quite differently from
The latter performs elementwise copy while the former does not.
The text was updated successfully, but these errors were encountered: