290706f497
When unevaluated constants are found in conditions, a lazy region is created for evaluating the subexpression, ensure that constant locals are replaced within the subexpressions while still leaving the subexpressions themselves unevaluated. In these lazy regions, the result of evaluating the subexpressions should not be cached, since these subexpressions are not themselves unevaluated and should be evaluated if encountered elsewhere. This was previously not done, leading to constants not being evaluated even when these didn't contain any unevaluated constants. Closes #51823 Change-Id: Ibfc02fef3ecfcd2f1d2e9e1451f0eb71dde6fb42 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290963 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
3 lines
30 B
Plaintext
3 lines
30 B
Plaintext
--target=dart2js
|
|
--no-defines
|