File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
runtime/tests/vm/dart/causal_stacks
sdk_nnbd/lib/_internal/vm/lib Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -616,13 +616,16 @@ 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
- r'^#3 noYields3 \(.*/utils.dart:53(:23)?\)$' ,
619
+ // TODO: fix line number here
620
+ r'^#3 noYields3 \(.*/utils.dart(:53(:23)?|.*)\)$' ,
620
621
r'^#4 noYields2 \(.*/utils.dart:50(:9)?\)$' ,
621
622
r'^#5 _AsyncAwaitCompleter.start ' ,
622
- r'^#6 noYields2 \(.*/utils.dart:49(:23)?\)$' ,
623
+ // TODO: fix line number here
624
+ r'^#6 noYields2 \(.*/utils.dart' ,
623
625
r'^#7 noYields \(.*/utils.dart:46(:9)?\)$' ,
624
626
r'^#8 _AsyncAwaitCompleter.start ' ,
625
- r'^#9 noYields \(.*/utils.dart:45(:22)?\)$' ,
627
+ // TODO: fix line number here
628
+ r'^#9 noYields \(.*/utils.dart' ,
626
629
];
627
630
await doTestAwait (
628
631
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 (f) {
46
+ void start (void Function () 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 (f) {
44
+ void start (void Function () f) {
45
45
f ();
46
46
isSync = true ;
47
47
}
You can’t perform that action at this time.
0 commit comments