Chaining generators produces wrong order of execution in ddc #53062
Labels
area-web-js
Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
dart2js-ddc-discrepancy
When dev and production compilations have different semantics
dev-compiler-async
P2
A bug or feature request we're likely to work on
web-dev-compiler
Transfering flutter/flutter#131168 to the Dart SDK:
Steps to reproduce
Open dartpad, select Flutter, paste the code below. Then run and click the "Click" button.
For some reason
goo
proceeds past theyield
before and it is asked to do so. Even replacingawait showDialog
with simpleawait Future.delayed(...)
doesn't change the result.It works correctly in pure Dart.
Expected results
Actual results
Code sample
Wrong order in Flutter
Correct order in pure Dart
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: