| 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 abe486c95164269eed02268371ed4c44e425d5a9..76c36f19e0ef436a3bac0a264c10ce7a35db92e1 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart
|
| @@ -407,11 +407,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();
|
| }
|
| @@ -454,11 +449,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();
|
| }
|
| @@ -494,11 +484,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();
|
| }
|
| @@ -559,11 +544,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();
|
| }
|
| @@ -930,16 +910,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();
|
| }
|
| @@ -1140,21 +1110,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();
|
| }
|
| @@ -1392,16 +1352,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();
|
| }
|
| @@ -1592,26 +1542,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();
|
| @@ -1829,11 +1759,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();
|
| }
|
| @@ -2074,21 +1999,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();
|
| }
|
| @@ -2374,6 +2289,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.InterfaceType) {
|
|
|