Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart

Issue 2976263002: Resynthesize methods from Kernel. (Closed)
Patch Set: Fix for sync* and test. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/test/src/summary/resynthesize_common.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f5d1d30db673efe899ebe876312e3045aafd01c6..2a2739f50680edb567234c98a82d8bac2097d692 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart
@@ -286,31 +286,11 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_class_method_abstract() async {
- await super.test_class_method_abstract();
- }
-
- @failingTest
- test_class_method_external() async {
- await super.test_class_method_external();
- }
-
- @failingTest
test_class_method_params() async {
await super.test_class_method_params();
}
@failingTest
- test_class_method_static() async {
- await super.test_class_method_static();
- }
-
- @failingTest
- test_class_methods() async {
- await super.test_class_methods();
- }
-
- @failingTest
test_class_mixins() async {
await super.test_class_mixins();
}
@@ -1668,21 +1648,11 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_localFunctions_inMethod() async {
- await super.test_localFunctions_inMethod();
- }
-
- @failingTest
test_localFunctions_inTopLevelGetter() async {
await super.test_localFunctions_inTopLevelGetter();
}
@failingTest
- test_localLabels_inMethod() async {
- await super.test_localLabels_inMethod();
- }
-
- @failingTest
test_localLabels_inTopLevelFunction() async {
await super.test_localLabels_inTopLevelFunction();
}
@@ -1723,11 +1693,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_main_variable() async {
- await super.test_main_variable();
- }
-
- @failingTest
test_main_variable_via_export() async {
await super.test_main_variable_via_export();
}
@@ -1928,11 +1893,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_method_inferred_type_nonStatic_implicit_return() async {
- await super.test_method_inferred_type_nonStatic_implicit_return();
- }
-
- @failingTest
test_method_type_parameter() async {
await super.test_method_type_parameter();
}
@@ -2160,31 +2120,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_type_arguments_explicit_dynamic_dynamic() async {
- await super.test_type_arguments_explicit_dynamic_dynamic();
- }
-
- @failingTest
- test_type_arguments_explicit_dynamic_int() async {
- await super.test_type_arguments_explicit_dynamic_int();
- }
-
- @failingTest
- test_type_arguments_explicit_String_dynamic() async {
- await super.test_type_arguments_explicit_String_dynamic();
- }
-
- @failingTest
- test_type_arguments_implicit() async {
- await super.test_type_arguments_implicit();
- }
-
- @failingTest
- test_type_dynamic() async {
- await super.test_type_dynamic();
- }
-
- @failingTest
test_type_invalid_topLevelVariableElement_asType() async {
await super.test_type_invalid_topLevelVariableElement_asType();
}
@@ -2225,11 +2160,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_type_reference_to_class_with_type_arguments_implicit() async {
- await super.test_type_reference_to_class_with_type_arguments_implicit();
- }
-
- @failingTest
test_type_reference_to_enum() async {
await super.test_type_reference_to_enum();
}
@@ -2520,11 +2450,6 @@ class ResynthesizeKernelStrongTest extends ResynthesizeTest {
}
@failingTest
- test_variable_implicit_type() async {
- await super.test_variable_implicit_type();
- }
-
- @failingTest
test_variable_propagatedType_const_noDep() async {
await super.test_variable_propagatedType_const_noDep();
}
@@ -2612,6 +2537,7 @@ class _KernelLibraryResynthesizerContextImpl
}
DartType getType(ElementImpl context, kernel.DartType kernelType) {
+ if (kernelType is kernel.DynamicType) return DynamicTypeImpl.instance;
if (kernelType is kernel.InterfaceType) {
return _getInterfaceType(
kernelType.className.canonicalName, kernelType.typeArguments);
« no previous file with comments | « pkg/analyzer/test/src/summary/resynthesize_common.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698