This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
runtime/tests/vm/dart/causal_stacks
sdk_nnbd/lib/_internal/vm/lib Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -616,16 +616,13 @@ Future<void> doTestsNoCausalNoLazy() async {
616
616
r'^#0 throwSync \(.*/utils.dart:16(:3)?\)$' ,
617
617
r'^#1 noYields3 \(.*/utils.dart:54(:3)?\)$' ,
618
618
r'^#2 _AsyncAwaitCompleter.start ' ,
619
- // TODO: fix line number here
620
- r'^#3 noYields3 \(.*/utils.dart(:53(:23)?|.*)\)$' ,
619
+ r'^#3 noYields3 \(.*/utils.dart:53(:23)?\)$' ,
621
620
r'^#4 noYields2 \(.*/utils.dart:50(:9)?\)$' ,
622
621
r'^#5 _AsyncAwaitCompleter.start ' ,
623
- // TODO: fix line number here
624
- r'^#6 noYields2 \(.*/utils.dart' ,
622
+ r'^#6 noYields2 \(.*/utils.dart:49(:23)?\)$' ,
625
623
r'^#7 noYields \(.*/utils.dart:46(:9)?\)$' ,
626
624
r'^#8 _AsyncAwaitCompleter.start ' ,
627
- // TODO: fix line number here
628
- r'^#9 noYields \(.*/utils.dart' ,
625
+ r'^#9 noYields \(.*/utils.dart:45(:22)?\)$' ,
629
626
];
630
627
await doTestAwait (
631
628
noYields,
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class _AsyncAwaitCompleter<T> implements Completer<T> {
43
43
}
44
44
}
45
45
46
- void start (void Function () f) {
46
+ void start (f) {
47
47
f ();
48
48
isSync = true ;
49
49
}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class _AsyncAwaitCompleter<T> implements Completer<T> {
41
41
}
42
42
}
43
43
44
- void start (void Function () f) {
44
+ void start (f) {
45
45
f ();
46
46
isSync = true ;
47
47
}
You can’t perform that action at this time.
0 commit comments