Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9d53b45

Browse files
nshahanCommit Queue
authored andcommitted
[ddc] Add types to tearoffs in dart:async patch
These functions were never tagged with types but they do get used in type tests. Adding the types ensures they work correctly in the new runtime type system. Change-Id: I01a2716504072c0b2148ba13167da9814253e9bf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/265566 Reviewed-by: Mark Zhou <[email protected]> Commit-Queue: Nicholas Shahan <[email protected]>
1 parent 9896f1c commit 9d53b45

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import 'dart:_runtime' as dart;
2222
/// Inspired by `co`: https://github.com/tj/co/blob/master/index.js, which is a
2323
/// stepping stone for ES async/await.
2424
@JSExportName('async')
25-
@ReifyFunctionTypes(false)
2625
_async<T>(Function() initGenerator) {
2726
var iter;
2827
late Object? Function(Object?) onValue;

0 commit comments

Comments
 (0)