Skip to content

Commit a15ffc3

Browse files
srawlinsCommit Queue
authored andcommitted
Remove mock library async2
I believe this was necessary when dart:core started exporting Stream and Future from dart:async. That was back in Dart ~2.1 or so. We can remove this logic. Change-Id: I9c1343bfa256e040bdc366bd2c7e825e84bcc655 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/456803 Commit-Queue: Samuel Rawlins <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
1 parent a0eb8c5 commit a15ffc3

File tree

7 files changed

+0
-51
lines changed

7 files changed

+0
-51
lines changed

pkg/analysis_server/test/services/completion/dart/completion_test.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2480,8 +2480,6 @@ suggestions
24802480
kind: import
24812481
dart:async
24822482
kind: import
2483-
dart:async2
2484-
kind: import
24852483
dart:collection
24862484
kind: import
24872485
dart:convert
@@ -8882,8 +8880,6 @@ suggestions
88828880
kind: import
88838881
dart:async
88848882
kind: import
8885-
dart:async2
8886-
kind: import
88878883
dart:collection
88888884
kind: import
88898885
dart:convert
@@ -8949,8 +8945,6 @@ suggestions
89498945
kind: import
89508946
dart:async
89518947
kind: import
8952-
dart:async2
8953-
kind: import
89548948
dart:collection
89558949
kind: import
89568950
dart:convert

pkg/analysis_server/test/services/completion/dart/declaration/imported_reference_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3513,8 +3513,6 @@ suggestions
35133513
kind: import
35143514
dart:async
35153515
kind: import
3516-
dart:async2
3517-
kind: import
35183516
dart:collection
35193517
kind: import
35203518
dart:convert

pkg/analysis_server/test/services/completion/dart/declaration/local_reference_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4074,8 +4074,6 @@ suggestions
40744074
kind: import
40754075
dart:async
40764076
kind: import
4077-
dart:async2
4078-
kind: import
40794077
dart:collection
40804078
kind: import
40814079
dart:convert

pkg/analysis_server/test/services/completion/dart/declaration/type_member_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2583,8 +2583,6 @@ suggestions
25832583
kind: import
25842584
dart:async
25852585
kind: import
2586-
dart:async2
2587-
kind: import
25882586
dart:collection
25892587
kind: import
25902588
dart:convert

pkg/analysis_server/test/services/completion/dart/declaration/uri_test.dart

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ suggestions
113113
kind: import
114114
dart:async
115115
kind: import
116-
dart:async2
117-
kind: import
118116
dart:collection
119117
kind: import
120118
dart:convert
@@ -156,8 +154,6 @@ suggestions
156154
kind: import
157155
dart:async
158156
kind: import
159-
dart:async2
160-
kind: import
161157
dart:collection
162158
kind: import
163159
dart:convert
@@ -201,8 +197,6 @@ suggestions
201197
kind: import
202198
dart:async
203199
kind: import
204-
dart:async2
205-
kind: import
206200
dart:collection
207201
kind: import
208202
dart:convert
@@ -244,8 +238,6 @@ suggestions
244238
kind: import
245239
dart:async
246240
kind: import
247-
dart:async2
248-
kind: import
249241
dart:collection
250242
kind: import
251243
dart:convert
@@ -287,8 +279,6 @@ suggestions
287279
kind: import
288280
dart:async
289281
kind: import
290-
dart:async2
291-
kind: import
292282
dart:collection
293283
kind: import
294284
dart:convert
@@ -332,8 +322,6 @@ suggestions
332322
kind: import
333323
dart:async
334324
kind: import
335-
dart:async2
336-
kind: import
337325
dart:collection
338326
kind: import
339327
dart:convert
@@ -390,8 +378,6 @@ suggestions
390378
kind: import
391379
dart:async
392380
kind: import
393-
dart:async2
394-
kind: import
395381
dart:collection
396382
kind: import
397383
dart:convert
@@ -431,8 +417,6 @@ suggestions
431417
kind: import
432418
dart:async
433419
kind: import
434-
dart:async2
435-
kind: import
436420
dart:collection
437421
kind: import
438422
dart:convert
@@ -472,8 +456,6 @@ suggestions
472456
kind: import
473457
dart:async
474458
kind: import
475-
dart:async2
476-
kind: import
477459
dart:collection
478460
kind: import
479461
dart:convert
@@ -516,8 +498,6 @@ suggestions
516498
kind: import
517499
dart:async
518500
kind: import
519-
dart:async2
520-
kind: import
521501
dart:collection
522502
kind: import
523503
dart:convert
@@ -900,8 +880,6 @@ suggestions
900880
kind: import
901881
dart:async
902882
kind: import
903-
dart:async2
904-
kind: import
905883
dart:collection
906884
kind: import
907885
dart:convert
@@ -961,8 +939,6 @@ suggestions
961939
kind: import
962940
dart:async
963941
kind: import
964-
dart:async2
965-
kind: import
966942
dart:collection
967943
kind: import
968944
dart:convert
@@ -1006,8 +982,6 @@ suggestions
1006982
kind: import
1007983
dart:async
1008984
kind: import
1009-
dart:async2
1010-
kind: import
1011985
dart:collection
1012986
kind: import
1013987
dart:convert
@@ -1064,8 +1038,6 @@ suggestions
10641038
kind: import
10651039
dart:async
10661040
kind: import
1067-
dart:async2
1068-
kind: import
10691041
dart:collection
10701042
kind: import
10711043
dart:convert

pkg/analysis_server/test/services/completion/dart/location/import_directive_test.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ suggestions
110110
kind: import
111111
dart:async
112112
kind: import
113-
dart:async2
114-
kind: import
115113
dart:collection
116114
kind: import
117115
dart:convert

pkg/analyzer/lib/src/test_utilities/mock_sdk.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,6 @@ abstract class StreamTransformerBase<S, T> implements StreamTransformer<S, T> {}
122122
'''),
123123
]);
124124

125-
final MockSdkLibrary _LIB_ASYNC2 = MockSdkLibrary('async2', [
126-
MockSdkLibraryUnit('async2/async2.dart', '''
127-
library dart.async2;
128-
129-
class Future {}
130-
'''),
131-
]);
132-
133125
final MockSdkLibrary _LIB_COLLECTION = MockSdkLibrary('collection', [
134126
MockSdkLibraryUnit('collection/collection.dart', '''
135127
library dart.collection;
@@ -1616,7 +1608,6 @@ final MockSdkLibrary _LIB_WASM = MockSdkLibrary('_wasm', [
16161608

16171609
final List<MockSdkLibrary> _LIBRARIES = [
16181610
_LIB_ASYNC,
1619-
_LIB_ASYNC2,
16201611
_LIB_COLLECTION,
16211612
_LIB_CONVERT,
16221613
_LIB_CORE,

0 commit comments

Comments
 (0)