@@ -222,33 +222,18 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
222
222
await super .test_const_invalid_topLevel ();
223
223
}
224
224
225
- @failingTest
226
- test_const_invokeConstructor_generic_named_imported () async {
227
- await super .test_const_invokeConstructor_generic_named_imported ();
228
- }
229
-
230
225
@failingTest
231
226
test_const_invokeConstructor_generic_named_imported_withPrefix () async {
232
227
await super
233
228
.test_const_invokeConstructor_generic_named_imported_withPrefix ();
234
229
}
235
230
236
- @failingTest
237
- test_const_invokeConstructor_generic_unnamed_imported () async {
238
- await super .test_const_invokeConstructor_generic_unnamed_imported ();
239
- }
240
-
241
231
@failingTest
242
232
test_const_invokeConstructor_generic_unnamed_imported_withPrefix () async {
243
233
await super
244
234
.test_const_invokeConstructor_generic_unnamed_imported_withPrefix ();
245
235
}
246
236
247
- @failingTest
248
- test_const_invokeConstructor_named_imported () async {
249
- await super .test_const_invokeConstructor_named_imported ();
250
- }
251
-
252
237
@failingTest
253
238
test_const_invokeConstructor_named_imported_withPrefix () async {
254
239
await super .test_const_invokeConstructor_named_imported_withPrefix ();
@@ -284,11 +269,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
284
269
await super .test_const_invokeConstructor_named_unresolved6 ();
285
270
}
286
271
287
- @failingTest
288
- test_const_invokeConstructor_unnamed_imported () async {
289
- await super .test_const_invokeConstructor_unnamed_imported ();
290
- }
291
-
292
272
@failingTest
293
273
test_const_invokeConstructor_unnamed_imported_withPrefix () async {
294
274
await super .test_const_invokeConstructor_unnamed_imported_withPrefix ();
@@ -309,11 +289,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
309
289
await super .test_const_invokeConstructor_unnamed_unresolved3 ();
310
290
}
311
291
312
- @failingTest
313
- test_const_length_ofClassConstField_imported () async {
314
- await super .test_const_length_ofClassConstField_imported ();
315
- }
316
-
317
292
@failingTest
318
293
test_const_length_ofClassConstField_imported_withPrefix () async {
319
294
await super .test_const_length_ofClassConstField_imported_withPrefix ();
@@ -334,11 +309,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
334
309
await super .test_const_length_staticMethod ();
335
310
}
336
311
337
- @failingTest
338
- test_const_reference_staticField_imported () async {
339
- await super .test_const_reference_staticField_imported ();
340
- }
341
-
342
312
@failingTest
343
313
test_const_reference_staticField_imported_withPrefix () async {
344
314
await super .test_const_reference_staticField_imported_withPrefix ();
@@ -374,11 +344,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
374
344
await super .test_const_reference_topLevelFunction_imported_withPrefix ();
375
345
}
376
346
377
- @failingTest
378
- test_const_reference_topLevelVariable_imported () async {
379
- await super .test_const_reference_topLevelVariable_imported ();
380
- }
381
-
382
347
@failingTest
383
348
test_const_reference_topLevelVariable_imported_withPrefix () async {
384
349
await super .test_const_reference_topLevelVariable_imported_withPrefix ();
@@ -439,11 +404,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
439
404
await super .test_const_topLevel_this ();
440
405
}
441
406
442
- @failingTest
443
- test_const_topLevel_typedList_imported () async {
444
- await super .test_const_topLevel_typedList_imported ();
445
- }
446
-
447
407
@failingTest
448
408
test_const_topLevel_typedList_importedWithPrefix () async {
449
409
await super .test_const_topLevel_typedList_importedWithPrefix ();
@@ -805,16 +765,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
805
765
await super .test_field_propagatedType_final_noDep_instance ();
806
766
}
807
767
808
- @failingTest
809
- test_function_async () async {
810
- await super .test_function_async ();
811
- }
812
-
813
- @failingTest
814
- test_function_asyncStar () async {
815
- await super .test_function_asyncStar ();
816
- }
817
-
818
768
@failingTest
819
769
test_function_documented () async {
820
770
await super .test_function_documented ();
@@ -1015,21 +965,11 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
1015
965
await super .test_import_self ();
1016
966
}
1017
967
1018
- @failingTest
1019
- test_import_short_absolute () async {
1020
- await super .test_import_short_absolute ();
1021
- }
1022
-
1023
968
@failingTest
1024
969
test_import_show () async {
1025
970
await super .test_import_show ();
1026
971
}
1027
972
1028
- @failingTest
1029
- test_imports () async {
1030
- await super .test_imports ();
1031
- }
1032
-
1033
973
@failingTest
1034
974
test_inferred_function_type_for_variable_in_generic_function () async {
1035
975
await super .test_inferred_function_type_for_variable_in_generic_function ();
@@ -1267,16 +1207,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
1267
1207
await super .test_main_variable_via_export ();
1268
1208
}
1269
1209
1270
- @failingTest
1271
- test_member_function_async () async {
1272
- await super .test_member_function_async ();
1273
- }
1274
-
1275
- @failingTest
1276
- test_member_function_asyncStar () async {
1277
- await super .test_member_function_asyncStar ();
1278
- }
1279
-
1280
1210
@failingTest
1281
1211
test_metadata_classDeclaration () async {
1282
1212
await super .test_metadata_classDeclaration ();
@@ -1467,26 +1397,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
1467
1397
await super .test_method_type_parameter_with_function_typed_parameter ();
1468
1398
}
1469
1399
1470
- @failingTest
1471
- test_nameConflict_exportedAndLocal () async {
1472
- await super .test_nameConflict_exportedAndLocal ();
1473
- }
1474
-
1475
- @failingTest
1476
- test_nameConflict_exportedAndLocal_exported () async {
1477
- await super .test_nameConflict_exportedAndLocal_exported ();
1478
- }
1479
-
1480
- @failingTest
1481
- test_nameConflict_exportedAndParted () async {
1482
- await super .test_nameConflict_exportedAndParted ();
1483
- }
1484
-
1485
- @failingTest
1486
- test_nameConflict_importWithRelativeUri_exportWithAbsolute () async {
1487
- await super .test_nameConflict_importWithRelativeUri_exportWithAbsolute ();
1488
- }
1489
-
1490
1400
@failingTest
1491
1401
test_nested_generic_functions_in_generic_class_with_function_typed_params () async {
1492
1402
await super
@@ -1684,11 +1594,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
1684
1594
await super .test_type_reference_to_import_part ();
1685
1595
}
1686
1596
1687
- @failingTest
1688
- test_type_reference_to_import_part2 () async {
1689
- await super .test_type_reference_to_import_part2 ();
1690
- }
1691
-
1692
1597
@failingTest
1693
1598
test_type_reference_to_import_part_in_subdir () async {
1694
1599
await super .test_type_reference_to_import_part_in_subdir ();
@@ -1929,21 +1834,11 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
1929
1834
await super .test_variable_getterInPart_setterInPart ();
1930
1835
}
1931
1836
1932
- @failingTest
1933
- test_variable_propagatedType_final_dep_inLib () async {
1934
- await super .test_variable_propagatedType_final_dep_inLib ();
1935
- }
1936
-
1937
1837
@failingTest
1938
1838
test_variable_propagatedType_final_dep_inPart () async {
1939
1839
await super .test_variable_propagatedType_final_dep_inPart ();
1940
1840
}
1941
1841
1942
- @failingTest
1943
- test_variable_propagatedType_implicit_dep () async {
1944
- await super .test_variable_propagatedType_implicit_dep ();
1945
- }
1946
-
1947
1842
@failingTest
1948
1843
test_variable_setterInPart_getterInPart () async {
1949
1844
await super .test_variable_setterInPart_getterInPart ();
@@ -2266,6 +2161,11 @@ class _KernelLibraryResynthesizerContextImpl
2266
2161
kernelType.className.canonicalName, kernelType.typeArguments);
2267
2162
}
2268
2163
2164
+ @override
2165
+ LibraryElement getLibrary (String uriStr) {
2166
+ return _resynthesizer.getLibrary (uriStr);
2167
+ }
2168
+
2269
2169
DartType getType (ElementImpl context, kernel.DartType kernelType) {
2270
2170
if (kernelType is kernel.DynamicType ) return DynamicTypeImpl .instance;
2271
2171
if (kernelType is kernel.VoidType ) return VoidTypeImpl .instance;
0 commit comments