Index: pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart b/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart |
index 966cfde9eb238a639a0601e365f664454688e79d..c04150d44557428be2838c38fc0483ca0223f9f2 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart |
@@ -223,33 +223,18 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_const_invokeConstructor_generic_named_imported() async { |
- await super.test_const_invokeConstructor_generic_named_imported(); |
- } |
- |
- @failingTest |
test_const_invokeConstructor_generic_named_imported_withPrefix() async { |
await super |
.test_const_invokeConstructor_generic_named_imported_withPrefix(); |
} |
@failingTest |
- test_const_invokeConstructor_generic_unnamed_imported() async { |
- await super.test_const_invokeConstructor_generic_unnamed_imported(); |
- } |
- |
- @failingTest |
test_const_invokeConstructor_generic_unnamed_imported_withPrefix() async { |
await super |
.test_const_invokeConstructor_generic_unnamed_imported_withPrefix(); |
} |
@failingTest |
- test_const_invokeConstructor_named_imported() async { |
- await super.test_const_invokeConstructor_named_imported(); |
- } |
- |
- @failingTest |
test_const_invokeConstructor_named_imported_withPrefix() async { |
await super.test_const_invokeConstructor_named_imported_withPrefix(); |
} |
@@ -285,11 +270,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_const_invokeConstructor_unnamed_imported() async { |
- await super.test_const_invokeConstructor_unnamed_imported(); |
- } |
- |
- @failingTest |
test_const_invokeConstructor_unnamed_imported_withPrefix() async { |
await super.test_const_invokeConstructor_unnamed_imported_withPrefix(); |
} |
@@ -310,11 +290,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_const_length_ofClassConstField_imported() async { |
- await super.test_const_length_ofClassConstField_imported(); |
- } |
- |
- @failingTest |
test_const_length_ofClassConstField_imported_withPrefix() async { |
await super.test_const_length_ofClassConstField_imported_withPrefix(); |
} |
@@ -335,11 +310,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_const_reference_staticField_imported() async { |
- await super.test_const_reference_staticField_imported(); |
- } |
- |
- @failingTest |
test_const_reference_staticField_imported_withPrefix() async { |
await super.test_const_reference_staticField_imported_withPrefix(); |
} |
@@ -375,11 +345,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_const_reference_topLevelVariable_imported() async { |
- await super.test_const_reference_topLevelVariable_imported(); |
- } |
- |
- @failingTest |
test_const_reference_topLevelVariable_imported_withPrefix() async { |
await super.test_const_reference_topLevelVariable_imported_withPrefix(); |
} |
@@ -440,11 +405,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_const_topLevel_typedList_imported() async { |
- await super.test_const_topLevel_typedList_imported(); |
- } |
- |
- @failingTest |
test_const_topLevel_typedList_importedWithPrefix() async { |
await super.test_const_topLevel_typedList_importedWithPrefix(); |
} |
@@ -806,16 +766,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_function_async() async { |
- await super.test_function_async(); |
- } |
- |
- @failingTest |
- test_function_asyncStar() async { |
- await super.test_function_asyncStar(); |
- } |
- |
- @failingTest |
test_function_documented() async { |
await super.test_function_documented(); |
} |
@@ -1016,21 +966,11 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_import_short_absolute() async { |
- await super.test_import_short_absolute(); |
- } |
- |
- @failingTest |
test_import_show() async { |
await super.test_import_show(); |
} |
@failingTest |
- test_imports() async { |
- await super.test_imports(); |
- } |
- |
- @failingTest |
test_inferred_function_type_for_variable_in_generic_function() async { |
await super.test_inferred_function_type_for_variable_in_generic_function(); |
} |
@@ -1268,16 +1208,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_member_function_async() async { |
- await super.test_member_function_async(); |
- } |
- |
- @failingTest |
- test_member_function_asyncStar() async { |
- await super.test_member_function_asyncStar(); |
- } |
- |
- @failingTest |
test_metadata_classDeclaration() async { |
await super.test_metadata_classDeclaration(); |
} |
@@ -1468,26 +1398,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_nameConflict_exportedAndLocal() async { |
- await super.test_nameConflict_exportedAndLocal(); |
- } |
- |
- @failingTest |
- test_nameConflict_exportedAndLocal_exported() async { |
- await super.test_nameConflict_exportedAndLocal_exported(); |
- } |
- |
- @failingTest |
- test_nameConflict_exportedAndParted() async { |
- await super.test_nameConflict_exportedAndParted(); |
- } |
- |
- @failingTest |
- test_nameConflict_importWithRelativeUri_exportWithAbsolute() async { |
- await super.test_nameConflict_importWithRelativeUri_exportWithAbsolute(); |
- } |
- |
- @failingTest |
test_nested_generic_functions_in_generic_class_with_function_typed_params() async { |
await super |
.test_nested_generic_functions_in_generic_class_with_function_typed_params(); |
@@ -1685,11 +1595,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_type_reference_to_import_part2() async { |
- await super.test_type_reference_to_import_part2(); |
- } |
- |
- @failingTest |
test_type_reference_to_import_part_in_subdir() async { |
await super.test_type_reference_to_import_part_in_subdir(); |
} |
@@ -1930,21 +1835,11 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest { |
} |
@failingTest |
- test_variable_propagatedType_final_dep_inLib() async { |
- await super.test_variable_propagatedType_final_dep_inLib(); |
- } |
- |
- @failingTest |
test_variable_propagatedType_final_dep_inPart() async { |
await super.test_variable_propagatedType_final_dep_inPart(); |
} |
@failingTest |
- test_variable_propagatedType_implicit_dep() async { |
- await super.test_variable_propagatedType_implicit_dep(); |
- } |
- |
- @failingTest |
test_variable_setterInPart_getterInPart() async { |
await super.test_variable_setterInPart_getterInPart(); |
} |
@@ -2266,6 +2161,11 @@ class _KernelLibraryResynthesizerContextImpl |
kernelType.className.canonicalName, kernelType.typeArguments); |
} |
+ @override |
+ LibraryElement getLibrary(String uriStr) { |
+ return _resynthesizer.getLibrary(uriStr); |
+ } |
+ |
DartType getType(ElementImpl context, kernel.DartType kernelType) { |
if (kernelType is kernel.DynamicType) return DynamicTypeImpl.instance; |
if (kernelType is kernel.VoidType) return VoidTypeImpl.instance; |