yield* does not terminate enclosing function on stream cancellation #25748
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
closed-duplicate
Closed in favor of an existing report
The Dart Programming Language Specification (4th edition draft) version 1.11, chapter 17.16.2 Yield-Each reads:
The following code demonstrates, that execution of immediately enclosing function continues after
yield*
statement even if the associated stream subscription is cancelled.Output:
Expected output:
Dart VM version: 1.14.1 (Wed Feb 03 11:59:06 2016) on "windows_x64"
The text was updated successfully, but these errors were encountered: