From 72860d356905c7a1e020440c81e9f6e2b4536798 Mon Sep 17 00:00:00 2001 From: Chloe Stefantsova Date: Tue, 6 Feb 2024 10:22:50 +0000 Subject: [PATCH 1/3] [cfe] Use declaredNullability to carry over in type substitutions Previously we would use the value of the `nullability` getter as the carry over nullablity for the substituted type. This CL changes that to `declaredNullability`. The change is observable in substituted extension types: their `nullability` is a combination of the representation type nullability and the declared nullability, and its value range includes `Nullability.undetermined`, which should not be available for `ExtensionType.declaredNullability`. The unexpected value for `ExtensionType.declaredNullability` was detected by the assert in `_NullabilityMarkerDetector.visitExtensionType`. Change-Id: I38f81df57db18ec94f2f6422134c02efe6649be6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/350323 Reviewed-by: Johnni Winther Commit-Queue: Chloe Stefantsova --- .../data/future_or_members.dart | 58 +++---------------- .../issue51285.dart.strong.expect | 8 +-- .../issue51285.dart.strong.transformed.expect | 8 +-- .../issue51285.dart.weak.expect | 8 +-- .../issue51285.dart.weak.modular.expect | 8 +-- .../issue51285.dart.weak.outline.expect | 4 +- .../issue51285.dart.weak.transformed.expect | 8 +-- .../issue51285.dart.strong.expect | 8 +-- .../issue51285.dart.strong.transformed.expect | 8 +-- .../issue51285.dart.weak.expect | 8 +-- .../issue51285.dart.weak.modular.expect | 8 +-- .../issue51285.dart.weak.outline.expect | 4 +- .../issue51285.dart.weak.transformed.expect | 8 +-- .../issue54008/main.dart.strong.expect | 22 +++---- .../main.dart.strong.transformed.expect | 22 +++---- .../issue54008/main.dart.weak.expect | 22 +++---- .../issue54008/main.dart.weak.modular.expect | 14 ++--- .../issue54008/main.dart.weak.outline.expect | 22 +++---- .../main.dart.weak.transformed.expect | 22 +++---- .../abstract_members.dart.strong.expect | 6 +- ...act_members.dart.strong.transformed.expect | 6 +- .../abstract_members.dart.weak.expect | 6 +- .../abstract_members.dart.weak.modular.expect | 6 +- .../abstract_members.dart.weak.outline.expect | 6 +- ...tract_members.dart.weak.transformed.expect | 6 +- .../aliased_member_access.dart.strong.expect | 8 +-- ...mber_access.dart.strong.transformed.expect | 8 +-- .../aliased_member_access.dart.weak.expect | 8 +-- ...sed_member_access.dart.weak.modular.expect | 8 +-- ...sed_member_access.dart.weak.outline.expect | 8 +-- ...member_access.dart.weak.transformed.expect | 8 +-- .../assign_interface_type.dart.strong.expect | 2 +- ...erface_type.dart.strong.transformed.expect | 2 +- .../assign_interface_type.dart.weak.expect | 2 +- ...gn_interface_type.dart.weak.modular.expect | 2 +- ...gn_interface_type.dart.weak.outline.expect | 2 +- ...nterface_type.dart.weak.transformed.expect | 2 +- ...onst_constructor_access.dart.strong.expect | 8 +-- ...ctor_access.dart.strong.transformed.expect | 8 +-- .../const_constructor_access.dart.weak.expect | 8 +-- ...onstructor_access.dart.weak.modular.expect | 8 +-- ...onstructor_access.dart.weak.outline.expect | 8 +-- ...ructor_access.dart.weak.transformed.expect | 8 +-- .../const_extension_type.dart.strong.expect | 6 +- ...ension_type.dart.strong.transformed.expect | 6 +- .../const_extension_type.dart.weak.expect | 6 +- ...st_extension_type.dart.weak.modular.expect | 6 +- ...st_extension_type.dart.weak.outline.expect | 6 +- ...xtension_type.dart.weak.transformed.expect | 6 +- .../constructor_access.dart.strong.expect | 26 ++++----- ...ctor_access.dart.strong.transformed.expect | 26 ++++----- .../constructor_access.dart.weak.expect | 26 ++++----- ...onstructor_access.dart.weak.modular.expect | 26 ++++----- ...onstructor_access.dart.weak.outline.expect | 2 +- ...ructor_access.dart.weak.transformed.expect | 26 ++++----- .../constructor_bodies.dart.strong.expect | 14 ++--- ...ctor_bodies.dart.strong.transformed.expect | 14 ++--- .../constructor_bodies.dart.weak.expect | 14 ++--- ...onstructor_bodies.dart.weak.modular.expect | 14 ++--- ...onstructor_bodies.dart.weak.outline.expect | 14 ++--- ...ructor_bodies.dart.weak.transformed.expect | 14 ++--- ...lic_representation_type.dart.strong.expect | 28 ++++----- ...tation_type.dart.strong.transformed.expect | 28 ++++----- ...yclic_representation_type.dart.weak.expect | 28 ++++----- ...presentation_type.dart.weak.modular.expect | 28 ++++----- ...presentation_type.dart.weak.outline.expect | 28 ++++----- ...entation_type.dart.weak.transformed.expect | 28 ++++----- .../duplicate_constructors.dart.strong.expect | 4 +- ...onstructors.dart.strong.transformed.expect | 4 +- .../duplicate_constructors.dart.weak.expect | 4 +- ...cate_constructors.dart.weak.modular.expect | 4 +- ...cate_constructors.dart.weak.outline.expect | 4 +- ..._constructors.dart.weak.transformed.expect | 4 +- ...nsion_type_declarations.dart.strong.expect | 4 +- ...eclarations.dart.strong.transformed.expect | 4 +- ...tension_type_declarations.dart.weak.expect | 4 +- ...type_declarations.dart.weak.modular.expect | 4 +- ...type_declarations.dart.weak.outline.expect | 4 +- ..._declarations.dart.weak.transformed.expect | 4 +- .../field_access.dart.strong.expect | 8 +-- ...ield_access.dart.strong.transformed.expect | 8 +-- .../field_access.dart.weak.expect | 8 +-- .../field_access.dart.weak.modular.expect | 8 +-- .../field_access.dart.weak.outline.expect | 8 +-- .../field_access.dart.weak.transformed.expect | 8 +-- .../generic_factory.dart.strong.expect | 6 +- ...ric_factory.dart.strong.transformed.expect | 6 +- .../generic_factory.dart.weak.expect | 6 +- .../generic_factory.dart.weak.modular.expect | 6 +- .../generic_factory.dart.weak.outline.expect | 6 +- ...neric_factory.dart.weak.transformed.expect | 6 +- .../implement_all.dart.strong.expect | 6 +- ...plement_all.dart.strong.transformed.expect | 6 +- .../implement_all.dart.weak.expect | 6 +- .../implement_all.dart.weak.modular.expect | 6 +- .../implement_all.dart.weak.outline.expect | 6 +- ...implement_all.dart.weak.transformed.expect | 6 +- .../implements.dart.strong.expect | 4 +- .../implements.dart.strong.transformed.expect | 4 +- .../implements.dart.weak.expect | 4 +- .../implements.dart.weak.modular.expect | 4 +- .../implements.dart.weak.outline.expect | 4 +- .../implements.dart.weak.transformed.expect | 4 +- .../inherit_generic.dart.strong.expect | 8 +-- ...rit_generic.dart.strong.transformed.expect | 8 +-- .../inherit_generic.dart.weak.expect | 8 +-- .../inherit_generic.dart.weak.modular.expect | 8 +-- .../inherit_generic.dart.weak.outline.expect | 8 +-- ...herit_generic.dart.weak.transformed.expect | 8 +-- ...ed_representation_field.dart.strong.expect | 4 +- ...ation_field.dart.strong.transformed.expect | 4 +- ...ited_representation_field.dart.weak.expect | 4 +- ...resentation_field.dart.weak.modular.expect | 4 +- ...resentation_field.dart.weak.outline.expect | 4 +- ...ntation_field.dart.weak.transformed.expect | 4 +- ...nline_class_declaration.dart.strong.expect | 2 +- ...declaration.dart.strong.transformed.expect | 2 +- .../inline_class_declaration.dart.weak.expect | 2 +- ...class_declaration.dart.weak.modular.expect | 2 +- ...class_declaration.dart.weak.outline.expect | 2 +- ...s_declaration.dart.weak.transformed.expect | 2 +- .../issue51146.dart.strong.expect | 2 +- .../issue51146.dart.strong.transformed.expect | 2 +- .../issue51146.dart.weak.expect | 2 +- .../issue51146.dart.weak.modular.expect | 2 +- .../issue51146.dart.weak.outline.expect | 2 +- .../issue51146.dart.weak.transformed.expect | 2 +- .../issue51285.dart.strong.expect | 8 +-- .../issue51285.dart.strong.transformed.expect | 8 +-- .../issue51285.dart.weak.expect | 8 +-- .../issue51285.dart.weak.modular.expect | 8 +-- .../issue51285.dart.weak.outline.expect | 4 +- .../issue51285.dart.weak.transformed.expect | 8 +-- .../issue52119.dart.strong.expect | 4 +- .../issue52119.dart.strong.transformed.expect | 4 +- .../issue52119.dart.weak.expect | 4 +- .../issue52119.dart.weak.modular.expect | 4 +- .../issue52119.dart.weak.outline.expect | 4 +- .../issue52119.dart.weak.transformed.expect | 4 +- .../issue52542.dart.strong.expect | 2 +- .../issue52542.dart.strong.transformed.expect | 2 +- .../issue52542.dart.weak.expect | 2 +- .../issue52542.dart.weak.modular.expect | 2 +- .../issue52542.dart.weak.outline.expect | 2 +- .../issue52542.dart.weak.transformed.expect | 2 +- .../issue52595.dart.strong.expect | 4 +- .../issue52595.dart.strong.transformed.expect | 4 +- .../issue52595.dart.weak.expect | 4 +- .../issue52595.dart.weak.modular.expect | 4 +- .../issue52595.dart.weak.outline.expect | 4 +- .../issue52595.dart.weak.transformed.expect | 4 +- .../issue53123.dart.strong.expect | 2 +- .../issue53123.dart.strong.transformed.expect | 2 +- .../issue53123.dart.weak.expect | 2 +- .../issue53123.dart.weak.modular.expect | 2 +- .../issue53123.dart.weak.outline.expect | 2 +- .../issue53123.dart.weak.transformed.expect | 2 +- .../issue53155.dart.strong.expect | 10 ++-- .../issue53155.dart.strong.transformed.expect | 10 ++-- .../issue53155.dart.weak.expect | 10 ++-- .../issue53155.dart.weak.modular.expect | 10 ++-- .../issue53155.dart.weak.outline.expect | 2 +- .../issue53155.dart.weak.transformed.expect | 10 ++-- .../issue53170.dart.strong.expect | 2 +- .../issue53170.dart.strong.transformed.expect | 2 +- .../issue53170.dart.weak.expect | 2 +- .../issue53170.dart.weak.modular.expect | 2 +- .../issue53170.dart.weak.outline.expect | 2 +- .../issue53170.dart.weak.transformed.expect | 2 +- .../issue53207.dart.strong.expect | 6 +- .../issue53207.dart.strong.transformed.expect | 6 +- .../issue53207.dart.weak.expect | 6 +- .../issue53207.dart.weak.modular.expect | 6 +- .../issue53207.dart.weak.outline.expect | 6 +- .../issue53207.dart.weak.transformed.expect | 6 +- .../issue53209.dart.strong.expect | 6 +- .../issue53209.dart.strong.transformed.expect | 6 +- .../issue53209.dart.weak.expect | 6 +- .../issue53209.dart.weak.modular.expect | 6 +- .../issue53209.dart.weak.outline.expect | 6 +- .../issue53209.dart.weak.transformed.expect | 6 +- .../issue53211.dart.strong.expect | 12 ++-- .../issue53211.dart.strong.transformed.expect | 12 ++-- .../issue53211.dart.weak.expect | 12 ++-- .../issue53211.dart.weak.modular.expect | 12 ++-- .../issue53211.dart.weak.outline.expect | 6 +- .../issue53211.dart.weak.transformed.expect | 12 ++-- .../issue53324.dart.strong.expect | 4 +- .../issue53324.dart.strong.transformed.expect | 4 +- .../issue53324.dart.weak.expect | 4 +- .../issue53324.dart.weak.modular.expect | 4 +- .../issue53324.dart.weak.outline.expect | 4 +- .../issue53324.dart.weak.transformed.expect | 4 +- .../issue53531/main.dart.strong.expect | 20 +++---- .../main.dart.strong.transformed.expect | 20 +++---- .../issue53531/main.dart.weak.expect | 20 +++---- .../issue53531/main.dart.weak.modular.expect | 16 ++--- .../issue53531/main.dart.weak.outline.expect | 8 +-- .../main.dart.weak.transformed.expect | 20 +++---- .../issue53563.dart.strong.expect | 8 +-- .../issue53563.dart.strong.transformed.expect | 8 +-- .../issue53563.dart.weak.expect | 8 +-- .../issue53563.dart.weak.modular.expect | 8 +-- .../issue53563.dart.weak.outline.expect | 8 +-- .../issue53563.dart.weak.transformed.expect | 8 +-- .../issue53780.dart.strong.expect | 2 +- .../issue53780.dart.strong.transformed.expect | 2 +- .../issue53780.dart.weak.expect | 2 +- .../issue53780.dart.weak.modular.expect | 2 +- .../issue53780.dart.weak.outline.expect | 2 +- .../issue53780.dart.weak.transformed.expect | 2 +- .../issue53791.dart.strong.expect | 2 +- .../issue53791.dart.strong.transformed.expect | 2 +- .../issue53791.dart.weak.expect | 2 +- .../issue53791.dart.weak.modular.expect | 2 +- .../issue53791.dart.weak.outline.expect | 2 +- .../issue53791.dart.weak.transformed.expect | 2 +- .../issue53799.dart.strong.expect | 2 +- .../issue53799.dart.strong.transformed.expect | 2 +- .../issue53799.dart.weak.expect | 2 +- .../issue53799.dart.weak.modular.expect | 2 +- .../issue53799.dart.weak.outline.expect | 2 +- .../issue53799.dart.weak.transformed.expect | 2 +- .../issue53803.dart.strong.expect | 14 ++--- .../issue53803.dart.strong.transformed.expect | 14 ++--- .../issue53803.dart.weak.expect | 14 ++--- .../issue53803.dart.weak.modular.expect | 14 ++--- .../issue53803.dart.weak.outline.expect | 14 ++--- .../issue53803.dart.weak.transformed.expect | 14 ++--- .../issue53822.dart.strong.expect | 4 +- .../issue53822.dart.strong.transformed.expect | 4 +- .../issue53822.dart.weak.expect | 4 +- .../issue53822.dart.weak.modular.expect | 4 +- .../issue53822.dart.weak.outline.expect | 4 +- .../issue53822.dart.weak.transformed.expect | 4 +- .../issue53824.dart.strong.expect | 4 +- .../issue53824.dart.strong.transformed.expect | 4 +- .../issue53824.dart.weak.expect | 4 +- .../issue53824.dart.weak.modular.expect | 4 +- .../issue53824.dart.weak.outline.expect | 4 +- .../issue53824.dart.weak.transformed.expect | 4 +- .../issue53840.dart.strong.expect | 4 +- .../issue53840.dart.strong.transformed.expect | 4 +- .../issue53840.dart.weak.expect | 4 +- .../issue53840.dart.weak.modular.expect | 4 +- .../issue53840.dart.weak.outline.expect | 4 +- .../issue53840.dart.weak.transformed.expect | 4 +- .../issue53936.dart.strong.expect | 6 +- .../issue53936.dart.strong.transformed.expect | 6 +- .../issue53936.dart.weak.expect | 6 +- .../issue53936.dart.weak.modular.expect | 6 +- .../issue53936.dart.weak.outline.expect | 6 +- .../issue53936.dart.weak.transformed.expect | 6 +- .../issue54008/main.dart.strong.expect | 22 +++---- .../main.dart.strong.transformed.expect | 22 +++---- .../issue54008/main.dart.weak.expect | 22 +++---- .../issue54008/main.dart.weak.modular.expect | 14 ++--- .../issue54008/main.dart.weak.outline.expect | 22 +++---- .../main.dart.weak.transformed.expect | 22 +++---- .../issue54070.dart.strong.expect | 20 +++---- .../issue54070.dart.strong.transformed.expect | 20 +++---- .../issue54070.dart.weak.expect | 20 +++---- .../issue54070.dart.weak.modular.expect | 20 +++---- .../issue54070.dart.weak.outline.expect | 20 +++---- .../issue54070.dart.weak.transformed.expect | 20 +++---- .../issue54097.dart.strong.expect | 6 +- .../issue54097.dart.strong.transformed.expect | 6 +- .../issue54097.dart.weak.expect | 6 +- .../issue54097.dart.weak.modular.expect | 6 +- .../issue54097.dart.weak.outline.expect | 6 +- .../issue54097.dart.weak.transformed.expect | 6 +- .../issue54097_2.dart.strong.expect | 24 ++++---- ...ssue54097_2.dart.strong.transformed.expect | 24 ++++---- .../issue54097_2.dart.weak.expect | 24 ++++---- .../issue54097_2.dart.weak.modular.expect | 24 ++++---- .../issue54097_2.dart.weak.outline.expect | 24 ++++---- .../issue54097_2.dart.weak.transformed.expect | 24 ++++---- .../issue54169.dart.strong.expect | 4 +- .../issue54169.dart.strong.transformed.expect | 4 +- .../issue54169.dart.weak.expect | 4 +- .../issue54169.dart.weak.modular.expect | 4 +- .../issue54169.dart.weak.outline.expect | 4 +- .../issue54169.dart.weak.transformed.expect | 4 +- .../issue54186.dart.strong.expect | 4 +- .../issue54186.dart.strong.transformed.expect | 4 +- .../issue54186.dart.weak.expect | 4 +- .../issue54186.dart.weak.modular.expect | 4 +- .../issue54186.dart.weak.outline.expect | 4 +- .../issue54186.dart.weak.transformed.expect | 4 +- .../issue54602.dart.strong.expect | 6 +- .../issue54602.dart.strong.transformed.expect | 6 +- .../issue54602.dart.weak.expect | 6 +- .../issue54602.dart.weak.modular.expect | 6 +- .../issue54602.dart.weak.outline.expect | 6 +- .../issue54602.dart.weak.transformed.expect | 6 +- ...ovariant_type_parameter.dart.strong.expect | 24 ++++---- ...e_parameter.dart.strong.transformed.expect | 24 ++++---- ..._covariant_type_parameter.dart.weak.expect | 24 ++++---- ...nt_type_parameter.dart.weak.modular.expect | 24 ++++---- ...nt_type_parameter.dart.weak.outline.expect | 24 ++++---- ...ype_parameter.dart.weak.transformed.expect | 24 ++++---- ...le_if_implements_object.dart.strong.expect | 2 +- ...ents_object.dart.strong.transformed.expect | 2 +- ...able_if_implements_object.dart.weak.expect | 2 +- ...implements_object.dart.weak.modular.expect | 2 +- ...implements_object.dart.weak.outline.expect | 2 +- ...ements_object.dart.weak.transformed.expect | 2 +- ...not_non_nullable_access.dart.strong.expect | 4 +- ...able_access.dart.strong.transformed.expect | 4 +- .../not_non_nullable_access.dart.weak.expect | 4 +- ...n_nullable_access.dart.weak.modular.expect | 4 +- ...n_nullable_access.dart.weak.outline.expect | 4 +- ...llable_access.dart.weak.transformed.expect | 4 +- .../nullability.dart.strong.expect | 2 +- ...nullability.dart.strong.transformed.expect | 2 +- .../nullability.dart.weak.expect | 2 +- .../nullability.dart.weak.modular.expect | 2 +- .../nullability.dart.weak.outline.expect | 2 +- .../nullability.dart.weak.transformed.expect | 2 +- .../procedures.dart.strong.expect | 8 +-- .../procedures.dart.strong.transformed.expect | 8 +-- .../procedures.dart.weak.expect | 8 +-- .../procedures.dart.weak.modular.expect | 8 +-- .../procedures.dart.weak.outline.expect | 8 +-- .../procedures.dart.weak.transformed.expect | 8 +-- .../representation_type.dart.strong.expect | 40 ++++++------- ...tation_type.dart.strong.transformed.expect | 40 ++++++------- .../representation_type.dart.weak.expect | 40 ++++++------- ...presentation_type.dart.weak.modular.expect | 40 ++++++------- ...presentation_type.dart.weak.outline.expect | 40 ++++++------- ...entation_type.dart.weak.transformed.expect | 40 ++++++------- ..._type_in_contravariant_position_in_up.dart | 9 +++ ...avariant_position_in_up.dart.strong.expect | 18 ++++++ ...ition_in_up.dart.strong.transformed.expect | 18 ++++++ ...position_in_up.dart.textual_outline.expect | 5 ++ ...in_up.dart.textual_outline_modelled.expect | 5 ++ ...travariant_position_in_up.dart.weak.expect | 18 ++++++ ...nt_position_in_up.dart.weak.modular.expect | 18 ++++++ ...nt_position_in_up.dart.weak.outline.expect | 16 +++++ ...osition_in_up.dart.weak.transformed.expect | 18 ++++++ ...extension_type_conflict.dart.strong.expect | 6 +- ...pe_conflict.dart.strong.transformed.expect | 6 +- ...r_extension_type_conflict.dart.weak.expect | 6 +- ...ion_type_conflict.dart.weak.modular.expect | 6 +- ...ion_type_conflict.dart.weak.outline.expect | 6 +- ...type_conflict.dart.weak.transformed.expect | 6 +- .../supertype_conflict.dart.strong.expect | 2 +- ...pe_conflict.dart.strong.transformed.expect | 2 +- .../supertype_conflict.dart.weak.expect | 2 +- ...upertype_conflict.dart.weak.modular.expect | 2 +- ...upertype_conflict.dart.weak.outline.expect | 2 +- ...type_conflict.dart.weak.transformed.expect | 2 +- ...lias_constructor_access.dart.strong.expect | 4 +- ...ctor_access.dart.strong.transformed.expect | 4 +- ..._alias_constructor_access.dart.weak.expect | 4 +- ...onstructor_access.dart.weak.modular.expect | 4 +- ...onstructor_access.dart.weak.outline.expect | 4 +- ...ructor_access.dart.weak.transformed.expect | 4 +- .../alias_from_opt_in.dart.strong.expect | 10 ++-- ...from_opt_in.dart.strong.transformed.expect | 10 ++-- .../alias_from_opt_in.dart.weak.expect | 10 ++-- ...alias_from_opt_in.dart.weak.modular.expect | 10 ++-- ...alias_from_opt_in.dart.weak.outline.expect | 4 +- ...s_from_opt_in.dart.weak.transformed.expect | 10 ++-- pkg/kernel/lib/ast.dart | 4 +- pkg/kernel/lib/src/unaliasing.dart | 6 +- pkg/kernel/lib/type_algebra.dart | 6 +- 367 files changed, 1590 insertions(+), 1509 deletions(-) create mode 100644 pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart create mode 100644 pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.strong.expect create mode 100644 pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.strong.transformed.expect create mode 100644 pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.textual_outline.expect create mode 100644 pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.textual_outline_modelled.expect create mode 100644 pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.expect create mode 100644 pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.modular.expect create mode 100644 pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.outline.expect create mode 100644 pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.transformed.expect diff --git a/pkg/_fe_analyzer_shared/test/exhaustiveness/data/future_or_members.dart b/pkg/_fe_analyzer_shared/test/exhaustiveness/data/future_or_members.dart index 09490ac80b1e..fffcf1ac5e97 100644 --- a/pkg/_fe_analyzer_shared/test/exhaustiveness/data/future_or_members.dart +++ b/pkg/_fe_analyzer_shared/test/exhaustiveness/data/future_or_members.dart @@ -45,13 +45,7 @@ membersMethod(o) { } exhaustiveHashCode(Typedef o) { - return /*cfe. - checkingOrder={FutureOr,FutureOr,Null,Object?,Future,Object,Null}, - expandedSubtypes={Object,Null,Future}, - fields={hashCode:int}, - subtypes={FutureOr,Null}, - type=FutureOr - */ /*analyzer. + return /* checkingOrder={FutureOr,Object?,Future,Object,Null}, expandedSubtypes={Object,Null,Future}, fields={hashCode:int}, @@ -65,13 +59,7 @@ exhaustiveHashCode(Typedef o) { } exhaustiveRuntimeType(Typedef o) { - return /*cfe. - checkingOrder={FutureOr,FutureOr,Null,Object?,Future,Object,Null}, - expandedSubtypes={Object,Null,Future}, - fields={runtimeType:Type}, - subtypes={FutureOr,Null}, - type=FutureOr - */ /*analyzer. + return /* checkingOrder={FutureOr,Object?,Future,Object,Null}, expandedSubtypes={Object,Null,Future}, fields={runtimeType:Type}, @@ -85,13 +73,7 @@ exhaustiveRuntimeType(Typedef o) { } exhaustiveToString(Typedef o) { - return /*cfe. - checkingOrder={FutureOr,FutureOr,Null,Object?,Future,Object,Null}, - expandedSubtypes={Object,Null,Future}, - fields={toString:String Function()}, - subtypes={FutureOr,Null}, - type=FutureOr - */ /*analyzer. + return /* checkingOrder={FutureOr,Object?,Future,Object,Null}, expandedSubtypes={Object,Null,Future}, fields={toString:String Function()}, @@ -107,13 +89,7 @@ exhaustiveToString(Typedef o) { } exhaustiveNoSuchMethod(Typedef o) { - return /*cfe. - checkingOrder={FutureOr,FutureOr,Null,Object?,Future,Object,Null}, - expandedSubtypes={Object,Null,Future}, - fields={noSuchMethod:dynamic Function(Invocation)}, - subtypes={FutureOr,Null}, - type=FutureOr - */ /*analyzer. + return /* checkingOrder={FutureOr,Object?,Future,Object,Null}, expandedSubtypes={Object,Null,Future}, fields={noSuchMethod:dynamic Function(Invocation)}, @@ -129,14 +105,7 @@ exhaustiveNoSuchMethod(Typedef o) { } nonExhaustiveRestrictedValue(Typedef o) { - return /*cfe. - checkingOrder={FutureOr,FutureOr,Null,Object?,Future,Object,Null}, - error=non-exhaustive:Null(hashCode: int())/null, - expandedSubtypes={Object,Null,Future}, - fields={hashCode:int}, - subtypes={FutureOr,Null}, - type=FutureOr - */ /*analyzer. + return /* checkingOrder={FutureOr,Object?,Future,Object,Null}, error=non-exhaustive:Future(hashCode: int())/Future(), expandedSubtypes={Object,Null,Future}, @@ -150,14 +119,7 @@ nonExhaustiveRestrictedValue(Typedef o) { } nonExhaustiveRestrictedType(Typedef o) { - return /*cfe. - checkingOrder={FutureOr,FutureOr,Null,Object?,Future,Object,Null}, - error=non-exhaustive:Null(noSuchMethod: dynamic Function(Invocation) _)/null, - expandedSubtypes={Object,Null,Future}, - fields={noSuchMethod:dynamic Function(Invocation)}, - subtypes={FutureOr,Null}, - type=FutureOr - */ /*analyzer. + return /* checkingOrder={FutureOr,Object?,Future,Object,Null}, error=non-exhaustive:Future(noSuchMethod: dynamic Function(Invocation) _)/Future(), expandedSubtypes={Object,Null,Future}, @@ -174,13 +136,7 @@ nonExhaustiveRestrictedType(Typedef o) { } unreachableMethod(Typedef o) { - return /*cfe. - checkingOrder={FutureOr,FutureOr,Null,Object?,Future,Object,Null}, - expandedSubtypes={Object,Null,Future}, - fields={hashCode:int,noSuchMethod:dynamic Function(Invocation),runtimeType:Type,toString:String Function()}, - subtypes={FutureOr,Null}, - type=FutureOr - */ /*analyzer. + return /* checkingOrder={FutureOr,Object?,Future,Object,Null}, expandedSubtypes={Object,Null,Future}, fields={hashCode:int,noSuchMethod:dynamic Function(Invocation),runtimeType:Type,toString:String Function()}, diff --git a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.strong.expect b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.strong.expect index 946328f67ff1..055acdee827d 100644 --- a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.strong.expect +++ b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.strong.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.strong.transformed.expect b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.strong.transformed.expect index 3168f60b30b4..7ec308981317 100644 --- a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.strong.transformed.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.expect b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.expect index 4adec29c1833..c65f1935f8f3 100644 --- a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.expect +++ b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.modular.expect b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.modular.expect index 4adec29c1833..c65f1935f8f3 100644 --- a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.modular.expect +++ b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.modular.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.outline.expect b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.outline.expect index 9fdcdd795fcb..529f3da76b1e 100644 --- a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.outline.expect +++ b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.outline.expect @@ -41,11 +41,11 @@ static extension-type-member method J|constructor#_#new#tearOff(core::int i) → return self::J|constructor#(i); static extension-type-member method K|constructor#_(self::K|constructor#_::T% i) → self::K /* = self::K|constructor#_::T% */ ; -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ ; -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.transformed.expect b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.transformed.expect index cbfbaf449a2b..40140742ecb3 100644 --- a/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/dart2js/extension_types/issue51285.dart.weak.transformed.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.strong.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.strong.expect index 946328f67ff1..055acdee827d 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.strong.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.strong.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.strong.transformed.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.strong.transformed.expect index 3168f60b30b4..7ec308981317 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.strong.transformed.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.expect index 4adec29c1833..c65f1935f8f3 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.modular.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.modular.expect index 4adec29c1833..c65f1935f8f3 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.modular.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.modular.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.outline.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.outline.expect index 9fdcdd795fcb..529f3da76b1e 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.outline.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.outline.expect @@ -41,11 +41,11 @@ static extension-type-member method J|constructor#_#new#tearOff(core::int i) → return self::J|constructor#(i); static extension-type-member method K|constructor#_(self::K|constructor#_::T% i) → self::K /* = self::K|constructor#_::T% */ ; -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ ; -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.transformed.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.transformed.expect index cbfbaf449a2b..40140742ecb3 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue51285.dart.weak.transformed.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.strong.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.strong.expect index ddbe76603c6f..8e3deedb321c 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.strong.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.strong.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; @@ -160,9 +160,9 @@ static const field self2::ExtString /* = core::String */ libString0 = #C1; static const field self2::ExtString /* = core::String */ libString1 = #C2; static const field self2::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field self2::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field self2::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field self2::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field self2::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field self2::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → self2::ExtString /* = core::String */ { lowered final self2::ExtString /* = core::String */ #this = s; return #this; @@ -185,7 +185,7 @@ static extension-type-member method ExtGeneric|constructor# /* = self2::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric% /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ return self2::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.strong.transformed.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.strong.transformed.expect index ddbe76603c6f..8e3deedb321c 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.strong.transformed.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; @@ -160,9 +160,9 @@ static const field self2::ExtString /* = core::String */ libString0 = #C1; static const field self2::ExtString /* = core::String */ libString1 = #C2; static const field self2::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field self2::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field self2::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field self2::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field self2::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field self2::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → self2::ExtString /* = core::String */ { lowered final self2::ExtString /* = core::String */ #this = s; return #this; @@ -185,7 +185,7 @@ static extension-type-member method ExtGeneric|constructor# /* = self2::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric% /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ return self2::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.expect index ddbe76603c6f..8e3deedb321c 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; @@ -160,9 +160,9 @@ static const field self2::ExtString /* = core::String */ libString0 = #C1; static const field self2::ExtString /* = core::String */ libString1 = #C2; static const field self2::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field self2::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field self2::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field self2::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field self2::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field self2::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → self2::ExtString /* = core::String */ { lowered final self2::ExtString /* = core::String */ #this = s; return #this; @@ -185,7 +185,7 @@ static extension-type-member method ExtGeneric|constructor# /* = self2::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric% /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ return self2::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.modular.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.modular.expect index 1c869e60120c..94358d713844 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.modular.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.modular.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.outline.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.outline.expect index cd83c800aab4..58acb1915419 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.outline.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.outline.expect @@ -26,16 +26,16 @@ static const field self::SameString /* = core::String */ sameString0 = const sel static const field self::SameString /* = core::String */ sameString1 = const self::SameString|constructor#named("hello"); static const field self::SameNullable /* = core::String? */ sameNullable0 = const self::SameNullable|constructor#(null); static const field self::SameNullable /* = core::String? */ sameNullable1 = const self::SameNullable|constructor#("hello"); -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = const self::SameGeneric|constructor#("hello"); -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = const self::SameGeneric|constructor#(null); -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = const self::SameGeneric|constructor#("hello"); +static const field self::SameGeneric /* = core::String */ sameGeneric0 = const self::SameGeneric|constructor#("hello"); +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = const self::SameGeneric|constructor#(null); +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = const self::SameGeneric|constructor#("hello"); static const field mai::ExtString /* = core::String */ valString0 = const mai::ExtString|constructor#("hello"); static const field mai::ExtString /* = core::String */ valString1 = const mai::ExtString|constructor#named("hello"); static const field mai::ExtNullable /* = core::String? */ valNullable0 = const mai::ExtNullable|constructor#(null); static const field mai::ExtNullable /* = core::String? */ valNullable1 = const mai::ExtNullable|constructor#("hello"); -static const field mai::ExtGeneric% /* = core::String */ valGeneric0 = const mai::ExtGeneric|constructor#("hello"); -static const field mai::ExtGeneric% /* = core::String? */ valGeneric1 = const mai::ExtGeneric|constructor#(null); -static const field mai::ExtGeneric% /* = core::String? */ valGeneric2 = const mai::ExtGeneric|constructor#("hello"); +static const field mai::ExtGeneric /* = core::String */ valGeneric0 = const mai::ExtGeneric|constructor#("hello"); +static const field mai::ExtGeneric /* = core::String? */ valGeneric1 = const mai::ExtGeneric|constructor#(null); +static const field mai::ExtGeneric /* = core::String? */ valGeneric2 = const mai::ExtGeneric|constructor#("hello"); static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -58,7 +58,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic ; @@ -108,9 +108,9 @@ static const field mai::ExtString /* = core::String */ libString0 = #C1; static const field mai::ExtString /* = core::String */ libString1 = #C2; static const field mai::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field mai::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field mai::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field mai::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field mai::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field mai::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field mai::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field mai::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → mai::ExtString /* = core::String */ { lowered final mai::ExtString /* = core::String */ #this = s; return #this; @@ -133,7 +133,7 @@ static extension-type-member method ExtGeneric|constructor# /* = mai::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(mai::ExtGeneric|constructor#_#new#tearOff::T% s) → mai::ExtGeneric% /* = mai::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(mai::ExtGeneric|constructor#_#new#tearOff::T% s) → mai::ExtGeneric /* = mai::ExtGeneric|constructor#_#new#tearOff::T% */ return mai::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.transformed.expect b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.transformed.expect index ddbe76603c6f..8e3deedb321c 100644 --- a/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/dartdevc/extension_types/issue54008/main.dart.weak.transformed.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; @@ -160,9 +160,9 @@ static const field self2::ExtString /* = core::String */ libString0 = #C1; static const field self2::ExtString /* = core::String */ libString1 = #C2; static const field self2::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field self2::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field self2::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field self2::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field self2::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field self2::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → self2::ExtString /* = core::String */ { lowered final self2::ExtString /* = core::String */ #this = s; return #this; @@ -185,7 +185,7 @@ static extension-type-member method ExtGeneric|constructor# /* = self2::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric% /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ return self2::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/extension_types/abstract_members.dart.strong.expect b/pkg/front_end/testcases/extension_types/abstract_members.dart.strong.expect index b2dcb7cfaaec..f7c9bc8c7cfa 100644 --- a/pkg/front_end/testcases/extension_types/abstract_members.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/abstract_members.dart.strong.expect @@ -141,7 +141,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static abstract extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T%; static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { @@ -157,10 +157,10 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static abstract extension-type-member method ET4|method(lowered final self::ET4 /* = self::ET4|method::T% */ #this) → void; -static extension-type-member method ET4|get#method(lowered final self::ET4% /* = self::ET4|get#method::T% */ #this) → () → void +static extension-type-member method ET4|get#method(lowered final self::ET4 /* = self::ET4|get#method::T% */ #this) → () → void return () → void => self::ET4|method(#this); static extension-type-member method ET5|constructor#(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/abstract_members.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/abstract_members.dart.strong.transformed.expect index b2dcb7cfaaec..f7c9bc8c7cfa 100644 --- a/pkg/front_end/testcases/extension_types/abstract_members.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/abstract_members.dart.strong.transformed.expect @@ -141,7 +141,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static abstract extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T%; static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { @@ -157,10 +157,10 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static abstract extension-type-member method ET4|method(lowered final self::ET4 /* = self::ET4|method::T% */ #this) → void; -static extension-type-member method ET4|get#method(lowered final self::ET4% /* = self::ET4|get#method::T% */ #this) → () → void +static extension-type-member method ET4|get#method(lowered final self::ET4 /* = self::ET4|get#method::T% */ #this) → () → void return () → void => self::ET4|method(#this); static extension-type-member method ET5|constructor#(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.expect b/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.expect index b2dcb7cfaaec..f7c9bc8c7cfa 100644 --- a/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.expect @@ -141,7 +141,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static abstract extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T%; static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { @@ -157,10 +157,10 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static abstract extension-type-member method ET4|method(lowered final self::ET4 /* = self::ET4|method::T% */ #this) → void; -static extension-type-member method ET4|get#method(lowered final self::ET4% /* = self::ET4|get#method::T% */ #this) → () → void +static extension-type-member method ET4|get#method(lowered final self::ET4 /* = self::ET4|get#method::T% */ #this) → () → void return () → void => self::ET4|method(#this); static extension-type-member method ET5|constructor#(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.modular.expect index b2dcb7cfaaec..f7c9bc8c7cfa 100644 --- a/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.modular.expect @@ -141,7 +141,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static abstract extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T%; static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { @@ -157,10 +157,10 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static abstract extension-type-member method ET4|method(lowered final self::ET4 /* = self::ET4|method::T% */ #this) → void; -static extension-type-member method ET4|get#method(lowered final self::ET4% /* = self::ET4|get#method::T% */ #this) → () → void +static extension-type-member method ET4|get#method(lowered final self::ET4 /* = self::ET4|get#method::T% */ #this) → () → void return () → void => self::ET4|method(#this); static extension-type-member method ET5|constructor#(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.outline.expect index 9a398492b51d..0b0beb7adf7a 100644 --- a/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.outline.expect @@ -136,7 +136,7 @@ static abstract extension-type-member get ET1|m() → core::int; static abstract extension-type-member set ET1|m(synthesized core::int #externalFieldValue) → void; static extension-type-member method ET2|constructor#(self::ET2|constructor#::T% id) → self::ET2 /* = self::ET2|constructor#::T% */ ; -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static abstract extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T%; static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ @@ -148,10 +148,10 @@ static extension-type-member method ET3|get#setter(lowered final self::ET3 /* = return (core::int x) → void => self::ET3|setter(#this, x); static extension-type-member method ET4|constructor#(self::ET4|constructor#::T% id) → self::ET4 /* = self::ET4|constructor#::T% */ ; -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static abstract extension-type-member method ET4|method(lowered final self::ET4 /* = self::ET4|method::T% */ #this) → void; -static extension-type-member method ET4|get#method(lowered final self::ET4% /* = self::ET4|get#method::T% */ #this) → () → void +static extension-type-member method ET4|get#method(lowered final self::ET4 /* = self::ET4|get#method::T% */ #this) → () → void return () → void => self::ET4|method(#this); static extension-type-member method ET5|constructor#(core::int id) → self::ET5 /* = core::int */ ; diff --git a/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.transformed.expect index b2dcb7cfaaec..f7c9bc8c7cfa 100644 --- a/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/abstract_members.dart.weak.transformed.expect @@ -141,7 +141,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static abstract extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T%; static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { @@ -157,10 +157,10 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static abstract extension-type-member method ET4|method(lowered final self::ET4 /* = self::ET4|method::T% */ #this) → void; -static extension-type-member method ET4|get#method(lowered final self::ET4% /* = self::ET4|get#method::T% */ #this) → () → void +static extension-type-member method ET4|get#method(lowered final self::ET4 /* = self::ET4|get#method::T% */ #this) → () → void return () → void => self::ET4|method(#this); static extension-type-member method ET5|constructor#(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.strong.expect b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.strong.expect index 0184ccebcada..01716f6d5317 100644 --- a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.strong.expect @@ -76,13 +76,13 @@ static extension-type-member method D|constructor# /* = self::D|constructor#::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D% /* = self::D|constructor#_#new#tearOff::Y% */ +static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D /* = self::D|constructor#_#new#tearOff::Y% */ return self::D|constructor#(i); static extension-type-member method D|constructor#named(self::D|constructor#named::Y% i) → self::D /* = self::D|constructor#named::Y% */ { lowered final self::D /* = self::D|constructor#named::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D% /* = self::D|constructor#_#named#tearOff::Y% */ +static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D /* = self::D|constructor#_#named#tearOff::Y% */ return self::D|constructor#named(i); static extension-type-member method D|method(self::D|method::Y% i) → self::D /* = self::D|method::Y% */ return self::D|constructor#(i); @@ -136,9 +136,9 @@ static method method() → dynamic { new F.method(2); // Error ^^^^^^"; } -static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D% /* = self::_#C#new#tearOff::X */ +static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D /* = self::_#C#new#tearOff::X */ return self::D|constructor#(i); -static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D% /* = self::_#C#named#tearOff::X */ +static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D /* = self::_#C#named#tearOff::X */ return self::D|constructor#named(i); static method _#E#new#tearOff(self::_#E#new#tearOff::X i) → self::F return new self::F::•(i); diff --git a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.strong.transformed.expect index 0184ccebcada..01716f6d5317 100644 --- a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.strong.transformed.expect @@ -76,13 +76,13 @@ static extension-type-member method D|constructor# /* = self::D|constructor#::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D% /* = self::D|constructor#_#new#tearOff::Y% */ +static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D /* = self::D|constructor#_#new#tearOff::Y% */ return self::D|constructor#(i); static extension-type-member method D|constructor#named(self::D|constructor#named::Y% i) → self::D /* = self::D|constructor#named::Y% */ { lowered final self::D /* = self::D|constructor#named::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D% /* = self::D|constructor#_#named#tearOff::Y% */ +static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D /* = self::D|constructor#_#named#tearOff::Y% */ return self::D|constructor#named(i); static extension-type-member method D|method(self::D|method::Y% i) → self::D /* = self::D|method::Y% */ return self::D|constructor#(i); @@ -136,9 +136,9 @@ static method method() → dynamic { new F.method(2); // Error ^^^^^^"; } -static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D% /* = self::_#C#new#tearOff::X */ +static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D /* = self::_#C#new#tearOff::X */ return self::D|constructor#(i); -static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D% /* = self::_#C#named#tearOff::X */ +static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D /* = self::_#C#named#tearOff::X */ return self::D|constructor#named(i); static method _#E#new#tearOff(self::_#E#new#tearOff::X i) → self::F return new self::F::•(i); diff --git a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.expect b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.expect index 0184ccebcada..01716f6d5317 100644 --- a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.expect @@ -76,13 +76,13 @@ static extension-type-member method D|constructor# /* = self::D|constructor#::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D% /* = self::D|constructor#_#new#tearOff::Y% */ +static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D /* = self::D|constructor#_#new#tearOff::Y% */ return self::D|constructor#(i); static extension-type-member method D|constructor#named(self::D|constructor#named::Y% i) → self::D /* = self::D|constructor#named::Y% */ { lowered final self::D /* = self::D|constructor#named::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D% /* = self::D|constructor#_#named#tearOff::Y% */ +static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D /* = self::D|constructor#_#named#tearOff::Y% */ return self::D|constructor#named(i); static extension-type-member method D|method(self::D|method::Y% i) → self::D /* = self::D|method::Y% */ return self::D|constructor#(i); @@ -136,9 +136,9 @@ static method method() → dynamic { new F.method(2); // Error ^^^^^^"; } -static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D% /* = self::_#C#new#tearOff::X */ +static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D /* = self::_#C#new#tearOff::X */ return self::D|constructor#(i); -static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D% /* = self::_#C#named#tearOff::X */ +static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D /* = self::_#C#named#tearOff::X */ return self::D|constructor#named(i); static method _#E#new#tearOff(self::_#E#new#tearOff::X i) → self::F return new self::F::•(i); diff --git a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.modular.expect index 0184ccebcada..01716f6d5317 100644 --- a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.modular.expect @@ -76,13 +76,13 @@ static extension-type-member method D|constructor# /* = self::D|constructor#::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D% /* = self::D|constructor#_#new#tearOff::Y% */ +static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D /* = self::D|constructor#_#new#tearOff::Y% */ return self::D|constructor#(i); static extension-type-member method D|constructor#named(self::D|constructor#named::Y% i) → self::D /* = self::D|constructor#named::Y% */ { lowered final self::D /* = self::D|constructor#named::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D% /* = self::D|constructor#_#named#tearOff::Y% */ +static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D /* = self::D|constructor#_#named#tearOff::Y% */ return self::D|constructor#named(i); static extension-type-member method D|method(self::D|method::Y% i) → self::D /* = self::D|method::Y% */ return self::D|constructor#(i); @@ -136,9 +136,9 @@ static method method() → dynamic { new F.method(2); // Error ^^^^^^"; } -static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D% /* = self::_#C#new#tearOff::X */ +static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D /* = self::_#C#new#tearOff::X */ return self::D|constructor#(i); -static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D% /* = self::_#C#named#tearOff::X */ +static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D /* = self::_#C#named#tearOff::X */ return self::D|constructor#named(i); static method _#E#new#tearOff(self::_#E#new#tearOff::X i) → self::F return new self::F::•(i); diff --git a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.outline.expect index a5f7d4021830..382dde7e0a0e 100644 --- a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.outline.expect @@ -41,19 +41,19 @@ static extension-type-member method B|method(core::int i) → self::B /* = core: ; static extension-type-member method D|constructor#(self::D|constructor#::Y% i) → self::D /* = self::D|constructor#::Y% */ ; -static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D% /* = self::D|constructor#_#new#tearOff::Y% */ +static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D /* = self::D|constructor#_#new#tearOff::Y% */ return self::D|constructor#(i); static extension-type-member method D|constructor#named(self::D|constructor#named::Y% i) → self::D /* = self::D|constructor#named::Y% */ ; -static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D% /* = self::D|constructor#_#named#tearOff::Y% */ +static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D /* = self::D|constructor#_#named#tearOff::Y% */ return self::D|constructor#named(i); static extension-type-member method D|method(self::D|method::Y% i) → self::D /* = self::D|method::Y% */ ; static method method() → dynamic ; -static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D% /* = self::_#C#new#tearOff::X */ +static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D /* = self::_#C#new#tearOff::X */ return self::D|constructor#(i); -static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D% /* = self::_#C#named#tearOff::X */ +static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D /* = self::_#C#named#tearOff::X */ return self::D|constructor#named(i); static method _#E#new#tearOff(self::_#E#new#tearOff::X i) → self::F return new self::F::•(i); diff --git a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.transformed.expect index 0184ccebcada..01716f6d5317 100644 --- a/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/aliased_member_access.dart.weak.transformed.expect @@ -76,13 +76,13 @@ static extension-type-member method D|constructor# /* = self::D|constructor#::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D% /* = self::D|constructor#_#new#tearOff::Y% */ +static extension-type-member method D|constructor#_#new#tearOff(self::D|constructor#_#new#tearOff::Y% i) → self::D /* = self::D|constructor#_#new#tearOff::Y% */ return self::D|constructor#(i); static extension-type-member method D|constructor#named(self::D|constructor#named::Y% i) → self::D /* = self::D|constructor#named::Y% */ { lowered final self::D /* = self::D|constructor#named::Y% */ #this = i; return #this; } -static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D% /* = self::D|constructor#_#named#tearOff::Y% */ +static extension-type-member method D|constructor#_#named#tearOff(self::D|constructor#_#named#tearOff::Y% i) → self::D /* = self::D|constructor#_#named#tearOff::Y% */ return self::D|constructor#named(i); static extension-type-member method D|method(self::D|method::Y% i) → self::D /* = self::D|method::Y% */ return self::D|constructor#(i); @@ -136,9 +136,9 @@ static method method() → dynamic { new F.method(2); // Error ^^^^^^"; } -static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D% /* = self::_#C#new#tearOff::X */ +static method _#C#new#tearOff(self::_#C#new#tearOff::X i) → self::D /* = self::_#C#new#tearOff::X */ return self::D|constructor#(i); -static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D% /* = self::_#C#named#tearOff::X */ +static method _#C#named#tearOff(self::_#C#named#tearOff::X i) → self::D /* = self::_#C#named#tearOff::X */ return self::D|constructor#named(i); static method _#E#new#tearOff(self::_#E#new#tearOff::X i) → self::F return new self::F::•(i); diff --git a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.strong.expect b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.strong.expect index e190733d1e79..a5d1925e065d 100644 --- a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.strong.expect @@ -373,7 +373,7 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = o; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(o); static extension-type-member method G2|constructor#(self::G2|constructor#::T o) → self::G2 /* = self::G2|constructor#::T */ { lowered final self::G2 /* = self::G2|constructor#::T */ #this = o; diff --git a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.strong.transformed.expect index 688ffe54c7fe..de237fbd17bc 100644 --- a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.strong.transformed.expect @@ -373,7 +373,7 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = o; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(o); static extension-type-member method G2|constructor#(self::G2|constructor#::T o) → self::G2 /* = self::G2|constructor#::T */ { lowered final self::G2 /* = self::G2|constructor#::T */ #this = o; diff --git a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.expect b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.expect index e190733d1e79..a5d1925e065d 100644 --- a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.expect @@ -373,7 +373,7 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = o; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(o); static extension-type-member method G2|constructor#(self::G2|constructor#::T o) → self::G2 /* = self::G2|constructor#::T */ { lowered final self::G2 /* = self::G2|constructor#::T */ #this = o; diff --git a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.modular.expect index e190733d1e79..a5d1925e065d 100644 --- a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.modular.expect @@ -373,7 +373,7 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = o; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(o); static extension-type-member method G2|constructor#(self::G2|constructor#::T o) → self::G2 /* = self::G2|constructor#::T */ { lowered final self::G2 /* = self::G2|constructor#::T */ #this = o; diff --git a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.outline.expect index 3a19f59c17a8..65fd5c6d9692 100644 --- a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.outline.expect @@ -67,7 +67,7 @@ static extension-type-member method F|constructor#_#new#tearOff(self::B it) → return self::F|constructor#(it); static extension-type-member method G|constructor#(self::G|constructor#::T% o) → self::G /* = self::G|constructor#::T% */ ; -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(o); static extension-type-member method G2|constructor#(self::G2|constructor#::T o) → self::G2 /* = self::G2|constructor#::T */ ; diff --git a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.transformed.expect index fff65071cd4a..a9e870db1da5 100644 --- a/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/assign_interface_type.dart.weak.transformed.expect @@ -373,7 +373,7 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = o; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% o) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(o); static extension-type-member method G2|constructor#(self::G2|constructor#::T o) → self::G2 /* = self::G2|constructor#::T */ { lowered final self::G2 /* = self::G2|constructor#::T */ #this = o; diff --git a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.strong.expect b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.strong.expect index 653350090829..296be287caa7 100644 --- a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.strong.expect @@ -83,16 +83,16 @@ static field invalid-type explicitConstAliased1 = invalid-expression "pkg/front_ Try using a constructor or factory that is 'const'. var explicitConstAliased1 = const Typedef1(0); /* Error */ ^^^^^^^^"; -static const field self::ExtensionType1% /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. +static const field self::ExtensionType1 /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. Try using a constructor or factory that is 'const'. const newConstAliased1 = new Typedef1(0); /* Error */ ^"; static const field self::ExtensionType2 /* = core::int */ implicitConst2 = #C1; static field self::ExtensionType2 /* = core::int */ explicitConst2 = #C1; static const field self::ExtensionType2 /* = core::int */ newConst2 = #C1; -static const field self::ExtensionType2% /* = core::int */ implicitConstAliased2 = #C1; -static field self::ExtensionType2% /* = core::int */ explicitConstAliased2 = #C1; -static const field self::ExtensionType2% /* = core::int */ newConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ implicitConstAliased2 = #C1; +static field self::ExtensionType2 /* = core::int */ explicitConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ newConstAliased2 = #C1; static extension-type-member method ExtensionType1|constructor#(core::int i) → self::ExtensionType1 /* = core::int */ { lowered final self::ExtensionType1 /* = core::int */ #this = i; return #this; diff --git a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.strong.transformed.expect index 653350090829..296be287caa7 100644 --- a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.strong.transformed.expect @@ -83,16 +83,16 @@ static field invalid-type explicitConstAliased1 = invalid-expression "pkg/front_ Try using a constructor or factory that is 'const'. var explicitConstAliased1 = const Typedef1(0); /* Error */ ^^^^^^^^"; -static const field self::ExtensionType1% /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. +static const field self::ExtensionType1 /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. Try using a constructor or factory that is 'const'. const newConstAliased1 = new Typedef1(0); /* Error */ ^"; static const field self::ExtensionType2 /* = core::int */ implicitConst2 = #C1; static field self::ExtensionType2 /* = core::int */ explicitConst2 = #C1; static const field self::ExtensionType2 /* = core::int */ newConst2 = #C1; -static const field self::ExtensionType2% /* = core::int */ implicitConstAliased2 = #C1; -static field self::ExtensionType2% /* = core::int */ explicitConstAliased2 = #C1; -static const field self::ExtensionType2% /* = core::int */ newConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ implicitConstAliased2 = #C1; +static field self::ExtensionType2 /* = core::int */ explicitConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ newConstAliased2 = #C1; static extension-type-member method ExtensionType1|constructor#(core::int i) → self::ExtensionType1 /* = core::int */ { lowered final self::ExtensionType1 /* = core::int */ #this = i; return #this; diff --git a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.expect b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.expect index 653350090829..296be287caa7 100644 --- a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.expect @@ -83,16 +83,16 @@ static field invalid-type explicitConstAliased1 = invalid-expression "pkg/front_ Try using a constructor or factory that is 'const'. var explicitConstAliased1 = const Typedef1(0); /* Error */ ^^^^^^^^"; -static const field self::ExtensionType1% /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. +static const field self::ExtensionType1 /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. Try using a constructor or factory that is 'const'. const newConstAliased1 = new Typedef1(0); /* Error */ ^"; static const field self::ExtensionType2 /* = core::int */ implicitConst2 = #C1; static field self::ExtensionType2 /* = core::int */ explicitConst2 = #C1; static const field self::ExtensionType2 /* = core::int */ newConst2 = #C1; -static const field self::ExtensionType2% /* = core::int */ implicitConstAliased2 = #C1; -static field self::ExtensionType2% /* = core::int */ explicitConstAliased2 = #C1; -static const field self::ExtensionType2% /* = core::int */ newConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ implicitConstAliased2 = #C1; +static field self::ExtensionType2 /* = core::int */ explicitConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ newConstAliased2 = #C1; static extension-type-member method ExtensionType1|constructor#(core::int i) → self::ExtensionType1 /* = core::int */ { lowered final self::ExtensionType1 /* = core::int */ #this = i; return #this; diff --git a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.modular.expect index 653350090829..296be287caa7 100644 --- a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.modular.expect @@ -83,16 +83,16 @@ static field invalid-type explicitConstAliased1 = invalid-expression "pkg/front_ Try using a constructor or factory that is 'const'. var explicitConstAliased1 = const Typedef1(0); /* Error */ ^^^^^^^^"; -static const field self::ExtensionType1% /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. +static const field self::ExtensionType1 /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. Try using a constructor or factory that is 'const'. const newConstAliased1 = new Typedef1(0); /* Error */ ^"; static const field self::ExtensionType2 /* = core::int */ implicitConst2 = #C1; static field self::ExtensionType2 /* = core::int */ explicitConst2 = #C1; static const field self::ExtensionType2 /* = core::int */ newConst2 = #C1; -static const field self::ExtensionType2% /* = core::int */ implicitConstAliased2 = #C1; -static field self::ExtensionType2% /* = core::int */ explicitConstAliased2 = #C1; -static const field self::ExtensionType2% /* = core::int */ newConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ implicitConstAliased2 = #C1; +static field self::ExtensionType2 /* = core::int */ explicitConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ newConstAliased2 = #C1; static extension-type-member method ExtensionType1|constructor#(core::int i) → self::ExtensionType1 /* = core::int */ { lowered final self::ExtensionType1 /* = core::int */ #this = i; return #this; diff --git a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.outline.expect index dd507b0e5d68..254122b3d5d0 100644 --- a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.outline.expect @@ -77,16 +77,16 @@ Try using a constructor or factory that is 'const'. const implicitConstAliased1 = Typedef1(0); /* Error */ ^^^^^^^^"; static field invalid-type explicitConstAliased1; -static const field self::ExtensionType1% /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. +static const field self::ExtensionType1 /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. Try using a constructor or factory that is 'const'. const newConstAliased1 = new Typedef1(0); /* Error */ ^"; static const field self::ExtensionType2 /* = core::int */ implicitConst2 = const self::ExtensionType2|constructor#(0); static field self::ExtensionType2 /* = core::int */ explicitConst2; static const field self::ExtensionType2 /* = core::int */ newConst2 = const self::ExtensionType2|constructor#(0); -static const field self::ExtensionType2% /* = core::int */ implicitConstAliased2 = const self::ExtensionType2|constructor#(0); -static field self::ExtensionType2% /* = core::int */ explicitConstAliased2; -static const field self::ExtensionType2% /* = core::int */ newConstAliased2 = const self::ExtensionType2|constructor#(0); +static const field self::ExtensionType2 /* = core::int */ implicitConstAliased2 = const self::ExtensionType2|constructor#(0); +static field self::ExtensionType2 /* = core::int */ explicitConstAliased2; +static const field self::ExtensionType2 /* = core::int */ newConstAliased2 = const self::ExtensionType2|constructor#(0); static extension-type-member method ExtensionType1|constructor#(core::int i) → self::ExtensionType1 /* = core::int */ ; static extension-type-member method ExtensionType1|constructor#_#new#tearOff(core::int i) → self::ExtensionType1 /* = core::int */ diff --git a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.transformed.expect index 653350090829..296be287caa7 100644 --- a/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/const_constructor_access.dart.weak.transformed.expect @@ -83,16 +83,16 @@ static field invalid-type explicitConstAliased1 = invalid-expression "pkg/front_ Try using a constructor or factory that is 'const'. var explicitConstAliased1 = const Typedef1(0); /* Error */ ^^^^^^^^"; -static const field self::ExtensionType1% /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. +static const field self::ExtensionType1 /* = core::int */ newConstAliased1 = invalid-expression "pkg/front_end/testcases/extension_types/const_constructor_access.dart:15:30: Error: Cannot invoke a non-'const' constructor where a const expression is expected. Try using a constructor or factory that is 'const'. const newConstAliased1 = new Typedef1(0); /* Error */ ^"; static const field self::ExtensionType2 /* = core::int */ implicitConst2 = #C1; static field self::ExtensionType2 /* = core::int */ explicitConst2 = #C1; static const field self::ExtensionType2 /* = core::int */ newConst2 = #C1; -static const field self::ExtensionType2% /* = core::int */ implicitConstAliased2 = #C1; -static field self::ExtensionType2% /* = core::int */ explicitConstAliased2 = #C1; -static const field self::ExtensionType2% /* = core::int */ newConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ implicitConstAliased2 = #C1; +static field self::ExtensionType2 /* = core::int */ explicitConstAliased2 = #C1; +static const field self::ExtensionType2 /* = core::int */ newConstAliased2 = #C1; static extension-type-member method ExtensionType1|constructor#(core::int i) → self::ExtensionType1 /* = core::int */ { lowered final self::ExtensionType1 /* = core::int */ #this = i; return #this; diff --git a/pkg/front_end/testcases/extension_types/const_extension_type.dart.strong.expect b/pkg/front_end/testcases/extension_types/const_extension_type.dart.strong.expect index b1e07307b70a..cf379a833575 100644 --- a/pkg/front_end/testcases/extension_types/const_extension_type.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/const_extension_type.dart.strong.expect @@ -17,14 +17,14 @@ static const field core::Type a2 = #C1; static const field core::Type a3 = #C2; static const field core::Type a4 = #C2; static const field self::Class b1 = #C3; -static const field self::ExtensionType>% /* = self::Class */ b2 = #C3; +static const field self::ExtensionType> /* = self::Class */ b2 = #C3; static const field self::Class b3 = #C4; -static const field self::ExtensionType>% /* = self::Class */ b4 = #C4; +static const field self::ExtensionType> /* = self::Class */ b4 = #C4; static extension-type-member method ExtensionType|constructor#(self::ExtensionType|constructor#::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#::T% */ { lowered final self::ExtensionType /* = self::ExtensionType|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType% /* = self::ExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#_#new#tearOff::T% */ return self::ExtensionType|constructor#(id); static method main() → dynamic { self::expect(true, core::identical(#C1, #C1)); diff --git a/pkg/front_end/testcases/extension_types/const_extension_type.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/const_extension_type.dart.strong.transformed.expect index e12afcddd838..b8e9123c696b 100644 --- a/pkg/front_end/testcases/extension_types/const_extension_type.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/const_extension_type.dart.strong.transformed.expect @@ -17,14 +17,14 @@ static const field core::Type a2 = #C1; static const field core::Type a3 = #C2; static const field core::Type a4 = #C2; static const field self::Class b1 = #C3; -static const field self::ExtensionType>% /* = self::Class */ b2 = #C3; +static const field self::ExtensionType> /* = self::Class */ b2 = #C3; static const field self::Class b3 = #C4; -static const field self::ExtensionType>% /* = self::Class */ b4 = #C4; +static const field self::ExtensionType> /* = self::Class */ b4 = #C4; static extension-type-member method ExtensionType|constructor#(self::ExtensionType|constructor#::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#::T% */ { lowered final self::ExtensionType /* = self::ExtensionType|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType% /* = self::ExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#_#new#tearOff::T% */ return self::ExtensionType|constructor#(id); static method main() → dynamic { self::expect(true, core::identical(#C1, #C1)); diff --git a/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.expect b/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.expect index 7843db7e0edb..2ea2e82f7bba 100644 --- a/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.expect @@ -17,14 +17,14 @@ static const field core::Type a2 = #C1; static const field core::Type a3 = #C2; static const field core::Type a4 = #C2; static const field self::Class b1 = #C3; -static const field self::ExtensionType>% /* = self::Class */ b2 = #C3; +static const field self::ExtensionType> /* = self::Class */ b2 = #C3; static const field self::Class b3 = #C4; -static const field self::ExtensionType>% /* = self::Class */ b4 = #C4; +static const field self::ExtensionType> /* = self::Class */ b4 = #C4; static extension-type-member method ExtensionType|constructor#(self::ExtensionType|constructor#::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#::T% */ { lowered final self::ExtensionType /* = self::ExtensionType|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType% /* = self::ExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#_#new#tearOff::T% */ return self::ExtensionType|constructor#(id); static method main() → dynamic { self::expect(true, core::identical(#C1, #C1)); diff --git a/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.modular.expect index 7843db7e0edb..2ea2e82f7bba 100644 --- a/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.modular.expect @@ -17,14 +17,14 @@ static const field core::Type a2 = #C1; static const field core::Type a3 = #C2; static const field core::Type a4 = #C2; static const field self::Class b1 = #C3; -static const field self::ExtensionType>% /* = self::Class */ b2 = #C3; +static const field self::ExtensionType> /* = self::Class */ b2 = #C3; static const field self::Class b3 = #C4; -static const field self::ExtensionType>% /* = self::Class */ b4 = #C4; +static const field self::ExtensionType> /* = self::Class */ b4 = #C4; static extension-type-member method ExtensionType|constructor#(self::ExtensionType|constructor#::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#::T% */ { lowered final self::ExtensionType /* = self::ExtensionType|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType% /* = self::ExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#_#new#tearOff::T% */ return self::ExtensionType|constructor#(id); static method main() → dynamic { self::expect(true, core::identical(#C1, #C1)); diff --git a/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.outline.expect index c03071b1c4e0..1adf69442508 100644 --- a/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.outline.expect @@ -17,14 +17,14 @@ static const field core::Type a2 = self::ExtensionType> / static const field core::Type a3 = self::Class; static const field core::Type a4 = self::ExtensionType> /* = self::Class */; static const field self::Class b1 = const self::Class::•(); -static const field self::ExtensionType>% /* = self::Class */ b2 = const self::ExtensionType|constructor#>(const self::Class::•()); +static const field self::ExtensionType> /* = self::Class */ b2 = const self::ExtensionType|constructor#>(const self::Class::•()); static const field self::Class b3 = const self::Class::•(); -static const field self::ExtensionType>% /* = self::Class */ b4 = const self::ExtensionType|constructor#>(const self::Class::•()); +static const field self::ExtensionType> /* = self::Class */ b4 = const self::ExtensionType|constructor#>(const self::Class::•()); static extension-type-member method ExtensionType|constructor#(self::ExtensionType|constructor#::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#::T% */ { lowered final self::ExtensionType /* = self::ExtensionType|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType% /* = self::ExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#_#new#tearOff::T% */ return self::ExtensionType|constructor#(id); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.transformed.expect index 8d1297787a74..5e116367bce7 100644 --- a/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/const_extension_type.dart.weak.transformed.expect @@ -17,14 +17,14 @@ static const field core::Type a2 = #C1; static const field core::Type a3 = #C2; static const field core::Type a4 = #C2; static const field self::Class b1 = #C3; -static const field self::ExtensionType>% /* = self::Class */ b2 = #C3; +static const field self::ExtensionType> /* = self::Class */ b2 = #C3; static const field self::Class b3 = #C4; -static const field self::ExtensionType>% /* = self::Class */ b4 = #C4; +static const field self::ExtensionType> /* = self::Class */ b4 = #C4; static extension-type-member method ExtensionType|constructor#(self::ExtensionType|constructor#::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#::T% */ { lowered final self::ExtensionType /* = self::ExtensionType|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType% /* = self::ExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(self::ExtensionType|constructor#_#new#tearOff::T% id) → self::ExtensionType /* = self::ExtensionType|constructor#_#new#tearOff::T% */ return self::ExtensionType|constructor#(id); static method main() → dynamic { self::expect(true, core::identical(#C1, #C1)); diff --git a/pkg/front_end/testcases/extension_types/constructor_access.dart.strong.expect b/pkg/front_end/testcases/extension_types/constructor_access.dart.strong.expect index 056032edbb88..19abd627d610 100644 --- a/pkg/front_end/testcases/extension_types/constructor_access.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/constructor_access.dart.strong.expect @@ -30,7 +30,7 @@ static extension-type-member method GenericClass|constructor# /* = self::GenericClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#new#tearOff::T% */ return self::GenericClass|constructor#(it); static method main() → dynamic { self::Class /* = core::int */ a = self::Class|constructor#(3); @@ -38,19 +38,19 @@ static method main() → dynamic { self::Class /* = core::int */ b2 = #C1(4){(core::int) → self::Class /* = core::int */}; self::Class /* = core::int */ c = self::Class|constructor#named(5); self::Class /* = core::int */ c2 = #C2(5){(core::int) → self::Class /* = core::int */}; - self::GenericClass% /* = core::String */ d = self::GenericClass|constructor#("foo"); - self::GenericClass% /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e = self::GenericClass|constructor#("bar"); - self::GenericClass% /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::int */ f = self::GenericClass|constructor#(42); - self::GenericClass% /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ g = self::GenericClass|constructor#(87); - self::GenericClass% /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass% /* = core::int */}; + self::GenericClass /* = core::String */ d = self::GenericClass|constructor#("foo"); + self::GenericClass /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e = self::GenericClass|constructor#("bar"); + self::GenericClass /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::int */ f = self::GenericClass|constructor#(42); + self::GenericClass /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ g = self::GenericClass|constructor#(87); + self::GenericClass /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass /* = core::int */}; self::GenericClass /* = core::num */ h = self::GenericClass|constructor#(123); - self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass% /* = core::num */}; + self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass /* = core::num */}; self::expect(3, a as{Unchecked} core::int); self::expect(3, a); self::expect(4, b as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/constructor_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/constructor_access.dart.strong.transformed.expect index 056032edbb88..19abd627d610 100644 --- a/pkg/front_end/testcases/extension_types/constructor_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/constructor_access.dart.strong.transformed.expect @@ -30,7 +30,7 @@ static extension-type-member method GenericClass|constructor# /* = self::GenericClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#new#tearOff::T% */ return self::GenericClass|constructor#(it); static method main() → dynamic { self::Class /* = core::int */ a = self::Class|constructor#(3); @@ -38,19 +38,19 @@ static method main() → dynamic { self::Class /* = core::int */ b2 = #C1(4){(core::int) → self::Class /* = core::int */}; self::Class /* = core::int */ c = self::Class|constructor#named(5); self::Class /* = core::int */ c2 = #C2(5){(core::int) → self::Class /* = core::int */}; - self::GenericClass% /* = core::String */ d = self::GenericClass|constructor#("foo"); - self::GenericClass% /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e = self::GenericClass|constructor#("bar"); - self::GenericClass% /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::int */ f = self::GenericClass|constructor#(42); - self::GenericClass% /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ g = self::GenericClass|constructor#(87); - self::GenericClass% /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass% /* = core::int */}; + self::GenericClass /* = core::String */ d = self::GenericClass|constructor#("foo"); + self::GenericClass /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e = self::GenericClass|constructor#("bar"); + self::GenericClass /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::int */ f = self::GenericClass|constructor#(42); + self::GenericClass /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ g = self::GenericClass|constructor#(87); + self::GenericClass /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass /* = core::int */}; self::GenericClass /* = core::num */ h = self::GenericClass|constructor#(123); - self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass% /* = core::num */}; + self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass /* = core::num */}; self::expect(3, a as{Unchecked} core::int); self::expect(3, a); self::expect(4, b as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.expect b/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.expect index 570636b65c85..0239fc65beb9 100644 --- a/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.expect @@ -30,7 +30,7 @@ static extension-type-member method GenericClass|constructor# /* = self::GenericClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#new#tearOff::T% */ return self::GenericClass|constructor#(it); static method main() → dynamic { self::Class /* = core::int */ a = self::Class|constructor#(3); @@ -38,19 +38,19 @@ static method main() → dynamic { self::Class /* = core::int */ b2 = #C1(4){(core::int) → self::Class /* = core::int */}; self::Class /* = core::int */ c = self::Class|constructor#named(5); self::Class /* = core::int */ c2 = #C2(5){(core::int) → self::Class /* = core::int */}; - self::GenericClass% /* = core::String */ d = self::GenericClass|constructor#("foo"); - self::GenericClass% /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e = self::GenericClass|constructor#("bar"); - self::GenericClass% /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::int */ f = self::GenericClass|constructor#(42); - self::GenericClass% /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ g = self::GenericClass|constructor#(87); - self::GenericClass% /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass% /* = core::int */}; + self::GenericClass /* = core::String */ d = self::GenericClass|constructor#("foo"); + self::GenericClass /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e = self::GenericClass|constructor#("bar"); + self::GenericClass /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::int */ f = self::GenericClass|constructor#(42); + self::GenericClass /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ g = self::GenericClass|constructor#(87); + self::GenericClass /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass /* = core::int */}; self::GenericClass /* = core::num */ h = self::GenericClass|constructor#(123); - self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass% /* = core::num */}; + self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass /* = core::num */}; self::expect(3, a as{Unchecked} core::int); self::expect(3, a); self::expect(4, b as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.modular.expect index 570636b65c85..0239fc65beb9 100644 --- a/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.modular.expect @@ -30,7 +30,7 @@ static extension-type-member method GenericClass|constructor# /* = self::GenericClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#new#tearOff::T% */ return self::GenericClass|constructor#(it); static method main() → dynamic { self::Class /* = core::int */ a = self::Class|constructor#(3); @@ -38,19 +38,19 @@ static method main() → dynamic { self::Class /* = core::int */ b2 = #C1(4){(core::int) → self::Class /* = core::int */}; self::Class /* = core::int */ c = self::Class|constructor#named(5); self::Class /* = core::int */ c2 = #C2(5){(core::int) → self::Class /* = core::int */}; - self::GenericClass% /* = core::String */ d = self::GenericClass|constructor#("foo"); - self::GenericClass% /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e = self::GenericClass|constructor#("bar"); - self::GenericClass% /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::int */ f = self::GenericClass|constructor#(42); - self::GenericClass% /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ g = self::GenericClass|constructor#(87); - self::GenericClass% /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass% /* = core::int */}; + self::GenericClass /* = core::String */ d = self::GenericClass|constructor#("foo"); + self::GenericClass /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e = self::GenericClass|constructor#("bar"); + self::GenericClass /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::int */ f = self::GenericClass|constructor#(42); + self::GenericClass /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ g = self::GenericClass|constructor#(87); + self::GenericClass /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass /* = core::int */}; self::GenericClass /* = core::num */ h = self::GenericClass|constructor#(123); - self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass% /* = core::num */}; + self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass /* = core::num */}; self::expect(3, a as{Unchecked} core::int); self::expect(3, a); self::expect(4, b as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.outline.expect index ef3f2e29c367..4a499a7ee363 100644 --- a/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.outline.expect @@ -24,7 +24,7 @@ static extension-type-member method Class|constructor#_#named#tearOff(core::int return self::Class|constructor#named(it); static extension-type-member method GenericClass|constructor#(self::GenericClass|constructor#::T% it) → self::GenericClass /* = self::GenericClass|constructor#::T% */ ; -static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#new#tearOff::T% */ return self::GenericClass|constructor#(it); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.transformed.expect index 570636b65c85..0239fc65beb9 100644 --- a/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/constructor_access.dart.weak.transformed.expect @@ -30,7 +30,7 @@ static extension-type-member method GenericClass|constructor# /* = self::GenericClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#new#tearOff(self::GenericClass|constructor#_#new#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#new#tearOff::T% */ return self::GenericClass|constructor#(it); static method main() → dynamic { self::Class /* = core::int */ a = self::Class|constructor#(3); @@ -38,19 +38,19 @@ static method main() → dynamic { self::Class /* = core::int */ b2 = #C1(4){(core::int) → self::Class /* = core::int */}; self::Class /* = core::int */ c = self::Class|constructor#named(5); self::Class /* = core::int */ c2 = #C2(5){(core::int) → self::Class /* = core::int */}; - self::GenericClass% /* = core::String */ d = self::GenericClass|constructor#("foo"); - self::GenericClass% /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e = self::GenericClass|constructor#("bar"); - self::GenericClass% /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass% /* = core::String */}; - self::GenericClass% /* = core::int */ f = self::GenericClass|constructor#(42); - self::GenericClass% /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass% /* = core::int */}; - self::GenericClass% /* = core::int */ g = self::GenericClass|constructor#(87); - self::GenericClass% /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass% /* = core::int */}; + self::GenericClass /* = core::String */ d = self::GenericClass|constructor#("foo"); + self::GenericClass /* = core::String */ d2 = #C4("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ d3 = #C3("foo"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e = self::GenericClass|constructor#("bar"); + self::GenericClass /* = core::String */ e2 = #C4("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::String */ e3 = #C3("bar"){(core::String) → self::GenericClass /* = core::String */}; + self::GenericClass /* = core::int */ f = self::GenericClass|constructor#(42); + self::GenericClass /* = core::int */ f2 = #C5(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ f3 = #C3(42){(core::int) → self::GenericClass /* = core::int */}; + self::GenericClass /* = core::int */ g = self::GenericClass|constructor#(87); + self::GenericClass /* = core::int */ g2 = #C3(87){(core::int) → self::GenericClass /* = core::int */}; self::GenericClass /* = core::num */ h = self::GenericClass|constructor#(123); - self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass% /* = core::num */}; + self::GenericClass /* = core::num */ h2 = #C3(123){(core::num) → self::GenericClass /* = core::num */}; self::expect(3, a as{Unchecked} core::int); self::expect(3, a); self::expect(4, b as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.strong.expect b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.strong.expect index f918a524924a..0ccb1e9d2a58 100644 --- a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.strong.expect @@ -88,13 +88,13 @@ static extension-type-member method Class2|constructor# /* = self::Class2|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#new#tearOff::T% */ +static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#new#tearOff::T% */ return self::Class2|constructor#(it); static extension-type-member method Class2|constructor#named1(self::Class2|constructor#named1::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named1::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named1::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named1#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named1#tearOff::T% */ return self::Class2|constructor#named1(it, additional); static extension-type-member method Class2|constructor#named2(self::Class2|constructor#named2::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named2::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named2::T% */ #this = it; @@ -103,19 +103,19 @@ static extension-type-member method Class2|constructor#named2(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named2#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named2#tearOff(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named2#tearOff::T% */ return self::Class2|constructor#named2(it, additional); static extension-type-member method Class2|constructor#named3(self::Class2|constructor#named3::T% it) → self::Class2 /* = self::Class2|constructor#named3::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named3::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named3#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named3#tearOff::T% */ return self::Class2|constructor#named3(it); static extension-type-member method Class2|constructor#named4(core::int additional, self::Class2|constructor#named4::T% it) → self::Class2 /* = self::Class2|constructor#named4::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named4::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named4#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named4#tearOff::T% */ return self::Class2|constructor#named4(additional, it); static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#named5::T% it) → self::Class2 /* = self::Class2|constructor#named5::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named5::T% */ #this = it; @@ -124,11 +124,11 @@ static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named5#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named5#tearOff(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named5#tearOff::T% */ return self::Class2|constructor#named5(additional, it); static extension-type-member method Class2|constructor#named6(core::List list) → self::Class2 /* = self::Class2|constructor#named6::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named6::T% */ #this = list.{core::Iterable::first}{self::Class2|constructor#named6::T%}; return #this; } -static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2% /* = self::Class2|constructor#_#named6#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2 /* = self::Class2|constructor#_#named6#tearOff::T% */ return self::Class2|constructor#named6(list); diff --git a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.strong.transformed.expect index f918a524924a..0ccb1e9d2a58 100644 --- a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.strong.transformed.expect @@ -88,13 +88,13 @@ static extension-type-member method Class2|constructor# /* = self::Class2|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#new#tearOff::T% */ +static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#new#tearOff::T% */ return self::Class2|constructor#(it); static extension-type-member method Class2|constructor#named1(self::Class2|constructor#named1::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named1::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named1::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named1#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named1#tearOff::T% */ return self::Class2|constructor#named1(it, additional); static extension-type-member method Class2|constructor#named2(self::Class2|constructor#named2::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named2::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named2::T% */ #this = it; @@ -103,19 +103,19 @@ static extension-type-member method Class2|constructor#named2(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named2#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named2#tearOff(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named2#tearOff::T% */ return self::Class2|constructor#named2(it, additional); static extension-type-member method Class2|constructor#named3(self::Class2|constructor#named3::T% it) → self::Class2 /* = self::Class2|constructor#named3::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named3::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named3#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named3#tearOff::T% */ return self::Class2|constructor#named3(it); static extension-type-member method Class2|constructor#named4(core::int additional, self::Class2|constructor#named4::T% it) → self::Class2 /* = self::Class2|constructor#named4::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named4::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named4#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named4#tearOff::T% */ return self::Class2|constructor#named4(additional, it); static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#named5::T% it) → self::Class2 /* = self::Class2|constructor#named5::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named5::T% */ #this = it; @@ -124,11 +124,11 @@ static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named5#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named5#tearOff(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named5#tearOff::T% */ return self::Class2|constructor#named5(additional, it); static extension-type-member method Class2|constructor#named6(core::List list) → self::Class2 /* = self::Class2|constructor#named6::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named6::T% */ #this = list.{core::Iterable::first}{self::Class2|constructor#named6::T%}; return #this; } -static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2% /* = self::Class2|constructor#_#named6#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2 /* = self::Class2|constructor#_#named6#tearOff::T% */ return self::Class2|constructor#named6(list); diff --git a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.expect b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.expect index f918a524924a..0ccb1e9d2a58 100644 --- a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.expect @@ -88,13 +88,13 @@ static extension-type-member method Class2|constructor# /* = self::Class2|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#new#tearOff::T% */ +static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#new#tearOff::T% */ return self::Class2|constructor#(it); static extension-type-member method Class2|constructor#named1(self::Class2|constructor#named1::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named1::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named1::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named1#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named1#tearOff::T% */ return self::Class2|constructor#named1(it, additional); static extension-type-member method Class2|constructor#named2(self::Class2|constructor#named2::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named2::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named2::T% */ #this = it; @@ -103,19 +103,19 @@ static extension-type-member method Class2|constructor#named2(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named2#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named2#tearOff(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named2#tearOff::T% */ return self::Class2|constructor#named2(it, additional); static extension-type-member method Class2|constructor#named3(self::Class2|constructor#named3::T% it) → self::Class2 /* = self::Class2|constructor#named3::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named3::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named3#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named3#tearOff::T% */ return self::Class2|constructor#named3(it); static extension-type-member method Class2|constructor#named4(core::int additional, self::Class2|constructor#named4::T% it) → self::Class2 /* = self::Class2|constructor#named4::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named4::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named4#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named4#tearOff::T% */ return self::Class2|constructor#named4(additional, it); static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#named5::T% it) → self::Class2 /* = self::Class2|constructor#named5::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named5::T% */ #this = it; @@ -124,11 +124,11 @@ static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named5#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named5#tearOff(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named5#tearOff::T% */ return self::Class2|constructor#named5(additional, it); static extension-type-member method Class2|constructor#named6(core::List list) → self::Class2 /* = self::Class2|constructor#named6::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named6::T% */ #this = list.{core::Iterable::first}{self::Class2|constructor#named6::T%}; return #this; } -static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2% /* = self::Class2|constructor#_#named6#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2 /* = self::Class2|constructor#_#named6#tearOff::T% */ return self::Class2|constructor#named6(list); diff --git a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.modular.expect index f918a524924a..0ccb1e9d2a58 100644 --- a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.modular.expect @@ -88,13 +88,13 @@ static extension-type-member method Class2|constructor# /* = self::Class2|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#new#tearOff::T% */ +static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#new#tearOff::T% */ return self::Class2|constructor#(it); static extension-type-member method Class2|constructor#named1(self::Class2|constructor#named1::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named1::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named1::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named1#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named1#tearOff::T% */ return self::Class2|constructor#named1(it, additional); static extension-type-member method Class2|constructor#named2(self::Class2|constructor#named2::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named2::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named2::T% */ #this = it; @@ -103,19 +103,19 @@ static extension-type-member method Class2|constructor#named2(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named2#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named2#tearOff(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named2#tearOff::T% */ return self::Class2|constructor#named2(it, additional); static extension-type-member method Class2|constructor#named3(self::Class2|constructor#named3::T% it) → self::Class2 /* = self::Class2|constructor#named3::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named3::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named3#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named3#tearOff::T% */ return self::Class2|constructor#named3(it); static extension-type-member method Class2|constructor#named4(core::int additional, self::Class2|constructor#named4::T% it) → self::Class2 /* = self::Class2|constructor#named4::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named4::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named4#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named4#tearOff::T% */ return self::Class2|constructor#named4(additional, it); static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#named5::T% it) → self::Class2 /* = self::Class2|constructor#named5::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named5::T% */ #this = it; @@ -124,11 +124,11 @@ static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named5#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named5#tearOff(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named5#tearOff::T% */ return self::Class2|constructor#named5(additional, it); static extension-type-member method Class2|constructor#named6(core::List list) → self::Class2 /* = self::Class2|constructor#named6::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named6::T% */ #this = list.{core::Iterable::first}{self::Class2|constructor#named6::T%}; return #this; } -static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2% /* = self::Class2|constructor#_#named6#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2 /* = self::Class2|constructor#_#named6#tearOff::T% */ return self::Class2|constructor#named6(list); diff --git a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.outline.expect index dcbb5beec7bd..172bece8b65d 100644 --- a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.outline.expect @@ -66,29 +66,29 @@ static extension-type-member method Class1|constructor#_#named6#tearOff(core::St return self::Class1|constructor#named6(text); static extension-type-member method Class2|constructor#(self::Class2|constructor#::T% it) → self::Class2 /* = self::Class2|constructor#::T% */ ; -static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#new#tearOff::T% */ +static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#new#tearOff::T% */ return self::Class2|constructor#(it); static extension-type-member method Class2|constructor#named1(self::Class2|constructor#named1::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named1::T% */ ; -static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named1#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named1#tearOff::T% */ return self::Class2|constructor#named1(it, additional); static extension-type-member method Class2|constructor#named2(self::Class2|constructor#named2::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named2::T% */ ; -static extension-type-member method Class2|constructor#_#named2#tearOff(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named2#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named2#tearOff(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named2#tearOff::T% */ return self::Class2|constructor#named2(it, additional); static extension-type-member method Class2|constructor#named3(self::Class2|constructor#named3::T% it) → self::Class2 /* = self::Class2|constructor#named3::T% */ ; -static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named3#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named3#tearOff::T% */ return self::Class2|constructor#named3(it); static extension-type-member method Class2|constructor#named4(core::int additional, self::Class2|constructor#named4::T% it) → self::Class2 /* = self::Class2|constructor#named4::T% */ ; -static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named4#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named4#tearOff::T% */ return self::Class2|constructor#named4(additional, it); static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#named5::T% it) → self::Class2 /* = self::Class2|constructor#named5::T% */ ; -static extension-type-member method Class2|constructor#_#named5#tearOff(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named5#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named5#tearOff(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named5#tearOff::T% */ return self::Class2|constructor#named5(additional, it); static extension-type-member method Class2|constructor#named6(core::List list) → self::Class2 /* = self::Class2|constructor#named6::T% */ ; -static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2% /* = self::Class2|constructor#_#named6#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2 /* = self::Class2|constructor#_#named6#tearOff::T% */ return self::Class2|constructor#named6(list); diff --git a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.transformed.expect index f918a524924a..0ccb1e9d2a58 100644 --- a/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/constructor_bodies.dart.weak.transformed.expect @@ -88,13 +88,13 @@ static extension-type-member method Class2|constructor# /* = self::Class2|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#new#tearOff::T% */ +static extension-type-member method Class2|constructor#_#new#tearOff(self::Class2|constructor#_#new#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#new#tearOff::T% */ return self::Class2|constructor#(it); static extension-type-member method Class2|constructor#named1(self::Class2|constructor#named1::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named1::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named1::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named1#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named1#tearOff(self::Class2|constructor#_#named1#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named1#tearOff::T% */ return self::Class2|constructor#named1(it, additional); static extension-type-member method Class2|constructor#named2(self::Class2|constructor#named2::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#named2::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named2::T% */ #this = it; @@ -103,19 +103,19 @@ static extension-type-member method Class2|constructor#named2(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2% /* = self::Class2|constructor#_#named2#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named2#tearOff(self::Class2|constructor#_#named2#tearOff::T% it, core::int additional) → self::Class2 /* = self::Class2|constructor#_#named2#tearOff::T% */ return self::Class2|constructor#named2(it, additional); static extension-type-member method Class2|constructor#named3(self::Class2|constructor#named3::T% it) → self::Class2 /* = self::Class2|constructor#named3::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named3::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named3#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named3#tearOff(self::Class2|constructor#_#named3#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named3#tearOff::T% */ return self::Class2|constructor#named3(it); static extension-type-member method Class2|constructor#named4(core::int additional, self::Class2|constructor#named4::T% it) → self::Class2 /* = self::Class2|constructor#named4::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named4::T% */ #this = it; return #this; } -static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named4#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named4#tearOff(core::int additional, self::Class2|constructor#_#named4#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named4#tearOff::T% */ return self::Class2|constructor#named4(additional, it); static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#named5::T% it) → self::Class2 /* = self::Class2|constructor#named5::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named5::T% */ #this = it; @@ -124,11 +124,11 @@ static extension-type-member method Class2|constructor#named5(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2% /* = self::Class2|constructor#_#named5#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named5#tearOff(core::int additional, self::Class2|constructor#_#named5#tearOff::T% it) → self::Class2 /* = self::Class2|constructor#_#named5#tearOff::T% */ return self::Class2|constructor#named5(additional, it); static extension-type-member method Class2|constructor#named6(core::List list) → self::Class2 /* = self::Class2|constructor#named6::T% */ { lowered final self::Class2 /* = self::Class2|constructor#named6::T% */ #this = list.{core::Iterable::first}{self::Class2|constructor#named6::T%}; return #this; } -static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2% /* = self::Class2|constructor#_#named6#tearOff::T% */ +static extension-type-member method Class2|constructor#_#named6#tearOff(core::List list) → self::Class2 /* = self::Class2|constructor#_#named6#tearOff::T% */ return self::Class2|constructor#named6(list); diff --git a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.strong.expect b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.strong.expect index fd1ffa7d209f..8e87cf72e1d4 100644 --- a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.strong.expect @@ -267,12 +267,12 @@ extension type E8(invalid-type it) { constructor tearoff • = self::E8|constructor#_#new#tearOff; } extension type E9(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E9% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E9 /* = invalid-type */; constructor • = self::E9|constructor#; constructor tearoff • = self::E9|constructor#_#new#tearOff; } extension type E10(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E10% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E10 /* = invalid-type */; constructor • = self::E10|constructor#; constructor tearoff • = self::E10|constructor#_#new#tearOff; } @@ -425,19 +425,19 @@ static extension-type-member method E8|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8% /* = invalid-type */ +static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8 /* = invalid-type */ return self::E8|constructor#(it); -static extension-type-member method E9|constructor#(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ { +static extension-type-member method E9|constructor#(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ { lowered final self::E9 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ return self::E9|constructor#(it); -static extension-type-member method E10|constructor#(self::E10% /* = invalid-type */ it) → self::E10 /* = invalid-type */ { +static extension-type-member method E10|constructor#(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ { lowered final self::E10 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(self::E10% /* = invalid-type */ it) → self::E10% /* = invalid-type */ +static extension-type-member method E10|constructor#_#new#tearOff(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ return self::E10|constructor#(it); static extension-type-member method E11|constructor#(() → self::E11 /* = invalid-type */ it) → self::E11 /* = invalid-type */ { lowered final self::E11 /* = invalid-type */ #this = it; @@ -539,7 +539,7 @@ static extension-type-member method E24|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24% /* = invalid-type */ +static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24 /* = invalid-type */ return self::E24|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#Alias14#fromEnvironment#tearOff(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); @@ -579,17 +579,17 @@ static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_ return core::List::generate(length, generator, growable: growable); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias23#unmodifiable#tearOff(core::Iterable elements) → core::List return core::List::unmodifiable(elements); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List return core::List::filled(length, fill, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List return core::List::empty(growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::from(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::of(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List return core::List::generate(length, generator, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List return core::List::unmodifiable(elements); constants { diff --git a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.strong.transformed.expect index fd1ffa7d209f..8e87cf72e1d4 100644 --- a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.strong.transformed.expect @@ -267,12 +267,12 @@ extension type E8(invalid-type it) { constructor tearoff • = self::E8|constructor#_#new#tearOff; } extension type E9(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E9% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E9 /* = invalid-type */; constructor • = self::E9|constructor#; constructor tearoff • = self::E9|constructor#_#new#tearOff; } extension type E10(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E10% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E10 /* = invalid-type */; constructor • = self::E10|constructor#; constructor tearoff • = self::E10|constructor#_#new#tearOff; } @@ -425,19 +425,19 @@ static extension-type-member method E8|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8% /* = invalid-type */ +static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8 /* = invalid-type */ return self::E8|constructor#(it); -static extension-type-member method E9|constructor#(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ { +static extension-type-member method E9|constructor#(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ { lowered final self::E9 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ return self::E9|constructor#(it); -static extension-type-member method E10|constructor#(self::E10% /* = invalid-type */ it) → self::E10 /* = invalid-type */ { +static extension-type-member method E10|constructor#(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ { lowered final self::E10 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(self::E10% /* = invalid-type */ it) → self::E10% /* = invalid-type */ +static extension-type-member method E10|constructor#_#new#tearOff(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ return self::E10|constructor#(it); static extension-type-member method E11|constructor#(() → self::E11 /* = invalid-type */ it) → self::E11 /* = invalid-type */ { lowered final self::E11 /* = invalid-type */ #this = it; @@ -539,7 +539,7 @@ static extension-type-member method E24|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24% /* = invalid-type */ +static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24 /* = invalid-type */ return self::E24|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#Alias14#fromEnvironment#tearOff(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); @@ -579,17 +579,17 @@ static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_ return core::List::generate(length, generator, growable: growable); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias23#unmodifiable#tearOff(core::Iterable elements) → core::List return core::List::unmodifiable(elements); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List return core::List::filled(length, fill, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List return core::List::empty(growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::from(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::of(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List return core::List::generate(length, generator, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List return core::List::unmodifiable(elements); constants { diff --git a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.expect b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.expect index fd1ffa7d209f..8e87cf72e1d4 100644 --- a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.expect @@ -267,12 +267,12 @@ extension type E8(invalid-type it) { constructor tearoff • = self::E8|constructor#_#new#tearOff; } extension type E9(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E9% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E9 /* = invalid-type */; constructor • = self::E9|constructor#; constructor tearoff • = self::E9|constructor#_#new#tearOff; } extension type E10(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E10% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E10 /* = invalid-type */; constructor • = self::E10|constructor#; constructor tearoff • = self::E10|constructor#_#new#tearOff; } @@ -425,19 +425,19 @@ static extension-type-member method E8|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8% /* = invalid-type */ +static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8 /* = invalid-type */ return self::E8|constructor#(it); -static extension-type-member method E9|constructor#(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ { +static extension-type-member method E9|constructor#(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ { lowered final self::E9 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ return self::E9|constructor#(it); -static extension-type-member method E10|constructor#(self::E10% /* = invalid-type */ it) → self::E10 /* = invalid-type */ { +static extension-type-member method E10|constructor#(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ { lowered final self::E10 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(self::E10% /* = invalid-type */ it) → self::E10% /* = invalid-type */ +static extension-type-member method E10|constructor#_#new#tearOff(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ return self::E10|constructor#(it); static extension-type-member method E11|constructor#(() → self::E11 /* = invalid-type */ it) → self::E11 /* = invalid-type */ { lowered final self::E11 /* = invalid-type */ #this = it; @@ -539,7 +539,7 @@ static extension-type-member method E24|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24% /* = invalid-type */ +static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24 /* = invalid-type */ return self::E24|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#Alias14#fromEnvironment#tearOff(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); @@ -579,17 +579,17 @@ static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_ return core::List::generate(length, generator, growable: growable); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias23#unmodifiable#tearOff(core::Iterable elements) → core::List return core::List::unmodifiable(elements); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List return core::List::filled(length, fill, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List return core::List::empty(growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::from(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::of(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List return core::List::generate(length, generator, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List return core::List::unmodifiable(elements); constants { diff --git a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.modular.expect index fd1ffa7d209f..8e87cf72e1d4 100644 --- a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.modular.expect @@ -267,12 +267,12 @@ extension type E8(invalid-type it) { constructor tearoff • = self::E8|constructor#_#new#tearOff; } extension type E9(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E9% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E9 /* = invalid-type */; constructor • = self::E9|constructor#; constructor tearoff • = self::E9|constructor#_#new#tearOff; } extension type E10(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E10% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E10 /* = invalid-type */; constructor • = self::E10|constructor#; constructor tearoff • = self::E10|constructor#_#new#tearOff; } @@ -425,19 +425,19 @@ static extension-type-member method E8|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8% /* = invalid-type */ +static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8 /* = invalid-type */ return self::E8|constructor#(it); -static extension-type-member method E9|constructor#(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ { +static extension-type-member method E9|constructor#(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ { lowered final self::E9 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ return self::E9|constructor#(it); -static extension-type-member method E10|constructor#(self::E10% /* = invalid-type */ it) → self::E10 /* = invalid-type */ { +static extension-type-member method E10|constructor#(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ { lowered final self::E10 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(self::E10% /* = invalid-type */ it) → self::E10% /* = invalid-type */ +static extension-type-member method E10|constructor#_#new#tearOff(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ return self::E10|constructor#(it); static extension-type-member method E11|constructor#(() → self::E11 /* = invalid-type */ it) → self::E11 /* = invalid-type */ { lowered final self::E11 /* = invalid-type */ #this = it; @@ -539,7 +539,7 @@ static extension-type-member method E24|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24% /* = invalid-type */ +static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24 /* = invalid-type */ return self::E24|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#Alias14#fromEnvironment#tearOff(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); @@ -579,17 +579,17 @@ static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_ return core::List::generate(length, generator, growable: growable); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias23#unmodifiable#tearOff(core::Iterable elements) → core::List return core::List::unmodifiable(elements); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List return core::List::filled(length, fill, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List return core::List::empty(growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::from(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::of(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List return core::List::generate(length, generator, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List return core::List::unmodifiable(elements); constants { diff --git a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.outline.expect index 8ca4c92a56a5..d32255ba4ad9 100644 --- a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.outline.expect @@ -267,12 +267,12 @@ extension type E8(invalid-type it) { constructor tearoff • = self::E8|constructor#_#new#tearOff; } extension type E9(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E9% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E9 /* = invalid-type */; constructor • = self::E9|constructor#; constructor tearoff • = self::E9|constructor#_#new#tearOff; } extension type E10(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E10% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E10 /* = invalid-type */; constructor • = self::E10|constructor#; constructor tearoff • = self::E10|constructor#_#new#tearOff; } @@ -403,15 +403,15 @@ static extension-type-member method E7|constructor#((core::List /* = invalid-type */> it) → self::E8 /* = invalid-type */ ; -static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8% /* = invalid-type */ +static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8 /* = invalid-type */ return self::E8|constructor#(it); -static extension-type-member method E9|constructor#(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ +static extension-type-member method E9|constructor#(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ ; -static extension-type-member method E9|constructor#_#new#tearOff(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ return self::E9|constructor#(it); -static extension-type-member method E10|constructor#(self::E10% /* = invalid-type */ it) → self::E10 /* = invalid-type */ +static extension-type-member method E10|constructor#(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ ; -static extension-type-member method E10|constructor#_#new#tearOff(self::E10% /* = invalid-type */ it) → self::E10% /* = invalid-type */ +static extension-type-member method E10|constructor#_#new#tearOff(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ return self::E10|constructor#(it); static extension-type-member method E11|constructor#(() → self::E11 /* = invalid-type */ it) → self::E11 /* = invalid-type */ ; @@ -479,7 +479,7 @@ static extension-type-member method E23|constructor#_#new#tearOff(core::List(core::List% /* = invalid-type */> it) → self::E24 /* = invalid-type */ ; -static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24% /* = invalid-type */ +static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24 /* = invalid-type */ return self::E24|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#Alias14#fromEnvironment#tearOff(core::String name, {has-declared-initializer core::int defaultValue}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); @@ -519,15 +519,15 @@ static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_ return core::List::generate(length, generator, growable: growable); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias23#unmodifiable#tearOff(core::Iterable elements) → core::List return core::List::unmodifiable(elements); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {has-declared-initializer core::bool growable}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {has-declared-initializer core::bool growable}) → core::List return core::List::filled(length, fill, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>({has-declared-initializer core::bool growable}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>({has-declared-initializer core::bool growable}) → core::List return core::List::empty(growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {has-declared-initializer core::bool growable}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {has-declared-initializer core::bool growable}) → core::List return core::List::from(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {has-declared-initializer core::bool growable}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {has-declared-initializer core::bool growable}) → core::List return core::List::of(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {has-declared-initializer core::bool growable}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {has-declared-initializer core::bool growable}) → core::List return core::List::generate(length, generator, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List return core::List::unmodifiable(elements); diff --git a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.transformed.expect index fd1ffa7d209f..8e87cf72e1d4 100644 --- a/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/cyclic_representation_type.dart.weak.transformed.expect @@ -267,12 +267,12 @@ extension type E8(invalid-type it) { constructor tearoff • = self::E8|constructor#_#new#tearOff; } extension type E9(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E9% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E9 /* = invalid-type */; constructor • = self::E9|constructor#; constructor tearoff • = self::E9|constructor#_#new#tearOff; } extension type E10(invalid-type it) { - abstract extension-type-member representation-field get it() → self::E10% /* = invalid-type */; + abstract extension-type-member representation-field get it() → self::E10 /* = invalid-type */; constructor • = self::E10|constructor#; constructor tearoff • = self::E10|constructor#_#new#tearOff; } @@ -425,19 +425,19 @@ static extension-type-member method E8|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8% /* = invalid-type */ +static extension-type-member method E8|constructor#_#new#tearOff(core::List /* = invalid-type */> it) → self::E8 /* = invalid-type */ return self::E8|constructor#(it); -static extension-type-member method E9|constructor#(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ { +static extension-type-member method E9|constructor#(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ { lowered final self::E9 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9% /* = invalid-type */ it) → self::E9 /* = invalid-type */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9 /* = invalid-type */ it) → self::E9 /* = invalid-type */ return self::E9|constructor#(it); -static extension-type-member method E10|constructor#(self::E10% /* = invalid-type */ it) → self::E10 /* = invalid-type */ { +static extension-type-member method E10|constructor#(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ { lowered final self::E10 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(self::E10% /* = invalid-type */ it) → self::E10% /* = invalid-type */ +static extension-type-member method E10|constructor#_#new#tearOff(self::E10 /* = invalid-type */ it) → self::E10 /* = invalid-type */ return self::E10|constructor#(it); static extension-type-member method E11|constructor#(() → self::E11 /* = invalid-type */ it) → self::E11 /* = invalid-type */ { lowered final self::E11 /* = invalid-type */ #this = it; @@ -539,7 +539,7 @@ static extension-type-member method E24|constructor# /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24% /* = invalid-type */ +static extension-type-member method E24|constructor#_#new#tearOff(core::List% /* = invalid-type */> it) → self::E24 /* = invalid-type */ return self::E24|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#Alias14#fromEnvironment#tearOff(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); @@ -579,17 +579,17 @@ static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_ return core::List::generate(length, generator, growable: growable); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias23#unmodifiable#tearOff(core::Iterable elements) → core::List return core::List::unmodifiable(elements); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#filled#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, self::_#Alias24#filled#tearOff::T% fill, {core::bool growable = #C2}) → core::List return core::List::filled(length, fill, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#empty#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>({core::bool growable = #C2}) → core::List return core::List::empty(growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#from#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::from(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#of#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements, {core::bool growable = #C3}) → core::List return core::List::of(elements, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#generate#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::int length, (core::int) → self::_#Alias24#generate#tearOff::T% generator, {core::bool growable = #C3}) → core::List return core::List::generate(length, generator, growable: growable); -static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff% /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List +static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/array_patch.dart */ _#Alias24#unmodifiable#tearOff /* = invalid-type */ = self::E24 /* = invalid-type */>(core::Iterable elements) → core::List return core::List::unmodifiable(elements); constants { diff --git a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.strong.expect b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.strong.expect index b5027a5e65ce..5a577a45be63 100644 --- a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.strong.expect @@ -75,7 +75,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -87,7 +87,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.strong.transformed.expect index b5027a5e65ce..5a577a45be63 100644 --- a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.strong.transformed.expect @@ -75,7 +75,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -87,7 +87,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.expect b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.expect index b5027a5e65ce..5a577a45be63 100644 --- a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.expect @@ -75,7 +75,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -87,7 +87,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.modular.expect index b5027a5e65ce..5a577a45be63 100644 --- a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.modular.expect @@ -75,7 +75,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -87,7 +87,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.outline.expect index 837d5987a95b..c5b00990f136 100644 --- a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.outline.expect @@ -71,7 +71,7 @@ static extension-type-member method ET1|constructor#_#new#tearOff(core::int id) return self::ET1|constructor#(id); static extension-type-member method ET2|constructor#(self::ET2|constructor#::T% id) → self::ET2 /* = self::ET2|constructor#::T% */ ; -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ ; @@ -79,7 +79,7 @@ static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) return self::ET3|constructor#(id); static extension-type-member method ET4|constructor#(self::ET4|constructor#::T% id) → self::ET4 /* = self::ET4|constructor#::T% */ ; -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ ; diff --git a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.transformed.expect index b5027a5e65ce..5a577a45be63 100644 --- a/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/duplicate_constructors.dart.weak.transformed.expect @@ -75,7 +75,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -87,7 +87,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.strong.expect b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.strong.expect index 3988d232f6f6..0418afcc58c8 100644 --- a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.strong.expect @@ -81,7 +81,7 @@ static extension-type-member method ExtensionType3|constructor# /* = self::ExtensionType3|constructor#::T */ #this = it; return #this; } -static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3% /* = self::ExtensionType3|constructor#_#new#tearOff::T */ +static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3 /* = self::ExtensionType3|constructor#_#new#tearOff::T */ return self::ExtensionType3|constructor#(it); static extension-type-member method ExtensionType4|constructor#(core::int it) → self::ExtensionType4 /* = core::int */ { lowered final self::ExtensionType4 /* = core::int */ #this = it; @@ -141,5 +141,5 @@ static extension-type-member method ExtensionType7|constructor#id /* = core::int */ #this = it; return #this; } -static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7% /* = core::int */ +static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7 /* = core::int */ return self::ExtensionType7|constructor#id(it); diff --git a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.strong.transformed.expect index 3988d232f6f6..0418afcc58c8 100644 --- a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.strong.transformed.expect @@ -81,7 +81,7 @@ static extension-type-member method ExtensionType3|constructor# /* = self::ExtensionType3|constructor#::T */ #this = it; return #this; } -static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3% /* = self::ExtensionType3|constructor#_#new#tearOff::T */ +static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3 /* = self::ExtensionType3|constructor#_#new#tearOff::T */ return self::ExtensionType3|constructor#(it); static extension-type-member method ExtensionType4|constructor#(core::int it) → self::ExtensionType4 /* = core::int */ { lowered final self::ExtensionType4 /* = core::int */ #this = it; @@ -141,5 +141,5 @@ static extension-type-member method ExtensionType7|constructor#id /* = core::int */ #this = it; return #this; } -static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7% /* = core::int */ +static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7 /* = core::int */ return self::ExtensionType7|constructor#id(it); diff --git a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.expect b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.expect index 3988d232f6f6..0418afcc58c8 100644 --- a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.expect @@ -81,7 +81,7 @@ static extension-type-member method ExtensionType3|constructor# /* = self::ExtensionType3|constructor#::T */ #this = it; return #this; } -static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3% /* = self::ExtensionType3|constructor#_#new#tearOff::T */ +static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3 /* = self::ExtensionType3|constructor#_#new#tearOff::T */ return self::ExtensionType3|constructor#(it); static extension-type-member method ExtensionType4|constructor#(core::int it) → self::ExtensionType4 /* = core::int */ { lowered final self::ExtensionType4 /* = core::int */ #this = it; @@ -141,5 +141,5 @@ static extension-type-member method ExtensionType7|constructor#id /* = core::int */ #this = it; return #this; } -static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7% /* = core::int */ +static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7 /* = core::int */ return self::ExtensionType7|constructor#id(it); diff --git a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.modular.expect index 3988d232f6f6..0418afcc58c8 100644 --- a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.modular.expect @@ -81,7 +81,7 @@ static extension-type-member method ExtensionType3|constructor# /* = self::ExtensionType3|constructor#::T */ #this = it; return #this; } -static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3% /* = self::ExtensionType3|constructor#_#new#tearOff::T */ +static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3 /* = self::ExtensionType3|constructor#_#new#tearOff::T */ return self::ExtensionType3|constructor#(it); static extension-type-member method ExtensionType4|constructor#(core::int it) → self::ExtensionType4 /* = core::int */ { lowered final self::ExtensionType4 /* = core::int */ #this = it; @@ -141,5 +141,5 @@ static extension-type-member method ExtensionType7|constructor#id /* = core::int */ #this = it; return #this; } -static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7% /* = core::int */ +static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7 /* = core::int */ return self::ExtensionType7|constructor#id(it); diff --git a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.outline.expect index 0342e274b1bb..8b43aac5016f 100644 --- a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.outline.expect @@ -75,7 +75,7 @@ static extension-type-member method ExtensionType2|constructor#_#new#tearOff(cor return self::ExtensionType2|constructor#(it); static extension-type-member method ExtensionType3|constructor#(self::ExtensionType3|constructor#::T it) → self::ExtensionType3 /* = self::ExtensionType3|constructor#::T */ ; -static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3% /* = self::ExtensionType3|constructor#_#new#tearOff::T */ +static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3 /* = self::ExtensionType3|constructor#_#new#tearOff::T */ return self::ExtensionType3|constructor#(it); static extension-type-member method ExtensionType4|constructor#(core::int it) → self::ExtensionType4 /* = core::int */ ; @@ -130,5 +130,5 @@ static extension-type-member method ExtensionType6|constructor#_#id#tearOff(core return self::ExtensionType6|constructor#id(it); static extension-type-member method ExtensionType7|constructor#id(core::int it) → self::ExtensionType7 /* = core::int */ ; -static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7% /* = core::int */ +static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7 /* = core::int */ return self::ExtensionType7|constructor#id(it); diff --git a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.transformed.expect index 3988d232f6f6..0418afcc58c8 100644 --- a/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/extension_type_declarations.dart.weak.transformed.expect @@ -81,7 +81,7 @@ static extension-type-member method ExtensionType3|constructor# /* = self::ExtensionType3|constructor#::T */ #this = it; return #this; } -static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3% /* = self::ExtensionType3|constructor#_#new#tearOff::T */ +static extension-type-member method ExtensionType3|constructor#_#new#tearOff(self::ExtensionType3|constructor#_#new#tearOff::T it) → self::ExtensionType3 /* = self::ExtensionType3|constructor#_#new#tearOff::T */ return self::ExtensionType3|constructor#(it); static extension-type-member method ExtensionType4|constructor#(core::int it) → self::ExtensionType4 /* = core::int */ { lowered final self::ExtensionType4 /* = core::int */ #this = it; @@ -141,5 +141,5 @@ static extension-type-member method ExtensionType7|constructor#id /* = core::int */ #this = it; return #this; } -static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7% /* = core::int */ +static extension-type-member method ExtensionType7|constructor#_#id#tearOff(core::int it) → self::ExtensionType7 /* = core::int */ return self::ExtensionType7|constructor#id(it); diff --git a/pkg/front_end/testcases/extension_types/field_access.dart.strong.expect b/pkg/front_end/testcases/extension_types/field_access.dart.strong.expect index e182e96b6087..f839846907a8 100644 --- a/pkg/front_end/testcases/extension_types/field_access.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/field_access.dart.strong.expect @@ -355,7 +355,7 @@ static extension-type-member method GenericInlineClass|constructor# /* = self::GenericInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass% /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ return self::GenericInlineClass|constructor#(it); static extension-type-member method GenericInlineClass|test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|test::T% */ #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; @@ -377,13 +377,13 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = t; // Error, should not resolve to extension method. ^^" in #this.{}it = t; } -static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass% /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void +static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); static extension-type-member method FunctionInlineClass|constructor#(() → self::FunctionInlineClass|constructor#::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ { lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass% /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ return self::FunctionInlineClass|constructor#(it); static extension-type-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|test::T% */ #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; @@ -409,7 +409,7 @@ Try correcting the name to the name of an existing setter, or defining a setter self::FunctionInlineClass|test::T% d3 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; self::FunctionInlineClass|test::T% d4 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; } -static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass% /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); static extension-type-member method GenericFunctionInlineClass|constructor#(() → T% it) → self::GenericFunctionInlineClass /* = () → T% */ { lowered final self::GenericFunctionInlineClass /* = () → T% */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/field_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/field_access.dart.strong.transformed.expect index e182e96b6087..f839846907a8 100644 --- a/pkg/front_end/testcases/extension_types/field_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/field_access.dart.strong.transformed.expect @@ -355,7 +355,7 @@ static extension-type-member method GenericInlineClass|constructor# /* = self::GenericInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass% /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ return self::GenericInlineClass|constructor#(it); static extension-type-member method GenericInlineClass|test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|test::T% */ #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; @@ -377,13 +377,13 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = t; // Error, should not resolve to extension method. ^^" in #this.{}it = t; } -static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass% /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void +static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); static extension-type-member method FunctionInlineClass|constructor#(() → self::FunctionInlineClass|constructor#::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ { lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass% /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ return self::FunctionInlineClass|constructor#(it); static extension-type-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|test::T% */ #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; @@ -409,7 +409,7 @@ Try correcting the name to the name of an existing setter, or defining a setter self::FunctionInlineClass|test::T% d3 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; self::FunctionInlineClass|test::T% d4 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; } -static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass% /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); static extension-type-member method GenericFunctionInlineClass|constructor#(() → T% it) → self::GenericFunctionInlineClass /* = () → T% */ { lowered final self::GenericFunctionInlineClass /* = () → T% */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/field_access.dart.weak.expect b/pkg/front_end/testcases/extension_types/field_access.dart.weak.expect index e182e96b6087..f839846907a8 100644 --- a/pkg/front_end/testcases/extension_types/field_access.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/field_access.dart.weak.expect @@ -355,7 +355,7 @@ static extension-type-member method GenericInlineClass|constructor# /* = self::GenericInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass% /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ return self::GenericInlineClass|constructor#(it); static extension-type-member method GenericInlineClass|test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|test::T% */ #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; @@ -377,13 +377,13 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = t; // Error, should not resolve to extension method. ^^" in #this.{}it = t; } -static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass% /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void +static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); static extension-type-member method FunctionInlineClass|constructor#(() → self::FunctionInlineClass|constructor#::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ { lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass% /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ return self::FunctionInlineClass|constructor#(it); static extension-type-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|test::T% */ #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; @@ -409,7 +409,7 @@ Try correcting the name to the name of an existing setter, or defining a setter self::FunctionInlineClass|test::T% d3 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; self::FunctionInlineClass|test::T% d4 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; } -static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass% /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); static extension-type-member method GenericFunctionInlineClass|constructor#(() → T% it) → self::GenericFunctionInlineClass /* = () → T% */ { lowered final self::GenericFunctionInlineClass /* = () → T% */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/field_access.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/field_access.dart.weak.modular.expect index e182e96b6087..f839846907a8 100644 --- a/pkg/front_end/testcases/extension_types/field_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/field_access.dart.weak.modular.expect @@ -355,7 +355,7 @@ static extension-type-member method GenericInlineClass|constructor# /* = self::GenericInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass% /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ return self::GenericInlineClass|constructor#(it); static extension-type-member method GenericInlineClass|test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|test::T% */ #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; @@ -377,13 +377,13 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = t; // Error, should not resolve to extension method. ^^" in #this.{}it = t; } -static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass% /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void +static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); static extension-type-member method FunctionInlineClass|constructor#(() → self::FunctionInlineClass|constructor#::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ { lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass% /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ return self::FunctionInlineClass|constructor#(it); static extension-type-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|test::T% */ #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; @@ -409,7 +409,7 @@ Try correcting the name to the name of an existing setter, or defining a setter self::FunctionInlineClass|test::T% d3 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; self::FunctionInlineClass|test::T% d4 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; } -static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass% /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); static extension-type-member method GenericFunctionInlineClass|constructor#(() → T% it) → self::GenericFunctionInlineClass /* = () → T% */ { lowered final self::GenericFunctionInlineClass /* = () → T% */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/field_access.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/field_access.dart.weak.outline.expect index 2c5083477e26..974e47759314 100644 --- a/pkg/front_end/testcases/extension_types/field_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/field_access.dart.weak.outline.expect @@ -69,19 +69,19 @@ static extension-type-member method InlineClass|get#test(lowered final self::Inl return () → void => self::InlineClass|test(#this); static extension-type-member method GenericInlineClass|constructor#(self::GenericInlineClass|constructor#::T% it) → self::GenericInlineClass /* = self::GenericInlineClass|constructor#::T% */ ; -static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass% /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ return self::GenericInlineClass|constructor#(it); static extension-type-member method GenericInlineClass|test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|test::T% */ #this, self::GenericInlineClass|test::T% t) → void ; -static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass% /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void +static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); static extension-type-member method FunctionInlineClass|constructor#(() → self::FunctionInlineClass|constructor#::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ ; -static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass% /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ return self::FunctionInlineClass|constructor#(it); static extension-type-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|test::T% */ #this, () → self::FunctionInlineClass|test::T% t) → void ; -static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass% /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); static extension-type-member method GenericFunctionInlineClass|constructor#(() → T% it) → self::GenericFunctionInlineClass /* = () → T% */ ; diff --git a/pkg/front_end/testcases/extension_types/field_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/field_access.dart.weak.transformed.expect index e182e96b6087..f839846907a8 100644 --- a/pkg/front_end/testcases/extension_types/field_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/field_access.dart.weak.transformed.expect @@ -355,7 +355,7 @@ static extension-type-member method GenericInlineClass|constructor# /* = self::GenericInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass% /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericInlineClass|constructor#_#new#tearOff(self::GenericInlineClass|constructor#_#new#tearOff::T% it) → self::GenericInlineClass /* = self::GenericInlineClass|constructor#_#new#tearOff::T% */ return self::GenericInlineClass|constructor#(it); static extension-type-member method GenericInlineClass|test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|test::T% */ #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; @@ -377,13 +377,13 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = t; // Error, should not resolve to extension method. ^^" in #this.{}it = t; } -static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass% /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void +static extension-type-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass /* = self::GenericInlineClass|get#test::T% */ #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); static extension-type-member method FunctionInlineClass|constructor#(() → self::FunctionInlineClass|constructor#::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ { lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#::T% */ #this = it; return #this; } -static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass% /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ +static extension-type-member method FunctionInlineClass|constructor#_#new#tearOff(() → self::FunctionInlineClass|constructor#_#new#tearOff::T% it) → self::FunctionInlineClass /* = () → self::FunctionInlineClass|constructor#_#new#tearOff::T% */ return self::FunctionInlineClass|constructor#(it); static extension-type-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|test::T% */ #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; @@ -409,7 +409,7 @@ Try correcting the name to the name of an existing setter, or defining a setter self::FunctionInlineClass|test::T% d3 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; self::FunctionInlineClass|test::T% d4 = (#this as{Unchecked} () → self::FunctionInlineClass|test::T%)(){() → self::FunctionInlineClass|test::T%}; } -static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass% /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static extension-type-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass /* = () → self::FunctionInlineClass|get#test::T% */ #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); static extension-type-member method GenericFunctionInlineClass|constructor#(() → T% it) → self::GenericFunctionInlineClass /* = () → T% */ { lowered final self::GenericFunctionInlineClass /* = () → T% */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/generic_factory.dart.strong.expect b/pkg/front_end/testcases/extension_types/generic_factory.dart.strong.expect index 0ec883a0002e..e39fcae8733d 100644 --- a/pkg/front_end/testcases/extension_types/generic_factory.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/generic_factory.dart.strong.expect @@ -15,16 +15,16 @@ static extension-type-member method ET3|constructor#(core:: lowered final self::ET3 /* = core::int */ #this = id; return #this; } -static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3 /* = core::int */ return self::ET3|constructor#(id); static extension-type-member method ET3|constructor#c1() → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this; #this = self::ET3|constructor#(0); return #this; } -static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); static extension-type-member method ET3|constructor#f1() → self::ET3 /* = core::int */ /* redirection-target: self::ET3|constructor#c1*/ return self::ET3|constructor#c1(); -static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); diff --git a/pkg/front_end/testcases/extension_types/generic_factory.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/generic_factory.dart.strong.transformed.expect index 0ec883a0002e..e39fcae8733d 100644 --- a/pkg/front_end/testcases/extension_types/generic_factory.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/generic_factory.dart.strong.transformed.expect @@ -15,16 +15,16 @@ static extension-type-member method ET3|constructor#(core:: lowered final self::ET3 /* = core::int */ #this = id; return #this; } -static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3 /* = core::int */ return self::ET3|constructor#(id); static extension-type-member method ET3|constructor#c1() → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this; #this = self::ET3|constructor#(0); return #this; } -static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); static extension-type-member method ET3|constructor#f1() → self::ET3 /* = core::int */ /* redirection-target: self::ET3|constructor#c1*/ return self::ET3|constructor#c1(); -static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); diff --git a/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.expect b/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.expect index 0ec883a0002e..e39fcae8733d 100644 --- a/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.expect @@ -15,16 +15,16 @@ static extension-type-member method ET3|constructor#(core:: lowered final self::ET3 /* = core::int */ #this = id; return #this; } -static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3 /* = core::int */ return self::ET3|constructor#(id); static extension-type-member method ET3|constructor#c1() → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this; #this = self::ET3|constructor#(0); return #this; } -static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); static extension-type-member method ET3|constructor#f1() → self::ET3 /* = core::int */ /* redirection-target: self::ET3|constructor#c1*/ return self::ET3|constructor#c1(); -static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); diff --git a/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.modular.expect index 0ec883a0002e..e39fcae8733d 100644 --- a/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.modular.expect @@ -15,16 +15,16 @@ static extension-type-member method ET3|constructor#(core:: lowered final self::ET3 /* = core::int */ #this = id; return #this; } -static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3 /* = core::int */ return self::ET3|constructor#(id); static extension-type-member method ET3|constructor#c1() → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this; #this = self::ET3|constructor#(0); return #this; } -static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); static extension-type-member method ET3|constructor#f1() → self::ET3 /* = core::int */ /* redirection-target: self::ET3|constructor#c1*/ return self::ET3|constructor#c1(); -static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); diff --git a/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.outline.expect index 0ec883a0002e..e39fcae8733d 100644 --- a/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.outline.expect @@ -15,16 +15,16 @@ static extension-type-member method ET3|constructor#(core:: lowered final self::ET3 /* = core::int */ #this = id; return #this; } -static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3 /* = core::int */ return self::ET3|constructor#(id); static extension-type-member method ET3|constructor#c1() → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this; #this = self::ET3|constructor#(0); return #this; } -static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); static extension-type-member method ET3|constructor#f1() → self::ET3 /* = core::int */ /* redirection-target: self::ET3|constructor#c1*/ return self::ET3|constructor#c1(); -static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); diff --git a/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.transformed.expect index 0ec883a0002e..e39fcae8733d 100644 --- a/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/generic_factory.dart.weak.transformed.expect @@ -15,16 +15,16 @@ static extension-type-member method ET3|constructor#(core:: lowered final self::ET3 /* = core::int */ #this = id; return #this; } -static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) → self::ET3 /* = core::int */ return self::ET3|constructor#(id); static extension-type-member method ET3|constructor#c1() → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this; #this = self::ET3|constructor#(0); return #this; } -static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#c1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); static extension-type-member method ET3|constructor#f1() → self::ET3 /* = core::int */ /* redirection-target: self::ET3|constructor#c1*/ return self::ET3|constructor#c1(); -static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3% /* = core::int */ +static extension-type-member method ET3|constructor#_#f1#tearOff() → self::ET3 /* = core::int */ return self::ET3|constructor#c1(); diff --git a/pkg/front_end/testcases/extension_types/implement_all.dart.strong.expect b/pkg/front_end/testcases/extension_types/implement_all.dart.strong.expect index 8f627370058f..bf8c77503267 100644 --- a/pkg/front_end/testcases/extension_types/implement_all.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/implement_all.dart.strong.expect @@ -226,7 +226,7 @@ static extension-type-member method GenericExtensionType|constructor# /* = self::GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType% /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ return self::GenericExtensionType|constructor#(it); static extension-type-member method ET_Null|constructor#(Null it) → self::ET_Null /* = Null */ { lowered final self::ET_Null /* = Null */ #this = it; @@ -310,7 +310,7 @@ static extension-type-member method ET_TypeVariable|constructor# /* = self::ET_TypeVariable|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable% /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ return self::ET_TypeVariable|constructor#(it); static extension-type-member method ET_Class|constructor#(self::Class it) → self::ET_Class /* = self::Class */ { lowered final self::ET_Class /* = self::Class */ #this = it; @@ -346,5 +346,5 @@ static extension-type-member method ET_GenericExtensionType|constructor# /* = self::ET_GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType% /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ return self::ET_GenericExtensionType|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/implement_all.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/implement_all.dart.strong.transformed.expect index 8f627370058f..bf8c77503267 100644 --- a/pkg/front_end/testcases/extension_types/implement_all.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/implement_all.dart.strong.transformed.expect @@ -226,7 +226,7 @@ static extension-type-member method GenericExtensionType|constructor# /* = self::GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType% /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ return self::GenericExtensionType|constructor#(it); static extension-type-member method ET_Null|constructor#(Null it) → self::ET_Null /* = Null */ { lowered final self::ET_Null /* = Null */ #this = it; @@ -310,7 +310,7 @@ static extension-type-member method ET_TypeVariable|constructor# /* = self::ET_TypeVariable|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable% /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ return self::ET_TypeVariable|constructor#(it); static extension-type-member method ET_Class|constructor#(self::Class it) → self::ET_Class /* = self::Class */ { lowered final self::ET_Class /* = self::Class */ #this = it; @@ -346,5 +346,5 @@ static extension-type-member method ET_GenericExtensionType|constructor# /* = self::ET_GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType% /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ return self::ET_GenericExtensionType|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/implement_all.dart.weak.expect b/pkg/front_end/testcases/extension_types/implement_all.dart.weak.expect index 8f627370058f..bf8c77503267 100644 --- a/pkg/front_end/testcases/extension_types/implement_all.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/implement_all.dart.weak.expect @@ -226,7 +226,7 @@ static extension-type-member method GenericExtensionType|constructor# /* = self::GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType% /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ return self::GenericExtensionType|constructor#(it); static extension-type-member method ET_Null|constructor#(Null it) → self::ET_Null /* = Null */ { lowered final self::ET_Null /* = Null */ #this = it; @@ -310,7 +310,7 @@ static extension-type-member method ET_TypeVariable|constructor# /* = self::ET_TypeVariable|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable% /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ return self::ET_TypeVariable|constructor#(it); static extension-type-member method ET_Class|constructor#(self::Class it) → self::ET_Class /* = self::Class */ { lowered final self::ET_Class /* = self::Class */ #this = it; @@ -346,5 +346,5 @@ static extension-type-member method ET_GenericExtensionType|constructor# /* = self::ET_GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType% /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ return self::ET_GenericExtensionType|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/implement_all.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/implement_all.dart.weak.modular.expect index 8f627370058f..bf8c77503267 100644 --- a/pkg/front_end/testcases/extension_types/implement_all.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/implement_all.dart.weak.modular.expect @@ -226,7 +226,7 @@ static extension-type-member method GenericExtensionType|constructor# /* = self::GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType% /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ return self::GenericExtensionType|constructor#(it); static extension-type-member method ET_Null|constructor#(Null it) → self::ET_Null /* = Null */ { lowered final self::ET_Null /* = Null */ #this = it; @@ -310,7 +310,7 @@ static extension-type-member method ET_TypeVariable|constructor# /* = self::ET_TypeVariable|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable% /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ return self::ET_TypeVariable|constructor#(it); static extension-type-member method ET_Class|constructor#(self::Class it) → self::ET_Class /* = self::Class */ { lowered final self::ET_Class /* = self::Class */ #this = it; @@ -346,5 +346,5 @@ static extension-type-member method ET_GenericExtensionType|constructor# /* = self::ET_GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType% /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ return self::ET_GenericExtensionType|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/implement_all.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/implement_all.dart.weak.outline.expect index df444dfbfc08..871249d34055 100644 --- a/pkg/front_end/testcases/extension_types/implement_all.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/implement_all.dart.weak.outline.expect @@ -220,7 +220,7 @@ static extension-type-member method ExtensionType|constructor#_#new#tearOff(core return self::ExtensionType|constructor#(it); static extension-type-member method GenericExtensionType|constructor#(self::GenericExtensionType|constructor#::T% it) → self::GenericExtensionType /* = self::GenericExtensionType|constructor#::T% */ ; -static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType% /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ return self::GenericExtensionType|constructor#(it); static extension-type-member method ET_Null|constructor#(Null it) → self::ET_Null /* = Null */ ; @@ -276,7 +276,7 @@ static extension-type-member method ET_Extension|constructor#(core::int it) → ; static extension-type-member method ET_TypeVariable|constructor#(self::ET_TypeVariable|constructor#::T% it) → self::ET_TypeVariable /* = self::ET_TypeVariable|constructor#::T% */ ; -static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable% /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ return self::ET_TypeVariable|constructor#(it); static extension-type-member method ET_Class|constructor#(self::Class it) → self::ET_Class /* = self::Class */ ; @@ -300,5 +300,5 @@ static extension-type-member method ET_ExtensionType|constructor#_#new#tearOff(c return self::ET_ExtensionType|constructor#(it); static extension-type-member method ET_GenericExtensionType|constructor#(self::ET_GenericExtensionType|constructor#::T% it) → self::ET_GenericExtensionType /* = self::ET_GenericExtensionType|constructor#::T% */ ; -static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType% /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ return self::ET_GenericExtensionType|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/implement_all.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/implement_all.dart.weak.transformed.expect index 8f627370058f..bf8c77503267 100644 --- a/pkg/front_end/testcases/extension_types/implement_all.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/implement_all.dart.weak.transformed.expect @@ -226,7 +226,7 @@ static extension-type-member method GenericExtensionType|constructor# /* = self::GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType% /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method GenericExtensionType|constructor#_#new#tearOff(self::GenericExtensionType|constructor#_#new#tearOff::T% it) → self::GenericExtensionType /* = self::GenericExtensionType|constructor#_#new#tearOff::T% */ return self::GenericExtensionType|constructor#(it); static extension-type-member method ET_Null|constructor#(Null it) → self::ET_Null /* = Null */ { lowered final self::ET_Null /* = Null */ #this = it; @@ -310,7 +310,7 @@ static extension-type-member method ET_TypeVariable|constructor# /* = self::ET_TypeVariable|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable% /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_TypeVariable|constructor#_#new#tearOff(self::ET_TypeVariable|constructor#_#new#tearOff::T% it) → self::ET_TypeVariable /* = self::ET_TypeVariable|constructor#_#new#tearOff::T% */ return self::ET_TypeVariable|constructor#(it); static extension-type-member method ET_Class|constructor#(self::Class it) → self::ET_Class /* = self::Class */ { lowered final self::ET_Class /* = self::Class */ #this = it; @@ -346,5 +346,5 @@ static extension-type-member method ET_GenericExtensionType|constructor# /* = self::ET_GenericExtensionType|constructor#::T% */ #this = it; return #this; } -static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType% /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_GenericExtensionType|constructor#_#new#tearOff(self::ET_GenericExtensionType|constructor#_#new#tearOff::T% it) → self::ET_GenericExtensionType /* = self::ET_GenericExtensionType|constructor#_#new#tearOff::T% */ return self::ET_GenericExtensionType|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/implements.dart.strong.expect b/pkg/front_end/testcases/extension_types/implements.dart.strong.expect index 0a2b71661f1d..6425a032f1ac 100644 --- a/pkg/front_end/testcases/extension_types/implements.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/implements.dart.strong.expect @@ -249,11 +249,11 @@ static extension-type-member method B|constructor# /* = self::B|constructor#::T% */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B% /* = self::B|constructor#_#new#tearOff::T% */ +static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B /* = self::B|constructor#_#new#tearOff::T% */ return self::B|constructor#(it); static extension-type-member method B|methodB(lowered final self::B /* = self::B|methodB::T% */ #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static extension-type-member method B|get#methodB(lowered final self::B% /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% +static extension-type-member method B|get#methodB(lowered final self::B /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); static extension-type-member method C1|constructor#(core::int it) → self::C1 /* = core::int */ { lowered final self::C1 /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/implements.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/implements.dart.strong.transformed.expect index df12b98e1547..6f4e4f742c3b 100644 --- a/pkg/front_end/testcases/extension_types/implements.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/implements.dart.strong.transformed.expect @@ -249,11 +249,11 @@ static extension-type-member method B|constructor# /* = self::B|constructor#::T% */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B% /* = self::B|constructor#_#new#tearOff::T% */ +static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B /* = self::B|constructor#_#new#tearOff::T% */ return self::B|constructor#(it); static extension-type-member method B|methodB(lowered final self::B /* = self::B|methodB::T% */ #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static extension-type-member method B|get#methodB(lowered final self::B% /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% +static extension-type-member method B|get#methodB(lowered final self::B /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); static extension-type-member method C1|constructor#(core::int it) → self::C1 /* = core::int */ { lowered final self::C1 /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/implements.dart.weak.expect b/pkg/front_end/testcases/extension_types/implements.dart.weak.expect index 0a2b71661f1d..6425a032f1ac 100644 --- a/pkg/front_end/testcases/extension_types/implements.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/implements.dart.weak.expect @@ -249,11 +249,11 @@ static extension-type-member method B|constructor# /* = self::B|constructor#::T% */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B% /* = self::B|constructor#_#new#tearOff::T% */ +static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B /* = self::B|constructor#_#new#tearOff::T% */ return self::B|constructor#(it); static extension-type-member method B|methodB(lowered final self::B /* = self::B|methodB::T% */ #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static extension-type-member method B|get#methodB(lowered final self::B% /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% +static extension-type-member method B|get#methodB(lowered final self::B /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); static extension-type-member method C1|constructor#(core::int it) → self::C1 /* = core::int */ { lowered final self::C1 /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/implements.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/implements.dart.weak.modular.expect index 0a2b71661f1d..6425a032f1ac 100644 --- a/pkg/front_end/testcases/extension_types/implements.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/implements.dart.weak.modular.expect @@ -249,11 +249,11 @@ static extension-type-member method B|constructor# /* = self::B|constructor#::T% */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B% /* = self::B|constructor#_#new#tearOff::T% */ +static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B /* = self::B|constructor#_#new#tearOff::T% */ return self::B|constructor#(it); static extension-type-member method B|methodB(lowered final self::B /* = self::B|methodB::T% */ #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static extension-type-member method B|get#methodB(lowered final self::B% /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% +static extension-type-member method B|get#methodB(lowered final self::B /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); static extension-type-member method C1|constructor#(core::int it) → self::C1 /* = core::int */ { lowered final self::C1 /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/implements.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/implements.dart.weak.outline.expect index 23a72a7fbf89..e1692101159f 100644 --- a/pkg/front_end/testcases/extension_types/implements.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/implements.dart.weak.outline.expect @@ -47,11 +47,11 @@ static extension-type-member method A|get#methodA(lowered final self::A /* = cor return () → core::int => self::A|methodA(#this); static extension-type-member method B|constructor#(self::B|constructor#::T% it) → self::B /* = self::B|constructor#::T% */ ; -static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B% /* = self::B|constructor#_#new#tearOff::T% */ +static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B /* = self::B|constructor#_#new#tearOff::T% */ return self::B|constructor#(it); static extension-type-member method B|methodB(lowered final self::B /* = self::B|methodB::T% */ #this) → self::B|methodB::T% ; -static extension-type-member method B|get#methodB(lowered final self::B% /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% +static extension-type-member method B|get#methodB(lowered final self::B /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); static extension-type-member method C1|constructor#(core::int it) → self::C1 /* = core::int */ ; diff --git a/pkg/front_end/testcases/extension_types/implements.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/implements.dart.weak.transformed.expect index df12b98e1547..6f4e4f742c3b 100644 --- a/pkg/front_end/testcases/extension_types/implements.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/implements.dart.weak.transformed.expect @@ -249,11 +249,11 @@ static extension-type-member method B|constructor# /* = self::B|constructor#::T% */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B% /* = self::B|constructor#_#new#tearOff::T% */ +static extension-type-member method B|constructor#_#new#tearOff(self::B|constructor#_#new#tearOff::T% it) → self::B /* = self::B|constructor#_#new#tearOff::T% */ return self::B|constructor#(it); static extension-type-member method B|methodB(lowered final self::B /* = self::B|methodB::T% */ #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static extension-type-member method B|get#methodB(lowered final self::B% /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% +static extension-type-member method B|get#methodB(lowered final self::B /* = self::B|get#methodB::T% */ #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); static extension-type-member method C1|constructor#(core::int it) → self::C1 /* = core::int */ { lowered final self::C1 /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/inherit_generic.dart.strong.expect b/pkg/front_end/testcases/extension_types/inherit_generic.dart.strong.expect index b39752182334..22d7ccd34b27 100644 --- a/pkg/front_end/testcases/extension_types/inherit_generic.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/inherit_generic.dart.strong.expect @@ -36,11 +36,11 @@ static extension-type-member method A|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A% /* = core::Object */ +static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A /* = core::Object */ return self::A|constructor#(it); static extension-type-member method A|method(lowered final self::A /* = core::Object */ #this) → self::A|method::T% return throw ""; -static extension-type-member method A|get#method(lowered final self::A% /* = core::Object */ #this) → () → self::A|get#method::T% +static extension-type-member method A|get#method(lowered final self::A /* = core::Object */ #this) → () → self::A|get#method::T% return () → self::A|get#method::T% => self::A|method(#this); static extension-type-member method A|get#getter(lowered final self::A /* = core::Object */ #this) → self::A|get#getter::T% return throw ""; @@ -51,11 +51,11 @@ static extension-type-member method B|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B% /* = core::Object */ +static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B /* = core::Object */ return self::B|constructor#(it); static extension-type-member method B|method2(lowered final self::B /* = core::Object */ #this) → self::B|method2::S% return self::A|method(#this); -static extension-type-member method B|get#method2(lowered final self::B% /* = core::Object */ #this) → () → self::B|get#method2::S% +static extension-type-member method B|get#method2(lowered final self::B /* = core::Object */ #this) → () → self::B|get#method2::S% return () → self::B|get#method2::S% => self::B|method2(#this); static extension-type-member method B|get#getter2(lowered final self::B /* = core::Object */ #this) → self::B|get#getter2::S% return self::A|get#getter(#this); diff --git a/pkg/front_end/testcases/extension_types/inherit_generic.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/inherit_generic.dart.strong.transformed.expect index b39752182334..22d7ccd34b27 100644 --- a/pkg/front_end/testcases/extension_types/inherit_generic.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/inherit_generic.dart.strong.transformed.expect @@ -36,11 +36,11 @@ static extension-type-member method A|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A% /* = core::Object */ +static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A /* = core::Object */ return self::A|constructor#(it); static extension-type-member method A|method(lowered final self::A /* = core::Object */ #this) → self::A|method::T% return throw ""; -static extension-type-member method A|get#method(lowered final self::A% /* = core::Object */ #this) → () → self::A|get#method::T% +static extension-type-member method A|get#method(lowered final self::A /* = core::Object */ #this) → () → self::A|get#method::T% return () → self::A|get#method::T% => self::A|method(#this); static extension-type-member method A|get#getter(lowered final self::A /* = core::Object */ #this) → self::A|get#getter::T% return throw ""; @@ -51,11 +51,11 @@ static extension-type-member method B|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B% /* = core::Object */ +static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B /* = core::Object */ return self::B|constructor#(it); static extension-type-member method B|method2(lowered final self::B /* = core::Object */ #this) → self::B|method2::S% return self::A|method(#this); -static extension-type-member method B|get#method2(lowered final self::B% /* = core::Object */ #this) → () → self::B|get#method2::S% +static extension-type-member method B|get#method2(lowered final self::B /* = core::Object */ #this) → () → self::B|get#method2::S% return () → self::B|get#method2::S% => self::B|method2(#this); static extension-type-member method B|get#getter2(lowered final self::B /* = core::Object */ #this) → self::B|get#getter2::S% return self::A|get#getter(#this); diff --git a/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.expect b/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.expect index b39752182334..22d7ccd34b27 100644 --- a/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.expect @@ -36,11 +36,11 @@ static extension-type-member method A|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A% /* = core::Object */ +static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A /* = core::Object */ return self::A|constructor#(it); static extension-type-member method A|method(lowered final self::A /* = core::Object */ #this) → self::A|method::T% return throw ""; -static extension-type-member method A|get#method(lowered final self::A% /* = core::Object */ #this) → () → self::A|get#method::T% +static extension-type-member method A|get#method(lowered final self::A /* = core::Object */ #this) → () → self::A|get#method::T% return () → self::A|get#method::T% => self::A|method(#this); static extension-type-member method A|get#getter(lowered final self::A /* = core::Object */ #this) → self::A|get#getter::T% return throw ""; @@ -51,11 +51,11 @@ static extension-type-member method B|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B% /* = core::Object */ +static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B /* = core::Object */ return self::B|constructor#(it); static extension-type-member method B|method2(lowered final self::B /* = core::Object */ #this) → self::B|method2::S% return self::A|method(#this); -static extension-type-member method B|get#method2(lowered final self::B% /* = core::Object */ #this) → () → self::B|get#method2::S% +static extension-type-member method B|get#method2(lowered final self::B /* = core::Object */ #this) → () → self::B|get#method2::S% return () → self::B|get#method2::S% => self::B|method2(#this); static extension-type-member method B|get#getter2(lowered final self::B /* = core::Object */ #this) → self::B|get#getter2::S% return self::A|get#getter(#this); diff --git a/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.modular.expect index b39752182334..22d7ccd34b27 100644 --- a/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.modular.expect @@ -36,11 +36,11 @@ static extension-type-member method A|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A% /* = core::Object */ +static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A /* = core::Object */ return self::A|constructor#(it); static extension-type-member method A|method(lowered final self::A /* = core::Object */ #this) → self::A|method::T% return throw ""; -static extension-type-member method A|get#method(lowered final self::A% /* = core::Object */ #this) → () → self::A|get#method::T% +static extension-type-member method A|get#method(lowered final self::A /* = core::Object */ #this) → () → self::A|get#method::T% return () → self::A|get#method::T% => self::A|method(#this); static extension-type-member method A|get#getter(lowered final self::A /* = core::Object */ #this) → self::A|get#getter::T% return throw ""; @@ -51,11 +51,11 @@ static extension-type-member method B|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B% /* = core::Object */ +static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B /* = core::Object */ return self::B|constructor#(it); static extension-type-member method B|method2(lowered final self::B /* = core::Object */ #this) → self::B|method2::S% return self::A|method(#this); -static extension-type-member method B|get#method2(lowered final self::B% /* = core::Object */ #this) → () → self::B|get#method2::S% +static extension-type-member method B|get#method2(lowered final self::B /* = core::Object */ #this) → () → self::B|get#method2::S% return () → self::B|get#method2::S% => self::B|method2(#this); static extension-type-member method B|get#getter2(lowered final self::B /* = core::Object */ #this) → self::B|get#getter2::S% return self::A|get#getter(#this); diff --git a/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.outline.expect index 015511200548..4185ba96b483 100644 --- a/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.outline.expect @@ -34,11 +34,11 @@ extension type C(core::Object i) implements self::A /* = core::Object } static extension-type-member method A|constructor#(core::Object it) → self::A /* = core::Object */ ; -static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A% /* = core::Object */ +static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A /* = core::Object */ return self::A|constructor#(it); static extension-type-member method A|method(lowered final self::A /* = core::Object */ #this) → self::A|method::T% ; -static extension-type-member method A|get#method(lowered final self::A% /* = core::Object */ #this) → () → self::A|get#method::T% +static extension-type-member method A|get#method(lowered final self::A /* = core::Object */ #this) → () → self::A|get#method::T% return () → self::A|get#method::T% => self::A|method(#this); static extension-type-member method A|get#getter(lowered final self::A /* = core::Object */ #this) → self::A|get#getter::T% ; @@ -48,11 +48,11 @@ static extension-type-member method A|[](lowe ; static extension-type-member method B|constructor#(core::Object it) → self::B /* = core::Object */ ; -static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B% /* = core::Object */ +static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B /* = core::Object */ return self::B|constructor#(it); static extension-type-member method B|method2(lowered final self::B /* = core::Object */ #this) → self::B|method2::S% ; -static extension-type-member method B|get#method2(lowered final self::B% /* = core::Object */ #this) → () → self::B|get#method2::S% +static extension-type-member method B|get#method2(lowered final self::B /* = core::Object */ #this) → () → self::B|get#method2::S% return () → self::B|get#method2::S% => self::B|method2(#this); static extension-type-member method B|get#getter2(lowered final self::B /* = core::Object */ #this) → self::B|get#getter2::S% ; diff --git a/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.transformed.expect index b39752182334..22d7ccd34b27 100644 --- a/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/inherit_generic.dart.weak.transformed.expect @@ -36,11 +36,11 @@ static extension-type-member method A|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A% /* = core::Object */ +static extension-type-member method A|constructor#_#new#tearOff(core::Object it) → self::A /* = core::Object */ return self::A|constructor#(it); static extension-type-member method A|method(lowered final self::A /* = core::Object */ #this) → self::A|method::T% return throw ""; -static extension-type-member method A|get#method(lowered final self::A% /* = core::Object */ #this) → () → self::A|get#method::T% +static extension-type-member method A|get#method(lowered final self::A /* = core::Object */ #this) → () → self::A|get#method::T% return () → self::A|get#method::T% => self::A|method(#this); static extension-type-member method A|get#getter(lowered final self::A /* = core::Object */ #this) → self::A|get#getter::T% return throw ""; @@ -51,11 +51,11 @@ static extension-type-member method B|constructor# /* = core::Object */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B% /* = core::Object */ +static extension-type-member method B|constructor#_#new#tearOff(core::Object it) → self::B /* = core::Object */ return self::B|constructor#(it); static extension-type-member method B|method2(lowered final self::B /* = core::Object */ #this) → self::B|method2::S% return self::A|method(#this); -static extension-type-member method B|get#method2(lowered final self::B% /* = core::Object */ #this) → () → self::B|get#method2::S% +static extension-type-member method B|get#method2(lowered final self::B /* = core::Object */ #this) → () → self::B|get#method2::S% return () → self::B|get#method2::S% => self::B|method2(#this); static extension-type-member method B|get#getter2(lowered final self::B /* = core::Object */ #this) → self::B|get#getter2::S% return self::A|get#getter(#this); diff --git a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.strong.expect b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.strong.expect index 2705c05fc199..8b36efafff6c 100644 --- a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.strong.expect @@ -81,13 +81,13 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = g; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(g); static extension-type-member method H|constructor#(core::List h) → self::H /* = core::List */ { lowered final self::H /* = core::List */ #this = h; return #this; } -static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H% /* = core::List */ +static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H /* = core::List */ return self::H|constructor#(h); static method main() → dynamic { self::A /* = core::int */ a = self::A|constructor#(42); diff --git a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.strong.transformed.expect index da8bca0bb8f2..eca287e62c2e 100644 --- a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.strong.transformed.expect @@ -81,13 +81,13 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = g; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(g); static extension-type-member method H|constructor#(core::List h) → self::H /* = core::List */ { lowered final self::H /* = core::List */ #this = h; return #this; } -static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H% /* = core::List */ +static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H /* = core::List */ return self::H|constructor#(h); static method main() → dynamic { self::A /* = core::int */ a = self::A|constructor#(42); diff --git a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.expect b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.expect index 2705c05fc199..8b36efafff6c 100644 --- a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.expect @@ -81,13 +81,13 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = g; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(g); static extension-type-member method H|constructor#(core::List h) → self::H /* = core::List */ { lowered final self::H /* = core::List */ #this = h; return #this; } -static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H% /* = core::List */ +static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H /* = core::List */ return self::H|constructor#(h); static method main() → dynamic { self::A /* = core::int */ a = self::A|constructor#(42); diff --git a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.modular.expect index 2705c05fc199..8b36efafff6c 100644 --- a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.modular.expect @@ -81,13 +81,13 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = g; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(g); static extension-type-member method H|constructor#(core::List h) → self::H /* = core::List */ { lowered final self::H /* = core::List */ #this = h; return #this; } -static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H% /* = core::List */ +static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H /* = core::List */ return self::H|constructor#(h); static method main() → dynamic { self::A /* = core::int */ a = self::A|constructor#(42); diff --git a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.outline.expect index 78956d92a3db..a323701da098 100644 --- a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.outline.expect @@ -70,11 +70,11 @@ static extension-type-member method E|get#methodC(lowered final self::E /* = cor return () → dynamic => self::E|methodC(#this); static extension-type-member method G|constructor#(self::G|constructor#::T% g) → self::G /* = self::G|constructor#::T% */ ; -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(g); static extension-type-member method H|constructor#(core::List h) → self::H /* = core::List */ ; -static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H% /* = core::List */ +static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H /* = core::List */ return self::H|constructor#(h); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.transformed.expect index da8bca0bb8f2..eca287e62c2e 100644 --- a/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/inherited_representation_field.dart.weak.transformed.expect @@ -81,13 +81,13 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T% */ #this = g; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G% /* = self::G|constructor#_#new#tearOff::T% */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T% g) → self::G /* = self::G|constructor#_#new#tearOff::T% */ return self::G|constructor#(g); static extension-type-member method H|constructor#(core::List h) → self::H /* = core::List */ { lowered final self::H /* = core::List */ #this = h; return #this; } -static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H% /* = core::List */ +static extension-type-member method H|constructor#_#new#tearOff(core::List h) → self::H /* = core::List */ return self::H|constructor#(h); static method main() → dynamic { self::A /* = core::int */ a = self::A|constructor#(42); diff --git a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.strong.expect b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.strong.expect index fc893d60d683..a3bf7b5994d5 100644 --- a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.strong.expect @@ -24,6 +24,6 @@ static extension-type-member method Class3|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3% /* = core::List */ +static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3 /* = core::List */ return self::Class3|constructor#(it); static method method(self::Class1 /* = core::int */ c1, self::Class3 /* = core::List */ c3) → dynamic {} diff --git a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.strong.transformed.expect index fc893d60d683..a3bf7b5994d5 100644 --- a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.strong.transformed.expect @@ -24,6 +24,6 @@ static extension-type-member method Class3|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3% /* = core::List */ +static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3 /* = core::List */ return self::Class3|constructor#(it); static method method(self::Class1 /* = core::int */ c1, self::Class3 /* = core::List */ c3) → dynamic {} diff --git a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.expect b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.expect index fc893d60d683..a3bf7b5994d5 100644 --- a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.expect @@ -24,6 +24,6 @@ static extension-type-member method Class3|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3% /* = core::List */ +static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3 /* = core::List */ return self::Class3|constructor#(it); static method method(self::Class1 /* = core::int */ c1, self::Class3 /* = core::List */ c3) → dynamic {} diff --git a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.modular.expect index fc893d60d683..a3bf7b5994d5 100644 --- a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.modular.expect @@ -24,6 +24,6 @@ static extension-type-member method Class3|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3% /* = core::List */ +static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3 /* = core::List */ return self::Class3|constructor#(it); static method method(self::Class1 /* = core::int */ c1, self::Class3 /* = core::List */ c3) → dynamic {} diff --git a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.outline.expect index e5bda90c138e..f8d6a11d316f 100644 --- a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.outline.expect @@ -20,7 +20,7 @@ static extension-type-member method Class1|constructor#_#new#tearOff(core::int i return self::Class1|constructor#(it); static extension-type-member method Class3|constructor#(core::List it) → self::Class3 /* = core::List */ ; -static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3% /* = core::List */ +static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3 /* = core::List */ return self::Class3|constructor#(it); static method method(self::Class1 /* = core::int */ c1, self::Class3 /* = core::List */ c3) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.transformed.expect index fc893d60d683..a3bf7b5994d5 100644 --- a/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/inline_class_declaration.dart.weak.transformed.expect @@ -24,6 +24,6 @@ static extension-type-member method Class3|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3% /* = core::List */ +static extension-type-member method Class3|constructor#_#new#tearOff(core::List it) → self::Class3 /* = core::List */ return self::Class3|constructor#(it); static method method(self::Class1 /* = core::int */ c1, self::Class3 /* = core::List */ c3) → dynamic {} diff --git a/pkg/front_end/testcases/extension_types/issue51146.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue51146.dart.strong.expect index 78f3c4c06347..b05cc44e6d45 100644 --- a/pkg/front_end/testcases/extension_types/issue51146.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue51146.dart.strong.expect @@ -11,7 +11,7 @@ static extension-type-member method I|constructor# /* = self::I|constructor#::X% */ #this = value; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I% /* = self::I|constructor#_#new#tearOff::X% */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I /* = self::I|constructor#_#new#tearOff::X% */ return self::I|constructor#(value); static method f(self::I /* = core::int */ i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/extension_types/issue51146.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue51146.dart.strong.transformed.expect index 78f3c4c06347..b05cc44e6d45 100644 --- a/pkg/front_end/testcases/extension_types/issue51146.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue51146.dart.strong.transformed.expect @@ -11,7 +11,7 @@ static extension-type-member method I|constructor# /* = self::I|constructor#::X% */ #this = value; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I% /* = self::I|constructor#_#new#tearOff::X% */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I /* = self::I|constructor#_#new#tearOff::X% */ return self::I|constructor#(value); static method f(self::I /* = core::int */ i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/extension_types/issue51146.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue51146.dart.weak.expect index 78f3c4c06347..b05cc44e6d45 100644 --- a/pkg/front_end/testcases/extension_types/issue51146.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue51146.dart.weak.expect @@ -11,7 +11,7 @@ static extension-type-member method I|constructor# /* = self::I|constructor#::X% */ #this = value; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I% /* = self::I|constructor#_#new#tearOff::X% */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I /* = self::I|constructor#_#new#tearOff::X% */ return self::I|constructor#(value); static method f(self::I /* = core::int */ i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/extension_types/issue51146.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue51146.dart.weak.modular.expect index 78f3c4c06347..b05cc44e6d45 100644 --- a/pkg/front_end/testcases/extension_types/issue51146.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue51146.dart.weak.modular.expect @@ -11,7 +11,7 @@ static extension-type-member method I|constructor# /* = self::I|constructor#::X% */ #this = value; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I% /* = self::I|constructor#_#new#tearOff::X% */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I /* = self::I|constructor#_#new#tearOff::X% */ return self::I|constructor#(value); static method f(self::I /* = core::int */ i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/extension_types/issue51146.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue51146.dart.weak.outline.expect index 6d564c2e63c6..9c02a09223b6 100644 --- a/pkg/front_end/testcases/extension_types/issue51146.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue51146.dart.weak.outline.expect @@ -9,7 +9,7 @@ extension type I(self::I|constructor#::X% value) → self::I /* = self::I|constructor#::X% */ ; -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I% /* = self::I|constructor#_#new#tearOff::X% */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I /* = self::I|constructor#_#new#tearOff::X% */ return self::I|constructor#(value); static method f(self::I /* = core::int */ i) → void ; diff --git a/pkg/front_end/testcases/extension_types/issue51146.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue51146.dart.weak.transformed.expect index 78f3c4c06347..b05cc44e6d45 100644 --- a/pkg/front_end/testcases/extension_types/issue51146.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue51146.dart.weak.transformed.expect @@ -11,7 +11,7 @@ static extension-type-member method I|constructor# /* = self::I|constructor#::X% */ #this = value; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I% /* = self::I|constructor#_#new#tearOff::X% */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::X% value) → self::I /* = self::I|constructor#_#new#tearOff::X% */ return self::I|constructor#(value); static method f(self::I /* = core::int */ i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/extension_types/issue51285.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue51285.dart.strong.expect index 946328f67ff1..055acdee827d 100644 --- a/pkg/front_end/testcases/extension_types/issue51285.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue51285.dart.strong.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue51285.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue51285.dart.strong.transformed.expect index f19611867844..1e3cd0b2e305 100644 --- a/pkg/front_end/testcases/extension_types/issue51285.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue51285.dart.strong.transformed.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue51285.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue51285.dart.weak.expect index 4adec29c1833..c65f1935f8f3 100644 --- a/pkg/front_end/testcases/extension_types/issue51285.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue51285.dart.weak.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue51285.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue51285.dart.weak.modular.expect index 4adec29c1833..c65f1935f8f3 100644 --- a/pkg/front_end/testcases/extension_types/issue51285.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue51285.dart.weak.modular.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue51285.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue51285.dart.weak.outline.expect index 9fdcdd795fcb..529f3da76b1e 100644 --- a/pkg/front_end/testcases/extension_types/issue51285.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue51285.dart.weak.outline.expect @@ -41,11 +41,11 @@ static extension-type-member method J|constructor#_#new#tearOff(core::int i) → return self::J|constructor#(i); static extension-type-member method K|constructor#_(self::K|constructor#_::T% i) → self::K /* = self::K|constructor#_::T% */ ; -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ ; -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/issue51285.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue51285.dart.weak.transformed.expect index d0fff0f65da7..2d5a72a01664 100644 --- a/pkg/front_end/testcases/extension_types/issue51285.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue51285.dart.weak.transformed.expect @@ -47,11 +47,11 @@ static extension-type-member method K|constructor#_ /* = self::K|constructor#_::T% */ #this = i; return #this; } -static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K% /* = self::K|constructor#_#_#tearOff::T% */ +static extension-type-member method K|constructor#_#_#tearOff(self::K|constructor#_#_#tearOff::T% i) → self::K /* = self::K|constructor#_#_#tearOff::T% */ return self::K|constructor#_(i); static extension-type-member method K|constructor#(self::K|constructor#::T% i) → self::K /* = self::K|constructor#::T% */ return self::K|constructor#_(i); -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K% /* = self::K|constructor#_#new#tearOff::T% */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T% i) → self::K /* = self::K|constructor#_#new#tearOff::T% */ return self::K|constructor#(i); static method main() → dynamic { self::expect(0, self::I|constructor#()); @@ -61,8 +61,8 @@ static method main() → dynamic { self::expect(123, #C2(123){(core::int) → self::J /* = core::int */}); self::expect("foo", self::K|constructor#("foo")); self::expect("bar", self::K|constructor#("bar")); - self::expect("baz", #C3("baz"){(core::String) → self::K% /* = core::String */}); - self::expect("boz", #C4("boz"){(core::String) → self::K% /* = core::String */}); + self::expect("baz", #C3("baz"){(core::String) → self::K /* = core::String */}); + self::expect("boz", #C4("boz"){(core::String) → self::K /* = core::String */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue52119.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue52119.dart.strong.expect index 23349ea80430..6362dbc70df9 100644 --- a/pkg/front_end/testcases/extension_types/issue52119.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue52119.dart.strong.expect @@ -95,14 +95,14 @@ static extension-type-member method Bar|constructor#_ /* = invalid-type */ #this = i; return #this; } -static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar /* = invalid-type */ return self::Bar|constructor#_(i); static extension-type-member method Bar|constructor#(self::Bar|constructor#::T% i) → self::Bar /* = invalid-type */ { lowered final self::Bar /* = invalid-type */ #this; #this = self::Bar|constructor#_(i); return #this; } -static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar /* = invalid-type */ return self::Bar|constructor#(i); static method main() → dynamic { self::expect(44, self::Foo|constructor#(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/issue52119.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue52119.dart.strong.transformed.expect index 23349ea80430..6362dbc70df9 100644 --- a/pkg/front_end/testcases/extension_types/issue52119.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue52119.dart.strong.transformed.expect @@ -95,14 +95,14 @@ static extension-type-member method Bar|constructor#_ /* = invalid-type */ #this = i; return #this; } -static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar /* = invalid-type */ return self::Bar|constructor#_(i); static extension-type-member method Bar|constructor#(self::Bar|constructor#::T% i) → self::Bar /* = invalid-type */ { lowered final self::Bar /* = invalid-type */ #this; #this = self::Bar|constructor#_(i); return #this; } -static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar /* = invalid-type */ return self::Bar|constructor#(i); static method main() → dynamic { self::expect(44, self::Foo|constructor#(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/issue52119.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue52119.dart.weak.expect index 23349ea80430..6362dbc70df9 100644 --- a/pkg/front_end/testcases/extension_types/issue52119.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue52119.dart.weak.expect @@ -95,14 +95,14 @@ static extension-type-member method Bar|constructor#_ /* = invalid-type */ #this = i; return #this; } -static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar /* = invalid-type */ return self::Bar|constructor#_(i); static extension-type-member method Bar|constructor#(self::Bar|constructor#::T% i) → self::Bar /* = invalid-type */ { lowered final self::Bar /* = invalid-type */ #this; #this = self::Bar|constructor#_(i); return #this; } -static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar /* = invalid-type */ return self::Bar|constructor#(i); static method main() → dynamic { self::expect(44, self::Foo|constructor#(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/issue52119.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue52119.dart.weak.modular.expect index 23349ea80430..6362dbc70df9 100644 --- a/pkg/front_end/testcases/extension_types/issue52119.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue52119.dart.weak.modular.expect @@ -95,14 +95,14 @@ static extension-type-member method Bar|constructor#_ /* = invalid-type */ #this = i; return #this; } -static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar /* = invalid-type */ return self::Bar|constructor#_(i); static extension-type-member method Bar|constructor#(self::Bar|constructor#::T% i) → self::Bar /* = invalid-type */ { lowered final self::Bar /* = invalid-type */ #this; #this = self::Bar|constructor#_(i); return #this; } -static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar /* = invalid-type */ return self::Bar|constructor#(i); static method main() → dynamic { self::expect(44, self::Foo|constructor#(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/issue52119.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue52119.dart.weak.outline.expect index 731618c014d5..6e233763cb72 100644 --- a/pkg/front_end/testcases/extension_types/issue52119.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue52119.dart.weak.outline.expect @@ -62,11 +62,11 @@ static extension-type-member method Foo|constructor#_#erroneous#tearOff() → se return self::Foo|constructor#erroneous(); static extension-type-member method Bar|constructor#_(invalid-type i) → self::Bar /* = invalid-type */ ; -static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar /* = invalid-type */ return self::Bar|constructor#_(i); static extension-type-member method Bar|constructor#(self::Bar|constructor#::T% i) → self::Bar /* = invalid-type */ ; -static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar /* = invalid-type */ return self::Bar|constructor#(i); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/issue52119.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue52119.dart.weak.transformed.expect index 23349ea80430..6362dbc70df9 100644 --- a/pkg/front_end/testcases/extension_types/issue52119.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue52119.dart.weak.transformed.expect @@ -95,14 +95,14 @@ static extension-type-member method Bar|constructor#_ /* = invalid-type */ #this = i; return #this; } -static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#_#tearOff(invalid-type i) → self::Bar /* = invalid-type */ return self::Bar|constructor#_(i); static extension-type-member method Bar|constructor#(self::Bar|constructor#::T% i) → self::Bar /* = invalid-type */ { lowered final self::Bar /* = invalid-type */ #this; #this = self::Bar|constructor#_(i); return #this; } -static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar% /* = invalid-type */ +static extension-type-member method Bar|constructor#_#new#tearOff(self::Bar|constructor#_#new#tearOff::T% i) → self::Bar /* = invalid-type */ return self::Bar|constructor#(i); static method main() → dynamic { self::expect(44, self::Foo|constructor#(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/extension_types/issue52542.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue52542.dart.strong.expect index 9beb47755b0a..58b3103dfeb6 100644 --- a/pkg/front_end/testcases/extension_types/issue52542.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue52542.dart.strong.expect @@ -19,7 +19,7 @@ static extension-type-member method Option|constructor# /* = core::Object? */ #this = _value; return #this; } -static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option% /* = core::Object? */ +static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option /* = core::Object? */ return self::Option|constructor#(_value); static extension-type-member method Option|get#value(lowered final self::Option /* = core::Object? */ #this) → self::Option|get#value::V% return (#this as{Unchecked} core::Object?) is self::None ?{self::Option|get#value::V%} throw new core::StateError::•("No Value") : (#this as{Unchecked} core::Object?) as self::Option|get#value::V%; diff --git a/pkg/front_end/testcases/extension_types/issue52542.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue52542.dart.strong.transformed.expect index e16ccaa64084..31a8cefd9b9f 100644 --- a/pkg/front_end/testcases/extension_types/issue52542.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue52542.dart.strong.transformed.expect @@ -19,7 +19,7 @@ static extension-type-member method Option|constructor# /* = core::Object? */ #this = _value; return #this; } -static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option% /* = core::Object? */ +static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option /* = core::Object? */ return self::Option|constructor#(_value); static extension-type-member method Option|get#value(lowered final self::Option /* = core::Object? */ #this) → self::Option|get#value::V% return #this is self::None ?{self::Option|get#value::V%} throw new core::StateError::•("No Value") : #this as self::Option|get#value::V%; diff --git a/pkg/front_end/testcases/extension_types/issue52542.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue52542.dart.weak.expect index 9beb47755b0a..58b3103dfeb6 100644 --- a/pkg/front_end/testcases/extension_types/issue52542.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue52542.dart.weak.expect @@ -19,7 +19,7 @@ static extension-type-member method Option|constructor# /* = core::Object? */ #this = _value; return #this; } -static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option% /* = core::Object? */ +static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option /* = core::Object? */ return self::Option|constructor#(_value); static extension-type-member method Option|get#value(lowered final self::Option /* = core::Object? */ #this) → self::Option|get#value::V% return (#this as{Unchecked} core::Object?) is self::None ?{self::Option|get#value::V%} throw new core::StateError::•("No Value") : (#this as{Unchecked} core::Object?) as self::Option|get#value::V%; diff --git a/pkg/front_end/testcases/extension_types/issue52542.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue52542.dart.weak.modular.expect index 9beb47755b0a..58b3103dfeb6 100644 --- a/pkg/front_end/testcases/extension_types/issue52542.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue52542.dart.weak.modular.expect @@ -19,7 +19,7 @@ static extension-type-member method Option|constructor# /* = core::Object? */ #this = _value; return #this; } -static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option% /* = core::Object? */ +static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option /* = core::Object? */ return self::Option|constructor#(_value); static extension-type-member method Option|get#value(lowered final self::Option /* = core::Object? */ #this) → self::Option|get#value::V% return (#this as{Unchecked} core::Object?) is self::None ?{self::Option|get#value::V%} throw new core::StateError::•("No Value") : (#this as{Unchecked} core::Object?) as self::Option|get#value::V%; diff --git a/pkg/front_end/testcases/extension_types/issue52542.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue52542.dart.weak.outline.expect index 77a974a6ddf1..9a8379686b41 100644 --- a/pkg/front_end/testcases/extension_types/issue52542.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue52542.dart.weak.outline.expect @@ -19,7 +19,7 @@ static extension-type-member method Option|constructor# /* = core::Object? */ #this = _value; return #this; } -static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option% /* = core::Object? */ +static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option /* = core::Object? */ return self::Option|constructor#(_value); static extension-type-member method Option|get#value(lowered final self::Option /* = core::Object? */ #this) → self::Option|get#value::V% ; diff --git a/pkg/front_end/testcases/extension_types/issue52542.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue52542.dart.weak.transformed.expect index e16ccaa64084..31a8cefd9b9f 100644 --- a/pkg/front_end/testcases/extension_types/issue52542.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue52542.dart.weak.transformed.expect @@ -19,7 +19,7 @@ static extension-type-member method Option|constructor# /* = core::Object? */ #this = _value; return #this; } -static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option% /* = core::Object? */ +static extension-type-member method Option|constructor#_#new#tearOff(core::Object? _value) → self::Option /* = core::Object? */ return self::Option|constructor#(_value); static extension-type-member method Option|get#value(lowered final self::Option /* = core::Object? */ #this) → self::Option|get#value::V% return #this is self::None ?{self::Option|get#value::V%} throw new core::StateError::•("No Value") : #this as self::Option|get#value::V%; diff --git a/pkg/front_end/testcases/extension_types/issue52595.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue52595.dart.strong.expect index 501e580f313a..6c7360ad02f9 100644 --- a/pkg/front_end/testcases/extension_types/issue52595.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue52595.dart.strong.expect @@ -7,12 +7,12 @@ extension type V(core::int id) { constructor • = self::V|constructor#; constructor tearoff • = self::V|constructor#_#new#tearOff; } -static const field self::V% /* = core::int */ c = #C1; +static const field self::V /* = core::int */ c = #C1; static extension-type-member method V|constructor#(core::int id) → self::V /* = core::int */ { lowered final self::V /* = core::int */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V% /* = core::int */ +static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V /* = core::int */ return self::V|constructor#(id); constants { diff --git a/pkg/front_end/testcases/extension_types/issue52595.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue52595.dart.strong.transformed.expect index 501e580f313a..6c7360ad02f9 100644 --- a/pkg/front_end/testcases/extension_types/issue52595.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue52595.dart.strong.transformed.expect @@ -7,12 +7,12 @@ extension type V(core::int id) { constructor • = self::V|constructor#; constructor tearoff • = self::V|constructor#_#new#tearOff; } -static const field self::V% /* = core::int */ c = #C1; +static const field self::V /* = core::int */ c = #C1; static extension-type-member method V|constructor#(core::int id) → self::V /* = core::int */ { lowered final self::V /* = core::int */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V% /* = core::int */ +static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V /* = core::int */ return self::V|constructor#(id); constants { diff --git a/pkg/front_end/testcases/extension_types/issue52595.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue52595.dart.weak.expect index 501e580f313a..6c7360ad02f9 100644 --- a/pkg/front_end/testcases/extension_types/issue52595.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue52595.dart.weak.expect @@ -7,12 +7,12 @@ extension type V(core::int id) { constructor • = self::V|constructor#; constructor tearoff • = self::V|constructor#_#new#tearOff; } -static const field self::V% /* = core::int */ c = #C1; +static const field self::V /* = core::int */ c = #C1; static extension-type-member method V|constructor#(core::int id) → self::V /* = core::int */ { lowered final self::V /* = core::int */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V% /* = core::int */ +static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V /* = core::int */ return self::V|constructor#(id); constants { diff --git a/pkg/front_end/testcases/extension_types/issue52595.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue52595.dart.weak.modular.expect index 501e580f313a..6c7360ad02f9 100644 --- a/pkg/front_end/testcases/extension_types/issue52595.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue52595.dart.weak.modular.expect @@ -7,12 +7,12 @@ extension type V(core::int id) { constructor • = self::V|constructor#; constructor tearoff • = self::V|constructor#_#new#tearOff; } -static const field self::V% /* = core::int */ c = #C1; +static const field self::V /* = core::int */ c = #C1; static extension-type-member method V|constructor#(core::int id) → self::V /* = core::int */ { lowered final self::V /* = core::int */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V% /* = core::int */ +static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V /* = core::int */ return self::V|constructor#(id); constants { diff --git a/pkg/front_end/testcases/extension_types/issue52595.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue52595.dart.weak.outline.expect index ee7fd7e36bf3..3be12fd38975 100644 --- a/pkg/front_end/testcases/extension_types/issue52595.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue52595.dart.weak.outline.expect @@ -7,12 +7,12 @@ extension type V(core::int id) { constructor • = self::V|constructor#; constructor tearoff • = self::V|constructor#_#new#tearOff; } -static const field self::V% /* = core::int */ c = const self::V|constructor#(0); +static const field self::V /* = core::int */ c = const self::V|constructor#(0); static extension-type-member method V|constructor#(core::int id) → self::V /* = core::int */ { lowered final self::V /* = core::int */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V% /* = core::int */ +static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V /* = core::int */ return self::V|constructor#(id); diff --git a/pkg/front_end/testcases/extension_types/issue52595.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue52595.dart.weak.transformed.expect index 501e580f313a..6c7360ad02f9 100644 --- a/pkg/front_end/testcases/extension_types/issue52595.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue52595.dart.weak.transformed.expect @@ -7,12 +7,12 @@ extension type V(core::int id) { constructor • = self::V|constructor#; constructor tearoff • = self::V|constructor#_#new#tearOff; } -static const field self::V% /* = core::int */ c = #C1; +static const field self::V /* = core::int */ c = #C1; static extension-type-member method V|constructor#(core::int id) → self::V /* = core::int */ { lowered final self::V /* = core::int */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V% /* = core::int */ +static extension-type-member method V|constructor#_#new#tearOff(core::int id) → self::V /* = core::int */ return self::V|constructor#(id); constants { diff --git a/pkg/front_end/testcases/extension_types/issue53123.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53123.dart.strong.expect index d20c9ff94a22..1f5bcee073c9 100644 --- a/pkg/front_end/testcases/extension_types/issue53123.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53123.dart.strong.expect @@ -19,7 +19,7 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::T% */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V% /* = self::V|constructor#_#new#tearOff::T% */ +static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V /* = self::V|constructor#_#new#tearOff::T% */ return self::V|constructor#(id); static method test(self::V /* = dynamic */> /* = dynamic */ v) → dynamic { core::List /* = dynamic */> /* = dynamic */> l = /* = dynamic */> /* = dynamic */>[v]; diff --git a/pkg/front_end/testcases/extension_types/issue53123.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53123.dart.strong.transformed.expect index a0faebd1ff85..08b57426392e 100644 --- a/pkg/front_end/testcases/extension_types/issue53123.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53123.dart.strong.transformed.expect @@ -19,7 +19,7 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::T% */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V% /* = self::V|constructor#_#new#tearOff::T% */ +static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V /* = self::V|constructor#_#new#tearOff::T% */ return self::V|constructor#(id); static method test(self::V /* = dynamic */> /* = dynamic */ v) → dynamic { core::List /* = dynamic */> /* = dynamic */> l = core::_GrowableList::_literal1 /* = dynamic */> /* = dynamic */>(v); diff --git a/pkg/front_end/testcases/extension_types/issue53123.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53123.dart.weak.expect index d20c9ff94a22..1f5bcee073c9 100644 --- a/pkg/front_end/testcases/extension_types/issue53123.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53123.dart.weak.expect @@ -19,7 +19,7 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::T% */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V% /* = self::V|constructor#_#new#tearOff::T% */ +static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V /* = self::V|constructor#_#new#tearOff::T% */ return self::V|constructor#(id); static method test(self::V /* = dynamic */> /* = dynamic */ v) → dynamic { core::List /* = dynamic */> /* = dynamic */> l = /* = dynamic */> /* = dynamic */>[v]; diff --git a/pkg/front_end/testcases/extension_types/issue53123.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53123.dart.weak.modular.expect index d20c9ff94a22..1f5bcee073c9 100644 --- a/pkg/front_end/testcases/extension_types/issue53123.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53123.dart.weak.modular.expect @@ -19,7 +19,7 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::T% */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V% /* = self::V|constructor#_#new#tearOff::T% */ +static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V /* = self::V|constructor#_#new#tearOff::T% */ return self::V|constructor#(id); static method test(self::V /* = dynamic */> /* = dynamic */ v) → dynamic { core::List /* = dynamic */> /* = dynamic */> l = /* = dynamic */> /* = dynamic */>[v]; diff --git a/pkg/front_end/testcases/extension_types/issue53123.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53123.dart.weak.outline.expect index 2d5c867f19ec..55de4b62b0a5 100644 --- a/pkg/front_end/testcases/extension_types/issue53123.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53123.dart.weak.outline.expect @@ -16,7 +16,7 @@ extension type V /* = dynamic */>(T% i } static extension-type-member method V|constructor# /* = dynamic */>(self::V|constructor#::T% id) → self::V /* = self::V|constructor#::T% */ ; -static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V% /* = self::V|constructor#_#new#tearOff::T% */ +static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V /* = self::V|constructor#_#new#tearOff::T% */ return self::V|constructor#(id); static method test(self::V /* = dynamic */> /* = dynamic */ v) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/issue53123.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53123.dart.weak.transformed.expect index a0faebd1ff85..08b57426392e 100644 --- a/pkg/front_end/testcases/extension_types/issue53123.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53123.dart.weak.transformed.expect @@ -19,7 +19,7 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::T% */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V% /* = self::V|constructor#_#new#tearOff::T% */ +static extension-type-member method V|constructor#_#new#tearOff /* = dynamic */>(self::V|constructor#_#new#tearOff::T% id) → self::V /* = self::V|constructor#_#new#tearOff::T% */ return self::V|constructor#(id); static method test(self::V /* = dynamic */> /* = dynamic */ v) → dynamic { core::List /* = dynamic */> /* = dynamic */> l = core::_GrowableList::_literal1 /* = dynamic */> /* = dynamic */>(v); diff --git a/pkg/front_end/testcases/extension_types/issue53155.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53155.dart.strong.expect index aa3726c4eb77..f3df712befd0 100644 --- a/pkg/front_end/testcases/extension_types/issue53155.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53155.dart.strong.expect @@ -19,16 +19,16 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::X1 */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V% /* = self::V|constructor#_#new#tearOff::X1 */ +static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V /* = self::V|constructor#_#new#tearOff::X1 */ return self::V|constructor#(id); static method foo /* = core::num */>(self::foo::T% t) → self::V /* = core::int */ return t as self::V /* = core::int */; static method main() → dynamic { - self::V% /* = core::int */ v = self::V|constructor#(42); + self::V /* = core::int */ v = self::V|constructor#(42); self::expect(42, v as{Unchecked} core::int); - self::expect(v, self::foo% /* = core::int */>(v)); - self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); - self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(v, self::foo /* = core::int */>(v)); + self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue53155.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53155.dart.strong.transformed.expect index aa3726c4eb77..f3df712befd0 100644 --- a/pkg/front_end/testcases/extension_types/issue53155.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53155.dart.strong.transformed.expect @@ -19,16 +19,16 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::X1 */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V% /* = self::V|constructor#_#new#tearOff::X1 */ +static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V /* = self::V|constructor#_#new#tearOff::X1 */ return self::V|constructor#(id); static method foo /* = core::num */>(self::foo::T% t) → self::V /* = core::int */ return t as self::V /* = core::int */; static method main() → dynamic { - self::V% /* = core::int */ v = self::V|constructor#(42); + self::V /* = core::int */ v = self::V|constructor#(42); self::expect(42, v as{Unchecked} core::int); - self::expect(v, self::foo% /* = core::int */>(v)); - self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); - self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(v, self::foo /* = core::int */>(v)); + self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue53155.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53155.dart.weak.expect index 2b2ffba8f85c..749a312c8dec 100644 --- a/pkg/front_end/testcases/extension_types/issue53155.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53155.dart.weak.expect @@ -19,16 +19,16 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::X1 */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V% /* = self::V|constructor#_#new#tearOff::X1 */ +static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V /* = self::V|constructor#_#new#tearOff::X1 */ return self::V|constructor#(id); static method foo /* = core::num */>(self::foo::T% t) → self::V /* = core::int */ return t as self::V /* = core::int */; static method main() → dynamic { - self::V% /* = core::int */ v = self::V|constructor#(42); + self::V /* = core::int */ v = self::V|constructor#(42); self::expect(42, v as{Unchecked} core::int); - self::expect(v, self::foo% /* = core::int */>(v)); - self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); - self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(v, self::foo /* = core::int */>(v)); + self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue53155.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53155.dart.weak.modular.expect index 2b2ffba8f85c..749a312c8dec 100644 --- a/pkg/front_end/testcases/extension_types/issue53155.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53155.dart.weak.modular.expect @@ -19,16 +19,16 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::X1 */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V% /* = self::V|constructor#_#new#tearOff::X1 */ +static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V /* = self::V|constructor#_#new#tearOff::X1 */ return self::V|constructor#(id); static method foo /* = core::num */>(self::foo::T% t) → self::V /* = core::int */ return t as self::V /* = core::int */; static method main() → dynamic { - self::V% /* = core::int */ v = self::V|constructor#(42); + self::V /* = core::int */ v = self::V|constructor#(42); self::expect(42, v as{Unchecked} core::int); - self::expect(v, self::foo% /* = core::int */>(v)); - self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); - self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(v, self::foo /* = core::int */>(v)); + self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue53155.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53155.dart.weak.outline.expect index 2e50419c7806..c76fd6d06488 100644 --- a/pkg/front_end/testcases/extension_types/issue53155.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53155.dart.weak.outline.expect @@ -16,7 +16,7 @@ extension type V(X1 id) { } static extension-type-member method V|constructor#(self::V|constructor#::X1 id) → self::V /* = self::V|constructor#::X1 */ ; -static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V% /* = self::V|constructor#_#new#tearOff::X1 */ +static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V /* = self::V|constructor#_#new#tearOff::X1 */ return self::V|constructor#(id); static method foo /* = core::num */>(self::foo::T% t) → self::V /* = core::int */ ; diff --git a/pkg/front_end/testcases/extension_types/issue53155.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53155.dart.weak.transformed.expect index 2b2ffba8f85c..749a312c8dec 100644 --- a/pkg/front_end/testcases/extension_types/issue53155.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53155.dart.weak.transformed.expect @@ -19,16 +19,16 @@ static extension-type-member method V|constructor# /* = self::V|constructor#::X1 */ #this = id; return #this; } -static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V% /* = self::V|constructor#_#new#tearOff::X1 */ +static extension-type-member method V|constructor#_#new#tearOff(self::V|constructor#_#new#tearOff::X1 id) → self::V /* = self::V|constructor#_#new#tearOff::X1 */ return self::V|constructor#(id); static method foo /* = core::num */>(self::foo::T% t) → self::V /* = core::int */ return t as self::V /* = core::int */; static method main() → dynamic { - self::V% /* = core::int */ v = self::V|constructor#(42); + self::V /* = core::int */ v = self::V|constructor#(42); self::expect(42, v as{Unchecked} core::int); - self::expect(v, self::foo% /* = core::int */>(v)); - self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); - self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V% /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(v, self::foo /* = core::int */>(v)); + self::expect(self::V|constructor#(0), let final self::C% /* = core::int */> #t1 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t2 = self::V|constructor#(0) in #t1.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t2){(self::V /* = core::int */) → self::V /* = core::int */}); + self::expect(self::V|constructor#(1), let final self::C% /* = core::int */> #t3 = new self::C::• /* = core::int */>() in let final self::V /* = core::int */ #t4 = self::V|constructor#(1) in #t3.{self::C::f}{(self::V /* = core::int */) → self::V /* = core::int */}(#t4){(self::V /* = core::int */) → self::V /* = core::int */}); } static method expect(dynamic expected, dynamic actual) → dynamic { if(!(expected =={core::Object::==}{(core::Object) → core::bool} actual)) diff --git a/pkg/front_end/testcases/extension_types/issue53170.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53170.dart.strong.expect index e90c60cdbecc..65ca8d9437a9 100644 --- a/pkg/front_end/testcases/extension_types/issue53170.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53170.dart.strong.expect @@ -94,7 +94,7 @@ static extension-type-member method W1|constructor# /* = self::W1|constructor#::T% */ #this = id; return #this; } -static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1% /* = self::W1|constructor#_#new#tearOff::T% */ +static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1 /* = self::W1|constructor#_#new#tearOff::T% */ return self::W1|constructor#(id); static extension-type-member method W2|constructor#(core::String id) → self::W2 /* = core::String */ { lowered final self::W2 /* = core::String */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53170.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53170.dart.strong.transformed.expect index e90c60cdbecc..65ca8d9437a9 100644 --- a/pkg/front_end/testcases/extension_types/issue53170.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53170.dart.strong.transformed.expect @@ -94,7 +94,7 @@ static extension-type-member method W1|constructor# /* = self::W1|constructor#::T% */ #this = id; return #this; } -static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1% /* = self::W1|constructor#_#new#tearOff::T% */ +static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1 /* = self::W1|constructor#_#new#tearOff::T% */ return self::W1|constructor#(id); static extension-type-member method W2|constructor#(core::String id) → self::W2 /* = core::String */ { lowered final self::W2 /* = core::String */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53170.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53170.dart.weak.expect index e90c60cdbecc..65ca8d9437a9 100644 --- a/pkg/front_end/testcases/extension_types/issue53170.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53170.dart.weak.expect @@ -94,7 +94,7 @@ static extension-type-member method W1|constructor# /* = self::W1|constructor#::T% */ #this = id; return #this; } -static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1% /* = self::W1|constructor#_#new#tearOff::T% */ +static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1 /* = self::W1|constructor#_#new#tearOff::T% */ return self::W1|constructor#(id); static extension-type-member method W2|constructor#(core::String id) → self::W2 /* = core::String */ { lowered final self::W2 /* = core::String */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53170.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53170.dart.weak.modular.expect index e90c60cdbecc..65ca8d9437a9 100644 --- a/pkg/front_end/testcases/extension_types/issue53170.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53170.dart.weak.modular.expect @@ -94,7 +94,7 @@ static extension-type-member method W1|constructor# /* = self::W1|constructor#::T% */ #this = id; return #this; } -static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1% /* = self::W1|constructor#_#new#tearOff::T% */ +static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1 /* = self::W1|constructor#_#new#tearOff::T% */ return self::W1|constructor#(id); static extension-type-member method W2|constructor#(core::String id) → self::W2 /* = core::String */ { lowered final self::W2 /* = core::String */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53170.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53170.dart.weak.outline.expect index 0b1bc01f1584..30d0e0d3f559 100644 --- a/pkg/front_end/testcases/extension_types/issue53170.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53170.dart.weak.outline.expect @@ -82,7 +82,7 @@ static extension-type-member method V3|constructor#_#new#tearOff(core::int id) return self::V3|constructor#(id); static extension-type-member method W1|constructor#(self::W1|constructor#::T% id) → self::W1 /* = self::W1|constructor#::T% */ ; -static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1% /* = self::W1|constructor#_#new#tearOff::T% */ +static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1 /* = self::W1|constructor#_#new#tearOff::T% */ return self::W1|constructor#(id); static extension-type-member method W2|constructor#(core::String id) → self::W2 /* = core::String */ ; diff --git a/pkg/front_end/testcases/extension_types/issue53170.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53170.dart.weak.transformed.expect index e90c60cdbecc..65ca8d9437a9 100644 --- a/pkg/front_end/testcases/extension_types/issue53170.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53170.dart.weak.transformed.expect @@ -94,7 +94,7 @@ static extension-type-member method W1|constructor# /* = self::W1|constructor#::T% */ #this = id; return #this; } -static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1% /* = self::W1|constructor#_#new#tearOff::T% */ +static extension-type-member method W1|constructor#_#new#tearOff(self::W1|constructor#_#new#tearOff::T% id) → self::W1 /* = self::W1|constructor#_#new#tearOff::T% */ return self::W1|constructor#(id); static extension-type-member method W2|constructor#(core::String id) → self::W2 /* = core::String */ { lowered final self::W2 /* = core::String */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53207.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53207.dart.strong.expect index 7c55187f52e3..3fa1812f4b3d 100644 --- a/pkg/front_end/testcases/extension_types/issue53207.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53207.dart.strong.expect @@ -87,7 +87,7 @@ static extension-type-member method E2|constructor# /* = self::E2|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = self::E2|constructor#_#new#tearOff::X */ +static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = self::E2|constructor#_#new#tearOff::X */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(FutureOrfoo) → self::E3 /* = FutureOr*/ { lowered final self::E3 /* = FutureOr*/ #this = foo; @@ -99,13 +99,13 @@ static extension-type-member method E4|constructor# /* = self::E4|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4% /* = self::E4|constructor#_#new#tearOff::X */ +static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4 /* = self::E4|constructor#_#new#tearOff::X */ return self::E4|constructor#(foo); static extension-type-member method E5|constructor#(self::E5|constructor#::X% foo) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(foo); static extension-type-member method F1|constructor#(asy::Future foo) → self::F1 /* = asy::Future */ { lowered final self::F1 /* = asy::Future */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/issue53207.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53207.dart.strong.transformed.expect index 7c55187f52e3..3fa1812f4b3d 100644 --- a/pkg/front_end/testcases/extension_types/issue53207.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53207.dart.strong.transformed.expect @@ -87,7 +87,7 @@ static extension-type-member method E2|constructor# /* = self::E2|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = self::E2|constructor#_#new#tearOff::X */ +static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = self::E2|constructor#_#new#tearOff::X */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(FutureOrfoo) → self::E3 /* = FutureOr*/ { lowered final self::E3 /* = FutureOr*/ #this = foo; @@ -99,13 +99,13 @@ static extension-type-member method E4|constructor# /* = self::E4|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4% /* = self::E4|constructor#_#new#tearOff::X */ +static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4 /* = self::E4|constructor#_#new#tearOff::X */ return self::E4|constructor#(foo); static extension-type-member method E5|constructor#(self::E5|constructor#::X% foo) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(foo); static extension-type-member method F1|constructor#(asy::Future foo) → self::F1 /* = asy::Future */ { lowered final self::F1 /* = asy::Future */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/issue53207.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53207.dart.weak.expect index 7c55187f52e3..3fa1812f4b3d 100644 --- a/pkg/front_end/testcases/extension_types/issue53207.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53207.dart.weak.expect @@ -87,7 +87,7 @@ static extension-type-member method E2|constructor# /* = self::E2|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = self::E2|constructor#_#new#tearOff::X */ +static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = self::E2|constructor#_#new#tearOff::X */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(FutureOrfoo) → self::E3 /* = FutureOr*/ { lowered final self::E3 /* = FutureOr*/ #this = foo; @@ -99,13 +99,13 @@ static extension-type-member method E4|constructor# /* = self::E4|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4% /* = self::E4|constructor#_#new#tearOff::X */ +static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4 /* = self::E4|constructor#_#new#tearOff::X */ return self::E4|constructor#(foo); static extension-type-member method E5|constructor#(self::E5|constructor#::X% foo) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(foo); static extension-type-member method F1|constructor#(asy::Future foo) → self::F1 /* = asy::Future */ { lowered final self::F1 /* = asy::Future */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/issue53207.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53207.dart.weak.modular.expect index 7c55187f52e3..3fa1812f4b3d 100644 --- a/pkg/front_end/testcases/extension_types/issue53207.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53207.dart.weak.modular.expect @@ -87,7 +87,7 @@ static extension-type-member method E2|constructor# /* = self::E2|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = self::E2|constructor#_#new#tearOff::X */ +static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = self::E2|constructor#_#new#tearOff::X */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(FutureOrfoo) → self::E3 /* = FutureOr*/ { lowered final self::E3 /* = FutureOr*/ #this = foo; @@ -99,13 +99,13 @@ static extension-type-member method E4|constructor# /* = self::E4|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4% /* = self::E4|constructor#_#new#tearOff::X */ +static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4 /* = self::E4|constructor#_#new#tearOff::X */ return self::E4|constructor#(foo); static extension-type-member method E5|constructor#(self::E5|constructor#::X% foo) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(foo); static extension-type-member method F1|constructor#(asy::Future foo) → self::F1 /* = asy::Future */ { lowered final self::F1 /* = asy::Future */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/issue53207.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53207.dart.weak.outline.expect index 22c6979202da..ee8c77fe5c98 100644 --- a/pkg/front_end/testcases/extension_types/issue53207.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53207.dart.weak.outline.expect @@ -56,7 +56,7 @@ static extension-type-member method E1|constructor#_#new#tearOff(asy::Future>(self::E2|constructor#::X foo) → self::E2 /* = self::E2|constructor#::X */ ; -static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = self::E2|constructor#_#new#tearOff::X */ +static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = self::E2|constructor#_#new#tearOff::X */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(FutureOrfoo) → self::E3 /* = FutureOr*/ ; @@ -64,11 +64,11 @@ static extension-type-member method E3|constructor#_#new#tearOff(FutureOr>(self::E4|constructor#::X foo) → self::E4 /* = self::E4|constructor#::X */ ; -static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4% /* = self::E4|constructor#_#new#tearOff::X */ +static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4 /* = self::E4|constructor#_#new#tearOff::X */ return self::E4|constructor#(foo); static extension-type-member method E5|constructor#(self::E5|constructor#::X% foo) → self::E5 /* = self::E5|constructor#::X% */ ; -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(foo); static extension-type-member method F1|constructor#(asy::Future foo) → self::F1 /* = asy::Future */ ; diff --git a/pkg/front_end/testcases/extension_types/issue53207.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53207.dart.weak.transformed.expect index 7c55187f52e3..3fa1812f4b3d 100644 --- a/pkg/front_end/testcases/extension_types/issue53207.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53207.dart.weak.transformed.expect @@ -87,7 +87,7 @@ static extension-type-member method E2|constructor# /* = self::E2|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = self::E2|constructor#_#new#tearOff::X */ +static extension-type-member method E2|constructor#_#new#tearOff>(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = self::E2|constructor#_#new#tearOff::X */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(FutureOrfoo) → self::E3 /* = FutureOr*/ { lowered final self::E3 /* = FutureOr*/ #this = foo; @@ -99,13 +99,13 @@ static extension-type-member method E4|constructor# /* = self::E4|constructor#::X */ #this = foo; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4% /* = self::E4|constructor#_#new#tearOff::X */ +static extension-type-member method E4|constructor#_#new#tearOff>(self::E4|constructor#_#new#tearOff::X foo) → self::E4 /* = self::E4|constructor#_#new#tearOff::X */ return self::E4|constructor#(foo); static extension-type-member method E5|constructor#(self::E5|constructor#::X% foo) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% foo) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(foo); static extension-type-member method F1|constructor#(asy::Future foo) → self::F1 /* = asy::Future */ { lowered final self::F1 /* = asy::Future */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/issue53209.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53209.dart.strong.expect index c39d79863295..94d04bf63e61 100644 --- a/pkg/front_end/testcases/extension_types/issue53209.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53209.dart.strong.expect @@ -148,13 +148,13 @@ static extension-type-member method GE|constructor# /* = self::GE|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE% /* = self::GE|constructor#_#new#tearOff::X% */ +static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE /* = self::GE|constructor#_#new#tearOff::X% */ return self::GE|constructor#(foo); static extension-type-member method GE|constructor#redirNotEnough1() → self::GE /* = self::GE|constructor#redirNotEnough1::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; @@ -162,7 +162,7 @@ static extension-type-member method GE|constructor#redirNotEnough2 Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; diff --git a/pkg/front_end/testcases/extension_types/issue53209.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53209.dart.strong.transformed.expect index c39d79863295..94d04bf63e61 100644 --- a/pkg/front_end/testcases/extension_types/issue53209.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53209.dart.strong.transformed.expect @@ -148,13 +148,13 @@ static extension-type-member method GE|constructor# /* = self::GE|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE% /* = self::GE|constructor#_#new#tearOff::X% */ +static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE /* = self::GE|constructor#_#new#tearOff::X% */ return self::GE|constructor#(foo); static extension-type-member method GE|constructor#redirNotEnough1() → self::GE /* = self::GE|constructor#redirNotEnough1::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; @@ -162,7 +162,7 @@ static extension-type-member method GE|constructor#redirNotEnough2 Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; diff --git a/pkg/front_end/testcases/extension_types/issue53209.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53209.dart.weak.expect index c39d79863295..94d04bf63e61 100644 --- a/pkg/front_end/testcases/extension_types/issue53209.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53209.dart.weak.expect @@ -148,13 +148,13 @@ static extension-type-member method GE|constructor# /* = self::GE|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE% /* = self::GE|constructor#_#new#tearOff::X% */ +static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE /* = self::GE|constructor#_#new#tearOff::X% */ return self::GE|constructor#(foo); static extension-type-member method GE|constructor#redirNotEnough1() → self::GE /* = self::GE|constructor#redirNotEnough1::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; @@ -162,7 +162,7 @@ static extension-type-member method GE|constructor#redirNotEnough2 Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; diff --git a/pkg/front_end/testcases/extension_types/issue53209.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53209.dart.weak.modular.expect index c39d79863295..94d04bf63e61 100644 --- a/pkg/front_end/testcases/extension_types/issue53209.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53209.dart.weak.modular.expect @@ -148,13 +148,13 @@ static extension-type-member method GE|constructor# /* = self::GE|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE% /* = self::GE|constructor#_#new#tearOff::X% */ +static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE /* = self::GE|constructor#_#new#tearOff::X% */ return self::GE|constructor#(foo); static extension-type-member method GE|constructor#redirNotEnough1() → self::GE /* = self::GE|constructor#redirNotEnough1::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; @@ -162,7 +162,7 @@ static extension-type-member method GE|constructor#redirNotEnough2 Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; diff --git a/pkg/front_end/testcases/extension_types/issue53209.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53209.dart.weak.outline.expect index ea18e43fb49c..bfa35aabbd6d 100644 --- a/pkg/front_end/testcases/extension_types/issue53209.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53209.dart.weak.outline.expect @@ -144,13 +144,13 @@ static extension-type-member method E|constructor#_#redirCyclicSelf#tearOff(core ^"; static extension-type-member method GE|constructor#(self::GE|constructor#::X% foo) → self::GE /* = self::GE|constructor#::X% */ ; -static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE% /* = self::GE|constructor#_#new#tearOff::X% */ +static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE /* = self::GE|constructor#_#new#tearOff::X% */ return self::GE|constructor#(foo); static extension-type-member method GE|constructor#redirNotEnough1() → self::GE /* = self::GE|constructor#redirNotEnough1::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; @@ -158,7 +158,7 @@ static extension-type-member method GE|constructor#redirNotEnough2 Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; diff --git a/pkg/front_end/testcases/extension_types/issue53209.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53209.dart.weak.transformed.expect index c39d79863295..94d04bf63e61 100644 --- a/pkg/front_end/testcases/extension_types/issue53209.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53209.dart.weak.transformed.expect @@ -148,13 +148,13 @@ static extension-type-member method GE|constructor# /* = self::GE|constructor#::X% */ #this = foo; return #this; } -static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE% /* = self::GE|constructor#_#new#tearOff::X% */ +static extension-type-member method GE|constructor#_#new#tearOff(self::GE|constructor#_#new#tearOff::X% foo) → self::GE /* = self::GE|constructor#_#new#tearOff::X% */ return self::GE|constructor#(foo); static extension-type-member method GE|constructor#redirNotEnough1() → self::GE /* = self::GE|constructor#redirNotEnough1::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough1#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough1#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; @@ -162,7 +162,7 @@ static extension-type-member method GE|constructor#redirNotEnough2 Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; -static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE% /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ +static extension-type-member method GE|constructor#_#redirNotEnough2#tearOff() → self::GE /* = self::GE|constructor#_#redirNotEnough2#tearOff::X% */ return invalid-expression "pkg/front_end/testcases/extension_types/issue53209.dart:20:34: Error: The constructor function type 'GE Function(dynamic)' isn't a subtype of 'GE Function()'. factory GE.redirNotEnough1() = GE; // Error. ^"; diff --git a/pkg/front_end/testcases/extension_types/issue53211.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53211.dart.strong.expect index 84900ebe6243..50c03d0277c2 100644 --- a/pkg/front_end/testcases/extension_types/issue53211.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53211.dart.strong.expect @@ -47,7 +47,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -59,7 +59,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; @@ -71,15 +71,15 @@ static extension-type-member method ET6|constructor#n /* = self::ET6|constructor#n::T% */ #this = id; return #this; } -static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6% /* = self::ET6|constructor#_#n#tearOff::T% */ +static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6 /* = self::ET6|constructor#_#n#tearOff::T% */ return self::ET6|constructor#n(id); static method main() → dynamic { self::StaticType|expectStaticType<(core::int) → self::ET1 /* = core::int */, ((core::int) → self::ET1 /* = core::int */) → (core::int) → self::ET1 /* = core::int */>(#C1); - self::StaticType|expectStaticType<(core::String) → self::ET2% /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); + self::StaticType|expectStaticType<(core::String) → self::ET2 /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); self::StaticType|expectStaticType<(core::int) → self::ET3 /* = core::int */, ((core::int) → self::ET3 /* = core::int */) → (core::int) → self::ET3 /* = core::int */>(#C4); - self::StaticType|expectStaticType<(core::String) → self::ET4% /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); + self::StaticType|expectStaticType<(core::String) → self::ET4 /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); self::StaticType|expectStaticType<(core::int) → self::ET5 /* = core::int */, ((core::int) → self::ET5 /* = core::int */) → (core::int) → self::ET5 /* = core::int */>(#C7); - self::StaticType|expectStaticType<(core::String) → self::ET6% /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); + self::StaticType|expectStaticType<(core::String) → self::ET6 /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); } static extension-member method StaticType|expectStaticType(lowered final self::StaticType|expectStaticType::T% #this) → self::StaticType|expectStaticType::T% { return #this; diff --git a/pkg/front_end/testcases/extension_types/issue53211.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53211.dart.strong.transformed.expect index 84900ebe6243..50c03d0277c2 100644 --- a/pkg/front_end/testcases/extension_types/issue53211.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53211.dart.strong.transformed.expect @@ -47,7 +47,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -59,7 +59,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; @@ -71,15 +71,15 @@ static extension-type-member method ET6|constructor#n /* = self::ET6|constructor#n::T% */ #this = id; return #this; } -static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6% /* = self::ET6|constructor#_#n#tearOff::T% */ +static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6 /* = self::ET6|constructor#_#n#tearOff::T% */ return self::ET6|constructor#n(id); static method main() → dynamic { self::StaticType|expectStaticType<(core::int) → self::ET1 /* = core::int */, ((core::int) → self::ET1 /* = core::int */) → (core::int) → self::ET1 /* = core::int */>(#C1); - self::StaticType|expectStaticType<(core::String) → self::ET2% /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); + self::StaticType|expectStaticType<(core::String) → self::ET2 /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); self::StaticType|expectStaticType<(core::int) → self::ET3 /* = core::int */, ((core::int) → self::ET3 /* = core::int */) → (core::int) → self::ET3 /* = core::int */>(#C4); - self::StaticType|expectStaticType<(core::String) → self::ET4% /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); + self::StaticType|expectStaticType<(core::String) → self::ET4 /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); self::StaticType|expectStaticType<(core::int) → self::ET5 /* = core::int */, ((core::int) → self::ET5 /* = core::int */) → (core::int) → self::ET5 /* = core::int */>(#C7); - self::StaticType|expectStaticType<(core::String) → self::ET6% /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); + self::StaticType|expectStaticType<(core::String) → self::ET6 /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); } static extension-member method StaticType|expectStaticType(lowered final self::StaticType|expectStaticType::T% #this) → self::StaticType|expectStaticType::T% { return #this; diff --git a/pkg/front_end/testcases/extension_types/issue53211.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53211.dart.weak.expect index b2712e0cd11c..a30d95e00e98 100644 --- a/pkg/front_end/testcases/extension_types/issue53211.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53211.dart.weak.expect @@ -47,7 +47,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -59,7 +59,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; @@ -71,15 +71,15 @@ static extension-type-member method ET6|constructor#n /* = self::ET6|constructor#n::T% */ #this = id; return #this; } -static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6% /* = self::ET6|constructor#_#n#tearOff::T% */ +static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6 /* = self::ET6|constructor#_#n#tearOff::T% */ return self::ET6|constructor#n(id); static method main() → dynamic { self::StaticType|expectStaticType<(core::int) → self::ET1 /* = core::int */, ((core::int) → self::ET1 /* = core::int */) → (core::int) → self::ET1 /* = core::int */>(#C1); - self::StaticType|expectStaticType<(core::String) → self::ET2% /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); + self::StaticType|expectStaticType<(core::String) → self::ET2 /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); self::StaticType|expectStaticType<(core::int) → self::ET3 /* = core::int */, ((core::int) → self::ET3 /* = core::int */) → (core::int) → self::ET3 /* = core::int */>(#C4); - self::StaticType|expectStaticType<(core::String) → self::ET4% /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); + self::StaticType|expectStaticType<(core::String) → self::ET4 /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); self::StaticType|expectStaticType<(core::int) → self::ET5 /* = core::int */, ((core::int) → self::ET5 /* = core::int */) → (core::int) → self::ET5 /* = core::int */>(#C7); - self::StaticType|expectStaticType<(core::String) → self::ET6% /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); + self::StaticType|expectStaticType<(core::String) → self::ET6 /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); } static extension-member method StaticType|expectStaticType(lowered final self::StaticType|expectStaticType::T% #this) → self::StaticType|expectStaticType::T% { return #this; diff --git a/pkg/front_end/testcases/extension_types/issue53211.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53211.dart.weak.modular.expect index b2712e0cd11c..a30d95e00e98 100644 --- a/pkg/front_end/testcases/extension_types/issue53211.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53211.dart.weak.modular.expect @@ -47,7 +47,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -59,7 +59,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; @@ -71,15 +71,15 @@ static extension-type-member method ET6|constructor#n /* = self::ET6|constructor#n::T% */ #this = id; return #this; } -static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6% /* = self::ET6|constructor#_#n#tearOff::T% */ +static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6 /* = self::ET6|constructor#_#n#tearOff::T% */ return self::ET6|constructor#n(id); static method main() → dynamic { self::StaticType|expectStaticType<(core::int) → self::ET1 /* = core::int */, ((core::int) → self::ET1 /* = core::int */) → (core::int) → self::ET1 /* = core::int */>(#C1); - self::StaticType|expectStaticType<(core::String) → self::ET2% /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); + self::StaticType|expectStaticType<(core::String) → self::ET2 /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); self::StaticType|expectStaticType<(core::int) → self::ET3 /* = core::int */, ((core::int) → self::ET3 /* = core::int */) → (core::int) → self::ET3 /* = core::int */>(#C4); - self::StaticType|expectStaticType<(core::String) → self::ET4% /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); + self::StaticType|expectStaticType<(core::String) → self::ET4 /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); self::StaticType|expectStaticType<(core::int) → self::ET5 /* = core::int */, ((core::int) → self::ET5 /* = core::int */) → (core::int) → self::ET5 /* = core::int */>(#C7); - self::StaticType|expectStaticType<(core::String) → self::ET6% /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); + self::StaticType|expectStaticType<(core::String) → self::ET6 /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); } static extension-member method StaticType|expectStaticType(lowered final self::StaticType|expectStaticType::T% #this) → self::StaticType|expectStaticType::T% { return #this; diff --git a/pkg/front_end/testcases/extension_types/issue53211.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53211.dart.weak.outline.expect index f507b241c01a..7cdc99ccb933 100644 --- a/pkg/front_end/testcases/extension_types/issue53211.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53211.dart.weak.outline.expect @@ -43,7 +43,7 @@ static extension-type-member method ET1|constructor#_#new#tearOff(core::int id) return self::ET1|constructor#(id); static extension-type-member method ET2|constructor#(self::ET2|constructor#::T% id) → self::ET2 /* = self::ET2|constructor#::T% */ ; -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ ; @@ -51,7 +51,7 @@ static extension-type-member method ET3|constructor#_#new#tearOff(core::int id) return self::ET3|constructor#(id); static extension-type-member method ET4|constructor#(self::ET4|constructor#::T% id) → self::ET4 /* = self::ET4|constructor#::T% */ ; -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ ; @@ -59,7 +59,7 @@ static extension-type-member method ET5|constructor#_#n#tearOff(core::int id) return self::ET5|constructor#n(id); static extension-type-member method ET6|constructor#n(self::ET6|constructor#n::T% id) → self::ET6 /* = self::ET6|constructor#n::T% */ ; -static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6% /* = self::ET6|constructor#_#n#tearOff::T% */ +static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6 /* = self::ET6|constructor#_#n#tearOff::T% */ return self::ET6|constructor#n(id); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/issue53211.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53211.dart.weak.transformed.expect index b2712e0cd11c..a30d95e00e98 100644 --- a/pkg/front_end/testcases/extension_types/issue53211.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53211.dart.weak.transformed.expect @@ -47,7 +47,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(id); static extension-type-member method ET3|constructor#(core::int id) → self::ET3 /* = core::int */ { lowered final self::ET3 /* = core::int */ #this = id; @@ -59,7 +59,7 @@ static extension-type-member method ET4|constructor# /* = self::ET4|constructor#::T% */ #this = id; return #this; } -static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4% /* = self::ET4|constructor#_#new#tearOff::T% */ +static extension-type-member method ET4|constructor#_#new#tearOff(self::ET4|constructor#_#new#tearOff::T% id) → self::ET4 /* = self::ET4|constructor#_#new#tearOff::T% */ return self::ET4|constructor#(id); static extension-type-member method ET5|constructor#n(core::int id) → self::ET5 /* = core::int */ { lowered final self::ET5 /* = core::int */ #this = id; @@ -71,15 +71,15 @@ static extension-type-member method ET6|constructor#n /* = self::ET6|constructor#n::T% */ #this = id; return #this; } -static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6% /* = self::ET6|constructor#_#n#tearOff::T% */ +static extension-type-member method ET6|constructor#_#n#tearOff(self::ET6|constructor#_#n#tearOff::T% id) → self::ET6 /* = self::ET6|constructor#_#n#tearOff::T% */ return self::ET6|constructor#n(id); static method main() → dynamic { self::StaticType|expectStaticType<(core::int) → self::ET1 /* = core::int */, ((core::int) → self::ET1 /* = core::int */) → (core::int) → self::ET1 /* = core::int */>(#C1); - self::StaticType|expectStaticType<(core::String) → self::ET2% /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); + self::StaticType|expectStaticType<(core::String) → self::ET2 /* = core::String */, ((core::String) → self::ET2 /* = core::String */) → (core::String) → self::ET2 /* = core::String */>(#C3); self::StaticType|expectStaticType<(core::int) → self::ET3 /* = core::int */, ((core::int) → self::ET3 /* = core::int */) → (core::int) → self::ET3 /* = core::int */>(#C4); - self::StaticType|expectStaticType<(core::String) → self::ET4% /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); + self::StaticType|expectStaticType<(core::String) → self::ET4 /* = core::String */, ((core::String) → self::ET4 /* = core::String */) → (core::String) → self::ET4 /* = core::String */>(#C6); self::StaticType|expectStaticType<(core::int) → self::ET5 /* = core::int */, ((core::int) → self::ET5 /* = core::int */) → (core::int) → self::ET5 /* = core::int */>(#C7); - self::StaticType|expectStaticType<(core::String) → self::ET6% /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); + self::StaticType|expectStaticType<(core::String) → self::ET6 /* = core::String */, ((core::String) → self::ET6 /* = core::String */) → (core::String) → self::ET6 /* = core::String */>(#C9); } static extension-member method StaticType|expectStaticType(lowered final self::StaticType|expectStaticType::T% #this) → self::StaticType|expectStaticType::T% { return #this; diff --git a/pkg/front_end/testcases/extension_types/issue53324.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53324.dart.strong.expect index 06bfcbd1b431..ced7d79247d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53324.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53324.dart.strong.expect @@ -85,10 +85,10 @@ static extension-type-member method ET2|constructor#(self:: lowered final self::ET2 /* = self::ET2|constructor#::T */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T */ return self::ET2|constructor#(id); static extension-type-member method ET2|setter(lowered final self::ET2 /* = self::ET2|setter::T */ #this, covariant-by-declaration core::int x) → void {} -static extension-type-member method ET2|get#setter(lowered final self::ET2% /* = self::ET2|get#setter::T */ #this) → (core::int) → void +static extension-type-member method ET2|get#setter(lowered final self::ET2 /* = self::ET2|get#setter::T */ #this) → (core::int) → void return (core::int x) → void => self::ET2|setter(#this, x); static extension-type-member method ET3|constructor#(core::num id) → self::ET3 /* = core::num */ { lowered final self::ET3 /* = core::num */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53324.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53324.dart.strong.transformed.expect index 06bfcbd1b431..ced7d79247d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53324.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53324.dart.strong.transformed.expect @@ -85,10 +85,10 @@ static extension-type-member method ET2|constructor#(self:: lowered final self::ET2 /* = self::ET2|constructor#::T */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T */ return self::ET2|constructor#(id); static extension-type-member method ET2|setter(lowered final self::ET2 /* = self::ET2|setter::T */ #this, covariant-by-declaration core::int x) → void {} -static extension-type-member method ET2|get#setter(lowered final self::ET2% /* = self::ET2|get#setter::T */ #this) → (core::int) → void +static extension-type-member method ET2|get#setter(lowered final self::ET2 /* = self::ET2|get#setter::T */ #this) → (core::int) → void return (core::int x) → void => self::ET2|setter(#this, x); static extension-type-member method ET3|constructor#(core::num id) → self::ET3 /* = core::num */ { lowered final self::ET3 /* = core::num */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53324.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53324.dart.weak.expect index 06bfcbd1b431..ced7d79247d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53324.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53324.dart.weak.expect @@ -85,10 +85,10 @@ static extension-type-member method ET2|constructor#(self:: lowered final self::ET2 /* = self::ET2|constructor#::T */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T */ return self::ET2|constructor#(id); static extension-type-member method ET2|setter(lowered final self::ET2 /* = self::ET2|setter::T */ #this, covariant-by-declaration core::int x) → void {} -static extension-type-member method ET2|get#setter(lowered final self::ET2% /* = self::ET2|get#setter::T */ #this) → (core::int) → void +static extension-type-member method ET2|get#setter(lowered final self::ET2 /* = self::ET2|get#setter::T */ #this) → (core::int) → void return (core::int x) → void => self::ET2|setter(#this, x); static extension-type-member method ET3|constructor#(core::num id) → self::ET3 /* = core::num */ { lowered final self::ET3 /* = core::num */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53324.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53324.dart.weak.modular.expect index 06bfcbd1b431..ced7d79247d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53324.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53324.dart.weak.modular.expect @@ -85,10 +85,10 @@ static extension-type-member method ET2|constructor#(self:: lowered final self::ET2 /* = self::ET2|constructor#::T */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T */ return self::ET2|constructor#(id); static extension-type-member method ET2|setter(lowered final self::ET2 /* = self::ET2|setter::T */ #this, covariant-by-declaration core::int x) → void {} -static extension-type-member method ET2|get#setter(lowered final self::ET2% /* = self::ET2|get#setter::T */ #this) → (core::int) → void +static extension-type-member method ET2|get#setter(lowered final self::ET2 /* = self::ET2|get#setter::T */ #this) → (core::int) → void return (core::int x) → void => self::ET2|setter(#this, x); static extension-type-member method ET3|constructor#(core::num id) → self::ET3 /* = core::num */ { lowered final self::ET3 /* = core::num */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53324.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53324.dart.weak.outline.expect index cb1761c34a67..a7912076ce4f 100644 --- a/pkg/front_end/testcases/extension_types/issue53324.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53324.dart.weak.outline.expect @@ -84,11 +84,11 @@ static extension-type-member method ET1|get#method(lowered final self::ET1 /* = return (core::int i) → void => self::ET1|method(#this, i); static extension-type-member method ET2|constructor#(self::ET2|constructor#::T id) → self::ET2 /* = self::ET2|constructor#::T */ ; -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T */ return self::ET2|constructor#(id); static extension-type-member method ET2|setter(lowered final self::ET2 /* = self::ET2|setter::T */ #this, covariant-by-declaration core::int x) → void ; -static extension-type-member method ET2|get#setter(lowered final self::ET2% /* = self::ET2|get#setter::T */ #this) → (core::int) → void +static extension-type-member method ET2|get#setter(lowered final self::ET2 /* = self::ET2|get#setter::T */ #this) → (core::int) → void return (core::int x) → void => self::ET2|setter(#this, x); static extension-type-member method ET3|constructor#(core::num id) → self::ET3 /* = core::num */ ; diff --git a/pkg/front_end/testcases/extension_types/issue53324.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53324.dart.weak.transformed.expect index 06bfcbd1b431..ced7d79247d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53324.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53324.dart.weak.transformed.expect @@ -85,10 +85,10 @@ static extension-type-member method ET2|constructor#(self:: lowered final self::ET2 /* = self::ET2|constructor#::T */ #this = id; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T id) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T */ return self::ET2|constructor#(id); static extension-type-member method ET2|setter(lowered final self::ET2 /* = self::ET2|setter::T */ #this, covariant-by-declaration core::int x) → void {} -static extension-type-member method ET2|get#setter(lowered final self::ET2% /* = self::ET2|get#setter::T */ #this) → (core::int) → void +static extension-type-member method ET2|get#setter(lowered final self::ET2 /* = self::ET2|get#setter::T */ #this) → (core::int) → void return (core::int x) → void => self::ET2|setter(#this, x); static extension-type-member method ET3|constructor#(core::num id) → self::ET3 /* = core::num */ { lowered final self::ET3 /* = core::num */ #this = id; diff --git a/pkg/front_end/testcases/extension_types/issue53531/main.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53531/main.dart.strong.expect index b5f7f89a510a..3a74055e62d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53531/main.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53531/main.dart.strong.expect @@ -15,21 +15,21 @@ static extension-type-member method E|constructor# /* = core::String */ #this = s; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E% /* = core::String */ +static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); static method main() → void { - self::E% /* = core::String */ f1 = self::E|constructor#(""); - self::E% /* = core::String */ f2 = self::E|constructor#(""); - self::E% /* = core::String */ f3 = self::E|constructor#(""); + self::E /* = core::String */ f1 = self::E|constructor#(""); + self::E /* = core::String */ f2 = self::E|constructor#(""); + self::E /* = core::String */ f3 = self::E|constructor#(""); self::E|constructor#(""); self::E|constructor#(""); - mai::G% /* = core::String */ h1 = mai::G|constructor#(""); - mai::G% /* = core::String */ h2 = mai::G|constructor#(""); - mai::G% /* = core::String */ h3 = mai::G|constructor#(""); + mai::G /* = core::String */ h1 = mai::G|constructor#(""); + mai::G /* = core::String */ h2 = mai::G|constructor#(""); + mai::G /* = core::String */ h3 = mai::G|constructor#(""); mai::G|constructor#(""); mai::G|constructor#(""); } -static method _#F#new#tearOff(core::String s) → self::E% /* = core::String */ +static method _#F#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); library; @@ -46,7 +46,7 @@ static extension-type-member method G|constructor# /* = core::String */ #this = s; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(core::String s) → mai::G% /* = core::String */ +static extension-type-member method G|constructor#_#new#tearOff(core::String s) → mai::G /* = core::String */ return mai::G|constructor#(s); -static method _#H#new#tearOff(core::String s) → mai::G% /* = core::String */ +static method _#H#new#tearOff(core::String s) → mai::G /* = core::String */ return mai::G|constructor#(s); diff --git a/pkg/front_end/testcases/extension_types/issue53531/main.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53531/main.dart.strong.transformed.expect index b5f7f89a510a..3a74055e62d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53531/main.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53531/main.dart.strong.transformed.expect @@ -15,21 +15,21 @@ static extension-type-member method E|constructor# /* = core::String */ #this = s; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E% /* = core::String */ +static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); static method main() → void { - self::E% /* = core::String */ f1 = self::E|constructor#(""); - self::E% /* = core::String */ f2 = self::E|constructor#(""); - self::E% /* = core::String */ f3 = self::E|constructor#(""); + self::E /* = core::String */ f1 = self::E|constructor#(""); + self::E /* = core::String */ f2 = self::E|constructor#(""); + self::E /* = core::String */ f3 = self::E|constructor#(""); self::E|constructor#(""); self::E|constructor#(""); - mai::G% /* = core::String */ h1 = mai::G|constructor#(""); - mai::G% /* = core::String */ h2 = mai::G|constructor#(""); - mai::G% /* = core::String */ h3 = mai::G|constructor#(""); + mai::G /* = core::String */ h1 = mai::G|constructor#(""); + mai::G /* = core::String */ h2 = mai::G|constructor#(""); + mai::G /* = core::String */ h3 = mai::G|constructor#(""); mai::G|constructor#(""); mai::G|constructor#(""); } -static method _#F#new#tearOff(core::String s) → self::E% /* = core::String */ +static method _#F#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); library; @@ -46,7 +46,7 @@ static extension-type-member method G|constructor# /* = core::String */ #this = s; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(core::String s) → mai::G% /* = core::String */ +static extension-type-member method G|constructor#_#new#tearOff(core::String s) → mai::G /* = core::String */ return mai::G|constructor#(s); -static method _#H#new#tearOff(core::String s) → mai::G% /* = core::String */ +static method _#H#new#tearOff(core::String s) → mai::G /* = core::String */ return mai::G|constructor#(s); diff --git a/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.expect index b5f7f89a510a..3a74055e62d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.expect @@ -15,21 +15,21 @@ static extension-type-member method E|constructor# /* = core::String */ #this = s; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E% /* = core::String */ +static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); static method main() → void { - self::E% /* = core::String */ f1 = self::E|constructor#(""); - self::E% /* = core::String */ f2 = self::E|constructor#(""); - self::E% /* = core::String */ f3 = self::E|constructor#(""); + self::E /* = core::String */ f1 = self::E|constructor#(""); + self::E /* = core::String */ f2 = self::E|constructor#(""); + self::E /* = core::String */ f3 = self::E|constructor#(""); self::E|constructor#(""); self::E|constructor#(""); - mai::G% /* = core::String */ h1 = mai::G|constructor#(""); - mai::G% /* = core::String */ h2 = mai::G|constructor#(""); - mai::G% /* = core::String */ h3 = mai::G|constructor#(""); + mai::G /* = core::String */ h1 = mai::G|constructor#(""); + mai::G /* = core::String */ h2 = mai::G|constructor#(""); + mai::G /* = core::String */ h3 = mai::G|constructor#(""); mai::G|constructor#(""); mai::G|constructor#(""); } -static method _#F#new#tearOff(core::String s) → self::E% /* = core::String */ +static method _#F#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); library; @@ -46,7 +46,7 @@ static extension-type-member method G|constructor# /* = core::String */ #this = s; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(core::String s) → mai::G% /* = core::String */ +static extension-type-member method G|constructor#_#new#tearOff(core::String s) → mai::G /* = core::String */ return mai::G|constructor#(s); -static method _#H#new#tearOff(core::String s) → mai::G% /* = core::String */ +static method _#H#new#tearOff(core::String s) → mai::G /* = core::String */ return mai::G|constructor#(s); diff --git a/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.modular.expect index 98a2e14060db..84ae9a9f4806 100644 --- a/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.modular.expect @@ -15,19 +15,19 @@ static extension-type-member method E|constructor# /* = core::String */ #this = s; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E% /* = core::String */ +static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); static method main() → void { - self::E% /* = core::String */ f1 = self::E|constructor#(""); - self::E% /* = core::String */ f2 = self::E|constructor#(""); - self::E% /* = core::String */ f3 = self::E|constructor#(""); + self::E /* = core::String */ f1 = self::E|constructor#(""); + self::E /* = core::String */ f2 = self::E|constructor#(""); + self::E /* = core::String */ f3 = self::E|constructor#(""); self::E|constructor#(""); self::E|constructor#(""); - mai::G% /* = core::String */ h1 = mai::G|constructor#(""); - mai::G% /* = core::String */ h2 = mai::G|constructor#(""); - mai::G% /* = core::String */ h3 = mai::G|constructor#(""); + mai::G /* = core::String */ h1 = mai::G|constructor#(""); + mai::G /* = core::String */ h2 = mai::G|constructor#(""); + mai::G /* = core::String */ h3 = mai::G|constructor#(""); mai::G|constructor#(""); mai::G|constructor#(""); } -static method _#F#new#tearOff(core::String s) → self::E% /* = core::String */ +static method _#F#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); diff --git a/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.outline.expect index 650d68750d47..098e45020419 100644 --- a/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.outline.expect @@ -12,11 +12,11 @@ extension type E(core::String s) → self::E /* = core::String */ ; -static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E% /* = core::String */ +static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); static method main() → void ; -static method _#F#new#tearOff(core::String s) → self::E% /* = core::String */ +static method _#F#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); library; @@ -31,7 +31,7 @@ extension type G(core::String s) → self2::G /* = core::String */ ; -static extension-type-member method G|constructor#_#new#tearOff(core::String s) → self2::G% /* = core::String */ +static extension-type-member method G|constructor#_#new#tearOff(core::String s) → self2::G /* = core::String */ return self2::G|constructor#(s); -static method _#H#new#tearOff(core::String s) → self2::G% /* = core::String */ +static method _#H#new#tearOff(core::String s) → self2::G /* = core::String */ return self2::G|constructor#(s); diff --git a/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.transformed.expect index b5f7f89a510a..3a74055e62d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53531/main.dart.weak.transformed.expect @@ -15,21 +15,21 @@ static extension-type-member method E|constructor# /* = core::String */ #this = s; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E% /* = core::String */ +static extension-type-member method E|constructor#_#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); static method main() → void { - self::E% /* = core::String */ f1 = self::E|constructor#(""); - self::E% /* = core::String */ f2 = self::E|constructor#(""); - self::E% /* = core::String */ f3 = self::E|constructor#(""); + self::E /* = core::String */ f1 = self::E|constructor#(""); + self::E /* = core::String */ f2 = self::E|constructor#(""); + self::E /* = core::String */ f3 = self::E|constructor#(""); self::E|constructor#(""); self::E|constructor#(""); - mai::G% /* = core::String */ h1 = mai::G|constructor#(""); - mai::G% /* = core::String */ h2 = mai::G|constructor#(""); - mai::G% /* = core::String */ h3 = mai::G|constructor#(""); + mai::G /* = core::String */ h1 = mai::G|constructor#(""); + mai::G /* = core::String */ h2 = mai::G|constructor#(""); + mai::G /* = core::String */ h3 = mai::G|constructor#(""); mai::G|constructor#(""); mai::G|constructor#(""); } -static method _#F#new#tearOff(core::String s) → self::E% /* = core::String */ +static method _#F#new#tearOff(core::String s) → self::E /* = core::String */ return self::E|constructor#(s); library; @@ -46,7 +46,7 @@ static extension-type-member method G|constructor# /* = core::String */ #this = s; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(core::String s) → mai::G% /* = core::String */ +static extension-type-member method G|constructor#_#new#tearOff(core::String s) → mai::G /* = core::String */ return mai::G|constructor#(s); -static method _#H#new#tearOff(core::String s) → mai::G% /* = core::String */ +static method _#H#new#tearOff(core::String s) → mai::G /* = core::String */ return mai::G|constructor#(s); diff --git a/pkg/front_end/testcases/extension_types/issue53563.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53563.dart.strong.expect index ce3fbc1773a5..dcec9043f60e 100644 --- a/pkg/front_end/testcases/extension_types/issue53563.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53563.dart.strong.expect @@ -26,21 +26,21 @@ static extension-type-member method B|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|constructor#named(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#named(it); static extension-type-member method B|constructor#fact(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#fact(it); static extension-type-member method B|constructor#redirect(core::int it) → self::B /* = core::int */ /* redirection-target: self::B|constructor#*/ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|get#g0(lowered final self::B /* = core::int */ #this) → dynamic return self::B|constructor#(1); diff --git a/pkg/front_end/testcases/extension_types/issue53563.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53563.dart.strong.transformed.expect index ce3fbc1773a5..dcec9043f60e 100644 --- a/pkg/front_end/testcases/extension_types/issue53563.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53563.dart.strong.transformed.expect @@ -26,21 +26,21 @@ static extension-type-member method B|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|constructor#named(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#named(it); static extension-type-member method B|constructor#fact(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#fact(it); static extension-type-member method B|constructor#redirect(core::int it) → self::B /* = core::int */ /* redirection-target: self::B|constructor#*/ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|get#g0(lowered final self::B /* = core::int */ #this) → dynamic return self::B|constructor#(1); diff --git a/pkg/front_end/testcases/extension_types/issue53563.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53563.dart.weak.expect index ce3fbc1773a5..dcec9043f60e 100644 --- a/pkg/front_end/testcases/extension_types/issue53563.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53563.dart.weak.expect @@ -26,21 +26,21 @@ static extension-type-member method B|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|constructor#named(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#named(it); static extension-type-member method B|constructor#fact(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#fact(it); static extension-type-member method B|constructor#redirect(core::int it) → self::B /* = core::int */ /* redirection-target: self::B|constructor#*/ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|get#g0(lowered final self::B /* = core::int */ #this) → dynamic return self::B|constructor#(1); diff --git a/pkg/front_end/testcases/extension_types/issue53563.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53563.dart.weak.modular.expect index ce3fbc1773a5..dcec9043f60e 100644 --- a/pkg/front_end/testcases/extension_types/issue53563.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53563.dart.weak.modular.expect @@ -26,21 +26,21 @@ static extension-type-member method B|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|constructor#named(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#named(it); static extension-type-member method B|constructor#fact(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#fact(it); static extension-type-member method B|constructor#redirect(core::int it) → self::B /* = core::int */ /* redirection-target: self::B|constructor#*/ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|get#g0(lowered final self::B /* = core::int */ #this) → dynamic return self::B|constructor#(1); diff --git a/pkg/front_end/testcases/extension_types/issue53563.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53563.dart.weak.outline.expect index 8016ed9b6e4d..75c458492462 100644 --- a/pkg/front_end/testcases/extension_types/issue53563.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53563.dart.weak.outline.expect @@ -24,19 +24,19 @@ extension type B(core::int it) { } static extension-type-member method B|constructor#(core::int it) → self::B /* = core::int */ ; -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|constructor#named(core::int it) → self::B /* = core::int */ ; -static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#named(it); static extension-type-member method B|constructor#fact(core::int it) → self::B /* = core::int */ ; -static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#fact(it); static extension-type-member method B|constructor#redirect(core::int it) → self::B /* = core::int */ /* redirection-target: self::B|constructor#*/ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|get#g0(lowered final self::B /* = core::int */ #this) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/issue53563.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53563.dart.weak.transformed.expect index ce3fbc1773a5..dcec9043f60e 100644 --- a/pkg/front_end/testcases/extension_types/issue53563.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53563.dart.weak.transformed.expect @@ -26,21 +26,21 @@ static extension-type-member method B|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|constructor#named(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#named#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#named(it); static extension-type-member method B|constructor#fact(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#fact#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#fact(it); static extension-type-member method B|constructor#redirect(core::int it) → self::B /* = core::int */ /* redirection-target: self::B|constructor#*/ return self::B|constructor#(it); -static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#redirect#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method B|get#g0(lowered final self::B /* = core::int */ #this) → dynamic return self::B|constructor#(1); diff --git a/pkg/front_end/testcases/extension_types/issue53780.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53780.dart.strong.expect index 340cb230eb8f..cede0120d8f7 100644 --- a/pkg/front_end/testcases/extension_types/issue53780.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53780.dart.strong.expect @@ -12,7 +12,7 @@ static extension-type-member method E|constructor# /* =({required t: self::E|constructor#::T%}) */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E% /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ +static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ return self::E|constructor#(it); static extension-type-member method E|get#t(lowered final self::E /* =({required t: self::E|get#t::T%}) */ #this) → self::E|get#t::T% return (#this as{Unchecked} ({required t: self::E|get#t::T%})).t{self::E|get#t::T%}; diff --git a/pkg/front_end/testcases/extension_types/issue53780.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53780.dart.strong.transformed.expect index 340cb230eb8f..cede0120d8f7 100644 --- a/pkg/front_end/testcases/extension_types/issue53780.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53780.dart.strong.transformed.expect @@ -12,7 +12,7 @@ static extension-type-member method E|constructor# /* =({required t: self::E|constructor#::T%}) */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E% /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ +static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ return self::E|constructor#(it); static extension-type-member method E|get#t(lowered final self::E /* =({required t: self::E|get#t::T%}) */ #this) → self::E|get#t::T% return (#this as{Unchecked} ({required t: self::E|get#t::T%})).t{self::E|get#t::T%}; diff --git a/pkg/front_end/testcases/extension_types/issue53780.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53780.dart.weak.expect index 5a5aade5cb0b..7b8a53c802d4 100644 --- a/pkg/front_end/testcases/extension_types/issue53780.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53780.dart.weak.expect @@ -13,7 +13,7 @@ static extension-type-member method E|constructor# /* =({required t: self::E|constructor#::T%}) */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E% /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ +static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ return self::E|constructor#(it); static extension-type-member method E|get#t(lowered final self::E /* =({required t: self::E|get#t::T%}) */ #this) → self::E|get#t::T% return (#this as{Unchecked} ({required t: self::E|get#t::T%})).t{self::E|get#t::T%}; diff --git a/pkg/front_end/testcases/extension_types/issue53780.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53780.dart.weak.modular.expect index 5a5aade5cb0b..7b8a53c802d4 100644 --- a/pkg/front_end/testcases/extension_types/issue53780.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53780.dart.weak.modular.expect @@ -13,7 +13,7 @@ static extension-type-member method E|constructor# /* =({required t: self::E|constructor#::T%}) */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E% /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ +static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ return self::E|constructor#(it); static extension-type-member method E|get#t(lowered final self::E /* =({required t: self::E|get#t::T%}) */ #this) → self::E|get#t::T% return (#this as{Unchecked} ({required t: self::E|get#t::T%})).t{self::E|get#t::T%}; diff --git a/pkg/front_end/testcases/extension_types/issue53780.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53780.dart.weak.outline.expect index 4c9dd07e78a3..4799f8e759f7 100644 --- a/pkg/front_end/testcases/extension_types/issue53780.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53780.dart.weak.outline.expect @@ -10,7 +10,7 @@ extension type E(({required t: T%}) it) { } static extension-type-member method E|constructor#(({required t: self::E|constructor#::T%}) it) → self::E /* =({required t: self::E|constructor#::T%}) */ ; -static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E% /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ +static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ return self::E|constructor#(it); static extension-type-member method E|get#t(lowered final self::E /* =({required t: self::E|get#t::T%}) */ #this) → self::E|get#t::T% ; diff --git a/pkg/front_end/testcases/extension_types/issue53780.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53780.dart.weak.transformed.expect index 5a5aade5cb0b..7b8a53c802d4 100644 --- a/pkg/front_end/testcases/extension_types/issue53780.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53780.dart.weak.transformed.expect @@ -13,7 +13,7 @@ static extension-type-member method E|constructor# /* =({required t: self::E|constructor#::T%}) */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E% /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ +static extension-type-member method E|constructor#_#new#tearOff(({required t: self::E|constructor#_#new#tearOff::T%}) it) → self::E /* =({required t: self::E|constructor#_#new#tearOff::T%}) */ return self::E|constructor#(it); static extension-type-member method E|get#t(lowered final self::E /* =({required t: self::E|get#t::T%}) */ #this) → self::E|get#t::T% return (#this as{Unchecked} ({required t: self::E|get#t::T%})).t{self::E|get#t::T%}; diff --git a/pkg/front_end/testcases/extension_types/issue53791.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53791.dart.strong.expect index 7633b9e6f5dd..63619a1e74e7 100644 --- a/pkg/front_end/testcases/extension_types/issue53791.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53791.dart.strong.expect @@ -52,7 +52,7 @@ extension type E3(self::A it) implements self::A, self::A, self::A, self::A { constructor • = self::E3|constructor#; constructor tearoff • = self::E3|constructor#_#new#tearOff; } -extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E% /* = core::Object? */, self::E /* = core::Object? */, self::E% /* = core::Object? */ { +extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */ { abstract extension-type-member representation-field get it() → self::E /* = core::Object? */; constructor • = self::E4|constructor#; constructor tearoff • = self::E4|constructor#_#new#tearOff; diff --git a/pkg/front_end/testcases/extension_types/issue53791.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53791.dart.strong.transformed.expect index 7633b9e6f5dd..63619a1e74e7 100644 --- a/pkg/front_end/testcases/extension_types/issue53791.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53791.dart.strong.transformed.expect @@ -52,7 +52,7 @@ extension type E3(self::A it) implements self::A, self::A, self::A, self::A { constructor • = self::E3|constructor#; constructor tearoff • = self::E3|constructor#_#new#tearOff; } -extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E% /* = core::Object? */, self::E /* = core::Object? */, self::E% /* = core::Object? */ { +extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */ { abstract extension-type-member representation-field get it() → self::E /* = core::Object? */; constructor • = self::E4|constructor#; constructor tearoff • = self::E4|constructor#_#new#tearOff; diff --git a/pkg/front_end/testcases/extension_types/issue53791.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53791.dart.weak.expect index 7633b9e6f5dd..63619a1e74e7 100644 --- a/pkg/front_end/testcases/extension_types/issue53791.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53791.dart.weak.expect @@ -52,7 +52,7 @@ extension type E3(self::A it) implements self::A, self::A, self::A, self::A { constructor • = self::E3|constructor#; constructor tearoff • = self::E3|constructor#_#new#tearOff; } -extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E% /* = core::Object? */, self::E /* = core::Object? */, self::E% /* = core::Object? */ { +extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */ { abstract extension-type-member representation-field get it() → self::E /* = core::Object? */; constructor • = self::E4|constructor#; constructor tearoff • = self::E4|constructor#_#new#tearOff; diff --git a/pkg/front_end/testcases/extension_types/issue53791.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53791.dart.weak.modular.expect index 7633b9e6f5dd..63619a1e74e7 100644 --- a/pkg/front_end/testcases/extension_types/issue53791.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53791.dart.weak.modular.expect @@ -52,7 +52,7 @@ extension type E3(self::A it) implements self::A, self::A, self::A, self::A { constructor • = self::E3|constructor#; constructor tearoff • = self::E3|constructor#_#new#tearOff; } -extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E% /* = core::Object? */, self::E /* = core::Object? */, self::E% /* = core::Object? */ { +extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */ { abstract extension-type-member representation-field get it() → self::E /* = core::Object? */; constructor • = self::E4|constructor#; constructor tearoff • = self::E4|constructor#_#new#tearOff; diff --git a/pkg/front_end/testcases/extension_types/issue53791.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53791.dart.weak.outline.expect index 48bf35b5bd7e..cbeb7902f5e6 100644 --- a/pkg/front_end/testcases/extension_types/issue53791.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53791.dart.weak.outline.expect @@ -51,7 +51,7 @@ extension type E3(self::A it) implements self::A, self::A, self::A, self::A { constructor • = self::E3|constructor#; constructor tearoff • = self::E3|constructor#_#new#tearOff; } -extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E% /* = core::Object? */, self::E /* = core::Object? */, self::E% /* = core::Object? */ { +extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */ { abstract extension-type-member representation-field get it() → self::E /* = core::Object? */; constructor • = self::E4|constructor#; constructor tearoff • = self::E4|constructor#_#new#tearOff; diff --git a/pkg/front_end/testcases/extension_types/issue53791.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53791.dart.weak.transformed.expect index 7633b9e6f5dd..63619a1e74e7 100644 --- a/pkg/front_end/testcases/extension_types/issue53791.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53791.dart.weak.transformed.expect @@ -52,7 +52,7 @@ extension type E3(self::A it) implements self::A, self::A, self::A, self::A { constructor • = self::E3|constructor#; constructor tearoff • = self::E3|constructor#_#new#tearOff; } -extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E% /* = core::Object? */, self::E /* = core::Object? */, self::E% /* = core::Object? */ { +extension type E4(self::E /* = core::Object? */ it) implements self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */, self::E /* = core::Object? */ { abstract extension-type-member representation-field get it() → self::E /* = core::Object? */; constructor • = self::E4|constructor#; constructor tearoff • = self::E4|constructor#_#new#tearOff; diff --git a/pkg/front_end/testcases/extension_types/issue53799.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53799.dart.strong.expect index 66d8a17739f8..c3d2253c48d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53799.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53799.dart.strong.expect @@ -133,7 +133,7 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E1|constructor#(self::A it) → self::E1 /* = self::A */ { lowered final self::E1 /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53799.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53799.dart.strong.transformed.expect index 66d8a17739f8..c3d2253c48d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53799.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53799.dart.strong.transformed.expect @@ -133,7 +133,7 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E1|constructor#(self::A it) → self::E1 /* = self::A */ { lowered final self::E1 /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53799.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53799.dart.weak.expect index 66d8a17739f8..c3d2253c48d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53799.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53799.dart.weak.expect @@ -133,7 +133,7 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E1|constructor#(self::A it) → self::E1 /* = self::A */ { lowered final self::E1 /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53799.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53799.dart.weak.modular.expect index 66d8a17739f8..c3d2253c48d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53799.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53799.dart.weak.modular.expect @@ -133,7 +133,7 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E1|constructor#(self::A it) → self::E1 /* = self::A */ { lowered final self::E1 /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53799.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53799.dart.weak.outline.expect index 812f249d8ca9..443e95522f75 100644 --- a/pkg/front_end/testcases/extension_types/issue53799.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53799.dart.weak.outline.expect @@ -128,7 +128,7 @@ extension type E73(self::E /* = Never */ it) implements self::E71 /* = Ne } static extension-type-member method E|constructor#(self::E|constructor#::X% it) → self::E /* = self::E|constructor#::X% */ ; -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E1|constructor#(self::A it) → self::E1 /* = self::A */ ; diff --git a/pkg/front_end/testcases/extension_types/issue53799.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53799.dart.weak.transformed.expect index 66d8a17739f8..c3d2253c48d5 100644 --- a/pkg/front_end/testcases/extension_types/issue53799.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53799.dart.weak.transformed.expect @@ -133,7 +133,7 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E1|constructor#(self::A it) → self::E1 /* = self::A */ { lowered final self::E1 /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53803.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53803.dart.strong.expect index dfb40ffe0281..a9143dd097c1 100644 --- a/pkg/front_end/testcases/extension_types/issue53803.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53803.dart.strong.expect @@ -115,7 +115,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType% /* = core::Object? */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType /* = core::Object? */ return self::ExtensionType|constructor#(foo); static extension-type-member method E1|constructor#(self::Class foo) → self::E1 /* = self::Class */ { lowered final self::E1 /* = self::Class */ #this = foo; @@ -157,35 +157,35 @@ static extension-type-member method E7|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7% /* = core::Object? */ +static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7 /* = core::Object? */ return self::E7|constructor#(foo); static extension-type-member method E8|constructor#(core::Object? foo) → self::E8 /* = core::Object? */ { lowered final self::E8 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8% /* = core::Object? */ +static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8 /* = core::Object? */ return self::E8|constructor#(foo); static extension-type-member method E9|constructor#(core::Object? foo) → self::E9 /* = core::Object? */ { lowered final self::E9 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9% /* = core::Object? */ +static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9 /* = core::Object? */ return self::E9|constructor#(foo); static extension-type-member method E10|constructor#(core::Object? foo) → self::E10 /* = core::Object? */ { lowered final self::E10 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10% /* = core::Object? */ +static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10 /* = core::Object? */ return self::E10|constructor#(foo); static extension-type-member method E11|constructor#(core::Object? foo) → self::E11 /* = core::Object? */ { lowered final self::E11 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11% /* = core::Object? */ +static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11 /* = core::Object? */ return self::E11|constructor#(foo); static extension-type-member method E12|constructor#(core::Object? foo) → self::E12 /* = core::Object? */ { lowered final self::E12 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12% /* = core::Object? */ +static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12 /* = core::Object? */ return self::E12|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53803.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53803.dart.strong.transformed.expect index dfb40ffe0281..a9143dd097c1 100644 --- a/pkg/front_end/testcases/extension_types/issue53803.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53803.dart.strong.transformed.expect @@ -115,7 +115,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType% /* = core::Object? */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType /* = core::Object? */ return self::ExtensionType|constructor#(foo); static extension-type-member method E1|constructor#(self::Class foo) → self::E1 /* = self::Class */ { lowered final self::E1 /* = self::Class */ #this = foo; @@ -157,35 +157,35 @@ static extension-type-member method E7|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7% /* = core::Object? */ +static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7 /* = core::Object? */ return self::E7|constructor#(foo); static extension-type-member method E8|constructor#(core::Object? foo) → self::E8 /* = core::Object? */ { lowered final self::E8 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8% /* = core::Object? */ +static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8 /* = core::Object? */ return self::E8|constructor#(foo); static extension-type-member method E9|constructor#(core::Object? foo) → self::E9 /* = core::Object? */ { lowered final self::E9 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9% /* = core::Object? */ +static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9 /* = core::Object? */ return self::E9|constructor#(foo); static extension-type-member method E10|constructor#(core::Object? foo) → self::E10 /* = core::Object? */ { lowered final self::E10 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10% /* = core::Object? */ +static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10 /* = core::Object? */ return self::E10|constructor#(foo); static extension-type-member method E11|constructor#(core::Object? foo) → self::E11 /* = core::Object? */ { lowered final self::E11 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11% /* = core::Object? */ +static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11 /* = core::Object? */ return self::E11|constructor#(foo); static extension-type-member method E12|constructor#(core::Object? foo) → self::E12 /* = core::Object? */ { lowered final self::E12 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12% /* = core::Object? */ +static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12 /* = core::Object? */ return self::E12|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53803.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53803.dart.weak.expect index dfb40ffe0281..a9143dd097c1 100644 --- a/pkg/front_end/testcases/extension_types/issue53803.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53803.dart.weak.expect @@ -115,7 +115,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType% /* = core::Object? */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType /* = core::Object? */ return self::ExtensionType|constructor#(foo); static extension-type-member method E1|constructor#(self::Class foo) → self::E1 /* = self::Class */ { lowered final self::E1 /* = self::Class */ #this = foo; @@ -157,35 +157,35 @@ static extension-type-member method E7|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7% /* = core::Object? */ +static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7 /* = core::Object? */ return self::E7|constructor#(foo); static extension-type-member method E8|constructor#(core::Object? foo) → self::E8 /* = core::Object? */ { lowered final self::E8 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8% /* = core::Object? */ +static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8 /* = core::Object? */ return self::E8|constructor#(foo); static extension-type-member method E9|constructor#(core::Object? foo) → self::E9 /* = core::Object? */ { lowered final self::E9 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9% /* = core::Object? */ +static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9 /* = core::Object? */ return self::E9|constructor#(foo); static extension-type-member method E10|constructor#(core::Object? foo) → self::E10 /* = core::Object? */ { lowered final self::E10 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10% /* = core::Object? */ +static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10 /* = core::Object? */ return self::E10|constructor#(foo); static extension-type-member method E11|constructor#(core::Object? foo) → self::E11 /* = core::Object? */ { lowered final self::E11 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11% /* = core::Object? */ +static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11 /* = core::Object? */ return self::E11|constructor#(foo); static extension-type-member method E12|constructor#(core::Object? foo) → self::E12 /* = core::Object? */ { lowered final self::E12 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12% /* = core::Object? */ +static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12 /* = core::Object? */ return self::E12|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53803.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53803.dart.weak.modular.expect index dfb40ffe0281..a9143dd097c1 100644 --- a/pkg/front_end/testcases/extension_types/issue53803.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53803.dart.weak.modular.expect @@ -115,7 +115,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType% /* = core::Object? */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType /* = core::Object? */ return self::ExtensionType|constructor#(foo); static extension-type-member method E1|constructor#(self::Class foo) → self::E1 /* = self::Class */ { lowered final self::E1 /* = self::Class */ #this = foo; @@ -157,35 +157,35 @@ static extension-type-member method E7|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7% /* = core::Object? */ +static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7 /* = core::Object? */ return self::E7|constructor#(foo); static extension-type-member method E8|constructor#(core::Object? foo) → self::E8 /* = core::Object? */ { lowered final self::E8 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8% /* = core::Object? */ +static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8 /* = core::Object? */ return self::E8|constructor#(foo); static extension-type-member method E9|constructor#(core::Object? foo) → self::E9 /* = core::Object? */ { lowered final self::E9 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9% /* = core::Object? */ +static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9 /* = core::Object? */ return self::E9|constructor#(foo); static extension-type-member method E10|constructor#(core::Object? foo) → self::E10 /* = core::Object? */ { lowered final self::E10 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10% /* = core::Object? */ +static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10 /* = core::Object? */ return self::E10|constructor#(foo); static extension-type-member method E11|constructor#(core::Object? foo) → self::E11 /* = core::Object? */ { lowered final self::E11 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11% /* = core::Object? */ +static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11 /* = core::Object? */ return self::E11|constructor#(foo); static extension-type-member method E12|constructor#(core::Object? foo) → self::E12 /* = core::Object? */ { lowered final self::E12 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12% /* = core::Object? */ +static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12 /* = core::Object? */ return self::E12|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53803.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53803.dart.weak.outline.expect index 90b6ead1f18b..5e879ce4627b 100644 --- a/pkg/front_end/testcases/extension_types/issue53803.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53803.dart.weak.outline.expect @@ -112,7 +112,7 @@ extension type E12(core::Object? foo) impleme } static extension-type-member method ExtensionType|constructor#(core::Object? foo) → self::ExtensionType /* = core::Object? */ ; -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType% /* = core::Object? */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType /* = core::Object? */ return self::ExtensionType|constructor#(foo); static extension-type-member method E1|constructor#(self::Class foo) → self::E1 /* = self::Class */ ; @@ -140,25 +140,25 @@ static extension-type-member method E6|constructor#_#new#tearOff(foo); static extension-type-member method E7|constructor#(core::Object? foo) → self::E7 /* = core::Object? */ ; -static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7% /* = core::Object? */ +static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7 /* = core::Object? */ return self::E7|constructor#(foo); static extension-type-member method E8|constructor#(core::Object? foo) → self::E8 /* = core::Object? */ ; -static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8% /* = core::Object? */ +static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8 /* = core::Object? */ return self::E8|constructor#(foo); static extension-type-member method E9|constructor#(core::Object? foo) → self::E9 /* = core::Object? */ ; -static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9% /* = core::Object? */ +static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9 /* = core::Object? */ return self::E9|constructor#(foo); static extension-type-member method E10|constructor#(core::Object? foo) → self::E10 /* = core::Object? */ ; -static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10% /* = core::Object? */ +static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10 /* = core::Object? */ return self::E10|constructor#(foo); static extension-type-member method E11|constructor#(core::Object? foo) → self::E11 /* = core::Object? */ ; -static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11% /* = core::Object? */ +static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11 /* = core::Object? */ return self::E11|constructor#(foo); static extension-type-member method E12|constructor#(core::Object? foo) → self::E12 /* = core::Object? */ ; -static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12% /* = core::Object? */ +static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12 /* = core::Object? */ return self::E12|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53803.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53803.dart.weak.transformed.expect index dfb40ffe0281..a9143dd097c1 100644 --- a/pkg/front_end/testcases/extension_types/issue53803.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53803.dart.weak.transformed.expect @@ -115,7 +115,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType% /* = core::Object? */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::Object? foo) → self::ExtensionType /* = core::Object? */ return self::ExtensionType|constructor#(foo); static extension-type-member method E1|constructor#(self::Class foo) → self::E1 /* = self::Class */ { lowered final self::E1 /* = self::Class */ #this = foo; @@ -157,35 +157,35 @@ static extension-type-member method E7|constructor# /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7% /* = core::Object? */ +static extension-type-member method E7|constructor#_#new#tearOff(core::Object? foo) → self::E7 /* = core::Object? */ return self::E7|constructor#(foo); static extension-type-member method E8|constructor#(core::Object? foo) → self::E8 /* = core::Object? */ { lowered final self::E8 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8% /* = core::Object? */ +static extension-type-member method E8|constructor#_#new#tearOff(core::Object? foo) → self::E8 /* = core::Object? */ return self::E8|constructor#(foo); static extension-type-member method E9|constructor#(core::Object? foo) → self::E9 /* = core::Object? */ { lowered final self::E9 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9% /* = core::Object? */ +static extension-type-member method E9|constructor#_#new#tearOff(core::Object? foo) → self::E9 /* = core::Object? */ return self::E9|constructor#(foo); static extension-type-member method E10|constructor#(core::Object? foo) → self::E10 /* = core::Object? */ { lowered final self::E10 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10% /* = core::Object? */ +static extension-type-member method E10|constructor#_#new#tearOff(core::Object? foo) → self::E10 /* = core::Object? */ return self::E10|constructor#(foo); static extension-type-member method E11|constructor#(core::Object? foo) → self::E11 /* = core::Object? */ { lowered final self::E11 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11% /* = core::Object? */ +static extension-type-member method E11|constructor#_#new#tearOff(core::Object? foo) → self::E11 /* = core::Object? */ return self::E11|constructor#(foo); static extension-type-member method E12|constructor#(core::Object? foo) → self::E12 /* = core::Object? */ { lowered final self::E12 /* = core::Object? */ #this = foo; return #this; } -static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12% /* = core::Object? */ +static extension-type-member method E12|constructor#_#new#tearOff(core::Object? foo) → self::E12 /* = core::Object? */ return self::E12|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53822.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53822.dart.strong.expect index 46cd5e39c488..6f21823f17f1 100644 --- a/pkg/front_end/testcases/extension_types/issue53822.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53822.dart.strong.expect @@ -13,10 +13,10 @@ static extension-type-member method ET|constructor# /* = self::ET|constructor#::T% */ #this = _; return #this; } -static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET% /* = self::ET|constructor#_#new#tearOff::T% */ +static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET /* = self::ET|constructor#_#new#tearOff::T% */ return self::ET|constructor#(_); static extension-type-member method ET|test(lowered final self::ET /* = self::ET|test::T% */ #this) → void {} -static extension-type-member method ET|get#test(lowered final self::ET% /* = self::ET|get#test::T% */ #this) → () → void +static extension-type-member method ET|get#test(lowered final self::ET /* = self::ET|get#test::T% */ #this) → () → void return () → void => self::ET|test(#this); static method main() → dynamic { self::ET|test(self::ET|constructor#(null)); diff --git a/pkg/front_end/testcases/extension_types/issue53822.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53822.dart.strong.transformed.expect index 46cd5e39c488..6f21823f17f1 100644 --- a/pkg/front_end/testcases/extension_types/issue53822.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53822.dart.strong.transformed.expect @@ -13,10 +13,10 @@ static extension-type-member method ET|constructor# /* = self::ET|constructor#::T% */ #this = _; return #this; } -static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET% /* = self::ET|constructor#_#new#tearOff::T% */ +static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET /* = self::ET|constructor#_#new#tearOff::T% */ return self::ET|constructor#(_); static extension-type-member method ET|test(lowered final self::ET /* = self::ET|test::T% */ #this) → void {} -static extension-type-member method ET|get#test(lowered final self::ET% /* = self::ET|get#test::T% */ #this) → () → void +static extension-type-member method ET|get#test(lowered final self::ET /* = self::ET|get#test::T% */ #this) → () → void return () → void => self::ET|test(#this); static method main() → dynamic { self::ET|test(self::ET|constructor#(null)); diff --git a/pkg/front_end/testcases/extension_types/issue53822.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53822.dart.weak.expect index 46cd5e39c488..6f21823f17f1 100644 --- a/pkg/front_end/testcases/extension_types/issue53822.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53822.dart.weak.expect @@ -13,10 +13,10 @@ static extension-type-member method ET|constructor# /* = self::ET|constructor#::T% */ #this = _; return #this; } -static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET% /* = self::ET|constructor#_#new#tearOff::T% */ +static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET /* = self::ET|constructor#_#new#tearOff::T% */ return self::ET|constructor#(_); static extension-type-member method ET|test(lowered final self::ET /* = self::ET|test::T% */ #this) → void {} -static extension-type-member method ET|get#test(lowered final self::ET% /* = self::ET|get#test::T% */ #this) → () → void +static extension-type-member method ET|get#test(lowered final self::ET /* = self::ET|get#test::T% */ #this) → () → void return () → void => self::ET|test(#this); static method main() → dynamic { self::ET|test(self::ET|constructor#(null)); diff --git a/pkg/front_end/testcases/extension_types/issue53822.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53822.dart.weak.modular.expect index 46cd5e39c488..6f21823f17f1 100644 --- a/pkg/front_end/testcases/extension_types/issue53822.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53822.dart.weak.modular.expect @@ -13,10 +13,10 @@ static extension-type-member method ET|constructor# /* = self::ET|constructor#::T% */ #this = _; return #this; } -static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET% /* = self::ET|constructor#_#new#tearOff::T% */ +static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET /* = self::ET|constructor#_#new#tearOff::T% */ return self::ET|constructor#(_); static extension-type-member method ET|test(lowered final self::ET /* = self::ET|test::T% */ #this) → void {} -static extension-type-member method ET|get#test(lowered final self::ET% /* = self::ET|get#test::T% */ #this) → () → void +static extension-type-member method ET|get#test(lowered final self::ET /* = self::ET|get#test::T% */ #this) → () → void return () → void => self::ET|test(#this); static method main() → dynamic { self::ET|test(self::ET|constructor#(null)); diff --git a/pkg/front_end/testcases/extension_types/issue53822.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53822.dart.weak.outline.expect index 7457bbf34b52..afed2e2699d0 100644 --- a/pkg/front_end/testcases/extension_types/issue53822.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53822.dart.weak.outline.expect @@ -11,11 +11,11 @@ extension type ET(T% _) { } static extension-type-member method ET|constructor#(self::ET|constructor#::T% _) → self::ET /* = self::ET|constructor#::T% */ ; -static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET% /* = self::ET|constructor#_#new#tearOff::T% */ +static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET /* = self::ET|constructor#_#new#tearOff::T% */ return self::ET|constructor#(_); static extension-type-member method ET|test(lowered final self::ET /* = self::ET|test::T% */ #this) → void ; -static extension-type-member method ET|get#test(lowered final self::ET% /* = self::ET|get#test::T% */ #this) → () → void +static extension-type-member method ET|get#test(lowered final self::ET /* = self::ET|get#test::T% */ #this) → () → void return () → void => self::ET|test(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/issue53822.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53822.dart.weak.transformed.expect index 46cd5e39c488..6f21823f17f1 100644 --- a/pkg/front_end/testcases/extension_types/issue53822.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53822.dart.weak.transformed.expect @@ -13,10 +13,10 @@ static extension-type-member method ET|constructor# /* = self::ET|constructor#::T% */ #this = _; return #this; } -static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET% /* = self::ET|constructor#_#new#tearOff::T% */ +static extension-type-member method ET|constructor#_#new#tearOff(self::ET|constructor#_#new#tearOff::T% _) → self::ET /* = self::ET|constructor#_#new#tearOff::T% */ return self::ET|constructor#(_); static extension-type-member method ET|test(lowered final self::ET /* = self::ET|test::T% */ #this) → void {} -static extension-type-member method ET|get#test(lowered final self::ET% /* = self::ET|get#test::T% */ #this) → () → void +static extension-type-member method ET|get#test(lowered final self::ET /* = self::ET|get#test::T% */ #this) → () → void return () → void => self::ET|test(#this); static method main() → dynamic { self::ET|test(self::ET|constructor#(null)); diff --git a/pkg/front_end/testcases/extension_types/issue53824.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53824.dart.strong.expect index c289018b2765..dfe09c623faf 100644 --- a/pkg/front_end/testcases/extension_types/issue53824.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53824.dart.strong.expect @@ -41,11 +41,11 @@ static extension-type-member method E2|constructor#(self::E2|co lowered final self::E2 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = invalid-type */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(self::E3|constructor#::X foo) → self::E3 /* = invalid-type */ { lowered final self::E3 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3% /* = invalid-type */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3 /* = invalid-type */ return self::E3|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53824.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53824.dart.strong.transformed.expect index c289018b2765..dfe09c623faf 100644 --- a/pkg/front_end/testcases/extension_types/issue53824.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53824.dart.strong.transformed.expect @@ -41,11 +41,11 @@ static extension-type-member method E2|constructor#(self::E2|co lowered final self::E2 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = invalid-type */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(self::E3|constructor#::X foo) → self::E3 /* = invalid-type */ { lowered final self::E3 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3% /* = invalid-type */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3 /* = invalid-type */ return self::E3|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53824.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53824.dart.weak.expect index c289018b2765..dfe09c623faf 100644 --- a/pkg/front_end/testcases/extension_types/issue53824.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53824.dart.weak.expect @@ -41,11 +41,11 @@ static extension-type-member method E2|constructor#(self::E2|co lowered final self::E2 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = invalid-type */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(self::E3|constructor#::X foo) → self::E3 /* = invalid-type */ { lowered final self::E3 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3% /* = invalid-type */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3 /* = invalid-type */ return self::E3|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53824.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53824.dart.weak.modular.expect index c289018b2765..dfe09c623faf 100644 --- a/pkg/front_end/testcases/extension_types/issue53824.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53824.dart.weak.modular.expect @@ -41,11 +41,11 @@ static extension-type-member method E2|constructor#(self::E2|co lowered final self::E2 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = invalid-type */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(self::E3|constructor#::X foo) → self::E3 /* = invalid-type */ { lowered final self::E3 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3% /* = invalid-type */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3 /* = invalid-type */ return self::E3|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53824.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53824.dart.weak.outline.expect index 95b7852a8ca1..54a7d4fc6428 100644 --- a/pkg/front_end/testcases/extension_types/issue53824.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53824.dart.weak.outline.expect @@ -37,9 +37,9 @@ static extension-type-member method E1|constructor#_#new#tearOff(Never foo) → return self::E1|constructor#(foo); static extension-type-member method E2|constructor#(self::E2|constructor#::X foo) → self::E2 /* = invalid-type */ ; -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = invalid-type */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(self::E3|constructor#::X foo) → self::E3 /* = invalid-type */ ; -static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3% /* = invalid-type */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3 /* = invalid-type */ return self::E3|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53824.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53824.dart.weak.transformed.expect index c289018b2765..dfe09c623faf 100644 --- a/pkg/front_end/testcases/extension_types/issue53824.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53824.dart.weak.transformed.expect @@ -41,11 +41,11 @@ static extension-type-member method E2|constructor#(self::E2|co lowered final self::E2 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X foo) → self::E2 /* = invalid-type */ return self::E2|constructor#(foo); static extension-type-member method E3|constructor#(self::E3|constructor#::X foo) → self::E3 /* = invalid-type */ { lowered final self::E3 /* = invalid-type */ #this = foo; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3% /* = invalid-type */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E3|constructor#_#new#tearOff::X foo) → self::E3 /* = invalid-type */ return self::E3|constructor#(foo); diff --git a/pkg/front_end/testcases/extension_types/issue53840.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53840.dart.strong.expect index fe3f2629ddab..6c9051242611 100644 --- a/pkg/front_end/testcases/extension_types/issue53840.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53840.dart.strong.expect @@ -239,7 +239,7 @@ static extension-type-member method E9|constructor# /* = self::E9|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9% /* = self::E9|constructor#_#new#tearOff::X% */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9 /* = self::E9|constructor#_#new#tearOff::X% */ return self::E9|constructor#(it); static extension-type-member method E10|constructor#((core::int) → void it) → self::E10 /* = (core::int) → void */ { lowered final self::E10 /* = (core::int) → void */ #this = it; @@ -275,7 +275,7 @@ static extension-type-member method E15|constructor# /* = self::E15|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15% /* = self::E15|constructor#_#new#tearOff::X% */ +static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15 /* = self::E15|constructor#_#new#tearOff::X% */ return self::E15|constructor#(it); static extension-type-member method E16|constructor#(Null it) → self::E16 /* = Null */ { lowered final self::E16 /* = Null */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53840.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53840.dart.strong.transformed.expect index fe3f2629ddab..6c9051242611 100644 --- a/pkg/front_end/testcases/extension_types/issue53840.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53840.dart.strong.transformed.expect @@ -239,7 +239,7 @@ static extension-type-member method E9|constructor# /* = self::E9|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9% /* = self::E9|constructor#_#new#tearOff::X% */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9 /* = self::E9|constructor#_#new#tearOff::X% */ return self::E9|constructor#(it); static extension-type-member method E10|constructor#((core::int) → void it) → self::E10 /* = (core::int) → void */ { lowered final self::E10 /* = (core::int) → void */ #this = it; @@ -275,7 +275,7 @@ static extension-type-member method E15|constructor# /* = self::E15|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15% /* = self::E15|constructor#_#new#tearOff::X% */ +static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15 /* = self::E15|constructor#_#new#tearOff::X% */ return self::E15|constructor#(it); static extension-type-member method E16|constructor#(Null it) → self::E16 /* = Null */ { lowered final self::E16 /* = Null */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53840.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53840.dart.weak.expect index 849646475571..9309793c8f09 100644 --- a/pkg/front_end/testcases/extension_types/issue53840.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53840.dart.weak.expect @@ -239,7 +239,7 @@ static extension-type-member method E9|constructor# /* = self::E9|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9% /* = self::E9|constructor#_#new#tearOff::X% */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9 /* = self::E9|constructor#_#new#tearOff::X% */ return self::E9|constructor#(it); static extension-type-member method E10|constructor#((core::int) → void it) → self::E10 /* = (core::int) → void */ { lowered final self::E10 /* = (core::int) → void */ #this = it; @@ -275,7 +275,7 @@ static extension-type-member method E15|constructor# /* = self::E15|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15% /* = self::E15|constructor#_#new#tearOff::X% */ +static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15 /* = self::E15|constructor#_#new#tearOff::X% */ return self::E15|constructor#(it); static extension-type-member method E16|constructor#(Null it) → self::E16 /* = Null */ { lowered final self::E16 /* = Null */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53840.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53840.dart.weak.modular.expect index 849646475571..9309793c8f09 100644 --- a/pkg/front_end/testcases/extension_types/issue53840.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53840.dart.weak.modular.expect @@ -239,7 +239,7 @@ static extension-type-member method E9|constructor# /* = self::E9|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9% /* = self::E9|constructor#_#new#tearOff::X% */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9 /* = self::E9|constructor#_#new#tearOff::X% */ return self::E9|constructor#(it); static extension-type-member method E10|constructor#((core::int) → void it) → self::E10 /* = (core::int) → void */ { lowered final self::E10 /* = (core::int) → void */ #this = it; @@ -275,7 +275,7 @@ static extension-type-member method E15|constructor# /* = self::E15|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15% /* = self::E15|constructor#_#new#tearOff::X% */ +static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15 /* = self::E15|constructor#_#new#tearOff::X% */ return self::E15|constructor#(it); static extension-type-member method E16|constructor#(Null it) → self::E16 /* = Null */ { lowered final self::E16 /* = Null */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53840.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53840.dart.weak.outline.expect index 61fc9c60451b..5047ebe180bc 100644 --- a/pkg/front_end/testcases/extension_types/issue53840.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53840.dart.weak.outline.expect @@ -220,7 +220,7 @@ static extension-type-member method E8|constructor#_#new#tearOff(core::bool it) return self::E8|constructor#(it); static extension-type-member method E9|constructor#(self::E9|constructor#::X% it) → self::E9 /* = self::E9|constructor#::X% */ ; -static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9% /* = self::E9|constructor#_#new#tearOff::X% */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9 /* = self::E9|constructor#_#new#tearOff::X% */ return self::E9|constructor#(it); static extension-type-member method E10|constructor#((core::int) → void it) → self::E10 /* = (core::int) → void */ ; @@ -244,7 +244,7 @@ static extension-type-member method E14|constructor#_#new#tearOff(Null it) → s return self::E14|constructor#(it); static extension-type-member method E15|constructor#(self::E15|constructor#::X% it) → self::E15 /* = self::E15|constructor#::X% */ ; -static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15% /* = self::E15|constructor#_#new#tearOff::X% */ +static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15 /* = self::E15|constructor#_#new#tearOff::X% */ return self::E15|constructor#(it); static extension-type-member method E16|constructor#(Null it) → self::E16 /* = Null */ ; diff --git a/pkg/front_end/testcases/extension_types/issue53840.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53840.dart.weak.transformed.expect index 849646475571..9309793c8f09 100644 --- a/pkg/front_end/testcases/extension_types/issue53840.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53840.dart.weak.transformed.expect @@ -239,7 +239,7 @@ static extension-type-member method E9|constructor# /* = self::E9|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9% /* = self::E9|constructor#_#new#tearOff::X% */ +static extension-type-member method E9|constructor#_#new#tearOff(self::E9|constructor#_#new#tearOff::X% it) → self::E9 /* = self::E9|constructor#_#new#tearOff::X% */ return self::E9|constructor#(it); static extension-type-member method E10|constructor#((core::int) → void it) → self::E10 /* = (core::int) → void */ { lowered final self::E10 /* = (core::int) → void */ #this = it; @@ -275,7 +275,7 @@ static extension-type-member method E15|constructor# /* = self::E15|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15% /* = self::E15|constructor#_#new#tearOff::X% */ +static extension-type-member method E15|constructor#_#new#tearOff(self::E15|constructor#_#new#tearOff::X% it) → self::E15 /* = self::E15|constructor#_#new#tearOff::X% */ return self::E15|constructor#(it); static extension-type-member method E16|constructor#(Null it) → self::E16 /* = Null */ { lowered final self::E16 /* = Null */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/issue53936.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue53936.dart.strong.expect index 053afc474319..798fb1a129f7 100644 --- a/pkg/front_end/testcases/extension_types/issue53936.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue53936.dart.strong.expect @@ -19,20 +19,20 @@ static extension-type-member method E|constructor# /* = core::Object? */ #this = o; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E /* = core::Object? */ return self::E|constructor#(o); static extension-type-member method E|constructor#cast(core::Object? v) → self::E /* = core::Object? */ { lowered final self::E /* = core::Object? */ #this; #this = self::E|constructor#(v as self::E|constructor#cast::T%); return #this; } -static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E /* = core::Object? */ return self::E|constructor#cast(v); static extension-type-member method TypeOf|constructor#(self::TypeOf|constructor#::T% _) → self::TypeOf /* = self::TypeOf|constructor#::T% */ { lowered final self::TypeOf /* = self::TypeOf|constructor#::T% */ #this = _; return #this; } -static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf% /* = self::TypeOf|constructor#_#new#tearOff::T% */ +static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf /* = self::TypeOf|constructor#_#new#tearOff::T% */ return self::TypeOf|constructor#(_); static method main() → void { #C1; diff --git a/pkg/front_end/testcases/extension_types/issue53936.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue53936.dart.strong.transformed.expect index 053afc474319..798fb1a129f7 100644 --- a/pkg/front_end/testcases/extension_types/issue53936.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53936.dart.strong.transformed.expect @@ -19,20 +19,20 @@ static extension-type-member method E|constructor# /* = core::Object? */ #this = o; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E /* = core::Object? */ return self::E|constructor#(o); static extension-type-member method E|constructor#cast(core::Object? v) → self::E /* = core::Object? */ { lowered final self::E /* = core::Object? */ #this; #this = self::E|constructor#(v as self::E|constructor#cast::T%); return #this; } -static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E /* = core::Object? */ return self::E|constructor#cast(v); static extension-type-member method TypeOf|constructor#(self::TypeOf|constructor#::T% _) → self::TypeOf /* = self::TypeOf|constructor#::T% */ { lowered final self::TypeOf /* = self::TypeOf|constructor#::T% */ #this = _; return #this; } -static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf% /* = self::TypeOf|constructor#_#new#tearOff::T% */ +static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf /* = self::TypeOf|constructor#_#new#tearOff::T% */ return self::TypeOf|constructor#(_); static method main() → void { #C1; diff --git a/pkg/front_end/testcases/extension_types/issue53936.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue53936.dart.weak.expect index 053afc474319..798fb1a129f7 100644 --- a/pkg/front_end/testcases/extension_types/issue53936.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue53936.dart.weak.expect @@ -19,20 +19,20 @@ static extension-type-member method E|constructor# /* = core::Object? */ #this = o; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E /* = core::Object? */ return self::E|constructor#(o); static extension-type-member method E|constructor#cast(core::Object? v) → self::E /* = core::Object? */ { lowered final self::E /* = core::Object? */ #this; #this = self::E|constructor#(v as self::E|constructor#cast::T%); return #this; } -static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E /* = core::Object? */ return self::E|constructor#cast(v); static extension-type-member method TypeOf|constructor#(self::TypeOf|constructor#::T% _) → self::TypeOf /* = self::TypeOf|constructor#::T% */ { lowered final self::TypeOf /* = self::TypeOf|constructor#::T% */ #this = _; return #this; } -static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf% /* = self::TypeOf|constructor#_#new#tearOff::T% */ +static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf /* = self::TypeOf|constructor#_#new#tearOff::T% */ return self::TypeOf|constructor#(_); static method main() → void { #C1; diff --git a/pkg/front_end/testcases/extension_types/issue53936.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue53936.dart.weak.modular.expect index 053afc474319..798fb1a129f7 100644 --- a/pkg/front_end/testcases/extension_types/issue53936.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue53936.dart.weak.modular.expect @@ -19,20 +19,20 @@ static extension-type-member method E|constructor# /* = core::Object? */ #this = o; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E /* = core::Object? */ return self::E|constructor#(o); static extension-type-member method E|constructor#cast(core::Object? v) → self::E /* = core::Object? */ { lowered final self::E /* = core::Object? */ #this; #this = self::E|constructor#(v as self::E|constructor#cast::T%); return #this; } -static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E /* = core::Object? */ return self::E|constructor#cast(v); static extension-type-member method TypeOf|constructor#(self::TypeOf|constructor#::T% _) → self::TypeOf /* = self::TypeOf|constructor#::T% */ { lowered final self::TypeOf /* = self::TypeOf|constructor#::T% */ #this = _; return #this; } -static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf% /* = self::TypeOf|constructor#_#new#tearOff::T% */ +static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf /* = self::TypeOf|constructor#_#new#tearOff::T% */ return self::TypeOf|constructor#(_); static method main() → void { #C1; diff --git a/pkg/front_end/testcases/extension_types/issue53936.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue53936.dart.weak.outline.expect index 99b01b5d8c5f..e1ae4056ec0f 100644 --- a/pkg/front_end/testcases/extension_types/issue53936.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue53936.dart.weak.outline.expect @@ -19,20 +19,20 @@ static extension-type-member method E|constructor# /* = core::Object? */ #this = o; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E /* = core::Object? */ return self::E|constructor#(o); static extension-type-member method E|constructor#cast(core::Object? v) → self::E /* = core::Object? */ { lowered final self::E /* = core::Object? */ #this; #this = self::E|constructor#(v as self::E|constructor#cast::T%); return #this; } -static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E /* = core::Object? */ return self::E|constructor#cast(v); static extension-type-member method TypeOf|constructor#(self::TypeOf|constructor#::T% _) → self::TypeOf /* = self::TypeOf|constructor#::T% */ { lowered final self::TypeOf /* = self::TypeOf|constructor#::T% */ #this = _; return #this; } -static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf% /* = self::TypeOf|constructor#_#new#tearOff::T% */ +static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf /* = self::TypeOf|constructor#_#new#tearOff::T% */ return self::TypeOf|constructor#(_); static method main() → void ; diff --git a/pkg/front_end/testcases/extension_types/issue53936.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue53936.dart.weak.transformed.expect index 053afc474319..798fb1a129f7 100644 --- a/pkg/front_end/testcases/extension_types/issue53936.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue53936.dart.weak.transformed.expect @@ -19,20 +19,20 @@ static extension-type-member method E|constructor# /* = core::Object? */ #this = o; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#new#tearOff(core::Object? o) → self::E /* = core::Object? */ return self::E|constructor#(o); static extension-type-member method E|constructor#cast(core::Object? v) → self::E /* = core::Object? */ { lowered final self::E /* = core::Object? */ #this; #this = self::E|constructor#(v as self::E|constructor#cast::T%); return #this; } -static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E% /* = core::Object? */ +static extension-type-member method E|constructor#_#cast#tearOff(core::Object? v) → self::E /* = core::Object? */ return self::E|constructor#cast(v); static extension-type-member method TypeOf|constructor#(self::TypeOf|constructor#::T% _) → self::TypeOf /* = self::TypeOf|constructor#::T% */ { lowered final self::TypeOf /* = self::TypeOf|constructor#::T% */ #this = _; return #this; } -static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf% /* = self::TypeOf|constructor#_#new#tearOff::T% */ +static extension-type-member method TypeOf|constructor#_#new#tearOff(self::TypeOf|constructor#_#new#tearOff::T% _) → self::TypeOf /* = self::TypeOf|constructor#_#new#tearOff::T% */ return self::TypeOf|constructor#(_); static method main() → void { #C1; diff --git a/pkg/front_end/testcases/extension_types/issue54008/main.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue54008/main.dart.strong.expect index ddbe76603c6f..8e3deedb321c 100644 --- a/pkg/front_end/testcases/extension_types/issue54008/main.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue54008/main.dart.strong.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; @@ -160,9 +160,9 @@ static const field self2::ExtString /* = core::String */ libString0 = #C1; static const field self2::ExtString /* = core::String */ libString1 = #C2; static const field self2::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field self2::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field self2::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field self2::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field self2::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field self2::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → self2::ExtString /* = core::String */ { lowered final self2::ExtString /* = core::String */ #this = s; return #this; @@ -185,7 +185,7 @@ static extension-type-member method ExtGeneric|constructor# /* = self2::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric% /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ return self2::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54008/main.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue54008/main.dart.strong.transformed.expect index ddbe76603c6f..8e3deedb321c 100644 --- a/pkg/front_end/testcases/extension_types/issue54008/main.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54008/main.dart.strong.transformed.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; @@ -160,9 +160,9 @@ static const field self2::ExtString /* = core::String */ libString0 = #C1; static const field self2::ExtString /* = core::String */ libString1 = #C2; static const field self2::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field self2::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field self2::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field self2::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field self2::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field self2::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → self2::ExtString /* = core::String */ { lowered final self2::ExtString /* = core::String */ #this = s; return #this; @@ -185,7 +185,7 @@ static extension-type-member method ExtGeneric|constructor# /* = self2::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric% /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ return self2::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.expect index ddbe76603c6f..8e3deedb321c 100644 --- a/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; @@ -160,9 +160,9 @@ static const field self2::ExtString /* = core::String */ libString0 = #C1; static const field self2::ExtString /* = core::String */ libString1 = #C2; static const field self2::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field self2::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field self2::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field self2::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field self2::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field self2::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → self2::ExtString /* = core::String */ { lowered final self2::ExtString /* = core::String */ #this = s; return #this; @@ -185,7 +185,7 @@ static extension-type-member method ExtGeneric|constructor# /* = self2::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric% /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ return self2::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.modular.expect index 1c869e60120c..94358d713844 100644 --- a/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.modular.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; diff --git a/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.outline.expect index cd83c800aab4..58acb1915419 100644 --- a/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.outline.expect @@ -26,16 +26,16 @@ static const field self::SameString /* = core::String */ sameString0 = const sel static const field self::SameString /* = core::String */ sameString1 = const self::SameString|constructor#named("hello"); static const field self::SameNullable /* = core::String? */ sameNullable0 = const self::SameNullable|constructor#(null); static const field self::SameNullable /* = core::String? */ sameNullable1 = const self::SameNullable|constructor#("hello"); -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = const self::SameGeneric|constructor#("hello"); -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = const self::SameGeneric|constructor#(null); -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = const self::SameGeneric|constructor#("hello"); +static const field self::SameGeneric /* = core::String */ sameGeneric0 = const self::SameGeneric|constructor#("hello"); +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = const self::SameGeneric|constructor#(null); +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = const self::SameGeneric|constructor#("hello"); static const field mai::ExtString /* = core::String */ valString0 = const mai::ExtString|constructor#("hello"); static const field mai::ExtString /* = core::String */ valString1 = const mai::ExtString|constructor#named("hello"); static const field mai::ExtNullable /* = core::String? */ valNullable0 = const mai::ExtNullable|constructor#(null); static const field mai::ExtNullable /* = core::String? */ valNullable1 = const mai::ExtNullable|constructor#("hello"); -static const field mai::ExtGeneric% /* = core::String */ valGeneric0 = const mai::ExtGeneric|constructor#("hello"); -static const field mai::ExtGeneric% /* = core::String? */ valGeneric1 = const mai::ExtGeneric|constructor#(null); -static const field mai::ExtGeneric% /* = core::String? */ valGeneric2 = const mai::ExtGeneric|constructor#("hello"); +static const field mai::ExtGeneric /* = core::String */ valGeneric0 = const mai::ExtGeneric|constructor#("hello"); +static const field mai::ExtGeneric /* = core::String? */ valGeneric1 = const mai::ExtGeneric|constructor#(null); +static const field mai::ExtGeneric /* = core::String? */ valGeneric2 = const mai::ExtGeneric|constructor#("hello"); static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -58,7 +58,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic ; @@ -108,9 +108,9 @@ static const field mai::ExtString /* = core::String */ libString0 = #C1; static const field mai::ExtString /* = core::String */ libString1 = #C2; static const field mai::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field mai::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field mai::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field mai::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field mai::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field mai::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field mai::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field mai::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → mai::ExtString /* = core::String */ { lowered final mai::ExtString /* = core::String */ #this = s; return #this; @@ -133,7 +133,7 @@ static extension-type-member method ExtGeneric|constructor# /* = mai::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(mai::ExtGeneric|constructor#_#new#tearOff::T% s) → mai::ExtGeneric% /* = mai::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(mai::ExtGeneric|constructor#_#new#tearOff::T% s) → mai::ExtGeneric /* = mai::ExtGeneric|constructor#_#new#tearOff::T% */ return mai::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.transformed.expect index ddbe76603c6f..8e3deedb321c 100644 --- a/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54008/main.dart.weak.transformed.expect @@ -25,16 +25,16 @@ static const field self::SameString /* = core::String */ sameString0 = #C1; static const field self::SameString /* = core::String */ sameString1 = #C2; static const field self::SameNullable /* = core::String? */ sameNullable0 = #C3; static const field self::SameNullable /* = core::String? */ sameNullable1 = #C1; -static const field self::SameGeneric% /* = core::String */ sameGeneric0 = #C1; -static const field self::SameGeneric% /* = core::String? */ sameGeneric1 = #C3; -static const field self::SameGeneric% /* = core::String? */ sameGeneric2 = #C1; +static const field self::SameGeneric /* = core::String */ sameGeneric0 = #C1; +static const field self::SameGeneric /* = core::String? */ sameGeneric1 = #C3; +static const field self::SameGeneric /* = core::String? */ sameGeneric2 = #C1; static const field #lib1::ExtString /* = core::String */ valString0 = #C1; static const field #lib1::ExtString /* = core::String */ valString1 = #C2; static const field #lib1::ExtNullable /* = core::String? */ valNullable0 = #C3; static const field #lib1::ExtNullable /* = core::String? */ valNullable1 = #C1; -static const field #lib1::ExtGeneric% /* = core::String */ valGeneric0 = #C1; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric1 = #C3; -static const field #lib1::ExtGeneric% /* = core::String? */ valGeneric2 = #C1; +static const field #lib1::ExtGeneric /* = core::String */ valGeneric0 = #C1; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric1 = #C3; +static const field #lib1::ExtGeneric /* = core::String? */ valGeneric2 = #C1; static extension-type-member method SameString|constructor#(core::String s) → self::SameString /* = core::String */ { lowered final self::SameString /* = core::String */ #this = s; return #this; @@ -57,7 +57,7 @@ static extension-type-member method SameGeneric|constructor# /* = self::SameGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric% /* = self::SameGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method SameGeneric|constructor#_#new#tearOff(self::SameGeneric|constructor#_#new#tearOff::T% s) → self::SameGeneric /* = self::SameGeneric|constructor#_#new#tearOff::T% */ return self::SameGeneric|constructor#(s); static method sameLibrary() → dynamic { self::SameString /* = core::String */ x0 = #C1; @@ -160,9 +160,9 @@ static const field self2::ExtString /* = core::String */ libString0 = #C1; static const field self2::ExtString /* = core::String */ libString1 = #C2; static const field self2::ExtNullable /* = core::String? */ libNullable0 = #C3; static const field self2::ExtNullable /* = core::String? */ libNullable1 = #C1; -static const field self2::ExtGeneric% /* = core::String */ libGeneric0 = #C1; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric1 = #C3; -static const field self2::ExtGeneric% /* = core::String? */ libGeneric2 = #C1; +static const field self2::ExtGeneric /* = core::String */ libGeneric0 = #C1; +static const field self2::ExtGeneric /* = core::String? */ libGeneric1 = #C3; +static const field self2::ExtGeneric /* = core::String? */ libGeneric2 = #C1; static extension-type-member method ExtString|constructor#(core::String s) → self2::ExtString /* = core::String */ { lowered final self2::ExtString /* = core::String */ #this = s; return #this; @@ -185,7 +185,7 @@ static extension-type-member method ExtGeneric|constructor# /* = self2::ExtGeneric|constructor#::T% */ #this = s; return #this; } -static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric% /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ +static extension-type-member method ExtGeneric|constructor#_#new#tearOff(self2::ExtGeneric|constructor#_#new#tearOff::T% s) → self2::ExtGeneric /* = self2::ExtGeneric|constructor#_#new#tearOff::T% */ return self2::ExtGeneric|constructor#(s); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54070.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue54070.dart.strong.expect index 8da04723674b..4a6b2bd62e4e 100644 --- a/pkg/front_end/testcases/extension_types/issue54070.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue54070.dart.strong.expect @@ -90,28 +90,28 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E% /* = self::E|constructor#_#new#tearOff::T% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E /* = self::E|constructor#_#new#tearOff::T% */ return self::E|constructor#(value); static extension-type-member method E|constructor#named(self::E|constructor#named::T% value) → self::E /* = self::E|constructor#named::T% */ { lowered final self::E /* = self::E|constructor#named::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E% /* = self::E|constructor#_#named#tearOff::T% */ +static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E /* = self::E|constructor#_#named#tearOff::T% */ return self::E|constructor#named(value); static extension-type-member method E|constructor#redirect(self::E|constructor#redirect::T% value) → self::E /* = self::E|constructor#redirect::T% */ { lowered final self::E /* = self::E|constructor#redirect::T% */ #this; #this = self::E|constructor#named(value); return #this; } -static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#redirect#tearOff::T% */ +static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E /* = self::E|constructor#_#redirect#tearOff::T% */ return self::E|constructor#redirect(value); static extension-type-member method E|constructor#factory(self::E|constructor#factory::T% value) → self::E /* = self::E|constructor#factory::T% */ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E% /* = self::E|constructor#_#factory#tearOff::T% */ +static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E /* = self::E|constructor#_#factory#tearOff::T% */ return self::E|constructor#factory(value); static extension-type-member method E|constructor#factoryRedirect(self::E|constructor#factoryRedirect::T% value) → self::E /* = self::E|constructor#factoryRedirect::T% */ /* redirection-target: self::E|constructor#*/ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ +static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ return self::E|constructor#(value); static method checkExtensionType() → void { #C1; @@ -165,15 +165,15 @@ static method _#ACN#factory#tearOff(self::_#ACN#factory#tea return self::C::factory(value); static method _#ACN#factoryRedirect#tearOff(self::_#ACN#factoryRedirect#tearOff::T value) → self::C return self::C::factoryRedirect(value); -static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E% /* = self::_#AEN#new#tearOff::T */ +static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E /* = self::_#AEN#new#tearOff::T */ return self::E|constructor#(value); -static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E% /* = self::_#AEN#named#tearOff::T */ +static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E /* = self::_#AEN#named#tearOff::T */ return self::E|constructor#named(value); -static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E% /* = self::_#AEN#redirect#tearOff::T */ +static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E /* = self::_#AEN#redirect#tearOff::T */ return self::E|constructor#redirect(value); -static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E% /* = self::_#AEN#factory#tearOff::T */ +static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E /* = self::_#AEN#factory#tearOff::T */ return self::E|constructor#factory(value); -static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E% /* = self::_#AEN#factoryRedirect#tearOff::T */ +static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E /* = self::_#AEN#factoryRedirect#tearOff::T */ return self::E|constructor#_#factoryRedirect#tearOff(value); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54070.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue54070.dart.strong.transformed.expect index 8da04723674b..4a6b2bd62e4e 100644 --- a/pkg/front_end/testcases/extension_types/issue54070.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54070.dart.strong.transformed.expect @@ -90,28 +90,28 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E% /* = self::E|constructor#_#new#tearOff::T% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E /* = self::E|constructor#_#new#tearOff::T% */ return self::E|constructor#(value); static extension-type-member method E|constructor#named(self::E|constructor#named::T% value) → self::E /* = self::E|constructor#named::T% */ { lowered final self::E /* = self::E|constructor#named::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E% /* = self::E|constructor#_#named#tearOff::T% */ +static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E /* = self::E|constructor#_#named#tearOff::T% */ return self::E|constructor#named(value); static extension-type-member method E|constructor#redirect(self::E|constructor#redirect::T% value) → self::E /* = self::E|constructor#redirect::T% */ { lowered final self::E /* = self::E|constructor#redirect::T% */ #this; #this = self::E|constructor#named(value); return #this; } -static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#redirect#tearOff::T% */ +static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E /* = self::E|constructor#_#redirect#tearOff::T% */ return self::E|constructor#redirect(value); static extension-type-member method E|constructor#factory(self::E|constructor#factory::T% value) → self::E /* = self::E|constructor#factory::T% */ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E% /* = self::E|constructor#_#factory#tearOff::T% */ +static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E /* = self::E|constructor#_#factory#tearOff::T% */ return self::E|constructor#factory(value); static extension-type-member method E|constructor#factoryRedirect(self::E|constructor#factoryRedirect::T% value) → self::E /* = self::E|constructor#factoryRedirect::T% */ /* redirection-target: self::E|constructor#*/ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ +static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ return self::E|constructor#(value); static method checkExtensionType() → void { #C1; @@ -165,15 +165,15 @@ static method _#ACN#factory#tearOff(self::_#ACN#factory#tea return self::C::factory(value); static method _#ACN#factoryRedirect#tearOff(self::_#ACN#factoryRedirect#tearOff::T value) → self::C return self::C::factoryRedirect(value); -static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E% /* = self::_#AEN#new#tearOff::T */ +static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E /* = self::_#AEN#new#tearOff::T */ return self::E|constructor#(value); -static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E% /* = self::_#AEN#named#tearOff::T */ +static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E /* = self::_#AEN#named#tearOff::T */ return self::E|constructor#named(value); -static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E% /* = self::_#AEN#redirect#tearOff::T */ +static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E /* = self::_#AEN#redirect#tearOff::T */ return self::E|constructor#redirect(value); -static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E% /* = self::_#AEN#factory#tearOff::T */ +static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E /* = self::_#AEN#factory#tearOff::T */ return self::E|constructor#factory(value); -static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E% /* = self::_#AEN#factoryRedirect#tearOff::T */ +static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E /* = self::_#AEN#factoryRedirect#tearOff::T */ return self::E|constructor#_#factoryRedirect#tearOff(value); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54070.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue54070.dart.weak.expect index 8da04723674b..4a6b2bd62e4e 100644 --- a/pkg/front_end/testcases/extension_types/issue54070.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue54070.dart.weak.expect @@ -90,28 +90,28 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E% /* = self::E|constructor#_#new#tearOff::T% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E /* = self::E|constructor#_#new#tearOff::T% */ return self::E|constructor#(value); static extension-type-member method E|constructor#named(self::E|constructor#named::T% value) → self::E /* = self::E|constructor#named::T% */ { lowered final self::E /* = self::E|constructor#named::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E% /* = self::E|constructor#_#named#tearOff::T% */ +static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E /* = self::E|constructor#_#named#tearOff::T% */ return self::E|constructor#named(value); static extension-type-member method E|constructor#redirect(self::E|constructor#redirect::T% value) → self::E /* = self::E|constructor#redirect::T% */ { lowered final self::E /* = self::E|constructor#redirect::T% */ #this; #this = self::E|constructor#named(value); return #this; } -static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#redirect#tearOff::T% */ +static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E /* = self::E|constructor#_#redirect#tearOff::T% */ return self::E|constructor#redirect(value); static extension-type-member method E|constructor#factory(self::E|constructor#factory::T% value) → self::E /* = self::E|constructor#factory::T% */ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E% /* = self::E|constructor#_#factory#tearOff::T% */ +static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E /* = self::E|constructor#_#factory#tearOff::T% */ return self::E|constructor#factory(value); static extension-type-member method E|constructor#factoryRedirect(self::E|constructor#factoryRedirect::T% value) → self::E /* = self::E|constructor#factoryRedirect::T% */ /* redirection-target: self::E|constructor#*/ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ +static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ return self::E|constructor#(value); static method checkExtensionType() → void { #C1; @@ -165,15 +165,15 @@ static method _#ACN#factory#tearOff(self::_#ACN#factory#tea return self::C::factory(value); static method _#ACN#factoryRedirect#tearOff(self::_#ACN#factoryRedirect#tearOff::T value) → self::C return self::C::factoryRedirect(value); -static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E% /* = self::_#AEN#new#tearOff::T */ +static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E /* = self::_#AEN#new#tearOff::T */ return self::E|constructor#(value); -static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E% /* = self::_#AEN#named#tearOff::T */ +static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E /* = self::_#AEN#named#tearOff::T */ return self::E|constructor#named(value); -static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E% /* = self::_#AEN#redirect#tearOff::T */ +static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E /* = self::_#AEN#redirect#tearOff::T */ return self::E|constructor#redirect(value); -static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E% /* = self::_#AEN#factory#tearOff::T */ +static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E /* = self::_#AEN#factory#tearOff::T */ return self::E|constructor#factory(value); -static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E% /* = self::_#AEN#factoryRedirect#tearOff::T */ +static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E /* = self::_#AEN#factoryRedirect#tearOff::T */ return self::E|constructor#_#factoryRedirect#tearOff(value); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54070.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue54070.dart.weak.modular.expect index 8da04723674b..4a6b2bd62e4e 100644 --- a/pkg/front_end/testcases/extension_types/issue54070.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue54070.dart.weak.modular.expect @@ -90,28 +90,28 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E% /* = self::E|constructor#_#new#tearOff::T% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E /* = self::E|constructor#_#new#tearOff::T% */ return self::E|constructor#(value); static extension-type-member method E|constructor#named(self::E|constructor#named::T% value) → self::E /* = self::E|constructor#named::T% */ { lowered final self::E /* = self::E|constructor#named::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E% /* = self::E|constructor#_#named#tearOff::T% */ +static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E /* = self::E|constructor#_#named#tearOff::T% */ return self::E|constructor#named(value); static extension-type-member method E|constructor#redirect(self::E|constructor#redirect::T% value) → self::E /* = self::E|constructor#redirect::T% */ { lowered final self::E /* = self::E|constructor#redirect::T% */ #this; #this = self::E|constructor#named(value); return #this; } -static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#redirect#tearOff::T% */ +static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E /* = self::E|constructor#_#redirect#tearOff::T% */ return self::E|constructor#redirect(value); static extension-type-member method E|constructor#factory(self::E|constructor#factory::T% value) → self::E /* = self::E|constructor#factory::T% */ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E% /* = self::E|constructor#_#factory#tearOff::T% */ +static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E /* = self::E|constructor#_#factory#tearOff::T% */ return self::E|constructor#factory(value); static extension-type-member method E|constructor#factoryRedirect(self::E|constructor#factoryRedirect::T% value) → self::E /* = self::E|constructor#factoryRedirect::T% */ /* redirection-target: self::E|constructor#*/ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ +static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ return self::E|constructor#(value); static method checkExtensionType() → void { #C1; @@ -165,15 +165,15 @@ static method _#ACN#factory#tearOff(self::_#ACN#factory#tea return self::C::factory(value); static method _#ACN#factoryRedirect#tearOff(self::_#ACN#factoryRedirect#tearOff::T value) → self::C return self::C::factoryRedirect(value); -static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E% /* = self::_#AEN#new#tearOff::T */ +static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E /* = self::_#AEN#new#tearOff::T */ return self::E|constructor#(value); -static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E% /* = self::_#AEN#named#tearOff::T */ +static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E /* = self::_#AEN#named#tearOff::T */ return self::E|constructor#named(value); -static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E% /* = self::_#AEN#redirect#tearOff::T */ +static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E /* = self::_#AEN#redirect#tearOff::T */ return self::E|constructor#redirect(value); -static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E% /* = self::_#AEN#factory#tearOff::T */ +static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E /* = self::_#AEN#factory#tearOff::T */ return self::E|constructor#factory(value); -static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E% /* = self::_#AEN#factoryRedirect#tearOff::T */ +static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E /* = self::_#AEN#factoryRedirect#tearOff::T */ return self::E|constructor#_#factoryRedirect#tearOff(value); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54070.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue54070.dart.weak.outline.expect index c1584703bab6..b29424ba2a66 100644 --- a/pkg/front_end/testcases/extension_types/issue54070.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54070.dart.weak.outline.expect @@ -48,23 +48,23 @@ static method checkClass() → void ; static extension-type-member method E|constructor#(self::E|constructor#::T% value) → self::E /* = self::E|constructor#::T% */ ; -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E% /* = self::E|constructor#_#new#tearOff::T% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E /* = self::E|constructor#_#new#tearOff::T% */ return self::E|constructor#(value); static extension-type-member method E|constructor#named(self::E|constructor#named::T% value) → self::E /* = self::E|constructor#named::T% */ ; -static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E% /* = self::E|constructor#_#named#tearOff::T% */ +static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E /* = self::E|constructor#_#named#tearOff::T% */ return self::E|constructor#named(value); static extension-type-member method E|constructor#redirect(self::E|constructor#redirect::T% value) → self::E /* = self::E|constructor#redirect::T% */ ; -static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#redirect#tearOff::T% */ +static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E /* = self::E|constructor#_#redirect#tearOff::T% */ return self::E|constructor#redirect(value); static extension-type-member method E|constructor#factory(self::E|constructor#factory::T% value) → self::E /* = self::E|constructor#factory::T% */ ; -static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E% /* = self::E|constructor#_#factory#tearOff::T% */ +static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E /* = self::E|constructor#_#factory#tearOff::T% */ return self::E|constructor#factory(value); static extension-type-member method E|constructor#factoryRedirect(self::E|constructor#factoryRedirect::T% value) → self::E /* = self::E|constructor#factoryRedirect::T% */ /* redirection-target: self::E|constructor#*/ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ +static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ return self::E|constructor#(value); static method checkExtensionType() → void ; @@ -78,13 +78,13 @@ static method _#ACN#factory#tearOff(self::_#ACN#factory#tea return self::C::factory(value); static method _#ACN#factoryRedirect#tearOff(self::_#ACN#factoryRedirect#tearOff::T value) → self::C return self::C::factoryRedirect(value); -static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E% /* = self::_#AEN#new#tearOff::T */ +static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E /* = self::_#AEN#new#tearOff::T */ return self::E|constructor#(value); -static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E% /* = self::_#AEN#named#tearOff::T */ +static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E /* = self::_#AEN#named#tearOff::T */ return self::E|constructor#named(value); -static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E% /* = self::_#AEN#redirect#tearOff::T */ +static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E /* = self::_#AEN#redirect#tearOff::T */ return self::E|constructor#redirect(value); -static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E% /* = self::_#AEN#factory#tearOff::T */ +static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E /* = self::_#AEN#factory#tearOff::T */ return self::E|constructor#factory(value); -static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E% /* = self::_#AEN#factoryRedirect#tearOff::T */ +static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E /* = self::_#AEN#factoryRedirect#tearOff::T */ return self::E|constructor#_#factoryRedirect#tearOff(value); diff --git a/pkg/front_end/testcases/extension_types/issue54070.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue54070.dart.weak.transformed.expect index 8da04723674b..4a6b2bd62e4e 100644 --- a/pkg/front_end/testcases/extension_types/issue54070.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54070.dart.weak.transformed.expect @@ -90,28 +90,28 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E% /* = self::E|constructor#_#new#tearOff::T% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::T% value) → self::E /* = self::E|constructor#_#new#tearOff::T% */ return self::E|constructor#(value); static extension-type-member method E|constructor#named(self::E|constructor#named::T% value) → self::E /* = self::E|constructor#named::T% */ { lowered final self::E /* = self::E|constructor#named::T% */ #this = value; return #this; } -static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E% /* = self::E|constructor#_#named#tearOff::T% */ +static extension-type-member method E|constructor#_#named#tearOff(self::E|constructor#_#named#tearOff::T% value) → self::E /* = self::E|constructor#_#named#tearOff::T% */ return self::E|constructor#named(value); static extension-type-member method E|constructor#redirect(self::E|constructor#redirect::T% value) → self::E /* = self::E|constructor#redirect::T% */ { lowered final self::E /* = self::E|constructor#redirect::T% */ #this; #this = self::E|constructor#named(value); return #this; } -static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#redirect#tearOff::T% */ +static extension-type-member method E|constructor#_#redirect#tearOff(self::E|constructor#_#redirect#tearOff::T% value) → self::E /* = self::E|constructor#_#redirect#tearOff::T% */ return self::E|constructor#redirect(value); static extension-type-member method E|constructor#factory(self::E|constructor#factory::T% value) → self::E /* = self::E|constructor#factory::T% */ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E% /* = self::E|constructor#_#factory#tearOff::T% */ +static extension-type-member method E|constructor#_#factory#tearOff(self::E|constructor#_#factory#tearOff::T% value) → self::E /* = self::E|constructor#_#factory#tearOff::T% */ return self::E|constructor#factory(value); static extension-type-member method E|constructor#factoryRedirect(self::E|constructor#factoryRedirect::T% value) → self::E /* = self::E|constructor#factoryRedirect::T% */ /* redirection-target: self::E|constructor#*/ return self::E|constructor#(value); -static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E% /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ +static extension-type-member method E|constructor#_#factoryRedirect#tearOff(self::E|constructor#_#factoryRedirect#tearOff::T% value) → self::E /* = self::E|constructor#_#factoryRedirect#tearOff::T% */ return self::E|constructor#(value); static method checkExtensionType() → void { #C1; @@ -165,15 +165,15 @@ static method _#ACN#factory#tearOff(self::_#ACN#factory#tea return self::C::factory(value); static method _#ACN#factoryRedirect#tearOff(self::_#ACN#factoryRedirect#tearOff::T value) → self::C return self::C::factoryRedirect(value); -static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E% /* = self::_#AEN#new#tearOff::T */ +static method _#AEN#new#tearOff(self::_#AEN#new#tearOff::T value) → self::E /* = self::_#AEN#new#tearOff::T */ return self::E|constructor#(value); -static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E% /* = self::_#AEN#named#tearOff::T */ +static method _#AEN#named#tearOff(self::_#AEN#named#tearOff::T value) → self::E /* = self::_#AEN#named#tearOff::T */ return self::E|constructor#named(value); -static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E% /* = self::_#AEN#redirect#tearOff::T */ +static method _#AEN#redirect#tearOff(self::_#AEN#redirect#tearOff::T value) → self::E /* = self::_#AEN#redirect#tearOff::T */ return self::E|constructor#redirect(value); -static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E% /* = self::_#AEN#factory#tearOff::T */ +static method _#AEN#factory#tearOff(self::_#AEN#factory#tearOff::T value) → self::E /* = self::_#AEN#factory#tearOff::T */ return self::E|constructor#factory(value); -static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E% /* = self::_#AEN#factoryRedirect#tearOff::T */ +static method _#AEN#factoryRedirect#tearOff(self::_#AEN#factoryRedirect#tearOff::T value) → self::E /* = self::_#AEN#factoryRedirect#tearOff::T */ return self::E|constructor#_#factoryRedirect#tearOff(value); constants { diff --git a/pkg/front_end/testcases/extension_types/issue54097.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue54097.dart.strong.expect index 4d96bbe866e9..4d89411bbe1a 100644 --- a/pkg/front_end/testcases/extension_types/issue54097.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue54097.dart.strong.expect @@ -176,7 +176,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static method foo1 /* = dynamic */>() → dynamic {} static method bar1() → dynamic { @@ -188,7 +188,7 @@ static extension-type-member method ET1|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1% /* = core::Object? */ +static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1 /* = core::Object? */ return self::ET1|constructor#(it); static method foo2 /* = dynamic */, Y extends self::foo2::X% = dynamic>() → dynamic {} static method bar2() → dynamic { @@ -200,7 +200,7 @@ static extension-type-member method ET2|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2% /* = core::Object? */ +static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2 /* = core::Object? */ return self::ET2|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#F1#fromEnvironment#tearOff /* = dynamic */>(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); diff --git a/pkg/front_end/testcases/extension_types/issue54097.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue54097.dart.strong.transformed.expect index 4d96bbe866e9..4d89411bbe1a 100644 --- a/pkg/front_end/testcases/extension_types/issue54097.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54097.dart.strong.transformed.expect @@ -176,7 +176,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static method foo1 /* = dynamic */>() → dynamic {} static method bar1() → dynamic { @@ -188,7 +188,7 @@ static extension-type-member method ET1|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1% /* = core::Object? */ +static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1 /* = core::Object? */ return self::ET1|constructor#(it); static method foo2 /* = dynamic */, Y extends self::foo2::X% = dynamic>() → dynamic {} static method bar2() → dynamic { @@ -200,7 +200,7 @@ static extension-type-member method ET2|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2% /* = core::Object? */ +static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2 /* = core::Object? */ return self::ET2|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#F1#fromEnvironment#tearOff /* = dynamic */>(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); diff --git a/pkg/front_end/testcases/extension_types/issue54097.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue54097.dart.weak.expect index 90454809e2d8..8eb79219f770 100644 --- a/pkg/front_end/testcases/extension_types/issue54097.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue54097.dart.weak.expect @@ -176,7 +176,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static method foo1 /* = dynamic */>() → dynamic {} static method bar1() → dynamic { @@ -188,7 +188,7 @@ static extension-type-member method ET1|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1% /* = core::Object? */ +static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1 /* = core::Object? */ return self::ET1|constructor#(it); static method foo2 /* = dynamic */, Y extends self::foo2::X% = dynamic>() → dynamic {} static method bar2() → dynamic { @@ -200,7 +200,7 @@ static extension-type-member method ET2|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2% /* = core::Object? */ +static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2 /* = core::Object? */ return self::ET2|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#F1#fromEnvironment#tearOff /* = dynamic */>(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); diff --git a/pkg/front_end/testcases/extension_types/issue54097.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue54097.dart.weak.modular.expect index 90454809e2d8..8eb79219f770 100644 --- a/pkg/front_end/testcases/extension_types/issue54097.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue54097.dart.weak.modular.expect @@ -176,7 +176,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static method foo1 /* = dynamic */>() → dynamic {} static method bar1() → dynamic { @@ -188,7 +188,7 @@ static extension-type-member method ET1|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1% /* = core::Object? */ +static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1 /* = core::Object? */ return self::ET1|constructor#(it); static method foo2 /* = dynamic */, Y extends self::foo2::X% = dynamic>() → dynamic {} static method bar2() → dynamic { @@ -200,7 +200,7 @@ static extension-type-member method ET2|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2% /* = core::Object? */ +static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2 /* = core::Object? */ return self::ET2|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#F1#fromEnvironment#tearOff /* = dynamic */>(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); diff --git a/pkg/front_end/testcases/extension_types/issue54097.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue54097.dart.weak.outline.expect index af500bc7560a..2b9ade0cdda3 100644 --- a/pkg/front_end/testcases/extension_types/issue54097.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54097.dart.weak.outline.expect @@ -152,7 +152,7 @@ extension type ET2 /* = dynamic */, Y } static extension-type-member method E1|constructor#(self::E1|constructor#::X% it) → self::E1 /* = self::E1|constructor#::X% */ ; -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static method foo1 /* = dynamic */>() → dynamic ; @@ -160,7 +160,7 @@ static method bar1() → dynamic ; static extension-type-member method ET1|constructor# /* = dynamic */>(core::Object? it) → self::ET1 /* = core::Object? */ ; -static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1% /* = core::Object? */ +static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1 /* = core::Object? */ return self::ET1|constructor#(it); static method foo2 /* = dynamic */, Y extends self::foo2::X% = dynamic>() → dynamic ; @@ -168,7 +168,7 @@ static method bar2() → dynamic ; static extension-type-member method ET2|constructor# /* = dynamic */, Y extends self::ET2|constructor#::X% = dynamic>(core::Object? it) → self::ET2 /* = core::Object? */ ; -static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2% /* = core::Object? */ +static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2 /* = core::Object? */ return self::ET2|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#F1#fromEnvironment#tearOff /* = dynamic */>(core::String name, {has-declared-initializer core::int defaultValue}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); diff --git a/pkg/front_end/testcases/extension_types/issue54097.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue54097.dart.weak.transformed.expect index 90454809e2d8..8eb79219f770 100644 --- a/pkg/front_end/testcases/extension_types/issue54097.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54097.dart.weak.transformed.expect @@ -176,7 +176,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static method foo1 /* = dynamic */>() → dynamic {} static method bar1() → dynamic { @@ -188,7 +188,7 @@ static extension-type-member method ET1|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1% /* = core::Object? */ +static extension-type-member method ET1|constructor#_#new#tearOff /* = dynamic */>(core::Object? it) → self::ET1 /* = core::Object? */ return self::ET1|constructor#(it); static method foo2 /* = dynamic */, Y extends self::foo2::X% = dynamic>() → dynamic {} static method bar2() → dynamic { @@ -200,7 +200,7 @@ static extension-type-member method ET2|constructor# /* = core::Object? */ #this = it; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2% /* = core::Object? */ +static extension-type-member method ET2|constructor#_#new#tearOff /* = dynamic */, Y extends self::ET2|constructor#_#new#tearOff::X% = dynamic>(core::Object? it) → self::ET2 /* = core::Object? */ return self::ET2|constructor#(it); static method /* from org-dartlang-sdk:///sdk/lib/_internal/vm_shared/lib/integers_patch.dart */ _#F1#fromEnvironment#tearOff /* = dynamic */>(core::String name, {core::int defaultValue = #C1}) → core::int return core::int::fromEnvironment(name, defaultValue: defaultValue); diff --git a/pkg/front_end/testcases/extension_types/issue54097_2.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue54097_2.dart.strong.expect index d60517f79486..86f6a0499ffa 100644 --- a/pkg/front_end/testcases/extension_types/issue54097_2.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue54097_2.dart.strong.expect @@ -187,7 +187,7 @@ class AF11 extends core::Object { : super core::Object::•() ; } -class AF12% /* = dynamic */> extends core::Object { +class AF12 /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF12 : super core::Object::•() ; @@ -212,7 +212,7 @@ class AF16 extends core::Object { : super core::Object::•() ; } -class AF17% /* = dynamic */>% /* = dynamic */> extends core::Object { +class AF17 /* = dynamic */> /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF17 : super core::Object::•() ; @@ -291,43 +291,43 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E2|constructor#::X% it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); static extension-type-member method E3|constructor#(self::E1% /* = self::E3|constructor#::X% */ it) → self::E3 /* = self::E3|constructor#::X% */ { lowered final self::E3 /* = self::E3|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3% /* = self::E3|constructor#_#new#tearOff::X% */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3 /* = self::E3|constructor#_#new#tearOff::X% */ return self::E3|constructor#(it); static extension-type-member method E4|constructor#(self::E1% /* = self::E4|constructor#::X% */ it) → self::E4 /* = self::E4|constructor#::X% */ { lowered final self::E4 /* = self::E4|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4% /* = self::E4|constructor#_#new#tearOff::X% */ +static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4 /* = self::E4|constructor#_#new#tearOff::X% */ return self::E4|constructor#(it); static extension-type-member method E5|constructor#(self::E1% /* = self::E5|constructor#::X% */>% /* = self::E5|constructor#::X% */ it) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); -static extension-type-member method E6|constructor#(self::E1% /* = self::E6|constructor#::X% */>% /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { +static extension-type-member method E6|constructor#(self::E1 /* = self::E6|constructor#::X% */> /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { lowered final self::E6 /* = self::E6|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E6|constructor#_#new#tearOff(self::E1% /* = self::E6|constructor#_#new#tearOff::X% */>% /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6% /* = self::E6|constructor#_#new#tearOff::X% */ +static extension-type-member method E6|constructor#_#new#tearOff(self::E1 /* = self::E6|constructor#_#new#tearOff::X% */> /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6 /* = self::E6|constructor#_#new#tearOff::X% */ return self::E6|constructor#(it); static extension-type-member method E7|constructor#(self::E7|constructor#::X% it) → self::E7 /* = self::E7|constructor#::X% */ { lowered final self::E7 /* = self::E7|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7% /* = self::E7|constructor#_#new#tearOff::X% */ +static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7 /* = self::E7|constructor#_#new#tearOff::X% */ return self::E7|constructor#(it); static method test() → dynamic { () → Null {}; @@ -345,5 +345,5 @@ static method test() → dynamic { () → Null {}; () → Null {}; } -static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */>% /* = self::_#F7#new#tearOff::X% */ - return self::E1|constructor#% /* = self::_#F7#new#tearOff::X% */>(it); +static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */> /* = self::_#F7#new#tearOff::X% */ + return self::E1|constructor# /* = self::_#F7#new#tearOff::X% */>(it); diff --git a/pkg/front_end/testcases/extension_types/issue54097_2.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue54097_2.dart.strong.transformed.expect index d60517f79486..86f6a0499ffa 100644 --- a/pkg/front_end/testcases/extension_types/issue54097_2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54097_2.dart.strong.transformed.expect @@ -187,7 +187,7 @@ class AF11 extends core::Object { : super core::Object::•() ; } -class AF12% /* = dynamic */> extends core::Object { +class AF12 /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF12 : super core::Object::•() ; @@ -212,7 +212,7 @@ class AF16 extends core::Object { : super core::Object::•() ; } -class AF17% /* = dynamic */>% /* = dynamic */> extends core::Object { +class AF17 /* = dynamic */> /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF17 : super core::Object::•() ; @@ -291,43 +291,43 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E2|constructor#::X% it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); static extension-type-member method E3|constructor#(self::E1% /* = self::E3|constructor#::X% */ it) → self::E3 /* = self::E3|constructor#::X% */ { lowered final self::E3 /* = self::E3|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3% /* = self::E3|constructor#_#new#tearOff::X% */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3 /* = self::E3|constructor#_#new#tearOff::X% */ return self::E3|constructor#(it); static extension-type-member method E4|constructor#(self::E1% /* = self::E4|constructor#::X% */ it) → self::E4 /* = self::E4|constructor#::X% */ { lowered final self::E4 /* = self::E4|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4% /* = self::E4|constructor#_#new#tearOff::X% */ +static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4 /* = self::E4|constructor#_#new#tearOff::X% */ return self::E4|constructor#(it); static extension-type-member method E5|constructor#(self::E1% /* = self::E5|constructor#::X% */>% /* = self::E5|constructor#::X% */ it) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); -static extension-type-member method E6|constructor#(self::E1% /* = self::E6|constructor#::X% */>% /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { +static extension-type-member method E6|constructor#(self::E1 /* = self::E6|constructor#::X% */> /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { lowered final self::E6 /* = self::E6|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E6|constructor#_#new#tearOff(self::E1% /* = self::E6|constructor#_#new#tearOff::X% */>% /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6% /* = self::E6|constructor#_#new#tearOff::X% */ +static extension-type-member method E6|constructor#_#new#tearOff(self::E1 /* = self::E6|constructor#_#new#tearOff::X% */> /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6 /* = self::E6|constructor#_#new#tearOff::X% */ return self::E6|constructor#(it); static extension-type-member method E7|constructor#(self::E7|constructor#::X% it) → self::E7 /* = self::E7|constructor#::X% */ { lowered final self::E7 /* = self::E7|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7% /* = self::E7|constructor#_#new#tearOff::X% */ +static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7 /* = self::E7|constructor#_#new#tearOff::X% */ return self::E7|constructor#(it); static method test() → dynamic { () → Null {}; @@ -345,5 +345,5 @@ static method test() → dynamic { () → Null {}; () → Null {}; } -static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */>% /* = self::_#F7#new#tearOff::X% */ - return self::E1|constructor#% /* = self::_#F7#new#tearOff::X% */>(it); +static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */> /* = self::_#F7#new#tearOff::X% */ + return self::E1|constructor# /* = self::_#F7#new#tearOff::X% */>(it); diff --git a/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.expect index d60517f79486..86f6a0499ffa 100644 --- a/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.expect @@ -187,7 +187,7 @@ class AF11 extends core::Object { : super core::Object::•() ; } -class AF12% /* = dynamic */> extends core::Object { +class AF12 /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF12 : super core::Object::•() ; @@ -212,7 +212,7 @@ class AF16 extends core::Object { : super core::Object::•() ; } -class AF17% /* = dynamic */>% /* = dynamic */> extends core::Object { +class AF17 /* = dynamic */> /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF17 : super core::Object::•() ; @@ -291,43 +291,43 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E2|constructor#::X% it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); static extension-type-member method E3|constructor#(self::E1% /* = self::E3|constructor#::X% */ it) → self::E3 /* = self::E3|constructor#::X% */ { lowered final self::E3 /* = self::E3|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3% /* = self::E3|constructor#_#new#tearOff::X% */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3 /* = self::E3|constructor#_#new#tearOff::X% */ return self::E3|constructor#(it); static extension-type-member method E4|constructor#(self::E1% /* = self::E4|constructor#::X% */ it) → self::E4 /* = self::E4|constructor#::X% */ { lowered final self::E4 /* = self::E4|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4% /* = self::E4|constructor#_#new#tearOff::X% */ +static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4 /* = self::E4|constructor#_#new#tearOff::X% */ return self::E4|constructor#(it); static extension-type-member method E5|constructor#(self::E1% /* = self::E5|constructor#::X% */>% /* = self::E5|constructor#::X% */ it) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); -static extension-type-member method E6|constructor#(self::E1% /* = self::E6|constructor#::X% */>% /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { +static extension-type-member method E6|constructor#(self::E1 /* = self::E6|constructor#::X% */> /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { lowered final self::E6 /* = self::E6|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E6|constructor#_#new#tearOff(self::E1% /* = self::E6|constructor#_#new#tearOff::X% */>% /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6% /* = self::E6|constructor#_#new#tearOff::X% */ +static extension-type-member method E6|constructor#_#new#tearOff(self::E1 /* = self::E6|constructor#_#new#tearOff::X% */> /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6 /* = self::E6|constructor#_#new#tearOff::X% */ return self::E6|constructor#(it); static extension-type-member method E7|constructor#(self::E7|constructor#::X% it) → self::E7 /* = self::E7|constructor#::X% */ { lowered final self::E7 /* = self::E7|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7% /* = self::E7|constructor#_#new#tearOff::X% */ +static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7 /* = self::E7|constructor#_#new#tearOff::X% */ return self::E7|constructor#(it); static method test() → dynamic { () → Null {}; @@ -345,5 +345,5 @@ static method test() → dynamic { () → Null {}; () → Null {}; } -static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */>% /* = self::_#F7#new#tearOff::X% */ - return self::E1|constructor#% /* = self::_#F7#new#tearOff::X% */>(it); +static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */> /* = self::_#F7#new#tearOff::X% */ + return self::E1|constructor# /* = self::_#F7#new#tearOff::X% */>(it); diff --git a/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.modular.expect index d60517f79486..86f6a0499ffa 100644 --- a/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.modular.expect @@ -187,7 +187,7 @@ class AF11 extends core::Object { : super core::Object::•() ; } -class AF12% /* = dynamic */> extends core::Object { +class AF12 /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF12 : super core::Object::•() ; @@ -212,7 +212,7 @@ class AF16 extends core::Object { : super core::Object::•() ; } -class AF17% /* = dynamic */>% /* = dynamic */> extends core::Object { +class AF17 /* = dynamic */> /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF17 : super core::Object::•() ; @@ -291,43 +291,43 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E2|constructor#::X% it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); static extension-type-member method E3|constructor#(self::E1% /* = self::E3|constructor#::X% */ it) → self::E3 /* = self::E3|constructor#::X% */ { lowered final self::E3 /* = self::E3|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3% /* = self::E3|constructor#_#new#tearOff::X% */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3 /* = self::E3|constructor#_#new#tearOff::X% */ return self::E3|constructor#(it); static extension-type-member method E4|constructor#(self::E1% /* = self::E4|constructor#::X% */ it) → self::E4 /* = self::E4|constructor#::X% */ { lowered final self::E4 /* = self::E4|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4% /* = self::E4|constructor#_#new#tearOff::X% */ +static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4 /* = self::E4|constructor#_#new#tearOff::X% */ return self::E4|constructor#(it); static extension-type-member method E5|constructor#(self::E1% /* = self::E5|constructor#::X% */>% /* = self::E5|constructor#::X% */ it) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); -static extension-type-member method E6|constructor#(self::E1% /* = self::E6|constructor#::X% */>% /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { +static extension-type-member method E6|constructor#(self::E1 /* = self::E6|constructor#::X% */> /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { lowered final self::E6 /* = self::E6|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E6|constructor#_#new#tearOff(self::E1% /* = self::E6|constructor#_#new#tearOff::X% */>% /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6% /* = self::E6|constructor#_#new#tearOff::X% */ +static extension-type-member method E6|constructor#_#new#tearOff(self::E1 /* = self::E6|constructor#_#new#tearOff::X% */> /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6 /* = self::E6|constructor#_#new#tearOff::X% */ return self::E6|constructor#(it); static extension-type-member method E7|constructor#(self::E7|constructor#::X% it) → self::E7 /* = self::E7|constructor#::X% */ { lowered final self::E7 /* = self::E7|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7% /* = self::E7|constructor#_#new#tearOff::X% */ +static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7 /* = self::E7|constructor#_#new#tearOff::X% */ return self::E7|constructor#(it); static method test() → dynamic { () → Null {}; @@ -345,5 +345,5 @@ static method test() → dynamic { () → Null {}; () → Null {}; } -static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */>% /* = self::_#F7#new#tearOff::X% */ - return self::E1|constructor#% /* = self::_#F7#new#tearOff::X% */>(it); +static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */> /* = self::_#F7#new#tearOff::X% */ + return self::E1|constructor# /* = self::_#F7#new#tearOff::X% */>(it); diff --git a/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.outline.expect index 62f415f1e7da..494a7cd0270b 100644 --- a/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.outline.expect @@ -113,7 +113,7 @@ class AF11 extends core::Object { synthetic constructor •() → self::AF11 ; } -class AF12% /* = dynamic */> extends core::Object { +class AF12 /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF12 ; } @@ -133,7 +133,7 @@ class AF16 extends core::Object { synthetic constructor •() → self::AF16 ; } -class AF17% /* = dynamic */>% /* = dynamic */> extends core::Object { +class AF17 /* = dynamic */> /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF17 ; } @@ -202,33 +202,33 @@ extension type E7(X% it) { } static extension-type-member method E1|constructor#(self::E1|constructor#::X% it) → self::E1 /* = self::E1|constructor#::X% */ ; -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E2|constructor#::X% it) → self::E2 /* = self::E2|constructor#::X% */ ; -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); static extension-type-member method E3|constructor#(self::E1% /* = self::E3|constructor#::X% */ it) → self::E3 /* = self::E3|constructor#::X% */ ; -static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3% /* = self::E3|constructor#_#new#tearOff::X% */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3 /* = self::E3|constructor#_#new#tearOff::X% */ return self::E3|constructor#(it); static extension-type-member method E4|constructor#(self::E1% /* = self::E4|constructor#::X% */ it) → self::E4 /* = self::E4|constructor#::X% */ ; -static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4% /* = self::E4|constructor#_#new#tearOff::X% */ +static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4 /* = self::E4|constructor#_#new#tearOff::X% */ return self::E4|constructor#(it); static extension-type-member method E5|constructor#(self::E1% /* = self::E5|constructor#::X% */>% /* = self::E5|constructor#::X% */ it) → self::E5 /* = self::E5|constructor#::X% */ ; -static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); -static extension-type-member method E6|constructor#(self::E1% /* = self::E6|constructor#::X% */>% /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ +static extension-type-member method E6|constructor#(self::E1 /* = self::E6|constructor#::X% */> /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ ; -static extension-type-member method E6|constructor#_#new#tearOff(self::E1% /* = self::E6|constructor#_#new#tearOff::X% */>% /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6% /* = self::E6|constructor#_#new#tearOff::X% */ +static extension-type-member method E6|constructor#_#new#tearOff(self::E1 /* = self::E6|constructor#_#new#tearOff::X% */> /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6 /* = self::E6|constructor#_#new#tearOff::X% */ return self::E6|constructor#(it); static extension-type-member method E7|constructor#(self::E7|constructor#::X% it) → self::E7 /* = self::E7|constructor#::X% */ ; -static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7% /* = self::E7|constructor#_#new#tearOff::X% */ +static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7 /* = self::E7|constructor#_#new#tearOff::X% */ return self::E7|constructor#(it); static method test() → dynamic ; -static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */>% /* = self::_#F7#new#tearOff::X% */ - return self::E1|constructor#% /* = self::_#F7#new#tearOff::X% */>(it); +static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */> /* = self::_#F7#new#tearOff::X% */ + return self::E1|constructor# /* = self::_#F7#new#tearOff::X% */>(it); diff --git a/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.transformed.expect index d60517f79486..86f6a0499ffa 100644 --- a/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54097_2.dart.weak.transformed.expect @@ -187,7 +187,7 @@ class AF11 extends core::Object { : super core::Object::•() ; } -class AF12% /* = dynamic */> extends core::Object { +class AF12 /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF12 : super core::Object::•() ; @@ -212,7 +212,7 @@ class AF16 extends core::Object { : super core::Object::•() ; } -class AF17% /* = dynamic */>% /* = dynamic */> extends core::Object { +class AF17 /* = dynamic */> /* = dynamic */> extends core::Object { synthetic constructor •() → self::AF17 : super core::Object::•() ; @@ -291,43 +291,43 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E2|constructor#::X% it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E2|constructor#_#new#tearOff::X% it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); static extension-type-member method E3|constructor#(self::E1% /* = self::E3|constructor#::X% */ it) → self::E3 /* = self::E3|constructor#::X% */ { lowered final self::E3 /* = self::E3|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3% /* = self::E3|constructor#_#new#tearOff::X% */ +static extension-type-member method E3|constructor#_#new#tearOff(self::E1% /* = self::E3|constructor#_#new#tearOff::X% */ it) → self::E3 /* = self::E3|constructor#_#new#tearOff::X% */ return self::E3|constructor#(it); static extension-type-member method E4|constructor#(self::E1% /* = self::E4|constructor#::X% */ it) → self::E4 /* = self::E4|constructor#::X% */ { lowered final self::E4 /* = self::E4|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4% /* = self::E4|constructor#_#new#tearOff::X% */ +static extension-type-member method E4|constructor#_#new#tearOff(self::E1% /* = self::E4|constructor#_#new#tearOff::X% */ it) → self::E4 /* = self::E4|constructor#_#new#tearOff::X% */ return self::E4|constructor#(it); static extension-type-member method E5|constructor#(self::E1% /* = self::E5|constructor#::X% */>% /* = self::E5|constructor#::X% */ it) → self::E5 /* = self::E5|constructor#::X% */ { lowered final self::E5 /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E1% /* = self::E5|constructor#_#new#tearOff::X% */>% /* = self::E5|constructor#_#new#tearOff::X% */ it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); -static extension-type-member method E6|constructor#(self::E1% /* = self::E6|constructor#::X% */>% /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { +static extension-type-member method E6|constructor#(self::E1 /* = self::E6|constructor#::X% */> /* = self::E6|constructor#::X% */ it) → self::E6 /* = self::E6|constructor#::X% */ { lowered final self::E6 /* = self::E6|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E6|constructor#_#new#tearOff(self::E1% /* = self::E6|constructor#_#new#tearOff::X% */>% /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6% /* = self::E6|constructor#_#new#tearOff::X% */ +static extension-type-member method E6|constructor#_#new#tearOff(self::E1 /* = self::E6|constructor#_#new#tearOff::X% */> /* = self::E6|constructor#_#new#tearOff::X% */ it) → self::E6 /* = self::E6|constructor#_#new#tearOff::X% */ return self::E6|constructor#(it); static extension-type-member method E7|constructor#(self::E7|constructor#::X% it) → self::E7 /* = self::E7|constructor#::X% */ { lowered final self::E7 /* = self::E7|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7% /* = self::E7|constructor#_#new#tearOff::X% */ +static extension-type-member method E7|constructor#_#new#tearOff(self::E7|constructor#_#new#tearOff::X% it) → self::E7 /* = self::E7|constructor#_#new#tearOff::X% */ return self::E7|constructor#(it); static method test() → dynamic { () → Null {}; @@ -345,5 +345,5 @@ static method test() → dynamic { () → Null {}; () → Null {}; } -static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */>% /* = self::_#F7#new#tearOff::X% */ - return self::E1|constructor#% /* = self::_#F7#new#tearOff::X% */>(it); +static method _#F7#new#tearOff(self::E1% /* = self::_#F7#new#tearOff::X% */ it) → self::E1% /* = self::_#F7#new#tearOff::X% */> /* = self::_#F7#new#tearOff::X% */ + return self::E1|constructor# /* = self::_#F7#new#tearOff::X% */>(it); diff --git a/pkg/front_end/testcases/extension_types/issue54169.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue54169.dart.strong.expect index 60971c62481c..e67473d2c6d9 100644 --- a/pkg/front_end/testcases/extension_types/issue54169.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue54169.dart.strong.expect @@ -17,11 +17,11 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E1% /* = self::E2|constructor#::X% */>% /* = self::E2|constructor#::X% */ it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54169.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue54169.dart.strong.transformed.expect index 60971c62481c..e67473d2c6d9 100644 --- a/pkg/front_end/testcases/extension_types/issue54169.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54169.dart.strong.transformed.expect @@ -17,11 +17,11 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E1% /* = self::E2|constructor#::X% */>% /* = self::E2|constructor#::X% */ it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54169.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue54169.dart.weak.expect index 60971c62481c..e67473d2c6d9 100644 --- a/pkg/front_end/testcases/extension_types/issue54169.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue54169.dart.weak.expect @@ -17,11 +17,11 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E1% /* = self::E2|constructor#::X% */>% /* = self::E2|constructor#::X% */ it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54169.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue54169.dart.weak.modular.expect index 60971c62481c..e67473d2c6d9 100644 --- a/pkg/front_end/testcases/extension_types/issue54169.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue54169.dart.weak.modular.expect @@ -17,11 +17,11 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E1% /* = self::E2|constructor#::X% */>% /* = self::E2|constructor#::X% */ it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54169.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue54169.dart.weak.outline.expect index c0ac83e2746e..357409cc023a 100644 --- a/pkg/front_end/testcases/extension_types/issue54169.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54169.dart.weak.outline.expect @@ -15,9 +15,9 @@ extension type E2(self::E1% /* = } static extension-type-member method E1|constructor#(self::E1|constructor#::X% it) → self::E1 /* = self::E1|constructor#::X% */ ; -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E1% /* = self::E2|constructor#::X% */>% /* = self::E2|constructor#::X% */ it) → self::E2 /* = self::E2|constructor#::X% */ ; -static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54169.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue54169.dart.weak.transformed.expect index 60971c62481c..e67473d2c6d9 100644 --- a/pkg/front_end/testcases/extension_types/issue54169.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54169.dart.weak.transformed.expect @@ -17,11 +17,11 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1% /* = self::E1|constructor#_#new#tearOff::X% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::X% it) → self::E1 /* = self::E1|constructor#_#new#tearOff::X% */ return self::E1|constructor#(it); static extension-type-member method E2|constructor#(self::E1% /* = self::E2|constructor#::X% */>% /* = self::E2|constructor#::X% */ it) → self::E2 /* = self::E2|constructor#::X% */ { lowered final self::E2 /* = self::E2|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2% /* = self::E2|constructor#_#new#tearOff::X% */ +static extension-type-member method E2|constructor#_#new#tearOff(self::E1% /* = self::E2|constructor#_#new#tearOff::X% */>% /* = self::E2|constructor#_#new#tearOff::X% */ it) → self::E2 /* = self::E2|constructor#_#new#tearOff::X% */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54186.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue54186.dart.strong.expect index 46d16051afd5..6c380a916710 100644 --- a/pkg/front_end/testcases/extension_types/issue54186.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue54186.dart.strong.expect @@ -27,11 +27,11 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E2|constructor#(invalid-type it) → self::E2 /* = invalid-type */ { lowered final self::E2 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2 /* = invalid-type */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54186.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue54186.dart.strong.transformed.expect index 46d16051afd5..6c380a916710 100644 --- a/pkg/front_end/testcases/extension_types/issue54186.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54186.dart.strong.transformed.expect @@ -27,11 +27,11 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E2|constructor#(invalid-type it) → self::E2 /* = invalid-type */ { lowered final self::E2 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2 /* = invalid-type */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54186.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue54186.dart.weak.expect index 46d16051afd5..6c380a916710 100644 --- a/pkg/front_end/testcases/extension_types/issue54186.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue54186.dart.weak.expect @@ -27,11 +27,11 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E2|constructor#(invalid-type it) → self::E2 /* = invalid-type */ { lowered final self::E2 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2 /* = invalid-type */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54186.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue54186.dart.weak.modular.expect index 46d16051afd5..6c380a916710 100644 --- a/pkg/front_end/testcases/extension_types/issue54186.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue54186.dart.weak.modular.expect @@ -27,11 +27,11 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E2|constructor#(invalid-type it) → self::E2 /* = invalid-type */ { lowered final self::E2 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2 /* = invalid-type */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54186.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue54186.dart.weak.outline.expect index 5c65ef639b6e..55da932c00ec 100644 --- a/pkg/front_end/testcases/extension_types/issue54186.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54186.dart.weak.outline.expect @@ -25,9 +25,9 @@ extension type E2(invalid-type it) { } static extension-type-member method E|constructor#(self::E|constructor#::X% it) → self::E /* = self::E|constructor#::X% */ ; -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E2|constructor#(invalid-type it) → self::E2 /* = invalid-type */ ; -static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2 /* = invalid-type */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54186.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue54186.dart.weak.transformed.expect index 46d16051afd5..6c380a916710 100644 --- a/pkg/front_end/testcases/extension_types/issue54186.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54186.dart.weak.transformed.expect @@ -27,11 +27,11 @@ static extension-type-member method E|constructor# /* = self::E|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E% /* = self::E|constructor#_#new#tearOff::X% */ +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ return self::E|constructor#(it); static extension-type-member method E2|constructor#(invalid-type it) → self::E2 /* = invalid-type */ { lowered final self::E2 /* = invalid-type */ #this = it; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2% /* = invalid-type */ +static extension-type-member method E2|constructor#_#new#tearOff(invalid-type it) → self::E2 /* = invalid-type */ return self::E2|constructor#(it); diff --git a/pkg/front_end/testcases/extension_types/issue54602.dart.strong.expect b/pkg/front_end/testcases/extension_types/issue54602.dart.strong.expect index af7e8a0317c1..dff94bd024ae 100644 --- a/pkg/front_end/testcases/extension_types/issue54602.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/issue54602.dart.strong.expect @@ -36,17 +36,17 @@ static extension-type-member method E1|constructor# /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1% /* = core::Object? */ +static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1 /* = core::Object? */ return self::E1|constructor#(_); static extension-type-member method E2|constructor#(core::Object? _) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2% /* = core::Object? */ +static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2 /* = core::Object? */ return self::E2|constructor#(_); static extension-type-member method E3|constructor#(core::Object? _) → self::E3 /* = core::Object? */ { lowered final self::E3 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3% /* = core::Object? */ +static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3 /* = core::Object? */ return self::E3|constructor#(_); diff --git a/pkg/front_end/testcases/extension_types/issue54602.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/issue54602.dart.strong.transformed.expect index af7e8a0317c1..dff94bd024ae 100644 --- a/pkg/front_end/testcases/extension_types/issue54602.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54602.dart.strong.transformed.expect @@ -36,17 +36,17 @@ static extension-type-member method E1|constructor# /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1% /* = core::Object? */ +static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1 /* = core::Object? */ return self::E1|constructor#(_); static extension-type-member method E2|constructor#(core::Object? _) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2% /* = core::Object? */ +static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2 /* = core::Object? */ return self::E2|constructor#(_); static extension-type-member method E3|constructor#(core::Object? _) → self::E3 /* = core::Object? */ { lowered final self::E3 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3% /* = core::Object? */ +static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3 /* = core::Object? */ return self::E3|constructor#(_); diff --git a/pkg/front_end/testcases/extension_types/issue54602.dart.weak.expect b/pkg/front_end/testcases/extension_types/issue54602.dart.weak.expect index af7e8a0317c1..dff94bd024ae 100644 --- a/pkg/front_end/testcases/extension_types/issue54602.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/issue54602.dart.weak.expect @@ -36,17 +36,17 @@ static extension-type-member method E1|constructor# /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1% /* = core::Object? */ +static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1 /* = core::Object? */ return self::E1|constructor#(_); static extension-type-member method E2|constructor#(core::Object? _) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2% /* = core::Object? */ +static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2 /* = core::Object? */ return self::E2|constructor#(_); static extension-type-member method E3|constructor#(core::Object? _) → self::E3 /* = core::Object? */ { lowered final self::E3 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3% /* = core::Object? */ +static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3 /* = core::Object? */ return self::E3|constructor#(_); diff --git a/pkg/front_end/testcases/extension_types/issue54602.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/issue54602.dart.weak.modular.expect index af7e8a0317c1..dff94bd024ae 100644 --- a/pkg/front_end/testcases/extension_types/issue54602.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/issue54602.dart.weak.modular.expect @@ -36,17 +36,17 @@ static extension-type-member method E1|constructor# /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1% /* = core::Object? */ +static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1 /* = core::Object? */ return self::E1|constructor#(_); static extension-type-member method E2|constructor#(core::Object? _) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2% /* = core::Object? */ +static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2 /* = core::Object? */ return self::E2|constructor#(_); static extension-type-member method E3|constructor#(core::Object? _) → self::E3 /* = core::Object? */ { lowered final self::E3 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3% /* = core::Object? */ +static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3 /* = core::Object? */ return self::E3|constructor#(_); diff --git a/pkg/front_end/testcases/extension_types/issue54602.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/issue54602.dart.weak.outline.expect index f1779e4320a6..69876da5a36f 100644 --- a/pkg/front_end/testcases/extension_types/issue54602.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/issue54602.dart.weak.outline.expect @@ -34,13 +34,13 @@ extension type E3(core::Object? _) → self::E1 /* = core::Object? */ ; -static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1% /* = core::Object? */ +static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1 /* = core::Object? */ return self::E1|constructor#(_); static extension-type-member method E2|constructor#(core::Object? _) → self::E2 /* = core::Object? */ ; -static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2% /* = core::Object? */ +static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2 /* = core::Object? */ return self::E2|constructor#(_); static extension-type-member method E3|constructor#(core::Object? _) → self::E3 /* = core::Object? */ ; -static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3% /* = core::Object? */ +static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3 /* = core::Object? */ return self::E3|constructor#(_); diff --git a/pkg/front_end/testcases/extension_types/issue54602.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/issue54602.dart.weak.transformed.expect index af7e8a0317c1..dff94bd024ae 100644 --- a/pkg/front_end/testcases/extension_types/issue54602.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/issue54602.dart.weak.transformed.expect @@ -36,17 +36,17 @@ static extension-type-member method E1|constructor# /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1% /* = core::Object? */ +static extension-type-member method E1|constructor#_#new#tearOff(core::Object? _) → self::E1 /* = core::Object? */ return self::E1|constructor#(_); static extension-type-member method E2|constructor#(core::Object? _) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2% /* = core::Object? */ +static extension-type-member method E2|constructor#_#new#tearOff(core::Object? _) → self::E2 /* = core::Object? */ return self::E2|constructor#(_); static extension-type-member method E3|constructor#(core::Object? _) → self::E3 /* = core::Object? */ { lowered final self::E3 /* = core::Object? */ #this = _; return #this; } -static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3% /* = core::Object? */ +static extension-type-member method E3|constructor#_#new#tearOff(core::Object? _) → self::E3 /* = core::Object? */ return self::E3|constructor#(_); diff --git a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.strong.expect b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.strong.expect index f9ed013766db..5f06d36dcf13 100644 --- a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.strong.expect @@ -113,71 +113,71 @@ static extension-type-member method ET_Contravariant|constructor# /* = (self::ET_Contravariant|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant% /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ return self::ET_Contravariant|constructor#(f); static extension-type-member method ET_Invariant|constructor#(() → void f) → self::ET_Invariant /* = () → void */ { lowered final self::ET_Invariant /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant% /* = () → void */ +static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant /* = () → void */ return self::ET_Invariant|constructor#(f); static extension-type-member method ET_Covariant|constructor#(() → self::ET_Covariant|constructor#::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ { lowered final self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant% /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ return self::ET_Covariant|constructor#(f); static extension-type-member method ET_Bivariant|constructor#((self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ { lowered final self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant% /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ return self::ET_Bivariant|constructor#(f); static extension-type-member method ET_ContravariantAlias|constructor#((self::ET_ContravariantAlias|constructor#::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias% /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias|constructor#(f); static extension-type-member method ET_InvariantAlias|constructor#(() → void f) → self::ET_InvariantAlias /* = () → void */ { lowered final self::ET_InvariantAlias /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias% /* = () → void */ +static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias /* = () → void */ return self::ET_InvariantAlias|constructor#(f); static extension-type-member method ET_CovariantAlias|constructor#(() → self::ET_CovariantAlias|constructor#::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ { lowered final self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias% /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias|constructor#(f); static extension-type-member method ET_BivariantAlias|constructor#((self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ { lowered final self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias% /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ return self::ET_BivariantAlias|constructor#(f); static extension-type-member method ET_ContravariantAlias1|constructor#(() → (self::ET_ContravariantAlias1|constructor#::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1% /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias1|constructor#(f); static extension-type-member method ET_ContravariantAlias2|constructor#((() → self::ET_ContravariantAlias2|constructor#::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2% /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias2|constructor#(f); static extension-type-member method ET_CovariantAlias1|constructor#(() → () → self::ET_CovariantAlias1|constructor#::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ { lowered final self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1% /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias1|constructor#(f); static extension-type-member method ET_CovariantAlias2|constructor#(((self::ET_CovariantAlias2|constructor#::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ { lowered final self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2% /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ +static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ return self::ET_CovariantAlias2|constructor#(f); diff --git a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.strong.transformed.expect index f9ed013766db..5f06d36dcf13 100644 --- a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.strong.transformed.expect @@ -113,71 +113,71 @@ static extension-type-member method ET_Contravariant|constructor# /* = (self::ET_Contravariant|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant% /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ return self::ET_Contravariant|constructor#(f); static extension-type-member method ET_Invariant|constructor#(() → void f) → self::ET_Invariant /* = () → void */ { lowered final self::ET_Invariant /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant% /* = () → void */ +static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant /* = () → void */ return self::ET_Invariant|constructor#(f); static extension-type-member method ET_Covariant|constructor#(() → self::ET_Covariant|constructor#::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ { lowered final self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant% /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ return self::ET_Covariant|constructor#(f); static extension-type-member method ET_Bivariant|constructor#((self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ { lowered final self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant% /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ return self::ET_Bivariant|constructor#(f); static extension-type-member method ET_ContravariantAlias|constructor#((self::ET_ContravariantAlias|constructor#::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias% /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias|constructor#(f); static extension-type-member method ET_InvariantAlias|constructor#(() → void f) → self::ET_InvariantAlias /* = () → void */ { lowered final self::ET_InvariantAlias /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias% /* = () → void */ +static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias /* = () → void */ return self::ET_InvariantAlias|constructor#(f); static extension-type-member method ET_CovariantAlias|constructor#(() → self::ET_CovariantAlias|constructor#::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ { lowered final self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias% /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias|constructor#(f); static extension-type-member method ET_BivariantAlias|constructor#((self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ { lowered final self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias% /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ return self::ET_BivariantAlias|constructor#(f); static extension-type-member method ET_ContravariantAlias1|constructor#(() → (self::ET_ContravariantAlias1|constructor#::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1% /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias1|constructor#(f); static extension-type-member method ET_ContravariantAlias2|constructor#((() → self::ET_ContravariantAlias2|constructor#::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2% /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias2|constructor#(f); static extension-type-member method ET_CovariantAlias1|constructor#(() → () → self::ET_CovariantAlias1|constructor#::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ { lowered final self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1% /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias1|constructor#(f); static extension-type-member method ET_CovariantAlias2|constructor#(((self::ET_CovariantAlias2|constructor#::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ { lowered final self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2% /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ +static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ return self::ET_CovariantAlias2|constructor#(f); diff --git a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.expect b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.expect index f9ed013766db..5f06d36dcf13 100644 --- a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.expect @@ -113,71 +113,71 @@ static extension-type-member method ET_Contravariant|constructor# /* = (self::ET_Contravariant|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant% /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ return self::ET_Contravariant|constructor#(f); static extension-type-member method ET_Invariant|constructor#(() → void f) → self::ET_Invariant /* = () → void */ { lowered final self::ET_Invariant /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant% /* = () → void */ +static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant /* = () → void */ return self::ET_Invariant|constructor#(f); static extension-type-member method ET_Covariant|constructor#(() → self::ET_Covariant|constructor#::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ { lowered final self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant% /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ return self::ET_Covariant|constructor#(f); static extension-type-member method ET_Bivariant|constructor#((self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ { lowered final self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant% /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ return self::ET_Bivariant|constructor#(f); static extension-type-member method ET_ContravariantAlias|constructor#((self::ET_ContravariantAlias|constructor#::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias% /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias|constructor#(f); static extension-type-member method ET_InvariantAlias|constructor#(() → void f) → self::ET_InvariantAlias /* = () → void */ { lowered final self::ET_InvariantAlias /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias% /* = () → void */ +static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias /* = () → void */ return self::ET_InvariantAlias|constructor#(f); static extension-type-member method ET_CovariantAlias|constructor#(() → self::ET_CovariantAlias|constructor#::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ { lowered final self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias% /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias|constructor#(f); static extension-type-member method ET_BivariantAlias|constructor#((self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ { lowered final self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias% /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ return self::ET_BivariantAlias|constructor#(f); static extension-type-member method ET_ContravariantAlias1|constructor#(() → (self::ET_ContravariantAlias1|constructor#::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1% /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias1|constructor#(f); static extension-type-member method ET_ContravariantAlias2|constructor#((() → self::ET_ContravariantAlias2|constructor#::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2% /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias2|constructor#(f); static extension-type-member method ET_CovariantAlias1|constructor#(() → () → self::ET_CovariantAlias1|constructor#::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ { lowered final self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1% /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias1|constructor#(f); static extension-type-member method ET_CovariantAlias2|constructor#(((self::ET_CovariantAlias2|constructor#::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ { lowered final self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2% /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ +static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ return self::ET_CovariantAlias2|constructor#(f); diff --git a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.modular.expect index f9ed013766db..5f06d36dcf13 100644 --- a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.modular.expect @@ -113,71 +113,71 @@ static extension-type-member method ET_Contravariant|constructor# /* = (self::ET_Contravariant|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant% /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ return self::ET_Contravariant|constructor#(f); static extension-type-member method ET_Invariant|constructor#(() → void f) → self::ET_Invariant /* = () → void */ { lowered final self::ET_Invariant /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant% /* = () → void */ +static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant /* = () → void */ return self::ET_Invariant|constructor#(f); static extension-type-member method ET_Covariant|constructor#(() → self::ET_Covariant|constructor#::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ { lowered final self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant% /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ return self::ET_Covariant|constructor#(f); static extension-type-member method ET_Bivariant|constructor#((self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ { lowered final self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant% /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ return self::ET_Bivariant|constructor#(f); static extension-type-member method ET_ContravariantAlias|constructor#((self::ET_ContravariantAlias|constructor#::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias% /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias|constructor#(f); static extension-type-member method ET_InvariantAlias|constructor#(() → void f) → self::ET_InvariantAlias /* = () → void */ { lowered final self::ET_InvariantAlias /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias% /* = () → void */ +static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias /* = () → void */ return self::ET_InvariantAlias|constructor#(f); static extension-type-member method ET_CovariantAlias|constructor#(() → self::ET_CovariantAlias|constructor#::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ { lowered final self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias% /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias|constructor#(f); static extension-type-member method ET_BivariantAlias|constructor#((self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ { lowered final self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias% /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ return self::ET_BivariantAlias|constructor#(f); static extension-type-member method ET_ContravariantAlias1|constructor#(() → (self::ET_ContravariantAlias1|constructor#::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1% /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias1|constructor#(f); static extension-type-member method ET_ContravariantAlias2|constructor#((() → self::ET_ContravariantAlias2|constructor#::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2% /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias2|constructor#(f); static extension-type-member method ET_CovariantAlias1|constructor#(() → () → self::ET_CovariantAlias1|constructor#::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ { lowered final self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1% /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias1|constructor#(f); static extension-type-member method ET_CovariantAlias2|constructor#(((self::ET_CovariantAlias2|constructor#::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ { lowered final self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2% /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ +static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ return self::ET_CovariantAlias2|constructor#(f); diff --git a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.outline.expect index c60b673ac040..7dbdf61b985c 100644 --- a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.outline.expect @@ -111,49 +111,49 @@ extension type ET_CovariantAlias2(((T%) → v } static extension-type-member method ET_Contravariant|constructor#((self::ET_Contravariant|constructor#::T%) → void f) → self::ET_Contravariant /* = (self::ET_Contravariant|constructor#::T%) → void */ ; -static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant% /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ return self::ET_Contravariant|constructor#(f); static extension-type-member method ET_Invariant|constructor#(() → void f) → self::ET_Invariant /* = () → void */ ; -static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant% /* = () → void */ +static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant /* = () → void */ return self::ET_Invariant|constructor#(f); static extension-type-member method ET_Covariant|constructor#(() → self::ET_Covariant|constructor#::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ ; -static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant% /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ return self::ET_Covariant|constructor#(f); static extension-type-member method ET_Bivariant|constructor#((self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ ; -static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant% /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ return self::ET_Bivariant|constructor#(f); static extension-type-member method ET_ContravariantAlias|constructor#((self::ET_ContravariantAlias|constructor#::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ ; -static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias% /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias|constructor#(f); static extension-type-member method ET_InvariantAlias|constructor#(() → void f) → self::ET_InvariantAlias /* = () → void */ ; -static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias% /* = () → void */ +static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias /* = () → void */ return self::ET_InvariantAlias|constructor#(f); static extension-type-member method ET_CovariantAlias|constructor#(() → self::ET_CovariantAlias|constructor#::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ ; -static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias% /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias|constructor#(f); static extension-type-member method ET_BivariantAlias|constructor#((self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ ; -static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias% /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ return self::ET_BivariantAlias|constructor#(f); static extension-type-member method ET_ContravariantAlias1|constructor#(() → (self::ET_ContravariantAlias1|constructor#::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ ; -static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1% /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias1|constructor#(f); static extension-type-member method ET_ContravariantAlias2|constructor#((() → self::ET_ContravariantAlias2|constructor#::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ ; -static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2% /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias2|constructor#(f); static extension-type-member method ET_CovariantAlias1|constructor#(() → () → self::ET_CovariantAlias1|constructor#::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ ; -static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1% /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias1|constructor#(f); static extension-type-member method ET_CovariantAlias2|constructor#(((self::ET_CovariantAlias2|constructor#::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ ; -static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2% /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ +static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ return self::ET_CovariantAlias2|constructor#(f); diff --git a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.transformed.expect index f9ed013766db..5f06d36dcf13 100644 --- a/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/non_covariant_type_parameter.dart.weak.transformed.expect @@ -113,71 +113,71 @@ static extension-type-member method ET_Contravariant|constructor# /* = (self::ET_Contravariant|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant% /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_Contravariant|constructor#_#new#tearOff((self::ET_Contravariant|constructor#_#new#tearOff::T%) → void f) → self::ET_Contravariant /* = (self::ET_Contravariant|constructor#_#new#tearOff::T%) → void */ return self::ET_Contravariant|constructor#(f); static extension-type-member method ET_Invariant|constructor#(() → void f) → self::ET_Invariant /* = () → void */ { lowered final self::ET_Invariant /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant% /* = () → void */ +static extension-type-member method ET_Invariant|constructor#_#new#tearOff(() → void f) → self::ET_Invariant /* = () → void */ return self::ET_Invariant|constructor#(f); static extension-type-member method ET_Covariant|constructor#(() → self::ET_Covariant|constructor#::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ { lowered final self::ET_Covariant /* = () → self::ET_Covariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant% /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Covariant|constructor#_#new#tearOff(() → self::ET_Covariant|constructor#_#new#tearOff::T% f) → self::ET_Covariant /* = () → self::ET_Covariant|constructor#_#new#tearOff::T% */ return self::ET_Covariant|constructor#(f); static extension-type-member method ET_Bivariant|constructor#((self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ { lowered final self::ET_Bivariant /* = (self::ET_Bivariant|constructor#::T%) → self::ET_Bivariant|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant% /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_Bivariant|constructor#_#new#tearOff((self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% f) → self::ET_Bivariant /* = (self::ET_Bivariant|constructor#_#new#tearOff::T%) → self::ET_Bivariant|constructor#_#new#tearOff::T% */ return self::ET_Bivariant|constructor#(f); static extension-type-member method ET_ContravariantAlias|constructor#((self::ET_ContravariantAlias|constructor#::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias% /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias|constructor#_#new#tearOff((self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias /* = (self::ET_ContravariantAlias|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias|constructor#(f); static extension-type-member method ET_InvariantAlias|constructor#(() → void f) → self::ET_InvariantAlias /* = () → void */ { lowered final self::ET_InvariantAlias /* = () → void */ #this = f; return #this; } -static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias% /* = () → void */ +static extension-type-member method ET_InvariantAlias|constructor#_#new#tearOff(() → void f) → self::ET_InvariantAlias /* = () → void */ return self::ET_InvariantAlias|constructor#(f); static extension-type-member method ET_CovariantAlias|constructor#(() → self::ET_CovariantAlias|constructor#::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ { lowered final self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias% /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias|constructor#_#new#tearOff(() → self::ET_CovariantAlias|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias /* = () → self::ET_CovariantAlias|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias|constructor#(f); static extension-type-member method ET_BivariantAlias|constructor#((self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ { lowered final self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#::T%) → self::ET_BivariantAlias|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias% /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_BivariantAlias|constructor#_#new#tearOff((self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% f) → self::ET_BivariantAlias /* = (self::ET_BivariantAlias|constructor#_#new#tearOff::T%) → self::ET_BivariantAlias|constructor#_#new#tearOff::T% */ return self::ET_BivariantAlias|constructor#(f); static extension-type-member method ET_ContravariantAlias1|constructor#(() → (self::ET_ContravariantAlias1|constructor#::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1% /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias1|constructor#_#new#tearOff(() → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias1 /* = () → (self::ET_ContravariantAlias1|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias1|constructor#(f); static extension-type-member method ET_ContravariantAlias2|constructor#((() → self::ET_ContravariantAlias2|constructor#::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ { lowered final self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#::T%) → void */ #this = f; return #this; } -static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2% /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ +static extension-type-member method ET_ContravariantAlias2|constructor#_#new#tearOff((() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void f) → self::ET_ContravariantAlias2 /* = (() → self::ET_ContravariantAlias2|constructor#_#new#tearOff::T%) → void */ return self::ET_ContravariantAlias2|constructor#(f); static extension-type-member method ET_CovariantAlias1|constructor#(() → () → self::ET_CovariantAlias1|constructor#::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ { lowered final self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#::T% */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1% /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ +static extension-type-member method ET_CovariantAlias1|constructor#_#new#tearOff(() → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% f) → self::ET_CovariantAlias1 /* = () → () → self::ET_CovariantAlias1|constructor#_#new#tearOff::T% */ return self::ET_CovariantAlias1|constructor#(f); static extension-type-member method ET_CovariantAlias2|constructor#(((self::ET_CovariantAlias2|constructor#::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ { lowered final self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#::T%) → void) → void */ #this = f; return #this; } -static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2% /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ +static extension-type-member method ET_CovariantAlias2|constructor#_#new#tearOff(((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void f) → self::ET_CovariantAlias2 /* = ((self::ET_CovariantAlias2|constructor#_#new#tearOff::T%) → void) → void */ return self::ET_CovariantAlias2|constructor#(f); diff --git a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.strong.expect b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.strong.expect index 8f4fccf2cb62..2c450425d265 100644 --- a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.strong.expect @@ -190,7 +190,7 @@ static extension-type-member method E5|constructor# /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); static extension-type-member method E6|constructor#(self::E6|constructor#::X it) → self::E6 /* = self::E6|constructor#::X */ { lowered final self::E6 /* = self::E6|constructor#::X */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.strong.transformed.expect index ce8228431047..d36a095938c4 100644 --- a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.strong.transformed.expect @@ -190,7 +190,7 @@ static extension-type-member method E5|constructor# /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); static extension-type-member method E6|constructor#(self::E6|constructor#::X it) → self::E6 /* = self::E6|constructor#::X */ { lowered final self::E6 /* = self::E6|constructor#::X */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.expect b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.expect index 8f4fccf2cb62..2c450425d265 100644 --- a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.expect @@ -190,7 +190,7 @@ static extension-type-member method E5|constructor# /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); static extension-type-member method E6|constructor#(self::E6|constructor#::X it) → self::E6 /* = self::E6|constructor#::X */ { lowered final self::E6 /* = self::E6|constructor#::X */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.modular.expect index 8f4fccf2cb62..2c450425d265 100644 --- a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.modular.expect @@ -190,7 +190,7 @@ static extension-type-member method E5|constructor# /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); static extension-type-member method E6|constructor#(self::E6|constructor#::X it) → self::E6 /* = self::E6|constructor#::X */ { lowered final self::E6 /* = self::E6|constructor#::X */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.outline.expect index ea48c9c9ac11..00dc236b3a5d 100644 --- a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.outline.expect @@ -55,7 +55,7 @@ static extension-type-member method E4|constructor#_#new#tearOff(core::Object it return self::E4|constructor#(it); static extension-type-member method E5|constructor#(self::E5|constructor#::X% it) → self::E5 /* = self::E5|constructor#::X% */ ; -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); static extension-type-member method E6|constructor#(self::E6|constructor#::X it) → self::E6 /* = self::E6|constructor#::X */ ; diff --git a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.transformed.expect index dc52c1ac6b58..8d2ec6c51e47 100644 --- a/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/non_nullable_if_implements_object.dart.weak.transformed.expect @@ -190,7 +190,7 @@ static extension-type-member method E5|constructor# /* = self::E5|constructor#::X% */ #this = it; return #this; } -static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5% /* = self::E5|constructor#_#new#tearOff::X% */ +static extension-type-member method E5|constructor#_#new#tearOff(self::E5|constructor#_#new#tearOff::X% it) → self::E5 /* = self::E5|constructor#_#new#tearOff::X% */ return self::E5|constructor#(it); static extension-type-member method E6|constructor#(self::E6|constructor#::X it) → self::E6 /* = self::E6|constructor#::X */ { lowered final self::E6 /* = self::E6|constructor#::X */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.strong.expect b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.strong.expect index 28dfa6af7440..781f367066e1 100644 --- a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.strong.expect @@ -270,7 +270,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = t; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(t); static extension-type-member method ET2|+(lowered final self::ET2 /* = self::ET2|+::T% */ #this, self::ET2? /* = self::ET2|+::T? */ t) → self::ET2? /* = self::ET2|+::T? */ return t; @@ -280,7 +280,7 @@ static extension-type-member method ET2|[](lo return #this as{Unchecked} self::ET2|[]::T%; static extension-type-member method ET2|[]=(lowered final self::ET2 /* = self::ET2|[]=::T% */ #this, core::int index, self::ET2|[]=::T% value) → void {} static extension-type-member method ET2|foo(lowered final self::ET2 /* = self::ET2|foo::T% */ #this, self::ET2|foo::T% t) → void {} -static extension-type-member method ET2|get#foo(lowered final self::ET2% /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void +static extension-type-member method ET2|get#foo(lowered final self::ET2 /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void return (self::ET2|get#foo::T% t) → void => self::ET2|foo(#this, t); static extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T% return #this as{Unchecked} self::ET2|get#getter::T%; diff --git a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.strong.transformed.expect index 28dfa6af7440..781f367066e1 100644 --- a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.strong.transformed.expect @@ -270,7 +270,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = t; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(t); static extension-type-member method ET2|+(lowered final self::ET2 /* = self::ET2|+::T% */ #this, self::ET2? /* = self::ET2|+::T? */ t) → self::ET2? /* = self::ET2|+::T? */ return t; @@ -280,7 +280,7 @@ static extension-type-member method ET2|[](lo return #this as{Unchecked} self::ET2|[]::T%; static extension-type-member method ET2|[]=(lowered final self::ET2 /* = self::ET2|[]=::T% */ #this, core::int index, self::ET2|[]=::T% value) → void {} static extension-type-member method ET2|foo(lowered final self::ET2 /* = self::ET2|foo::T% */ #this, self::ET2|foo::T% t) → void {} -static extension-type-member method ET2|get#foo(lowered final self::ET2% /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void +static extension-type-member method ET2|get#foo(lowered final self::ET2 /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void return (self::ET2|get#foo::T% t) → void => self::ET2|foo(#this, t); static extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T% return #this as{Unchecked} self::ET2|get#getter::T%; diff --git a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.expect b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.expect index 28dfa6af7440..781f367066e1 100644 --- a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.expect @@ -270,7 +270,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = t; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(t); static extension-type-member method ET2|+(lowered final self::ET2 /* = self::ET2|+::T% */ #this, self::ET2? /* = self::ET2|+::T? */ t) → self::ET2? /* = self::ET2|+::T? */ return t; @@ -280,7 +280,7 @@ static extension-type-member method ET2|[](lo return #this as{Unchecked} self::ET2|[]::T%; static extension-type-member method ET2|[]=(lowered final self::ET2 /* = self::ET2|[]=::T% */ #this, core::int index, self::ET2|[]=::T% value) → void {} static extension-type-member method ET2|foo(lowered final self::ET2 /* = self::ET2|foo::T% */ #this, self::ET2|foo::T% t) → void {} -static extension-type-member method ET2|get#foo(lowered final self::ET2% /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void +static extension-type-member method ET2|get#foo(lowered final self::ET2 /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void return (self::ET2|get#foo::T% t) → void => self::ET2|foo(#this, t); static extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T% return #this as{Unchecked} self::ET2|get#getter::T%; diff --git a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.modular.expect index 28dfa6af7440..781f367066e1 100644 --- a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.modular.expect @@ -270,7 +270,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = t; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(t); static extension-type-member method ET2|+(lowered final self::ET2 /* = self::ET2|+::T% */ #this, self::ET2? /* = self::ET2|+::T? */ t) → self::ET2? /* = self::ET2|+::T? */ return t; @@ -280,7 +280,7 @@ static extension-type-member method ET2|[](lo return #this as{Unchecked} self::ET2|[]::T%; static extension-type-member method ET2|[]=(lowered final self::ET2 /* = self::ET2|[]=::T% */ #this, core::int index, self::ET2|[]=::T% value) → void {} static extension-type-member method ET2|foo(lowered final self::ET2 /* = self::ET2|foo::T% */ #this, self::ET2|foo::T% t) → void {} -static extension-type-member method ET2|get#foo(lowered final self::ET2% /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void +static extension-type-member method ET2|get#foo(lowered final self::ET2 /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void return (self::ET2|get#foo::T% t) → void => self::ET2|foo(#this, t); static extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T% return #this as{Unchecked} self::ET2|get#getter::T%; diff --git a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.outline.expect index c4162093fb4f..52fabcf8918c 100644 --- a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.outline.expect @@ -50,7 +50,7 @@ static extension-type-member method ET1|set#setter(lowered final self::ET1 /* = ; static extension-type-member method ET2|constructor#(self::ET2|constructor#::T% t) → self::ET2 /* = self::ET2|constructor#::T% */ ; -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(t); static extension-type-member method ET2|+(lowered final self::ET2 /* = self::ET2|+::T% */ #this, self::ET2? /* = self::ET2|+::T? */ t) → self::ET2? /* = self::ET2|+::T? */ ; @@ -62,7 +62,7 @@ static extension-type-member method ET2|[]=(l ; static extension-type-member method ET2|foo(lowered final self::ET2 /* = self::ET2|foo::T% */ #this, self::ET2|foo::T% t) → void ; -static extension-type-member method ET2|get#foo(lowered final self::ET2% /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void +static extension-type-member method ET2|get#foo(lowered final self::ET2 /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void return (self::ET2|get#foo::T% t) → void => self::ET2|foo(#this, t); static extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T% ; diff --git a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.transformed.expect index 28dfa6af7440..781f367066e1 100644 --- a/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/not_non_nullable_access.dart.weak.transformed.expect @@ -270,7 +270,7 @@ static extension-type-member method ET2|constructor# /* = self::ET2|constructor#::T% */ #this = t; return #this; } -static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2% /* = self::ET2|constructor#_#new#tearOff::T% */ +static extension-type-member method ET2|constructor#_#new#tearOff(self::ET2|constructor#_#new#tearOff::T% t) → self::ET2 /* = self::ET2|constructor#_#new#tearOff::T% */ return self::ET2|constructor#(t); static extension-type-member method ET2|+(lowered final self::ET2 /* = self::ET2|+::T% */ #this, self::ET2? /* = self::ET2|+::T? */ t) → self::ET2? /* = self::ET2|+::T? */ return t; @@ -280,7 +280,7 @@ static extension-type-member method ET2|[](lo return #this as{Unchecked} self::ET2|[]::T%; static extension-type-member method ET2|[]=(lowered final self::ET2 /* = self::ET2|[]=::T% */ #this, core::int index, self::ET2|[]=::T% value) → void {} static extension-type-member method ET2|foo(lowered final self::ET2 /* = self::ET2|foo::T% */ #this, self::ET2|foo::T% t) → void {} -static extension-type-member method ET2|get#foo(lowered final self::ET2% /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void +static extension-type-member method ET2|get#foo(lowered final self::ET2 /* = self::ET2|get#foo::T% */ #this) → (self::ET2|get#foo::T%) → void return (self::ET2|get#foo::T% t) → void => self::ET2|foo(#this, t); static extension-type-member method ET2|get#getter(lowered final self::ET2 /* = self::ET2|get#getter::T% */ #this) → self::ET2|get#getter::T% return #this as{Unchecked} self::ET2|get#getter::T%; diff --git a/pkg/front_end/testcases/extension_types/nullability.dart.strong.expect b/pkg/front_end/testcases/extension_types/nullability.dart.strong.expect index 90871817c202..c1cafc07db76 100644 --- a/pkg/front_end/testcases/extension_types/nullability.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/nullability.dart.strong.expect @@ -189,7 +189,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::T% */ #this = foo; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1% /* = self::E1|constructor#_#new#tearOff::T% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1 /* = self::E1|constructor#_#new#tearOff::T% */ return self::E1|constructor#(foo); static extension-type-member method E2|constructor#(core::Object? foo) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/nullability.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/nullability.dart.strong.transformed.expect index 33a5138837eb..5520be084618 100644 --- a/pkg/front_end/testcases/extension_types/nullability.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/nullability.dart.strong.transformed.expect @@ -189,7 +189,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::T% */ #this = foo; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1% /* = self::E1|constructor#_#new#tearOff::T% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1 /* = self::E1|constructor#_#new#tearOff::T% */ return self::E1|constructor#(foo); static extension-type-member method E2|constructor#(core::Object? foo) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/nullability.dart.weak.expect b/pkg/front_end/testcases/extension_types/nullability.dart.weak.expect index 90871817c202..c1cafc07db76 100644 --- a/pkg/front_end/testcases/extension_types/nullability.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/nullability.dart.weak.expect @@ -189,7 +189,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::T% */ #this = foo; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1% /* = self::E1|constructor#_#new#tearOff::T% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1 /* = self::E1|constructor#_#new#tearOff::T% */ return self::E1|constructor#(foo); static extension-type-member method E2|constructor#(core::Object? foo) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/nullability.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/nullability.dart.weak.modular.expect index 90871817c202..c1cafc07db76 100644 --- a/pkg/front_end/testcases/extension_types/nullability.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/nullability.dart.weak.modular.expect @@ -189,7 +189,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::T% */ #this = foo; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1% /* = self::E1|constructor#_#new#tearOff::T% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1 /* = self::E1|constructor#_#new#tearOff::T% */ return self::E1|constructor#(foo); static extension-type-member method E2|constructor#(core::Object? foo) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/nullability.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/nullability.dart.weak.outline.expect index 77e6685e1edc..6477faa8d052 100644 --- a/pkg/front_end/testcases/extension_types/nullability.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/nullability.dart.weak.outline.expect @@ -108,7 +108,7 @@ extension type E5(self::E2 /* = core::Object? */ foo) { } static extension-type-member method E1|constructor#(self::E1|constructor#::T% foo) → self::E1 /* = self::E1|constructor#::T% */ ; -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1% /* = self::E1|constructor#_#new#tearOff::T% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1 /* = self::E1|constructor#_#new#tearOff::T% */ return self::E1|constructor#(foo); static extension-type-member method E2|constructor#(core::Object? foo) → self::E2 /* = core::Object? */ ; diff --git a/pkg/front_end/testcases/extension_types/nullability.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/nullability.dart.weak.transformed.expect index 5d04fd8f2d81..ccf17b76ef24 100644 --- a/pkg/front_end/testcases/extension_types/nullability.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/nullability.dart.weak.transformed.expect @@ -189,7 +189,7 @@ static extension-type-member method E1|constructor# /* = self::E1|constructor#::T% */ #this = foo; return #this; } -static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1% /* = self::E1|constructor#_#new#tearOff::T% */ +static extension-type-member method E1|constructor#_#new#tearOff(self::E1|constructor#_#new#tearOff::T% foo) → self::E1 /* = self::E1|constructor#_#new#tearOff::T% */ return self::E1|constructor#(foo); static extension-type-member method E2|constructor#(core::Object? foo) → self::E2 /* = core::Object? */ { lowered final self::E2 /* = core::Object? */ #this = foo; diff --git a/pkg/front_end/testcases/extension_types/procedures.dart.strong.expect b/pkg/front_end/testcases/extension_types/procedures.dart.strong.expect index 05baca16424e..957f9a2f849e 100644 --- a/pkg/front_end/testcases/extension_types/procedures.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/procedures.dart.strong.expect @@ -72,7 +72,7 @@ static extension-type-member method GenericClass|constructor#_ /* = self::GenericClass|constructor#_::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#_#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#_#tearOff::T% */ return self::GenericClass|constructor#_(it); static extension-type-member method GenericClass|instanceMethod(lowered final self::GenericClass /* = self::GenericClass|instanceMethod::T% */ #this) → void { self::GenericClass /* = self::GenericClass|instanceMethod::T% */ local = #this; @@ -80,7 +80,7 @@ static extension-type-member method GenericClass|instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void +static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); static extension-type-member method GenericClass|get#instanceGetter(lowered final self::GenericClass /* = self::GenericClass|get#instanceGetter::T% */ #this) → self::GenericClass|get#instanceGetter::T% return throw ""; @@ -92,11 +92,11 @@ static extension-type-member method GenericClass|instanceMethod2(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void +static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); static extension-type-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|genericInstanceMethod::T% */ #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% +static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); static extension-type-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); diff --git a/pkg/front_end/testcases/extension_types/procedures.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/procedures.dart.strong.transformed.expect index 05baca16424e..957f9a2f849e 100644 --- a/pkg/front_end/testcases/extension_types/procedures.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/procedures.dart.strong.transformed.expect @@ -72,7 +72,7 @@ static extension-type-member method GenericClass|constructor#_ /* = self::GenericClass|constructor#_::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#_#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#_#tearOff::T% */ return self::GenericClass|constructor#_(it); static extension-type-member method GenericClass|instanceMethod(lowered final self::GenericClass /* = self::GenericClass|instanceMethod::T% */ #this) → void { self::GenericClass /* = self::GenericClass|instanceMethod::T% */ local = #this; @@ -80,7 +80,7 @@ static extension-type-member method GenericClass|instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void +static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); static extension-type-member method GenericClass|get#instanceGetter(lowered final self::GenericClass /* = self::GenericClass|get#instanceGetter::T% */ #this) → self::GenericClass|get#instanceGetter::T% return throw ""; @@ -92,11 +92,11 @@ static extension-type-member method GenericClass|instanceMethod2(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void +static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); static extension-type-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|genericInstanceMethod::T% */ #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% +static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); static extension-type-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); diff --git a/pkg/front_end/testcases/extension_types/procedures.dart.weak.expect b/pkg/front_end/testcases/extension_types/procedures.dart.weak.expect index 05baca16424e..957f9a2f849e 100644 --- a/pkg/front_end/testcases/extension_types/procedures.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/procedures.dart.weak.expect @@ -72,7 +72,7 @@ static extension-type-member method GenericClass|constructor#_ /* = self::GenericClass|constructor#_::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#_#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#_#tearOff::T% */ return self::GenericClass|constructor#_(it); static extension-type-member method GenericClass|instanceMethod(lowered final self::GenericClass /* = self::GenericClass|instanceMethod::T% */ #this) → void { self::GenericClass /* = self::GenericClass|instanceMethod::T% */ local = #this; @@ -80,7 +80,7 @@ static extension-type-member method GenericClass|instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void +static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); static extension-type-member method GenericClass|get#instanceGetter(lowered final self::GenericClass /* = self::GenericClass|get#instanceGetter::T% */ #this) → self::GenericClass|get#instanceGetter::T% return throw ""; @@ -92,11 +92,11 @@ static extension-type-member method GenericClass|instanceMethod2(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void +static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); static extension-type-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|genericInstanceMethod::T% */ #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% +static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); static extension-type-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); diff --git a/pkg/front_end/testcases/extension_types/procedures.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/procedures.dart.weak.modular.expect index 05baca16424e..957f9a2f849e 100644 --- a/pkg/front_end/testcases/extension_types/procedures.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/procedures.dart.weak.modular.expect @@ -72,7 +72,7 @@ static extension-type-member method GenericClass|constructor#_ /* = self::GenericClass|constructor#_::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#_#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#_#tearOff::T% */ return self::GenericClass|constructor#_(it); static extension-type-member method GenericClass|instanceMethod(lowered final self::GenericClass /* = self::GenericClass|instanceMethod::T% */ #this) → void { self::GenericClass /* = self::GenericClass|instanceMethod::T% */ local = #this; @@ -80,7 +80,7 @@ static extension-type-member method GenericClass|instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void +static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); static extension-type-member method GenericClass|get#instanceGetter(lowered final self::GenericClass /* = self::GenericClass|get#instanceGetter::T% */ #this) → self::GenericClass|get#instanceGetter::T% return throw ""; @@ -92,11 +92,11 @@ static extension-type-member method GenericClass|instanceMethod2(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void +static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); static extension-type-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|genericInstanceMethod::T% */ #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% +static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); static extension-type-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); diff --git a/pkg/front_end/testcases/extension_types/procedures.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/procedures.dart.weak.outline.expect index 060d24ce45a1..5f6429bf6d44 100644 --- a/pkg/front_end/testcases/extension_types/procedures.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/procedures.dart.weak.outline.expect @@ -54,21 +54,21 @@ static extension-type-member method Class|genericStaticMethod(self::GenericClass|constructor#_::T% it) → self::GenericClass /* = self::GenericClass|constructor#_::T% */ ; -static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#_#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#_#tearOff::T% */ return self::GenericClass|constructor#_(it); static extension-type-member method GenericClass|instanceMethod(lowered final self::GenericClass /* = self::GenericClass|instanceMethod::T% */ #this) → void ; -static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void +static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); static extension-type-member method GenericClass|get#instanceGetter(lowered final self::GenericClass /* = self::GenericClass|get#instanceGetter::T% */ #this) → self::GenericClass|get#instanceGetter::T% ; static extension-type-member method GenericClass|instanceMethod2(lowered final self::GenericClass /* = self::GenericClass|instanceMethod2::T% */ #this, core::String s, {has-declared-initializer core::int i}) → void ; -static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void +static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); static extension-type-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|genericInstanceMethod::T% */ #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% ; -static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% +static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); static extension-type-member method GenericClass|staticMethod() → void ; diff --git a/pkg/front_end/testcases/extension_types/procedures.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/procedures.dart.weak.transformed.expect index 05baca16424e..957f9a2f849e 100644 --- a/pkg/front_end/testcases/extension_types/procedures.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/procedures.dart.weak.transformed.expect @@ -72,7 +72,7 @@ static extension-type-member method GenericClass|constructor#_ /* = self::GenericClass|constructor#_::T% */ #this = it; return #this; } -static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass% /* = self::GenericClass|constructor#_#_#tearOff::T% */ +static extension-type-member method GenericClass|constructor#_#_#tearOff(self::GenericClass|constructor#_#_#tearOff::T% it) → self::GenericClass /* = self::GenericClass|constructor#_#_#tearOff::T% */ return self::GenericClass|constructor#_(it); static extension-type-member method GenericClass|instanceMethod(lowered final self::GenericClass /* = self::GenericClass|instanceMethod::T% */ #this) → void { self::GenericClass /* = self::GenericClass|instanceMethod::T% */ local = #this; @@ -80,7 +80,7 @@ static extension-type-member method GenericClass|instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void +static extension-type-member method GenericClass|get#instanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod::T% */ #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); static extension-type-member method GenericClass|get#instanceGetter(lowered final self::GenericClass /* = self::GenericClass|get#instanceGetter::T% */ #this) → self::GenericClass|get#instanceGetter::T% return throw ""; @@ -92,11 +92,11 @@ static extension-type-member method GenericClass|instanceMethod2(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass% /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void +static extension-type-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass /* = self::GenericClass|get#instanceMethod2::T% */ #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); static extension-type-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|genericInstanceMethod::T% */ #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass% /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% +static extension-type-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass /* = self::GenericClass|get#genericInstanceMethod::T% */ #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); static extension-type-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); diff --git a/pkg/front_end/testcases/extension_types/representation_type.dart.strong.expect b/pkg/front_end/testcases/extension_types/representation_type.dart.strong.expect index 43089f46bf6b..e8d7c0f8754d 100644 --- a/pkg/front_end/testcases/extension_types/representation_type.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/representation_type.dart.strong.expect @@ -124,25 +124,25 @@ static extension-type-member method C|constructor# /* = self::C|constructor#::T% */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C% /* = self::C|constructor#_#new#tearOff::T% */ +static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C /* = self::C|constructor#_#new#tearOff::T% */ return self::C|constructor#(it); -static extension-type-member method Da|constructor#(self::C% /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { +static extension-type-member method Da|constructor#(self::C /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { lowered final self::Da /* = self::Da|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Da|constructor#_#new#tearOff(self::C% /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da% /* = self::Da|constructor#_#new#tearOff::T% */ +static extension-type-member method Da|constructor#_#new#tearOff(self::C /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da /* = self::Da|constructor#_#new#tearOff::T% */ return self::Da|constructor#(it); -static extension-type-member method Db|constructor#(self::C% /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { +static extension-type-member method Db|constructor#(self::C /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { lowered final self::Db /* = self::Db|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Db|constructor#_#new#tearOff(self::C% /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db% /* = self::Db|constructor#_#new#tearOff::T? */ +static extension-type-member method Db|constructor#_#new#tearOff(self::C /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db /* = self::Db|constructor#_#new#tearOff::T? */ return self::Db|constructor#(it); static extension-type-member method Dc|constructor#(self::C? /* = self::Dc|constructor#::T? */ it) → self::Dc /* = self::Dc|constructor#::T? */ { lowered final self::Dc /* = self::Dc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc% /* = self::Dc|constructor#_#new#tearOff::T? */ +static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc /* = self::Dc|constructor#_#new#tearOff::T? */ return self::Dc|constructor#(it); static extension-type-member method E|constructor#(core::int? it) → self::E /* = core::int? */ { lowered final self::E /* = core::int? */ #this = it; @@ -166,61 +166,61 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T? */ #this = it; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G% /* = self::G|constructor#_#new#tearOff::T? */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G /* = self::G|constructor#_#new#tearOff::T? */ return self::G|constructor#(it); -static extension-type-member method Ha|constructor#(self::G% /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { +static extension-type-member method Ha|constructor#(self::G /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { lowered final self::Ha /* = self::Ha|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Ha|constructor#_#new#tearOff(self::G% /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha% /* = self::Ha|constructor#_#new#tearOff::T? */ +static extension-type-member method Ha|constructor#_#new#tearOff(self::G /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha /* = self::Ha|constructor#_#new#tearOff::T? */ return self::Ha|constructor#(it); -static extension-type-member method Hb|constructor#(self::G% /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { +static extension-type-member method Hb|constructor#(self::G /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { lowered final self::Hb /* = self::Hb|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hb|constructor#_#new#tearOff(self::G% /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb% /* = self::Hb|constructor#_#new#tearOff::T? */ +static extension-type-member method Hb|constructor#_#new#tearOff(self::G /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb /* = self::Hb|constructor#_#new#tearOff::T? */ return self::Hb|constructor#(it); static extension-type-member method Hc|constructor#(self::G? /* = self::Hc|constructor#::T? */ it) → self::Hc /* = self::Hc|constructor#::T? */ { lowered final self::Hc /* = self::Hc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc% /* = self::Hc|constructor#_#new#tearOff::T? */ +static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc /* = self::Hc|constructor#_#new#tearOff::T? */ return self::Hc|constructor#(it); static extension-type-member method I|constructor#(self::I|constructor#::T it) → self::I /* = self::I|constructor#::T */ { lowered final self::I /* = self::I|constructor#::T */ #this = it; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I% /* = self::I|constructor#_#new#tearOff::T */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I /* = self::I|constructor#_#new#tearOff::T */ return self::I|constructor#(it); -static extension-type-member method Ja|constructor#(self::I% /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { +static extension-type-member method Ja|constructor#(self::I /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { lowered final self::Ja /* = self::Ja|constructor#::T */ #this = it; return #this; } -static extension-type-member method Ja|constructor#_#new#tearOff(self::I% /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja% /* = self::Ja|constructor#_#new#tearOff::T */ +static extension-type-member method Ja|constructor#_#new#tearOff(self::I /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja /* = self::Ja|constructor#_#new#tearOff::T */ return self::Ja|constructor#(it); static extension-type-member method Jc|constructor#(self::I? /* = self::Jc|constructor#::T? */ it) → self::Jc /* = self::Jc|constructor#::T? */ { lowered final self::Jc /* = self::Jc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc% /* = self::Jc|constructor#_#new#tearOff::T? */ +static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc /* = self::Jc|constructor#_#new#tearOff::T? */ return self::Jc|constructor#(it); static extension-type-member method K|constructor#(self::K|constructor#::T? it) → self::K /* = self::K|constructor#::T? */ { lowered final self::K /* = self::K|constructor#::T? */ #this = it; return #this; } -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K% /* = self::K|constructor#_#new#tearOff::T? */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K /* = self::K|constructor#_#new#tearOff::T? */ return self::K|constructor#(it); -static extension-type-member method La|constructor#(self::K% /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { +static extension-type-member method La|constructor#(self::K /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { lowered final self::La /* = self::La|constructor#::T? */ #this = it; return #this; } -static extension-type-member method La|constructor#_#new#tearOff(self::K% /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La% /* = self::La|constructor#_#new#tearOff::T? */ +static extension-type-member method La|constructor#_#new#tearOff(self::K /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La /* = self::La|constructor#_#new#tearOff::T? */ return self::La|constructor#(it); static extension-type-member method Lc|constructor#(self::K? /* = self::Lc|constructor#::T? */ it) → self::Lc /* = self::Lc|constructor#::T? */ { lowered final self::Lc /* = self::Lc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc% /* = self::Lc|constructor#_#new#tearOff::T? */ +static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc /* = self::Lc|constructor#_#new#tearOff::T? */ return self::Lc|constructor#(it); static method testA(Never n) → dynamic { self::A /* = core::int */ a1 = n; diff --git a/pkg/front_end/testcases/extension_types/representation_type.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/representation_type.dart.strong.transformed.expect index 43089f46bf6b..e8d7c0f8754d 100644 --- a/pkg/front_end/testcases/extension_types/representation_type.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/representation_type.dart.strong.transformed.expect @@ -124,25 +124,25 @@ static extension-type-member method C|constructor# /* = self::C|constructor#::T% */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C% /* = self::C|constructor#_#new#tearOff::T% */ +static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C /* = self::C|constructor#_#new#tearOff::T% */ return self::C|constructor#(it); -static extension-type-member method Da|constructor#(self::C% /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { +static extension-type-member method Da|constructor#(self::C /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { lowered final self::Da /* = self::Da|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Da|constructor#_#new#tearOff(self::C% /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da% /* = self::Da|constructor#_#new#tearOff::T% */ +static extension-type-member method Da|constructor#_#new#tearOff(self::C /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da /* = self::Da|constructor#_#new#tearOff::T% */ return self::Da|constructor#(it); -static extension-type-member method Db|constructor#(self::C% /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { +static extension-type-member method Db|constructor#(self::C /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { lowered final self::Db /* = self::Db|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Db|constructor#_#new#tearOff(self::C% /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db% /* = self::Db|constructor#_#new#tearOff::T? */ +static extension-type-member method Db|constructor#_#new#tearOff(self::C /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db /* = self::Db|constructor#_#new#tearOff::T? */ return self::Db|constructor#(it); static extension-type-member method Dc|constructor#(self::C? /* = self::Dc|constructor#::T? */ it) → self::Dc /* = self::Dc|constructor#::T? */ { lowered final self::Dc /* = self::Dc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc% /* = self::Dc|constructor#_#new#tearOff::T? */ +static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc /* = self::Dc|constructor#_#new#tearOff::T? */ return self::Dc|constructor#(it); static extension-type-member method E|constructor#(core::int? it) → self::E /* = core::int? */ { lowered final self::E /* = core::int? */ #this = it; @@ -166,61 +166,61 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T? */ #this = it; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G% /* = self::G|constructor#_#new#tearOff::T? */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G /* = self::G|constructor#_#new#tearOff::T? */ return self::G|constructor#(it); -static extension-type-member method Ha|constructor#(self::G% /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { +static extension-type-member method Ha|constructor#(self::G /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { lowered final self::Ha /* = self::Ha|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Ha|constructor#_#new#tearOff(self::G% /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha% /* = self::Ha|constructor#_#new#tearOff::T? */ +static extension-type-member method Ha|constructor#_#new#tearOff(self::G /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha /* = self::Ha|constructor#_#new#tearOff::T? */ return self::Ha|constructor#(it); -static extension-type-member method Hb|constructor#(self::G% /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { +static extension-type-member method Hb|constructor#(self::G /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { lowered final self::Hb /* = self::Hb|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hb|constructor#_#new#tearOff(self::G% /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb% /* = self::Hb|constructor#_#new#tearOff::T? */ +static extension-type-member method Hb|constructor#_#new#tearOff(self::G /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb /* = self::Hb|constructor#_#new#tearOff::T? */ return self::Hb|constructor#(it); static extension-type-member method Hc|constructor#(self::G? /* = self::Hc|constructor#::T? */ it) → self::Hc /* = self::Hc|constructor#::T? */ { lowered final self::Hc /* = self::Hc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc% /* = self::Hc|constructor#_#new#tearOff::T? */ +static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc /* = self::Hc|constructor#_#new#tearOff::T? */ return self::Hc|constructor#(it); static extension-type-member method I|constructor#(self::I|constructor#::T it) → self::I /* = self::I|constructor#::T */ { lowered final self::I /* = self::I|constructor#::T */ #this = it; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I% /* = self::I|constructor#_#new#tearOff::T */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I /* = self::I|constructor#_#new#tearOff::T */ return self::I|constructor#(it); -static extension-type-member method Ja|constructor#(self::I% /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { +static extension-type-member method Ja|constructor#(self::I /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { lowered final self::Ja /* = self::Ja|constructor#::T */ #this = it; return #this; } -static extension-type-member method Ja|constructor#_#new#tearOff(self::I% /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja% /* = self::Ja|constructor#_#new#tearOff::T */ +static extension-type-member method Ja|constructor#_#new#tearOff(self::I /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja /* = self::Ja|constructor#_#new#tearOff::T */ return self::Ja|constructor#(it); static extension-type-member method Jc|constructor#(self::I? /* = self::Jc|constructor#::T? */ it) → self::Jc /* = self::Jc|constructor#::T? */ { lowered final self::Jc /* = self::Jc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc% /* = self::Jc|constructor#_#new#tearOff::T? */ +static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc /* = self::Jc|constructor#_#new#tearOff::T? */ return self::Jc|constructor#(it); static extension-type-member method K|constructor#(self::K|constructor#::T? it) → self::K /* = self::K|constructor#::T? */ { lowered final self::K /* = self::K|constructor#::T? */ #this = it; return #this; } -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K% /* = self::K|constructor#_#new#tearOff::T? */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K /* = self::K|constructor#_#new#tearOff::T? */ return self::K|constructor#(it); -static extension-type-member method La|constructor#(self::K% /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { +static extension-type-member method La|constructor#(self::K /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { lowered final self::La /* = self::La|constructor#::T? */ #this = it; return #this; } -static extension-type-member method La|constructor#_#new#tearOff(self::K% /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La% /* = self::La|constructor#_#new#tearOff::T? */ +static extension-type-member method La|constructor#_#new#tearOff(self::K /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La /* = self::La|constructor#_#new#tearOff::T? */ return self::La|constructor#(it); static extension-type-member method Lc|constructor#(self::K? /* = self::Lc|constructor#::T? */ it) → self::Lc /* = self::Lc|constructor#::T? */ { lowered final self::Lc /* = self::Lc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc% /* = self::Lc|constructor#_#new#tearOff::T? */ +static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc /* = self::Lc|constructor#_#new#tearOff::T? */ return self::Lc|constructor#(it); static method testA(Never n) → dynamic { self::A /* = core::int */ a1 = n; diff --git a/pkg/front_end/testcases/extension_types/representation_type.dart.weak.expect b/pkg/front_end/testcases/extension_types/representation_type.dart.weak.expect index 5017c34e6e6a..05424eb1d2f3 100644 --- a/pkg/front_end/testcases/extension_types/representation_type.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/representation_type.dart.weak.expect @@ -125,25 +125,25 @@ static extension-type-member method C|constructor# /* = self::C|constructor#::T% */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C% /* = self::C|constructor#_#new#tearOff::T% */ +static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C /* = self::C|constructor#_#new#tearOff::T% */ return self::C|constructor#(it); -static extension-type-member method Da|constructor#(self::C% /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { +static extension-type-member method Da|constructor#(self::C /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { lowered final self::Da /* = self::Da|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Da|constructor#_#new#tearOff(self::C% /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da% /* = self::Da|constructor#_#new#tearOff::T% */ +static extension-type-member method Da|constructor#_#new#tearOff(self::C /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da /* = self::Da|constructor#_#new#tearOff::T% */ return self::Da|constructor#(it); -static extension-type-member method Db|constructor#(self::C% /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { +static extension-type-member method Db|constructor#(self::C /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { lowered final self::Db /* = self::Db|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Db|constructor#_#new#tearOff(self::C% /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db% /* = self::Db|constructor#_#new#tearOff::T? */ +static extension-type-member method Db|constructor#_#new#tearOff(self::C /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db /* = self::Db|constructor#_#new#tearOff::T? */ return self::Db|constructor#(it); static extension-type-member method Dc|constructor#(self::C? /* = self::Dc|constructor#::T? */ it) → self::Dc /* = self::Dc|constructor#::T? */ { lowered final self::Dc /* = self::Dc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc% /* = self::Dc|constructor#_#new#tearOff::T? */ +static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc /* = self::Dc|constructor#_#new#tearOff::T? */ return self::Dc|constructor#(it); static extension-type-member method E|constructor#(core::int? it) → self::E /* = core::int? */ { lowered final self::E /* = core::int? */ #this = it; @@ -167,61 +167,61 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T? */ #this = it; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G% /* = self::G|constructor#_#new#tearOff::T? */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G /* = self::G|constructor#_#new#tearOff::T? */ return self::G|constructor#(it); -static extension-type-member method Ha|constructor#(self::G% /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { +static extension-type-member method Ha|constructor#(self::G /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { lowered final self::Ha /* = self::Ha|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Ha|constructor#_#new#tearOff(self::G% /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha% /* = self::Ha|constructor#_#new#tearOff::T? */ +static extension-type-member method Ha|constructor#_#new#tearOff(self::G /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha /* = self::Ha|constructor#_#new#tearOff::T? */ return self::Ha|constructor#(it); -static extension-type-member method Hb|constructor#(self::G% /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { +static extension-type-member method Hb|constructor#(self::G /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { lowered final self::Hb /* = self::Hb|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hb|constructor#_#new#tearOff(self::G% /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb% /* = self::Hb|constructor#_#new#tearOff::T? */ +static extension-type-member method Hb|constructor#_#new#tearOff(self::G /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb /* = self::Hb|constructor#_#new#tearOff::T? */ return self::Hb|constructor#(it); static extension-type-member method Hc|constructor#(self::G? /* = self::Hc|constructor#::T? */ it) → self::Hc /* = self::Hc|constructor#::T? */ { lowered final self::Hc /* = self::Hc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc% /* = self::Hc|constructor#_#new#tearOff::T? */ +static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc /* = self::Hc|constructor#_#new#tearOff::T? */ return self::Hc|constructor#(it); static extension-type-member method I|constructor#(self::I|constructor#::T it) → self::I /* = self::I|constructor#::T */ { lowered final self::I /* = self::I|constructor#::T */ #this = it; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I% /* = self::I|constructor#_#new#tearOff::T */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I /* = self::I|constructor#_#new#tearOff::T */ return self::I|constructor#(it); -static extension-type-member method Ja|constructor#(self::I% /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { +static extension-type-member method Ja|constructor#(self::I /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { lowered final self::Ja /* = self::Ja|constructor#::T */ #this = it; return #this; } -static extension-type-member method Ja|constructor#_#new#tearOff(self::I% /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja% /* = self::Ja|constructor#_#new#tearOff::T */ +static extension-type-member method Ja|constructor#_#new#tearOff(self::I /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja /* = self::Ja|constructor#_#new#tearOff::T */ return self::Ja|constructor#(it); static extension-type-member method Jc|constructor#(self::I? /* = self::Jc|constructor#::T? */ it) → self::Jc /* = self::Jc|constructor#::T? */ { lowered final self::Jc /* = self::Jc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc% /* = self::Jc|constructor#_#new#tearOff::T? */ +static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc /* = self::Jc|constructor#_#new#tearOff::T? */ return self::Jc|constructor#(it); static extension-type-member method K|constructor#(self::K|constructor#::T? it) → self::K /* = self::K|constructor#::T? */ { lowered final self::K /* = self::K|constructor#::T? */ #this = it; return #this; } -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K% /* = self::K|constructor#_#new#tearOff::T? */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K /* = self::K|constructor#_#new#tearOff::T? */ return self::K|constructor#(it); -static extension-type-member method La|constructor#(self::K% /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { +static extension-type-member method La|constructor#(self::K /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { lowered final self::La /* = self::La|constructor#::T? */ #this = it; return #this; } -static extension-type-member method La|constructor#_#new#tearOff(self::K% /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La% /* = self::La|constructor#_#new#tearOff::T? */ +static extension-type-member method La|constructor#_#new#tearOff(self::K /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La /* = self::La|constructor#_#new#tearOff::T? */ return self::La|constructor#(it); static extension-type-member method Lc|constructor#(self::K? /* = self::Lc|constructor#::T? */ it) → self::Lc /* = self::Lc|constructor#::T? */ { lowered final self::Lc /* = self::Lc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc% /* = self::Lc|constructor#_#new#tearOff::T? */ +static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc /* = self::Lc|constructor#_#new#tearOff::T? */ return self::Lc|constructor#(it); static method testA(Never n) → dynamic { self::A /* = core::int */ a1 = let final Never #t1 = n in throw new _in::ReachabilityError::•("`null` encountered as the result from expression with type `Never`."); diff --git a/pkg/front_end/testcases/extension_types/representation_type.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/representation_type.dart.weak.modular.expect index 5017c34e6e6a..05424eb1d2f3 100644 --- a/pkg/front_end/testcases/extension_types/representation_type.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/representation_type.dart.weak.modular.expect @@ -125,25 +125,25 @@ static extension-type-member method C|constructor# /* = self::C|constructor#::T% */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C% /* = self::C|constructor#_#new#tearOff::T% */ +static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C /* = self::C|constructor#_#new#tearOff::T% */ return self::C|constructor#(it); -static extension-type-member method Da|constructor#(self::C% /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { +static extension-type-member method Da|constructor#(self::C /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { lowered final self::Da /* = self::Da|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Da|constructor#_#new#tearOff(self::C% /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da% /* = self::Da|constructor#_#new#tearOff::T% */ +static extension-type-member method Da|constructor#_#new#tearOff(self::C /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da /* = self::Da|constructor#_#new#tearOff::T% */ return self::Da|constructor#(it); -static extension-type-member method Db|constructor#(self::C% /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { +static extension-type-member method Db|constructor#(self::C /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { lowered final self::Db /* = self::Db|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Db|constructor#_#new#tearOff(self::C% /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db% /* = self::Db|constructor#_#new#tearOff::T? */ +static extension-type-member method Db|constructor#_#new#tearOff(self::C /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db /* = self::Db|constructor#_#new#tearOff::T? */ return self::Db|constructor#(it); static extension-type-member method Dc|constructor#(self::C? /* = self::Dc|constructor#::T? */ it) → self::Dc /* = self::Dc|constructor#::T? */ { lowered final self::Dc /* = self::Dc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc% /* = self::Dc|constructor#_#new#tearOff::T? */ +static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc /* = self::Dc|constructor#_#new#tearOff::T? */ return self::Dc|constructor#(it); static extension-type-member method E|constructor#(core::int? it) → self::E /* = core::int? */ { lowered final self::E /* = core::int? */ #this = it; @@ -167,61 +167,61 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T? */ #this = it; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G% /* = self::G|constructor#_#new#tearOff::T? */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G /* = self::G|constructor#_#new#tearOff::T? */ return self::G|constructor#(it); -static extension-type-member method Ha|constructor#(self::G% /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { +static extension-type-member method Ha|constructor#(self::G /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { lowered final self::Ha /* = self::Ha|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Ha|constructor#_#new#tearOff(self::G% /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha% /* = self::Ha|constructor#_#new#tearOff::T? */ +static extension-type-member method Ha|constructor#_#new#tearOff(self::G /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha /* = self::Ha|constructor#_#new#tearOff::T? */ return self::Ha|constructor#(it); -static extension-type-member method Hb|constructor#(self::G% /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { +static extension-type-member method Hb|constructor#(self::G /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { lowered final self::Hb /* = self::Hb|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hb|constructor#_#new#tearOff(self::G% /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb% /* = self::Hb|constructor#_#new#tearOff::T? */ +static extension-type-member method Hb|constructor#_#new#tearOff(self::G /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb /* = self::Hb|constructor#_#new#tearOff::T? */ return self::Hb|constructor#(it); static extension-type-member method Hc|constructor#(self::G? /* = self::Hc|constructor#::T? */ it) → self::Hc /* = self::Hc|constructor#::T? */ { lowered final self::Hc /* = self::Hc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc% /* = self::Hc|constructor#_#new#tearOff::T? */ +static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc /* = self::Hc|constructor#_#new#tearOff::T? */ return self::Hc|constructor#(it); static extension-type-member method I|constructor#(self::I|constructor#::T it) → self::I /* = self::I|constructor#::T */ { lowered final self::I /* = self::I|constructor#::T */ #this = it; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I% /* = self::I|constructor#_#new#tearOff::T */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I /* = self::I|constructor#_#new#tearOff::T */ return self::I|constructor#(it); -static extension-type-member method Ja|constructor#(self::I% /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { +static extension-type-member method Ja|constructor#(self::I /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { lowered final self::Ja /* = self::Ja|constructor#::T */ #this = it; return #this; } -static extension-type-member method Ja|constructor#_#new#tearOff(self::I% /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja% /* = self::Ja|constructor#_#new#tearOff::T */ +static extension-type-member method Ja|constructor#_#new#tearOff(self::I /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja /* = self::Ja|constructor#_#new#tearOff::T */ return self::Ja|constructor#(it); static extension-type-member method Jc|constructor#(self::I? /* = self::Jc|constructor#::T? */ it) → self::Jc /* = self::Jc|constructor#::T? */ { lowered final self::Jc /* = self::Jc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc% /* = self::Jc|constructor#_#new#tearOff::T? */ +static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc /* = self::Jc|constructor#_#new#tearOff::T? */ return self::Jc|constructor#(it); static extension-type-member method K|constructor#(self::K|constructor#::T? it) → self::K /* = self::K|constructor#::T? */ { lowered final self::K /* = self::K|constructor#::T? */ #this = it; return #this; } -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K% /* = self::K|constructor#_#new#tearOff::T? */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K /* = self::K|constructor#_#new#tearOff::T? */ return self::K|constructor#(it); -static extension-type-member method La|constructor#(self::K% /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { +static extension-type-member method La|constructor#(self::K /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { lowered final self::La /* = self::La|constructor#::T? */ #this = it; return #this; } -static extension-type-member method La|constructor#_#new#tearOff(self::K% /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La% /* = self::La|constructor#_#new#tearOff::T? */ +static extension-type-member method La|constructor#_#new#tearOff(self::K /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La /* = self::La|constructor#_#new#tearOff::T? */ return self::La|constructor#(it); static extension-type-member method Lc|constructor#(self::K? /* = self::Lc|constructor#::T? */ it) → self::Lc /* = self::Lc|constructor#::T? */ { lowered final self::Lc /* = self::Lc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc% /* = self::Lc|constructor#_#new#tearOff::T? */ +static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc /* = self::Lc|constructor#_#new#tearOff::T? */ return self::Lc|constructor#(it); static method testA(Never n) → dynamic { self::A /* = core::int */ a1 = let final Never #t1 = n in throw new _in::ReachabilityError::•("`null` encountered as the result from expression with type `Never`."); diff --git a/pkg/front_end/testcases/extension_types/representation_type.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/representation_type.dart.weak.outline.expect index 82d9eb581db7..f1e3d687c99a 100644 --- a/pkg/front_end/testcases/extension_types/representation_type.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/representation_type.dart.weak.outline.expect @@ -116,19 +116,19 @@ static extension-type-member method Bb|constructor#_#new#tearOff(self::A? /* = c return self::Bb|constructor#(it); static extension-type-member method C|constructor#(self::C|constructor#::T% it) → self::C /* = self::C|constructor#::T% */ ; -static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C% /* = self::C|constructor#_#new#tearOff::T% */ +static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C /* = self::C|constructor#_#new#tearOff::T% */ return self::C|constructor#(it); -static extension-type-member method Da|constructor#(self::C% /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ +static extension-type-member method Da|constructor#(self::C /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ ; -static extension-type-member method Da|constructor#_#new#tearOff(self::C% /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da% /* = self::Da|constructor#_#new#tearOff::T% */ +static extension-type-member method Da|constructor#_#new#tearOff(self::C /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da /* = self::Da|constructor#_#new#tearOff::T% */ return self::Da|constructor#(it); -static extension-type-member method Db|constructor#(self::C% /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ +static extension-type-member method Db|constructor#(self::C /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ ; -static extension-type-member method Db|constructor#_#new#tearOff(self::C% /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db% /* = self::Db|constructor#_#new#tearOff::T? */ +static extension-type-member method Db|constructor#_#new#tearOff(self::C /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db /* = self::Db|constructor#_#new#tearOff::T? */ return self::Db|constructor#(it); static extension-type-member method Dc|constructor#(self::C? /* = self::Dc|constructor#::T? */ it) → self::Dc /* = self::Dc|constructor#::T? */ ; -static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc% /* = self::Dc|constructor#_#new#tearOff::T? */ +static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc /* = self::Dc|constructor#_#new#tearOff::T? */ return self::Dc|constructor#(it); static extension-type-member method E|constructor#(core::int? it) → self::E /* = core::int? */ ; @@ -144,43 +144,43 @@ static extension-type-member method Fb|constructor#(self::E? /* = core::int? */ ; static extension-type-member method G|constructor#(self::G|constructor#::T? it) → self::G /* = self::G|constructor#::T? */ ; -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G% /* = self::G|constructor#_#new#tearOff::T? */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G /* = self::G|constructor#_#new#tearOff::T? */ return self::G|constructor#(it); -static extension-type-member method Ha|constructor#(self::G% /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ +static extension-type-member method Ha|constructor#(self::G /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ ; -static extension-type-member method Ha|constructor#_#new#tearOff(self::G% /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha% /* = self::Ha|constructor#_#new#tearOff::T? */ +static extension-type-member method Ha|constructor#_#new#tearOff(self::G /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha /* = self::Ha|constructor#_#new#tearOff::T? */ return self::Ha|constructor#(it); -static extension-type-member method Hb|constructor#(self::G% /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ +static extension-type-member method Hb|constructor#(self::G /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ ; -static extension-type-member method Hb|constructor#_#new#tearOff(self::G% /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb% /* = self::Hb|constructor#_#new#tearOff::T? */ +static extension-type-member method Hb|constructor#_#new#tearOff(self::G /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb /* = self::Hb|constructor#_#new#tearOff::T? */ return self::Hb|constructor#(it); static extension-type-member method Hc|constructor#(self::G? /* = self::Hc|constructor#::T? */ it) → self::Hc /* = self::Hc|constructor#::T? */ ; -static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc% /* = self::Hc|constructor#_#new#tearOff::T? */ +static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc /* = self::Hc|constructor#_#new#tearOff::T? */ return self::Hc|constructor#(it); static extension-type-member method I|constructor#(self::I|constructor#::T it) → self::I /* = self::I|constructor#::T */ ; -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I% /* = self::I|constructor#_#new#tearOff::T */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I /* = self::I|constructor#_#new#tearOff::T */ return self::I|constructor#(it); -static extension-type-member method Ja|constructor#(self::I% /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ +static extension-type-member method Ja|constructor#(self::I /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ ; -static extension-type-member method Ja|constructor#_#new#tearOff(self::I% /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja% /* = self::Ja|constructor#_#new#tearOff::T */ +static extension-type-member method Ja|constructor#_#new#tearOff(self::I /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja /* = self::Ja|constructor#_#new#tearOff::T */ return self::Ja|constructor#(it); static extension-type-member method Jc|constructor#(self::I? /* = self::Jc|constructor#::T? */ it) → self::Jc /* = self::Jc|constructor#::T? */ ; -static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc% /* = self::Jc|constructor#_#new#tearOff::T? */ +static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc /* = self::Jc|constructor#_#new#tearOff::T? */ return self::Jc|constructor#(it); static extension-type-member method K|constructor#(self::K|constructor#::T? it) → self::K /* = self::K|constructor#::T? */ ; -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K% /* = self::K|constructor#_#new#tearOff::T? */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K /* = self::K|constructor#_#new#tearOff::T? */ return self::K|constructor#(it); -static extension-type-member method La|constructor#(self::K% /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ +static extension-type-member method La|constructor#(self::K /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ ; -static extension-type-member method La|constructor#_#new#tearOff(self::K% /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La% /* = self::La|constructor#_#new#tearOff::T? */ +static extension-type-member method La|constructor#_#new#tearOff(self::K /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La /* = self::La|constructor#_#new#tearOff::T? */ return self::La|constructor#(it); static extension-type-member method Lc|constructor#(self::K? /* = self::Lc|constructor#::T? */ it) → self::Lc /* = self::Lc|constructor#::T? */ ; -static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc% /* = self::Lc|constructor#_#new#tearOff::T? */ +static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc /* = self::Lc|constructor#_#new#tearOff::T? */ return self::Lc|constructor#(it); static method testA(Never n) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/representation_type.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/representation_type.dart.weak.transformed.expect index 5017c34e6e6a..05424eb1d2f3 100644 --- a/pkg/front_end/testcases/extension_types/representation_type.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/representation_type.dart.weak.transformed.expect @@ -125,25 +125,25 @@ static extension-type-member method C|constructor# /* = self::C|constructor#::T% */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C% /* = self::C|constructor#_#new#tearOff::T% */ +static extension-type-member method C|constructor#_#new#tearOff(self::C|constructor#_#new#tearOff::T% it) → self::C /* = self::C|constructor#_#new#tearOff::T% */ return self::C|constructor#(it); -static extension-type-member method Da|constructor#(self::C% /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { +static extension-type-member method Da|constructor#(self::C /* = self::Da|constructor#::T% */ it) → self::Da /* = self::Da|constructor#::T% */ { lowered final self::Da /* = self::Da|constructor#::T% */ #this = it; return #this; } -static extension-type-member method Da|constructor#_#new#tearOff(self::C% /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da% /* = self::Da|constructor#_#new#tearOff::T% */ +static extension-type-member method Da|constructor#_#new#tearOff(self::C /* = self::Da|constructor#_#new#tearOff::T% */ it) → self::Da /* = self::Da|constructor#_#new#tearOff::T% */ return self::Da|constructor#(it); -static extension-type-member method Db|constructor#(self::C% /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { +static extension-type-member method Db|constructor#(self::C /* = self::Db|constructor#::T? */ it) → self::Db /* = self::Db|constructor#::T? */ { lowered final self::Db /* = self::Db|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Db|constructor#_#new#tearOff(self::C% /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db% /* = self::Db|constructor#_#new#tearOff::T? */ +static extension-type-member method Db|constructor#_#new#tearOff(self::C /* = self::Db|constructor#_#new#tearOff::T? */ it) → self::Db /* = self::Db|constructor#_#new#tearOff::T? */ return self::Db|constructor#(it); static extension-type-member method Dc|constructor#(self::C? /* = self::Dc|constructor#::T? */ it) → self::Dc /* = self::Dc|constructor#::T? */ { lowered final self::Dc /* = self::Dc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc% /* = self::Dc|constructor#_#new#tearOff::T? */ +static extension-type-member method Dc|constructor#_#new#tearOff(self::C? /* = self::Dc|constructor#_#new#tearOff::T? */ it) → self::Dc /* = self::Dc|constructor#_#new#tearOff::T? */ return self::Dc|constructor#(it); static extension-type-member method E|constructor#(core::int? it) → self::E /* = core::int? */ { lowered final self::E /* = core::int? */ #this = it; @@ -167,61 +167,61 @@ static extension-type-member method G|constructor# /* = self::G|constructor#::T? */ #this = it; return #this; } -static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G% /* = self::G|constructor#_#new#tearOff::T? */ +static extension-type-member method G|constructor#_#new#tearOff(self::G|constructor#_#new#tearOff::T? it) → self::G /* = self::G|constructor#_#new#tearOff::T? */ return self::G|constructor#(it); -static extension-type-member method Ha|constructor#(self::G% /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { +static extension-type-member method Ha|constructor#(self::G /* = self::Ha|constructor#::T? */ it) → self::Ha /* = self::Ha|constructor#::T? */ { lowered final self::Ha /* = self::Ha|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Ha|constructor#_#new#tearOff(self::G% /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha% /* = self::Ha|constructor#_#new#tearOff::T? */ +static extension-type-member method Ha|constructor#_#new#tearOff(self::G /* = self::Ha|constructor#_#new#tearOff::T? */ it) → self::Ha /* = self::Ha|constructor#_#new#tearOff::T? */ return self::Ha|constructor#(it); -static extension-type-member method Hb|constructor#(self::G% /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { +static extension-type-member method Hb|constructor#(self::G /* = self::Hb|constructor#::T? */ it) → self::Hb /* = self::Hb|constructor#::T? */ { lowered final self::Hb /* = self::Hb|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hb|constructor#_#new#tearOff(self::G% /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb% /* = self::Hb|constructor#_#new#tearOff::T? */ +static extension-type-member method Hb|constructor#_#new#tearOff(self::G /* = self::Hb|constructor#_#new#tearOff::T? */ it) → self::Hb /* = self::Hb|constructor#_#new#tearOff::T? */ return self::Hb|constructor#(it); static extension-type-member method Hc|constructor#(self::G? /* = self::Hc|constructor#::T? */ it) → self::Hc /* = self::Hc|constructor#::T? */ { lowered final self::Hc /* = self::Hc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc% /* = self::Hc|constructor#_#new#tearOff::T? */ +static extension-type-member method Hc|constructor#_#new#tearOff(self::G? /* = self::Hc|constructor#_#new#tearOff::T? */ it) → self::Hc /* = self::Hc|constructor#_#new#tearOff::T? */ return self::Hc|constructor#(it); static extension-type-member method I|constructor#(self::I|constructor#::T it) → self::I /* = self::I|constructor#::T */ { lowered final self::I /* = self::I|constructor#::T */ #this = it; return #this; } -static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I% /* = self::I|constructor#_#new#tearOff::T */ +static extension-type-member method I|constructor#_#new#tearOff(self::I|constructor#_#new#tearOff::T it) → self::I /* = self::I|constructor#_#new#tearOff::T */ return self::I|constructor#(it); -static extension-type-member method Ja|constructor#(self::I% /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { +static extension-type-member method Ja|constructor#(self::I /* = self::Ja|constructor#::T */ it) → self::Ja /* = self::Ja|constructor#::T */ { lowered final self::Ja /* = self::Ja|constructor#::T */ #this = it; return #this; } -static extension-type-member method Ja|constructor#_#new#tearOff(self::I% /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja% /* = self::Ja|constructor#_#new#tearOff::T */ +static extension-type-member method Ja|constructor#_#new#tearOff(self::I /* = self::Ja|constructor#_#new#tearOff::T */ it) → self::Ja /* = self::Ja|constructor#_#new#tearOff::T */ return self::Ja|constructor#(it); static extension-type-member method Jc|constructor#(self::I? /* = self::Jc|constructor#::T? */ it) → self::Jc /* = self::Jc|constructor#::T? */ { lowered final self::Jc /* = self::Jc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc% /* = self::Jc|constructor#_#new#tearOff::T? */ +static extension-type-member method Jc|constructor#_#new#tearOff(self::I? /* = self::Jc|constructor#_#new#tearOff::T? */ it) → self::Jc /* = self::Jc|constructor#_#new#tearOff::T? */ return self::Jc|constructor#(it); static extension-type-member method K|constructor#(self::K|constructor#::T? it) → self::K /* = self::K|constructor#::T? */ { lowered final self::K /* = self::K|constructor#::T? */ #this = it; return #this; } -static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K% /* = self::K|constructor#_#new#tearOff::T? */ +static extension-type-member method K|constructor#_#new#tearOff(self::K|constructor#_#new#tearOff::T? it) → self::K /* = self::K|constructor#_#new#tearOff::T? */ return self::K|constructor#(it); -static extension-type-member method La|constructor#(self::K% /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { +static extension-type-member method La|constructor#(self::K /* = self::La|constructor#::T? */ it) → self::La /* = self::La|constructor#::T? */ { lowered final self::La /* = self::La|constructor#::T? */ #this = it; return #this; } -static extension-type-member method La|constructor#_#new#tearOff(self::K% /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La% /* = self::La|constructor#_#new#tearOff::T? */ +static extension-type-member method La|constructor#_#new#tearOff(self::K /* = self::La|constructor#_#new#tearOff::T? */ it) → self::La /* = self::La|constructor#_#new#tearOff::T? */ return self::La|constructor#(it); static extension-type-member method Lc|constructor#(self::K? /* = self::Lc|constructor#::T? */ it) → self::Lc /* = self::Lc|constructor#::T? */ { lowered final self::Lc /* = self::Lc|constructor#::T? */ #this = it; return #this; } -static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc% /* = self::Lc|constructor#_#new#tearOff::T? */ +static extension-type-member method Lc|constructor#_#new#tearOff(self::K? /* = self::Lc|constructor#_#new#tearOff::T? */ it) → self::Lc /* = self::Lc|constructor#_#new#tearOff::T? */ return self::Lc|constructor#(it); static method testA(Never n) → dynamic { self::A /* = core::int */ a1 = let final Never #t1 = n in throw new _in::ReachabilityError::•("`null` encountered as the result from expression with type `Never`."); diff --git a/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart new file mode 100644 index 000000000000..1a7fbb4d4e16 --- /dev/null +++ b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart @@ -0,0 +1,9 @@ +// Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +extension type E(X it) {} + +typedef F = E; + +test(Function(F) f1, Function(int) f2) => [f1, f2]; diff --git a/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.strong.expect b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.strong.expect new file mode 100644 index 000000000000..4866e9a9922f --- /dev/null +++ b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.strong.expect @@ -0,0 +1,18 @@ +library; +import self as self; +import "dart:core" as core; + +typedef F = self::E /* = Y% */; +extension type E(X% it) { + abstract extension-type-member representation-field get it() → X%; + constructor • = self::E|constructor#; + constructor tearoff • = self::E|constructor#_#new#tearOff; +} +static extension-type-member method E|constructor#(self::E|constructor#::X% it) → self::E /* = self::E|constructor#::X% */ { + lowered final self::E /* = self::E|constructor#::X% */ #this = it; + return #this; +} +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ + return self::E|constructor#(it); +static method test((self::E /* = core::int */) → dynamic f1, (core::int) → dynamic f2) → dynamic + return <(Never) → dynamic>[f1, f2]; diff --git a/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.strong.transformed.expect new file mode 100644 index 000000000000..d0bafe0a80d6 --- /dev/null +++ b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.strong.transformed.expect @@ -0,0 +1,18 @@ +library; +import self as self; +import "dart:core" as core; + +typedef F = self::E /* = Y% */; +extension type E(X% it) { + abstract extension-type-member representation-field get it() → X%; + constructor • = self::E|constructor#; + constructor tearoff • = self::E|constructor#_#new#tearOff; +} +static extension-type-member method E|constructor#(self::E|constructor#::X% it) → self::E /* = self::E|constructor#::X% */ { + lowered final self::E /* = self::E|constructor#::X% */ #this = it; + return #this; +} +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ + return self::E|constructor#(it); +static method test((self::E /* = core::int */) → dynamic f1, (core::int) → dynamic f2) → dynamic + return core::_GrowableList::_literal2<(Never) → dynamic>(f1, f2); diff --git a/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.textual_outline.expect b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.textual_outline.expect new file mode 100644 index 000000000000..3c85af1e3f47 --- /dev/null +++ b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.textual_outline.expect @@ -0,0 +1,5 @@ +extension type E(X it) {} + +typedef F = E; + +test(Function(F) f1, Function(int) f2) => [f1, f2]; diff --git a/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.textual_outline_modelled.expect b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.textual_outline_modelled.expect new file mode 100644 index 000000000000..b7da7cd7ebe9 --- /dev/null +++ b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.textual_outline_modelled.expect @@ -0,0 +1,5 @@ +extension type E(X it) {} + +test(Function(F) f1, Function(int) f2) => [f1, f2]; + +typedef F = E; diff --git a/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.expect b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.expect new file mode 100644 index 000000000000..4866e9a9922f --- /dev/null +++ b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.expect @@ -0,0 +1,18 @@ +library; +import self as self; +import "dart:core" as core; + +typedef F = self::E /* = Y% */; +extension type E(X% it) { + abstract extension-type-member representation-field get it() → X%; + constructor • = self::E|constructor#; + constructor tearoff • = self::E|constructor#_#new#tearOff; +} +static extension-type-member method E|constructor#(self::E|constructor#::X% it) → self::E /* = self::E|constructor#::X% */ { + lowered final self::E /* = self::E|constructor#::X% */ #this = it; + return #this; +} +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ + return self::E|constructor#(it); +static method test((self::E /* = core::int */) → dynamic f1, (core::int) → dynamic f2) → dynamic + return <(Never) → dynamic>[f1, f2]; diff --git a/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.modular.expect new file mode 100644 index 000000000000..4866e9a9922f --- /dev/null +++ b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.modular.expect @@ -0,0 +1,18 @@ +library; +import self as self; +import "dart:core" as core; + +typedef F = self::E /* = Y% */; +extension type E(X% it) { + abstract extension-type-member representation-field get it() → X%; + constructor • = self::E|constructor#; + constructor tearoff • = self::E|constructor#_#new#tearOff; +} +static extension-type-member method E|constructor#(self::E|constructor#::X% it) → self::E /* = self::E|constructor#::X% */ { + lowered final self::E /* = self::E|constructor#::X% */ #this = it; + return #this; +} +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ + return self::E|constructor#(it); +static method test((self::E /* = core::int */) → dynamic f1, (core::int) → dynamic f2) → dynamic + return <(Never) → dynamic>[f1, f2]; diff --git a/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.outline.expect new file mode 100644 index 000000000000..6f2976505823 --- /dev/null +++ b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.outline.expect @@ -0,0 +1,16 @@ +library; +import self as self; +import "dart:core" as core; + +typedef F = self::E /* = Y% */; +extension type E(X% it) { + abstract extension-type-member representation-field get it() → X%; + constructor • = self::E|constructor#; + constructor tearoff • = self::E|constructor#_#new#tearOff; +} +static extension-type-member method E|constructor#(self::E|constructor#::X% it) → self::E /* = self::E|constructor#::X% */ + ; +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ + return self::E|constructor#(it); +static method test((self::E /* = core::int */) → dynamic f1, (core::int) → dynamic f2) → dynamic + ; diff --git a/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.transformed.expect new file mode 100644 index 000000000000..d0bafe0a80d6 --- /dev/null +++ b/pkg/front_end/testcases/extension_types/substituted_extension_type_in_contravariant_position_in_up.dart.weak.transformed.expect @@ -0,0 +1,18 @@ +library; +import self as self; +import "dart:core" as core; + +typedef F = self::E /* = Y% */; +extension type E(X% it) { + abstract extension-type-member representation-field get it() → X%; + constructor • = self::E|constructor#; + constructor tearoff • = self::E|constructor#_#new#tearOff; +} +static extension-type-member method E|constructor#(self::E|constructor#::X% it) → self::E /* = self::E|constructor#::X% */ { + lowered final self::E /* = self::E|constructor#::X% */ #this = it; + return #this; +} +static extension-type-member method E|constructor#_#new#tearOff(self::E|constructor#_#new#tearOff::X% it) → self::E /* = self::E|constructor#_#new#tearOff::X% */ + return self::E|constructor#(it); +static method test((self::E /* = core::int */) → dynamic f1, (core::int) → dynamic f2) → dynamic + return core::_GrowableList::_literal2<(Never) → dynamic>(f1, f2); diff --git a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.strong.expect b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.strong.expect index c74cfc0dc6a0..ecc8230d4fe7 100644 --- a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.strong.expect @@ -42,19 +42,19 @@ static extension-type-member method A|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A% /* = core::int */ +static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A /* = core::int */ return self::A|constructor#(it); static extension-type-member method B|constructor#(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method C|constructor#(core::int it) → self::C /* = core::int */ { lowered final self::C /* = core::int */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C% /* = core::int */ +static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C /* = core::int */ return self::C|constructor#(it); static extension-type-member method D|constructor#(core::int it) → self::D /* = core::int */ { lowered final self::D /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.strong.transformed.expect index c74cfc0dc6a0..ecc8230d4fe7 100644 --- a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.strong.transformed.expect @@ -42,19 +42,19 @@ static extension-type-member method A|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A% /* = core::int */ +static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A /* = core::int */ return self::A|constructor#(it); static extension-type-member method B|constructor#(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method C|constructor#(core::int it) → self::C /* = core::int */ { lowered final self::C /* = core::int */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C% /* = core::int */ +static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C /* = core::int */ return self::C|constructor#(it); static extension-type-member method D|constructor#(core::int it) → self::D /* = core::int */ { lowered final self::D /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.expect b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.expect index c74cfc0dc6a0..ecc8230d4fe7 100644 --- a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.expect @@ -42,19 +42,19 @@ static extension-type-member method A|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A% /* = core::int */ +static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A /* = core::int */ return self::A|constructor#(it); static extension-type-member method B|constructor#(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method C|constructor#(core::int it) → self::C /* = core::int */ { lowered final self::C /* = core::int */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C% /* = core::int */ +static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C /* = core::int */ return self::C|constructor#(it); static extension-type-member method D|constructor#(core::int it) → self::D /* = core::int */ { lowered final self::D /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.modular.expect index c74cfc0dc6a0..ecc8230d4fe7 100644 --- a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.modular.expect @@ -42,19 +42,19 @@ static extension-type-member method A|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A% /* = core::int */ +static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A /* = core::int */ return self::A|constructor#(it); static extension-type-member method B|constructor#(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method C|constructor#(core::int it) → self::C /* = core::int */ { lowered final self::C /* = core::int */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C% /* = core::int */ +static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C /* = core::int */ return self::C|constructor#(it); static extension-type-member method D|constructor#(core::int it) → self::D /* = core::int */ { lowered final self::D /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.outline.expect index 288128f9b17e..fc8e7e9cd7b0 100644 --- a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.outline.expect @@ -40,15 +40,15 @@ extension type E(core::int it) implements self::B /* = core::int */, } static extension-type-member method A|constructor#(core::int it) → self::A /* = core::int */ ; -static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A% /* = core::int */ +static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A /* = core::int */ return self::A|constructor#(it); static extension-type-member method B|constructor#(core::int it) → self::B /* = core::int */ ; -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method C|constructor#(core::int it) → self::C /* = core::int */ ; -static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C% /* = core::int */ +static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C /* = core::int */ return self::C|constructor#(it); static extension-type-member method D|constructor#(core::int it) → self::D /* = core::int */ ; diff --git a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.transformed.expect index c74cfc0dc6a0..ecc8230d4fe7 100644 --- a/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/super_extension_type_conflict.dart.weak.transformed.expect @@ -42,19 +42,19 @@ static extension-type-member method A|constructor# /* = core::int */ #this = it; return #this; } -static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A% /* = core::int */ +static extension-type-member method A|constructor#_#new#tearOff(core::int it) → self::A /* = core::int */ return self::A|constructor#(it); static extension-type-member method B|constructor#(core::int it) → self::B /* = core::int */ { lowered final self::B /* = core::int */ #this = it; return #this; } -static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B% /* = core::int */ +static extension-type-member method B|constructor#_#new#tearOff(core::int it) → self::B /* = core::int */ return self::B|constructor#(it); static extension-type-member method C|constructor#(core::int it) → self::C /* = core::int */ { lowered final self::C /* = core::int */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C% /* = core::int */ +static extension-type-member method C|constructor#_#new#tearOff(core::int it) → self::C /* = core::int */ return self::C|constructor#(it); static extension-type-member method D|constructor#(core::int it) → self::D /* = core::int */ { lowered final self::D /* = core::int */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.strong.expect b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.strong.expect index 53f3624b649e..d493c5346b43 100644 --- a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.strong.expect @@ -53,7 +53,7 @@ static extension-type-member method C|constructor# /* = self::A */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C% /* = self::A */ +static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C /* = self::A */ return self::C|constructor#(it); static extension-type-member method D|constructor#(self::A it) → self::D /* = self::A */ { lowered final self::D /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.strong.transformed.expect index 53f3624b649e..d493c5346b43 100644 --- a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.strong.transformed.expect @@ -53,7 +53,7 @@ static extension-type-member method C|constructor# /* = self::A */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C% /* = self::A */ +static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C /* = self::A */ return self::C|constructor#(it); static extension-type-member method D|constructor#(self::A it) → self::D /* = self::A */ { lowered final self::D /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.expect b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.expect index 53f3624b649e..d493c5346b43 100644 --- a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.expect @@ -53,7 +53,7 @@ static extension-type-member method C|constructor# /* = self::A */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C% /* = self::A */ +static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C /* = self::A */ return self::C|constructor#(it); static extension-type-member method D|constructor#(self::A it) → self::D /* = self::A */ { lowered final self::D /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.modular.expect index 53f3624b649e..d493c5346b43 100644 --- a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.modular.expect @@ -53,7 +53,7 @@ static extension-type-member method C|constructor# /* = self::A */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C% /* = self::A */ +static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C /* = self::A */ return self::C|constructor#(it); static extension-type-member method D|constructor#(self::A it) → self::D /* = self::A */ { lowered final self::D /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.outline.expect index 855965c90d5b..27ef0f8ecf0a 100644 --- a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.outline.expect @@ -48,7 +48,7 @@ static extension-type-member method B|constructor#_#new#tearOff(it); static extension-type-member method C|constructor#(self::A it) → self::C /* = self::A */ ; -static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C% /* = self::A */ +static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C /* = self::A */ return self::C|constructor#(it); static extension-type-member method D|constructor#(self::A it) → self::D /* = self::A */ ; diff --git a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.transformed.expect index 53f3624b649e..d493c5346b43 100644 --- a/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/supertype_conflict.dart.weak.transformed.expect @@ -53,7 +53,7 @@ static extension-type-member method C|constructor# /* = self::A */ #this = it; return #this; } -static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C% /* = self::A */ +static extension-type-member method C|constructor#_#new#tearOff(self::A it) → self::C /* = self::A */ return self::C|constructor#(it); static extension-type-member method D|constructor#(self::A it) → self::D /* = self::A */ { lowered final self::D /* = self::A */ #this = it; diff --git a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.strong.expect b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.strong.expect index 7a1b07c8f066..b5a1d0c4cc6e 100644 --- a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.strong.expect @@ -20,11 +20,11 @@ static extension-type-member method ExtensionType|constructor# /* = core::int */ #this = i; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); static method method2() → dynamic return self::ExtensionType|constructor#(0); static method _#Typedef1#new#tearOff() → self::Class return new self::Class::•(); -static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); diff --git a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.strong.transformed.expect index 7a1b07c8f066..b5a1d0c4cc6e 100644 --- a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.strong.transformed.expect @@ -20,11 +20,11 @@ static extension-type-member method ExtensionType|constructor# /* = core::int */ #this = i; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); static method method2() → dynamic return self::ExtensionType|constructor#(0); static method _#Typedef1#new#tearOff() → self::Class return new self::Class::•(); -static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); diff --git a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.expect b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.expect index 7a1b07c8f066..b5a1d0c4cc6e 100644 --- a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.expect @@ -20,11 +20,11 @@ static extension-type-member method ExtensionType|constructor# /* = core::int */ #this = i; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); static method method2() → dynamic return self::ExtensionType|constructor#(0); static method _#Typedef1#new#tearOff() → self::Class return new self::Class::•(); -static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); diff --git a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.modular.expect index 7a1b07c8f066..b5a1d0c4cc6e 100644 --- a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.modular.expect @@ -20,11 +20,11 @@ static extension-type-member method ExtensionType|constructor# /* = core::int */ #this = i; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); static method method2() → dynamic return self::ExtensionType|constructor#(0); static method _#Typedef1#new#tearOff() → self::Class return new self::Class::•(); -static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); diff --git a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.outline.expect index c6b59a8ceb5b..308c23dcff30 100644 --- a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.outline.expect @@ -17,11 +17,11 @@ static method method1() → dynamic ; static extension-type-member method ExtensionType|constructor#(core::int i) → self::ExtensionType /* = core::int */ ; -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); static method method2() → dynamic ; static method _#Typedef1#new#tearOff() → self::Class return new self::Class::•(); -static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); diff --git a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.transformed.expect index 7a1b07c8f066..b5a1d0c4cc6e 100644 --- a/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/type_alias_constructor_access.dart.weak.transformed.expect @@ -20,11 +20,11 @@ static extension-type-member method ExtensionType|constructor# /* = core::int */ #this = i; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); static method method2() → dynamic return self::ExtensionType|constructor#(0); static method _#Typedef1#new#tearOff() → self::Class return new self::Class::•(); -static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType% /* = core::int */ +static method _#Typedef2#new#tearOff(core::int i) → self::ExtensionType /* = core::int */ return self::ExtensionType|constructor#(i); diff --git a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.strong.expect b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.strong.expect index 133bfdbd0daa..a8951562bd81 100644 --- a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.strong.expect +++ b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.strong.expect @@ -209,7 +209,7 @@ import "alias_from_opt_in_lib.dart" as ali; import "org-dartlang-testcase:///alias_from_opt_in_lib.dart"; -static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */ t7a, core::List(T%) → void>% /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { +static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */ t7a, core::List(T%) → void> /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void> /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { new ali::Class::•<(T%) → void>(); (T%) → void>>[]; <(ali::Class<(T%) → void>) → void>[]; @@ -218,9 +218,9 @@ static method test((T%) → void t1a, core::L - 'List' is from 'dart:core'. new T7(0); // Error ^" in 0 as{TypeError} Never); - (T%) → void>% /* = core::List<(T%) → void> */>[]; - <(ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void>[]; - <(core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void>[]; + (T%) → void> /* = core::List<(T%) → void> */>[]; + <(ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void>[]; + <(core::List(T%) → void> /* = core::List<(T%) → void> */>) → void>[]; } static method main() → dynamic {} @@ -256,7 +256,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType% /* = core::List */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType /* = core::List */ return ali::ExtensionType|constructor#(it); static method test((T%) → void t1, (T%) → void t2, core::List<(T%) → void> t3, ((T%) → void, core::int) t5, ({required a: (T%) → void, required b: core::int}) t6, (T%) → void = dynamic>(S) → void t8, (core::List<(T%) → void>, core::int) t9, ({required a: core::List<(T%) → void>, required b: core::int}) t10, FutureOr<(T%) → void>t11, FutureOr(T%) → void>>t12) → dynamic { new ali::Class::•<(T%) → void>(); diff --git a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.strong.transformed.expect b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.strong.transformed.expect index f21dae998a5e..df272773f25e 100644 --- a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.strong.transformed.expect @@ -209,7 +209,7 @@ import "alias_from_opt_in_lib.dart" as ali; import "org-dartlang-testcase:///alias_from_opt_in_lib.dart"; -static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */ t7a, core::List(T%) → void>% /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { +static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */ t7a, core::List(T%) → void> /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void> /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { new ali::Class::•<(T%) → void>(); core::_GrowableList::•(T%) → void>>(0); core::_GrowableList::•<(ali::Class<(T%) → void>) → void>(0); @@ -218,9 +218,9 @@ static method test((T%) → void t1a, core::L - 'List' is from 'dart:core'. new T7(0); // Error ^" in 0 as{TypeError} Never); - core::_GrowableList::•(T%) → void>% /* = core::List<(T%) → void> */>(0); - core::_GrowableList::•<(ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void>(0); - core::_GrowableList::•<(core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void>(0); + core::_GrowableList::•(T%) → void> /* = core::List<(T%) → void> */>(0); + core::_GrowableList::•<(ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void>(0); + core::_GrowableList::•<(core::List(T%) → void> /* = core::List<(T%) → void> */>) → void>(0); } static method main() → dynamic {} @@ -256,7 +256,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType% /* = core::List */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType /* = core::List */ return ali::ExtensionType|constructor#(it); static method test((T%) → void t1, (T%) → void t2, core::List<(T%) → void> t3, ((T%) → void, core::int) t5, ({required a: (T%) → void, required b: core::int}) t6, (T%) → void = dynamic>(S) → void t8, (core::List<(T%) → void>, core::int) t9, ({required a: core::List<(T%) → void>, required b: core::int}) t10, FutureOr<(T%) → void>t11, FutureOr(T%) → void>>t12) → dynamic { new ali::Class::•<(T%) → void>(); diff --git a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.expect b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.expect index 133bfdbd0daa..a8951562bd81 100644 --- a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.expect +++ b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.expect @@ -209,7 +209,7 @@ import "alias_from_opt_in_lib.dart" as ali; import "org-dartlang-testcase:///alias_from_opt_in_lib.dart"; -static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */ t7a, core::List(T%) → void>% /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { +static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */ t7a, core::List(T%) → void> /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void> /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { new ali::Class::•<(T%) → void>(); (T%) → void>>[]; <(ali::Class<(T%) → void>) → void>[]; @@ -218,9 +218,9 @@ static method test((T%) → void t1a, core::L - 'List' is from 'dart:core'. new T7(0); // Error ^" in 0 as{TypeError} Never); - (T%) → void>% /* = core::List<(T%) → void> */>[]; - <(ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void>[]; - <(core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void>[]; + (T%) → void> /* = core::List<(T%) → void> */>[]; + <(ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void>[]; + <(core::List(T%) → void> /* = core::List<(T%) → void> */>) → void>[]; } static method main() → dynamic {} @@ -256,7 +256,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType% /* = core::List */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType /* = core::List */ return ali::ExtensionType|constructor#(it); static method test((T%) → void t1, (T%) → void t2, core::List<(T%) → void> t3, ((T%) → void, core::int) t5, ({required a: (T%) → void, required b: core::int}) t6, (T%) → void = dynamic>(S) → void t8, (core::List<(T%) → void>, core::int) t9, ({required a: core::List<(T%) → void>, required b: core::int}) t10, FutureOr<(T%) → void>t11, FutureOr(T%) → void>>t12) → dynamic { new ali::Class::•<(T%) → void>(); diff --git a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.modular.expect b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.modular.expect index 133bfdbd0daa..a8951562bd81 100644 --- a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.modular.expect +++ b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.modular.expect @@ -209,7 +209,7 @@ import "alias_from_opt_in_lib.dart" as ali; import "org-dartlang-testcase:///alias_from_opt_in_lib.dart"; -static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */ t7a, core::List(T%) → void>% /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { +static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */ t7a, core::List(T%) → void> /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void> /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { new ali::Class::•<(T%) → void>(); (T%) → void>>[]; <(ali::Class<(T%) → void>) → void>[]; @@ -218,9 +218,9 @@ static method test((T%) → void t1a, core::L - 'List' is from 'dart:core'. new T7(0); // Error ^" in 0 as{TypeError} Never); - (T%) → void>% /* = core::List<(T%) → void> */>[]; - <(ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void>[]; - <(core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void>[]; + (T%) → void> /* = core::List<(T%) → void> */>[]; + <(ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void>[]; + <(core::List(T%) → void> /* = core::List<(T%) → void> */>) → void>[]; } static method main() → dynamic {} @@ -256,7 +256,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType% /* = core::List */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType /* = core::List */ return ali::ExtensionType|constructor#(it); static method test((T%) → void t1, (T%) → void t2, core::List<(T%) → void> t3, ((T%) → void, core::int) t5, ({required a: (T%) → void, required b: core::int}) t6, (T%) → void = dynamic>(S) → void t8, (core::List<(T%) → void>, core::int) t9, ({required a: core::List<(T%) → void>, required b: core::int}) t10, FutureOr<(T%) → void>t11, FutureOr(T%) → void>>t12) → dynamic { new ali::Class::•<(T%) → void>(); diff --git a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.outline.expect b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.outline.expect index a35da79eef87..5161e00e7793 100644 --- a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.outline.expect +++ b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.outline.expect @@ -164,7 +164,7 @@ import "alias_from_opt_in_lib.dart" as ali; import "org-dartlang-testcase:///alias_from_opt_in_lib.dart"; -static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */ t7a, core::List(T%) → void>% /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic +static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */ t7a, core::List(T%) → void> /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void> /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic ; static method main() → dynamic ; @@ -198,7 +198,7 @@ extension type ExtensionType(core::List i } static extension-type-member method ExtensionType|constructor#(core::List it) → ali::ExtensionType /* = core::List */ ; -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType% /* = core::List */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType /* = core::List */ return ali::ExtensionType|constructor#(it); static method test((T%) → void t1, (T%) → void t2, core::List<(T%) → void> t3, ((T%) → void, core::int) t5, ({required a: (T%) → void, required b: core::int}) t6, (T%) → void = dynamic>(S) → void t8, (core::List<(T%) → void>, core::int) t9, ({required a: core::List<(T%) → void>, required b: core::int}) t10, FutureOr<(T%) → void>t11, FutureOr(T%) → void>>t12) → dynamic ; diff --git a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.transformed.expect b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.transformed.expect index f21dae998a5e..df272773f25e 100644 --- a/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/generic_metadata/alias_from_opt_in.dart.weak.transformed.expect @@ -209,7 +209,7 @@ import "alias_from_opt_in_lib.dart" as ali; import "org-dartlang-testcase:///alias_from_opt_in_lib.dart"; -static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */ t7a, core::List(T%) → void>% /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { +static method test((T%) → void t1a, core::List<(T%) → void> t1b, ((T%) → void) → void t1c, (core::List<(T%) → void>) → void t1d, ((T%) → void) → void t2a, core::List<((T%) → void) → void> t2b, (((T%) → void) → void) → void t2c, (core::List<((T%) → void) → void>) → void t2d, core::List<(T%) → void> t3a, core::List(T%) → void>> t3b, (core::List<(T%) → void>) → void t3c, (core::List(T%) → void>>) → void t3d, ali::Class<(T%) → void> t4a, core::List(T%) → void>> t4b, (ali::Class<(T%) → void>) → void t4c, (core::List(T%) → void>>) → void t4d, ((T%) → void, core::int) t5a, core::List<((T%) → void, core::int)> t5b, (((T%) → void, core::int)) → void t5c, (core::List<((T%) → void, core::int)>) → void t5d, ({required a: (T%) → void, required b: core::int}) t6a, core::List<({required a: (T%) → void, required b: core::int})> t6b, (({required a: (T%) → void, required b: core::int})) → void t6c, (core::List<({required a: (T%) → void, required b: core::int})>) → void t6d, ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */ t7a, core::List(T%) → void> /* = core::List<(T%) → void> */> t7b, (ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void t7c, (core::List(T%) → void> /* = core::List<(T%) → void> */>) → void t7d, (T%) → void = dynamic>(S) → void t8a, core::List<(T%) → void = dynamic>(S) → void> t8b, ((T%) → void = dynamic>(S) → void) → void t8c, (core::List<(T%) → void = dynamic>(S) → void>) → void t8d, (core::List<(T%) → void>, core::int) t9a, core::List<(core::List<(T%) → void>, core::int)> t9b, ((core::List<(T%) → void>, core::int)) → void t9c, (core::List<(core::List<(T%) → void>, core::int)>) → void t9d, ({required a: core::List<(T%) → void>, required b: core::int}) t10a, core::List<({required a: core::List<(T%) → void>, required b: core::int})> t10b, (({required a: core::List<(T%) → void>, required b: core::int})) → void t10c, (core::List<({required a: core::List<(T%) → void>, required b: core::int})>) → void t10d, FutureOr<(T%) → void>t11a, core::List(T%) → void>> t11b, (FutureOr<(T%) → void>) → void t11c, (core::List(T%) → void>>) → void t11d, FutureOr(T%) → void>>t12a, core::List(T%) → void>>> t12b, (FutureOr(T%) → void>>) → void t12c, (core::List(T%) → void>>>) → void t12d) → dynamic { new ali::Class::•<(T%) → void>(); core::_GrowableList::•(T%) → void>>(0); core::_GrowableList::•<(ali::Class<(T%) → void>) → void>(0); @@ -218,9 +218,9 @@ static method test((T%) → void t1a, core::L - 'List' is from 'dart:core'. new T7(0); // Error ^" in 0 as{TypeError} Never); - core::_GrowableList::•(T%) → void>% /* = core::List<(T%) → void> */>(0); - core::_GrowableList::•<(ali::ExtensionType<(T%) → void>% /* = core::List<(T%) → void> */) → void>(0); - core::_GrowableList::•<(core::List(T%) → void>% /* = core::List<(T%) → void> */>) → void>(0); + core::_GrowableList::•(T%) → void> /* = core::List<(T%) → void> */>(0); + core::_GrowableList::•<(ali::ExtensionType<(T%) → void> /* = core::List<(T%) → void> */) → void>(0); + core::_GrowableList::•<(core::List(T%) → void> /* = core::List<(T%) → void> */>) → void>(0); } static method main() → dynamic {} @@ -256,7 +256,7 @@ static extension-type-member method ExtensionType|constructor# /* = core::List */ #this = it; return #this; } -static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType% /* = core::List */ +static extension-type-member method ExtensionType|constructor#_#new#tearOff(core::List it) → ali::ExtensionType /* = core::List */ return ali::ExtensionType|constructor#(it); static method test((T%) → void t1, (T%) → void t2, core::List<(T%) → void> t3, ((T%) → void, core::int) t5, ({required a: (T%) → void, required b: core::int}) t6, (T%) → void = dynamic>(S) → void t8, (core::List<(T%) → void>, core::int) t9, ({required a: core::List<(T%) → void>, required b: core::int}) t10, FutureOr<(T%) → void>t11, FutureOr(T%) → void>>t12) → dynamic { new ali::Class::•<(T%) → void>(); diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart index c0ff54793139..f58bbe230eb3 100644 --- a/pkg/kernel/lib/ast.dart +++ b/pkg/kernel/lib/ast.dart @@ -11851,8 +11851,8 @@ class TypedefType extends DartType { DartType get unaliasOnce { DartType result = Substitution.fromTypedefType(this).substituteType(typedefNode.type!); - return result.withDeclaredNullability( - combineNullabilitiesForSubstitution(result.nullability, nullability)); + return result.withDeclaredNullability(combineNullabilitiesForSubstitution( + result.declaredNullability, nullability)); } @override diff --git a/pkg/kernel/lib/src/unaliasing.dart b/pkg/kernel/lib/src/unaliasing.dart index d73078ebc7dd..b73ca8ad9861 100644 --- a/pkg/kernel/lib/src/unaliasing.dart +++ b/pkg/kernel/lib/src/unaliasing.dart @@ -98,10 +98,10 @@ class _Unalias extends ReplacementVisitor { node.typedefNode.type!.nullability == Nullability.legacy) { // The typedef is defined or used in an opt-out library so the nullability // is based on the use site alone. - result = result.withDeclaredNullability(node.nullability); + result = result.withDeclaredNullability(node.declaredNullability); } else { - result = result.withDeclaredNullability( - uniteNullabilities(node.nullability, result.nullability)); + result = result.withDeclaredNullability(uniteNullabilities( + node.declaredNullability, result.declaredNullability)); } if (legacyEraseAliases) { result = legacyErasure(result); diff --git a/pkg/kernel/lib/type_algebra.dart b/pkg/kernel/lib/type_algebra.dart index 920429471c18..39fbe3326e64 100644 --- a/pkg/kernel/lib/type_algebra.dart +++ b/pkg/kernel/lib/type_algebra.dart @@ -1196,7 +1196,7 @@ abstract class _TypeSubstitutor extends _SubstitutorBase { List typeArguments = node.typeArguments.map(visit).toList(); if (useCounter == before) return node; return new ExtensionType( - node.extensionTypeDeclaration, node.nullability, typeArguments); + node.extensionTypeDeclaration, node.declaredNullability, typeArguments); } @override @@ -1455,8 +1455,8 @@ class FunctionTypeInstantiator implements DartTypeVisitor { if (typeArguments == null) { return null; } else { - return new ExtensionType( - node.extensionTypeDeclaration, node.nullability, typeArguments); + return new ExtensionType(node.extensionTypeDeclaration, + node.declaredNullability, typeArguments); } } From d5830c1a6890e1ec3e944a24a10660a53ef958ea Mon Sep 17 00:00:00 2001 From: Jake Macdonald Date: Tue, 6 Feb 2024 11:09:46 +0000 Subject: [PATCH 2/3] [macros] check that fromJson and toJson methods are valid I also formatted this file, since you can do that now :) Change-Id: I7e7ad586cb4ba31f42a873a362d8099d1576e608 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/350480 Commit-Queue: Morgan :) Auto-Submit: Jake Macdonald Reviewed-by: Morgan :) --- .../macros/json/json_serializable.dart | 288 +++++++++--------- 1 file changed, 148 insertions(+), 140 deletions(-) diff --git a/tests/language/macros/json/json_serializable.dart b/tests/language/macros/json/json_serializable.dart index b2fbf8c79e75..74c1326c39a7 100644 --- a/tests/language/macros/json/json_serializable.dart +++ b/tests/language/macros/json/json_serializable.dart @@ -27,7 +27,7 @@ macro class JsonSerializable implements ClassDeclarationsMacro { var object = NamedTypeAnnotationCode( name: await builder.resolveIdentifier(_dartCore, 'Object')); var mapStringObject = NamedTypeAnnotationCode( - name: map, typeArguments: [string, object.asNullable]); + name: map, typeArguments: [string, object.asNullable]); // TODO: This only works because the macro file lives right next to the file // it is applied to. @@ -63,32 +63,33 @@ macro class FromJson implements ConstructorDefinitionMacro { @override Future buildDefinitionForConstructor(ConstructorDeclaration constructor, ConstructorDefinitionBuilder builder) async { - // TODO: Validate we are running on a valid fromJson constructor. + var fromJsonData = await _FromJsonData.build(builder); + await _checkValidFromJson(constructor, fromJsonData, builder); - // TODO: support extending other classes. var clazz = (await builder.typeDeclarationOf(constructor.definingType)) as ClassDeclaration; var superclass = clazz.superclass; var superclassHasFromJson = false; - var fromJsonData = await _FromJsonData.build(builder); if (superclass != null && - !await (await builder.resolve( - NamedTypeAnnotationCode(name: superclass.identifier))) + !await (await builder + .resolve(NamedTypeAnnotationCode(name: superclass.identifier))) .isExactly(fromJsonData.objectType)) { - var superclassDeclaration = await builder.typeDeclarationOf(superclass.identifier); - var superclassConstructors = await builder.constructorsOf(superclassDeclaration); - for (var constructor in superclassConstructors) { - if (constructor.identifier.name == 'fromJson') { - // TODO: Validate this is a valid fromJson constructor. + var superclassDeclaration = + await builder.typeDeclarationOf(superclass.identifier); + var superclassConstructors = + await builder.constructorsOf(superclassDeclaration); + for (var superConstructor in superclassConstructors) { + if (superConstructor.identifier.name == 'fromJson') { + await _checkValidFromJson(superConstructor, fromJsonData, builder); superclassHasFromJson = true; break; } } if (!superclassHasFromJson) { throw UnsupportedError( - 'Serialization of classes that extend other classes is only ' - 'supported if those classes have a valid ' - '`fromJson(Map json)` constructor.'); + 'Serialization of classes that extend other classes is only ' + 'supported if those classes have a valid ' + '`fromJson(Map json)` constructor.'); } } @@ -100,13 +101,13 @@ macro class FromJson implements ConstructorDefinitionMacro { field.identifier, ' = ', await _convertTypeFromJson( - field.type, - RawCode.fromParts([ - jsonParam, - '["${field.identifier.name}"]', - ]), - builder, - fromJsonData), + field.type, + RawCode.fromParts([ + jsonParam, + '["${field.identifier.name}"]', + ]), + builder, + fromJsonData), ]), if (superclassHasFromJson) RawCode.fromParts([ @@ -117,54 +118,63 @@ macro class FromJson implements ConstructorDefinitionMacro { ]); } - Future _convertTypeFromJson( - TypeAnnotation type, - Code jsonReference, - DefinitionBuilder builder, - _FromJsonData fromJsonData) async { + Future _checkValidFromJson( + ConstructorDeclaration constructor, + _FromJsonData fromJsonData, + DeclarationPhaseIntrospector introspector) async { + if (constructor.namedParameters.isNotEmpty || + constructor.positionalParameters.length != 1 || + !(await (await introspector + .resolve(constructor.positionalParameters.single.type.code)) + .isExactly(fromJsonData.jsonMapType))) { + throw ArgumentError( + 'Expected exactly one parameter, with the type Map'); + } + } + + Future _convertTypeFromJson(TypeAnnotation type, Code jsonReference, + DefinitionBuilder builder, _FromJsonData fromJsonData) async { if (type is! NamedTypeAnnotation) { builder.report(Diagnostic( - DiagnosticMessage( - 'Only named types are allowed on serializable classes', - target: type.asDiagnosticTarget), - Severity.error)); + DiagnosticMessage( + 'Only named types are allowed on serializable classes', + target: type.asDiagnosticTarget), + Severity.error)); return RawCode.fromString( - ''); + ''); } var typeDecl = await builder.typeDeclarationOf(type.identifier); while (typeDecl is TypeAliasDeclaration) { var aliasedType = typeDecl.aliasedType; if (aliasedType is! NamedTypeAnnotation) { builder.report(Diagnostic( - DiagnosticMessage( - 'Only named types are allowed on serializable classes, but the ' - 'type alias ${type.code} resolved to a ${aliasedType.code}.', - target: type.asDiagnosticTarget), - Severity.error)); + DiagnosticMessage( + 'Only named types are allowed on serializable classes, but the ' + 'type alias ${type.code} resolved to a ${aliasedType.code}.', + target: type.asDiagnosticTarget), + Severity.error)); return RawCode.fromString( - ''); + ''); } typeDecl = await builder.typeDeclarationOf(aliasedType.identifier); } if (typeDecl is! ClassDeclaration) { builder.report(Diagnostic( - DiagnosticMessage( - 'Only class types and certain built-in types are supported for ' - 'serializable classes', - target: type.asDiagnosticTarget), - Severity.error)); + DiagnosticMessage( + 'Only class types and certain built-in types are supported for ' + 'serializable classes', + target: type.asDiagnosticTarget), + Severity.error)); return RawCode.fromString( - ''); + ''); } // The static type of the expected type, without any type arguments. var typeDeclType = await builder.resolve( - NamedTypeAnnotationCode( - name: typeDecl.identifier, - typeArguments: [ - for (var typeParam in typeDecl.typeParameters) - typeParam.bound?.code ?? fromJsonData.objectCode.asNullable, - ])); + NamedTypeAnnotationCode(name: typeDecl.identifier, typeArguments: [ + for (var typeParam in typeDecl.typeParameters) + typeParam.bound?.code ?? fromJsonData.objectCode.asNullable, + ])); if (await typeDeclType.isExactly(fromJsonData.listType)) { return RawCode.fromParts([ '[ for (var item in ', @@ -172,11 +182,8 @@ macro class FromJson implements ConstructorDefinitionMacro { ' as ', fromJsonData.jsonListCode, ') ', - await _convertTypeFromJson( - type.typeArguments.single, - RawCode.fromString('item'), - builder, - fromJsonData), + await _convertTypeFromJson(type.typeArguments.single, + RawCode.fromString('item'), builder, fromJsonData), ']', ]); } else if (await typeDeclType.isExactly(fromJsonData.setType)) { @@ -186,11 +193,8 @@ macro class FromJson implements ConstructorDefinitionMacro { ' as ', fromJsonData.jsonListCode, ')', - await _convertTypeFromJson( - type.typeArguments.single, - RawCode.fromString('item'), - builder, - fromJsonData), + await _convertTypeFromJson(type.typeArguments.single, + RawCode.fromString('item'), builder, fromJsonData), '}', ]); } else if (await typeDeclType.isExactly(fromJsonData.mapType)) { @@ -200,11 +204,8 @@ macro class FromJson implements ConstructorDefinitionMacro { ' as ', fromJsonData.jsonMapCode, '.entries) entry.key: ', - await _convertTypeFromJson( - type.typeArguments.single, - RawCode.fromString('entry.value'), - builder, - fromJsonData), + await _convertTypeFromJson(type.typeArguments.single, + RawCode.fromString('entry.value'), builder, fromJsonData), '}', ]); } @@ -237,6 +238,7 @@ macro class FromJson implements ConstructorDefinitionMacro { final class _FromJsonData { final NamedTypeAnnotationCode jsonListCode; final NamedTypeAnnotationCode jsonMapCode; + final StaticType jsonMapType; final StaticType listType; final StaticType mapType; final NamedTypeAnnotationCode objectCode; @@ -246,6 +248,7 @@ final class _FromJsonData { _FromJsonData({ required this.jsonListCode, required this.jsonMapCode, + required this.jsonMapType, required this.listType, required this.mapType, required this.objectCode, @@ -253,7 +256,8 @@ final class _FromJsonData { required this.setType, }); - static Future<_FromJsonData> build(ConstructorDefinitionBuilder builder) async { + static Future<_FromJsonData> build( + ConstructorDefinitionBuilder builder) async { var [list, map, object, set, string] = await Future.wait([ builder.resolveIdentifier(_dartCore, 'List'), builder.resolveIdentifier(_dartCore, 'Map'), @@ -263,30 +267,29 @@ final class _FromJsonData { ]); var objectCode = NamedTypeAnnotationCode(name: object); var nullableObjectCode = objectCode.asNullable; - var jsonListCode = NamedTypeAnnotationCode( - name: list, - typeArguments: [ - nullableObjectCode, - ]); - var jsonMapCode = NamedTypeAnnotationCode( - name: map, - typeArguments: [ - NamedTypeAnnotationCode(name: string), - nullableObjectCode, - ]); - var [listType, mapType, objectType, setType] = await Future.wait([ + var jsonListCode = NamedTypeAnnotationCode(name: list, typeArguments: [ + nullableObjectCode, + ]); + var jsonMapCode = NamedTypeAnnotationCode(name: map, typeArguments: [ + NamedTypeAnnotationCode(name: string), + nullableObjectCode, + ]); + var [jsonMapType, listType, mapType, objectType, setType] = + await Future.wait([ + builder.resolve(jsonMapCode), builder.resolve(NamedTypeAnnotationCode( - name: list, typeArguments: [nullableObjectCode])), + name: list, typeArguments: [nullableObjectCode])), builder.resolve(NamedTypeAnnotationCode( - name: map, typeArguments: [nullableObjectCode, nullableObjectCode])), + name: map, typeArguments: [nullableObjectCode, nullableObjectCode])), builder.resolve(objectCode), builder.resolve(NamedTypeAnnotationCode( - name: set, typeArguments: [nullableObjectCode])), + name: set, typeArguments: [nullableObjectCode])), ]); return _FromJsonData( jsonListCode: jsonListCode, jsonMapCode: jsonMapCode, + jsonMapType: jsonMapType, listType: listType, mapType: mapType, objectCode: objectCode, @@ -303,10 +306,9 @@ macro class ToJson implements MethodDefinitionMacro { @override Future buildDefinitionForMethod( MethodDeclaration method, FunctionDefinitionBuilder builder) async { - // TODO: Validate we are running on a valid toJson method. - // Gathers a bunch of type introspection data we will need later. var toJsonData = await _ToJsonData.build(builder); + await _checkValidToJson(method, toJsonData, builder); // TODO: support extending other classes. final clazz = (await builder.typeDeclarationOf(method.definingType)) @@ -314,23 +316,24 @@ macro class ToJson implements MethodDefinitionMacro { var superclass = clazz.superclass; var superclassHasToJson = false; if (superclass != null && - !await (await builder.resolve( - NamedTypeAnnotationCode(name: superclass.identifier))) + !await (await builder + .resolve(NamedTypeAnnotationCode(name: superclass.identifier))) .isExactly(toJsonData.objectType)) { - var superclassDeclaration = await builder.typeDeclarationOf(superclass.identifier); + var superclassDeclaration = + await builder.typeDeclarationOf(superclass.identifier); var superclassMethods = await builder.methodsOf(superclassDeclaration); - for (var method in superclassMethods) { - if (method.identifier.name == 'toJson') { - // TODO: Validate this is a valid toJson method. + for (var superMethod in superclassMethods) { + if (superMethod.identifier.name == 'toJson') { + await _checkValidToJson(superMethod, toJsonData, builder); superclassHasToJson = true; break; } } if (!superclassHasToJson) { throw UnsupportedError( - 'Serialization of classes that extend other classes is only ' - 'supported if those classes have a valid ' - '`Map toJson()` method.'); + 'Serialization of classes that extend other classes is only ' + 'supported if those classes have a valid ' + '`Map toJson()` method.'); } } @@ -345,62 +348,65 @@ macro class ToJson implements MethodDefinitionMacro { field.identifier.name, '\'', ': ', - await _convertTypeToJson( - field.type, - RawCode.fromParts([field.identifier]), - builder, - toJsonData), + await _convertTypeToJson(field.type, + RawCode.fromParts([field.identifier]), builder, toJsonData), ',', ]), '\n };', ])); } - Future _convertTypeToJson( - TypeAnnotation type, - Code valueReference, - DefinitionBuilder builder, - _ToJsonData toJsonData) async { + Future _checkValidToJson(MethodDeclaration method, + _ToJsonData toJsonData, DeclarationPhaseIntrospector introspector) async { + if (method.namedParameters.isNotEmpty || + method.positionalParameters.isNotEmpty || + !(await (await introspector.resolve(method.returnType.code)) + .isExactly(toJsonData.jsonMapType))) { + throw ArgumentError( + 'Expected no parameters, and a return type of Map'); + } + } + + Future _convertTypeToJson(TypeAnnotation type, Code valueReference, + DefinitionBuilder builder, _ToJsonData toJsonData) async { if (type is! NamedTypeAnnotation) { builder.report(Diagnostic( - DiagnosticMessage( - 'Only fields with named types are allowed on serializable classes', - target: type.asDiagnosticTarget), - Severity.error)); + DiagnosticMessage( + 'Only fields with named types are allowed on serializable classes', + target: type.asDiagnosticTarget), + Severity.error)); return RawCode.fromString( - ''); + ''); } var typeDecl = await builder.typeDeclarationOf(type.identifier); while (typeDecl is TypeAliasDeclaration) { var aliasedType = typeDecl.aliasedType; if (aliasedType is! NamedTypeAnnotation) { builder.report(Diagnostic( - DiagnosticMessage( - 'Only fields with named types are allowed on serializable classes', - target: type.asDiagnosticTarget), - Severity.error)); + DiagnosticMessage( + 'Only fields with named types are allowed on serializable classes', + target: type.asDiagnosticTarget), + Severity.error)); return RawCode.fromString( - ''); + ''); } typeDecl = await builder.typeDeclarationOf(aliasedType.identifier); } if (typeDecl is! ClassDeclaration) { builder.report(Diagnostic( - DiagnosticMessage( - 'Only classes are supported as field types for serializable classes', - target: type.asDiagnosticTarget), - Severity.error)); + DiagnosticMessage( + 'Only classes are supported as field types for serializable classes', + target: type.asDiagnosticTarget), + Severity.error)); return RawCode.fromString( - ''); + ''); } var typeDeclType = await builder.resolve( - NamedTypeAnnotationCode( - name: typeDecl.identifier, - typeArguments: [ - for (var typeParam in typeDecl.typeParameters) - typeParam.bound?.code ?? toJsonData.objectCode.asNullable, - ])); + NamedTypeAnnotationCode(name: typeDecl.identifier, typeArguments: [ + for (var typeParam in typeDecl.typeParameters) + typeParam.bound?.code ?? toJsonData.objectCode.asNullable, + ])); // If it is a List/Set type, serialize it as a JSON list. if (await typeDeclType.isExactly(toJsonData.listType) || await typeDeclType.isExactly(toJsonData.setType)) { @@ -408,24 +414,18 @@ macro class ToJson implements MethodDefinitionMacro { '[ for (var item in ', valueReference, ') ', - await _convertTypeToJson( - type.typeArguments.single, - RawCode.fromString('item'), - builder, - toJsonData), + await _convertTypeToJson(type.typeArguments.single, + RawCode.fromString('item'), builder, toJsonData), ']', ]); - // If it is a Map type, serialize it as a JSON map. + // If it is a Map type, serialize it as a JSON map. } else if (await typeDeclType.isExactly(toJsonData.mapType)) { return RawCode.fromParts([ '{ for (var entry in ', valueReference, '.entries) entry.key: ', - await _convertTypeToJson( - type.typeArguments.single, - RawCode.fromString('entry.value'), - builder, - toJsonData), + await _convertTypeToJson(type.typeArguments.single, + RawCode.fromString('entry.value'), builder, toJsonData), '}', ]); } @@ -448,8 +448,8 @@ macro class ToJson implements MethodDefinitionMacro { } } - final class _ToJsonData { + final StaticType jsonMapType; final StaticType listType; final StaticType mapType; final NamedTypeAnnotationCode objectCode; @@ -457,6 +457,7 @@ final class _ToJsonData { final StaticType setType; _ToJsonData({ + required this.jsonMapType, required this.listType, required this.mapType, required this.objectCode, @@ -465,25 +466,32 @@ final class _ToJsonData { }); static Future<_ToJsonData> build(FunctionDefinitionBuilder builder) async { - var [list, map, object, set] = await Future.wait([ + var [list, map, object, set, string] = await Future.wait([ builder.resolveIdentifier(_dartCore, 'List'), builder.resolveIdentifier(_dartCore, 'Map'), builder.resolveIdentifier(_dartCore, 'Object'), builder.resolveIdentifier(_dartCore, 'Set'), + builder.resolveIdentifier(_dartCore, 'String'), ]); var objectCode = NamedTypeAnnotationCode(name: object); var nullableObjectCode = objectCode.asNullable; - var [listType, mapType, objectType, setType] = await Future.wait([ + var [jsonMapType, listType, mapType, objectType, setType] = + await Future.wait([ + builder.resolve(NamedTypeAnnotationCode(name: map, typeArguments: [ + NamedTypeAnnotationCode(name: string), + nullableObjectCode, + ])), builder.resolve(NamedTypeAnnotationCode( - name: list, typeArguments: [nullableObjectCode])), + name: list, typeArguments: [nullableObjectCode])), builder.resolve(NamedTypeAnnotationCode( - name: map, typeArguments: [nullableObjectCode, nullableObjectCode])), + name: map, typeArguments: [nullableObjectCode, nullableObjectCode])), builder.resolve(objectCode), builder.resolve(NamedTypeAnnotationCode( - name: set, typeArguments: [nullableObjectCode])), + name: set, typeArguments: [nullableObjectCode])), ]); return _ToJsonData( + jsonMapType: jsonMapType, listType: listType, mapType: mapType, objectCode: objectCode, @@ -513,7 +521,7 @@ extension on Code { void _writeDebugString(StringBuffer buffer) { for (var part in parts) { - switch(part) { + switch (part) { case Code(): part._writeDebugString(buffer); case Identifier(): From 80bec68bf92b747ff67e21aef72cbe39221239b6 Mon Sep 17 00:00:00 2001 From: Sigurd Meldgaard Date: Tue, 6 Feb 2024 14:49:38 +0000 Subject: [PATCH 3/3] Bump pub to 4ab2e3663f0a98be40427e004e789caebf3ea72e Changes: ``` > git log --format="%C(auto) %h %s" a3689f0..4ab2e36 https://dart.googlesource.com/pub.git/+/4ab2e366 Allow publishing to and from a .tar.gz archive (4119) https://dart.googlesource.com/pub.git/+/a2aff995 Remove nullability of parameter (4129) https://dart.googlesource.com/pub.git/+/a0e89c67 Remove unused files (4126) https://dart.googlesource.com/pub.git/+/5a8cd05e Allow ignoring advisory with id specified in the 'aliases' list (4125) https://dart.googlesource.com/pub.git/+/0f336198 Move packageConfigFile() to entrypoint.dart (4124) https://dart.googlesource.com/pub.git/+/267eff5d Tighten dependency constraints (4114) https://dart.googlesource.com/pub.git/+/11a94ef5 Small fixes to repository-spec-v2.md (4123) https://dart.googlesource.com/pub.git/+/6bcd7e8e Remove unnecessary imports of 'package:collection' `IterableExtension` (4121) https://dart.googlesource.com/pub.git/+/7ce24743 Use atomic moves when cloning git repos (4120) https://dart.googlesource.com/pub.git/+/1ec6fd5e Don't touch package_config.json when not needed (4107) https://dart.googlesource.com/pub.git/+/e9727d91 Fix path-matching expression in validators (4116) https://dart.googlesource.com/pub.git/+/dce232ec Read flutter version from new location (4113) https://dart.googlesource.com/pub.git/+/23edb452 Small cleanup in versionListing handling (4105) https://dart.googlesource.com/pub.git/+/d0178042 Add security advisory test (4106) ``` Diff: https://dart.googlesource.com/pub.git/+/a3689f03168c896dd1cb0db8a60c568b38ee16bf..4ab2e3663f0a98be40427e004e789caebf3ea72e/ Change-Id: I92f9e6d50d18ee12d106cf5c48118caf6c1f988e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/349740 Reviewed-by: Sarah Zakarias Commit-Queue: Sigurd Meldgaard --- DEPS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEPS b/DEPS index 08db4aa6376a..b4591a179887 100644 --- a/DEPS +++ b/DEPS @@ -166,7 +166,7 @@ vars = { "path_rev": "57a049cff2e2be7a302dd9683b2b194c6d06e2d4", "pool_rev": "4c490001446d8ba3d361b99d8befd6a4f61abc7a", "protobuf_rev": "a293fb9c866b1def3d3e7fffc5f6763a2ec59cc9", - "pub_rev": "a3689f03168c896dd1cb0db8a60c568b38ee16bf", # disable rev_sdk_deps.dart + "pub_rev": "4ab2e3663f0a98be40427e004e789caebf3ea72e", # disable rev_sdk_deps.dart "pub_semver_rev": "45721813dea1591a7689f93762afa358cbf260c7", "shelf_rev": "823966f0cb4fa26d549d31ca07c5d7b19bb9f842", "source_map_stack_trace_rev": "220962658bf67304207aedc7eeedca6ef64a7c72",