dart-sdk/tests/web/regress
Stephen Adams 90127334ea [dart2js] Pass box to inlined generative constructor body
There was a rare mismatch between arguments and parameters when
inlining a constructor body.

The full arguments at the call site of a constructor body (always in a
generative constructor factory) and the parameters at inlining would
not agree on needing a 'box' for the constructor's closed-over mutated
variables (parameters and locals) when the box was needed only for
locals closed over in an assertion.

The fix is to make the condition for accepting a box match the test
for generating the box in the caller.

Bug: 45943
Change-Id: I3b056cb710ffac72bec6943809e04472a838e5bf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/198741
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2021-05-07 22:50:27 +00:00
..
4434_lib.dart
4434_test.dart
4492_test.dart
4515_1_test.dart
4515_2_test.dart
4515_3_test.dart
4639_test.dart
41781_test.dart
43520_safari_test.dart
44818_test.dart
45413_test.dart
45943_test.dart
if_method_call_test.dart
regression_type_variables_is_test.dart
scope_info_field_loop_test.dart
unused_generator_type_parameter_test.dart