Johnni, Alex, PTAL. For the redness on the bot vm-dyn-mac-debug-arm64-try, I'm not sure my CL is the cause of the failures. Please share if you have more insight into it.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Johnni, Alex, PTAL. For the redness on the bot vm-dyn-mac-debug-arm64-try, I'm not sure my CL is the cause of the failures. Please share if you have more insight into it.
The failures are the new tests after co19 roll (`new test -> CompileTimeError`). They are also failing on other bots and those failures are approved, so they are not related to this CL. You can also rerun the red bot after corresponding nightly bot cycles on the CI (e.g. tomorrow) and they should disappear.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Thank you for the review and the discussion, Johnni and Alex!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
5 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: pkg/dart2bytecode/test/bytecode_generator_test.dart
Insertions: 0, Deletions: 8.
The diff is too large to show. Please review the diff.
```
[cfe] Produce synthetic assignments in for-in loops in output form
In the new variable encoding, variables exist either in the internal
form (InternalLocalVariable, InternalSyntheticVariable, etc) or in the
output form, which is passed to the backends. Normally, type inference
is the mechanism that consumes the variables in the internal forma and
produces the variables in the output form. However, some expressions are
produced before type inference (in the BodyBuilder) and will never be
processed by type inference. Synthetic assignments in for-in loops is an
example of such expressions.
This CL modifies the expression generators used by the BodyBuilder, so
that the synthetic assignments are produced directly in the output form,
since they will not be touched by type inference.
This change makes the `loop.dart`, `switch.dart`,
`instance_creation.dart`, `asserts.dart`, `field_initializers.dart`,
`optional_params.dart`, `bootstrapping.dart`, `ffi.dart`, and
`invisible.dart` tests of the bytecode generator to pass, so it can be
removed from the excluded tests when the closure-context-lowering
experiment is enabled.
Part of https://github.com/dart-lang/sdk/issues/61572
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |