diff --git a/pkg/compiler/lib/src/kernel/transformations/late_lowering.dart b/pkg/compiler/lib/src/kernel/transformations/late_lowering.dart index 63248dcc8b5..d30aef9f84f 100644 --- a/pkg/compiler/lib/src/kernel/transformations/late_lowering.dart +++ b/pkg/compiler/lib/src/kernel/transformations/late_lowering.dart @@ -332,7 +332,11 @@ class LateLowering { fileUri: fileUri, fieldReference: field.fieldReference) ..fileOffset = fileOffset - ..isNonNullableByDefault = true; + ..isNonNullableByDefault = true + // TODO(fishythefish,srujzs,johnniwinther): Also mark the getter/setter + // as extension/inline class members. + ..isExtensionMember = field.isExtensionMember + ..isInlineClassMember = field.isInlineClassMember; StaticGet fieldCellAccess() => StaticGet(fieldCell)..fileOffset = fileOffset; diff --git a/pkg/front_end/lib/src/fasta/source/source_constructor_builder.dart b/pkg/front_end/lib/src/fasta/source/source_constructor_builder.dart index 2720c54b5dc..d72cb1eb503 100644 --- a/pkg/front_end/lib/src/fasta/source/source_constructor_builder.dart +++ b/pkg/front_end/lib/src/fasta/source/source_constructor_builder.dart @@ -1100,6 +1100,7 @@ class SourceInlineClassConstructorBuilder nameScheme .getConstructorMemberName(name, isTearOff: true) .attachMember(_constructorTearOff!); + _constructorTearOff!.isInlineClassMember = true; } } diff --git a/pkg/front_end/lib/src/fasta/source/source_field_builder.dart b/pkg/front_end/lib/src/fasta/source/source_field_builder.dart index d398742a12c..4b8ae053603 100644 --- a/pkg/front_end/lib/src/fasta/source/source_field_builder.dart +++ b/pkg/front_end/lib/src/fasta/source/source_field_builder.dart @@ -683,6 +683,10 @@ class RegularFieldEncoding implements FieldEncoding { _field ..isStatic = true ..isExtensionMember = true; + } else if (fieldBuilder.isInlineClassMember) { + _field + ..isStatic = fieldBuilder.isStatic + ..isInlineClassMember = true; } else { bool isInstanceMember = !fieldBuilder.isStatic && !fieldBuilder.isTopLevel; @@ -1081,15 +1085,19 @@ abstract class AbstractLateFieldEncoding implements FieldEncoding { @override void build( SourceLibraryBuilder libraryBuilder, SourceFieldBuilder fieldBuilder) { - bool isInstanceMember; + bool isInstanceMember = !fieldBuilder.isStatic && !fieldBuilder.isTopLevel; bool isExtensionMember = fieldBuilder.isExtensionMember; + bool isInlineClassMember = fieldBuilder.isInlineClassMember; if (isExtensionMember) { _field ..isStatic = true ..isExtensionMember = isExtensionMember; isInstanceMember = false; + } else if (isInlineClassMember) { + _field + ..isStatic = fieldBuilder.isStatic + ..isInlineClassMember = true; } else { - isInstanceMember = !fieldBuilder.isStatic && !fieldBuilder.isTopLevel; _field ..isStatic = !isInstanceMember ..isExtensionMember = false; @@ -1097,18 +1105,20 @@ abstract class AbstractLateFieldEncoding implements FieldEncoding { if (_lateIsSetField != null) { _lateIsSetField! ..isStatic = !isInstanceMember - ..isStatic = _field.isStatic ..isExtensionMember = isExtensionMember + ..isInlineClassMember = isInlineClassMember ..type = libraryBuilder.loader .createCoreType('bool', Nullability.nonNullable); } _lateGetter ..isStatic = !isInstanceMember - ..isExtensionMember = isExtensionMember; + ..isExtensionMember = isExtensionMember + ..isInlineClassMember = isInlineClassMember; if (_lateSetter != null) { _lateSetter! ..isStatic = !isInstanceMember - ..isExtensionMember = isExtensionMember; + ..isExtensionMember = isExtensionMember + ..isInlineClassMember = isInlineClassMember; } } diff --git a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.strong.expect b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.strong.expect index c10c1d70ab1..8f2093f5b58 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.strong.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.strong.expect @@ -302,17 +302,17 @@ Try changing the operand or remove the type arguments. f3; // error ^"; } -static method Extension|call(lowered final core::int #this) → dynamic {} -static method Extension|get#call(lowered final core::int #this) → () → dynamic +static extension-member method Extension|call(lowered final core::int #this) → dynamic {} +static extension-member method Extension|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|call(#this); -static method ExtensionGetter|get#call(lowered final core::double #this) → () → void +static extension-member method ExtensionGetter|get#call(lowered final core::double #this) → () → void return () → void {}; -static method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} -static method Ambiguous1|call(lowered final core::String #this) → dynamic {} -static method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic +static extension-member method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} +static extension-member method Ambiguous1|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous1|call(#this); -static method Ambiguous2|call(lowered final core::String #this) → dynamic {} -static method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic +static extension-member method Ambiguous2|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous2|call(#this); static method main() → dynamic { self::method(new self::Class::•(), 0, new self::Class::•(), 0); diff --git a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.strong.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.strong.transformed.expect index c10c1d70ab1..8f2093f5b58 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.strong.transformed.expect @@ -302,17 +302,17 @@ Try changing the operand or remove the type arguments. f3; // error ^"; } -static method Extension|call(lowered final core::int #this) → dynamic {} -static method Extension|get#call(lowered final core::int #this) → () → dynamic +static extension-member method Extension|call(lowered final core::int #this) → dynamic {} +static extension-member method Extension|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|call(#this); -static method ExtensionGetter|get#call(lowered final core::double #this) → () → void +static extension-member method ExtensionGetter|get#call(lowered final core::double #this) → () → void return () → void {}; -static method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} -static method Ambiguous1|call(lowered final core::String #this) → dynamic {} -static method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic +static extension-member method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} +static extension-member method Ambiguous1|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous1|call(#this); -static method Ambiguous2|call(lowered final core::String #this) → dynamic {} -static method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic +static extension-member method Ambiguous2|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous2|call(#this); static method main() → dynamic { self::method(new self::Class::•(), 0, new self::Class::•(), 0); diff --git a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.expect b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.expect index c10c1d70ab1..8f2093f5b58 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.expect @@ -302,17 +302,17 @@ Try changing the operand or remove the type arguments. f3; // error ^"; } -static method Extension|call(lowered final core::int #this) → dynamic {} -static method Extension|get#call(lowered final core::int #this) → () → dynamic +static extension-member method Extension|call(lowered final core::int #this) → dynamic {} +static extension-member method Extension|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|call(#this); -static method ExtensionGetter|get#call(lowered final core::double #this) → () → void +static extension-member method ExtensionGetter|get#call(lowered final core::double #this) → () → void return () → void {}; -static method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} -static method Ambiguous1|call(lowered final core::String #this) → dynamic {} -static method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic +static extension-member method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} +static extension-member method Ambiguous1|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous1|call(#this); -static method Ambiguous2|call(lowered final core::String #this) → dynamic {} -static method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic +static extension-member method Ambiguous2|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous2|call(#this); static method main() → dynamic { self::method(new self::Class::•(), 0, new self::Class::•(), 0); diff --git a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.modular.expect b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.modular.expect index c10c1d70ab1..8f2093f5b58 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.modular.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.modular.expect @@ -302,17 +302,17 @@ Try changing the operand or remove the type arguments. f3; // error ^"; } -static method Extension|call(lowered final core::int #this) → dynamic {} -static method Extension|get#call(lowered final core::int #this) → () → dynamic +static extension-member method Extension|call(lowered final core::int #this) → dynamic {} +static extension-member method Extension|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|call(#this); -static method ExtensionGetter|get#call(lowered final core::double #this) → () → void +static extension-member method ExtensionGetter|get#call(lowered final core::double #this) → () → void return () → void {}; -static method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} -static method Ambiguous1|call(lowered final core::String #this) → dynamic {} -static method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic +static extension-member method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} +static extension-member method Ambiguous1|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous1|call(#this); -static method Ambiguous2|call(lowered final core::String #this) → dynamic {} -static method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic +static extension-member method Ambiguous2|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous2|call(#this); static method main() → dynamic { self::method(new self::Class::•(), 0, new self::Class::•(), 0); diff --git a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.outline.expect b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.outline.expect index a34beecdfe0..9f2f85f8b0f 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.outline.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.outline.expect @@ -126,21 +126,21 @@ static method method(self::Class c, ; static method test(self::Class? c1, self::GetterCall c2, core::int? i, self::test::T% t1, self::test::T? t2, self::test::S? s, () →? void f1, Never n, dynamic d, core::String a, core::double b, core::bool c, FutureOrf2, core::Function f3) → dynamic ; -static method Extension|call(lowered final core::int #this) → dynamic +static extension-member method Extension|call(lowered final core::int #this) → dynamic ; -static method Extension|get#call(lowered final core::int #this) → () → dynamic +static extension-member method Extension|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|call(#this); -static method ExtensionGetter|get#call(lowered final core::double #this) → () → void +static extension-member method ExtensionGetter|get#call(lowered final core::double #this) → () → void ; -static method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void +static extension-member method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void ; -static method Ambiguous1|call(lowered final core::String #this) → dynamic +static extension-member method Ambiguous1|call(lowered final core::String #this) → dynamic ; -static method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic +static extension-member method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous1|call(#this); -static method Ambiguous2|call(lowered final core::String #this) → dynamic +static extension-member method Ambiguous2|call(lowered final core::String #this) → dynamic ; -static method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic +static extension-member method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous2|call(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.transformed.expect index c10c1d70ab1..8f2093f5b58 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/callable_instantiation.dart.weak.transformed.expect @@ -302,17 +302,17 @@ Try changing the operand or remove the type arguments. f3; // error ^"; } -static method Extension|call(lowered final core::int #this) → dynamic {} -static method Extension|get#call(lowered final core::int #this) → () → dynamic +static extension-member method Extension|call(lowered final core::int #this) → dynamic {} +static extension-member method Extension|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|call(#this); -static method ExtensionGetter|get#call(lowered final core::double #this) → () → void +static extension-member method ExtensionGetter|get#call(lowered final core::double #this) → () → void return () → void {}; -static method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} -static method Ambiguous1|call(lowered final core::String #this) → dynamic {} -static method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic +static extension-member method ExtensionSetter|set#call(lowered final core::bool #this, () → void value) → void {} +static extension-member method Ambiguous1|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous1|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous1|call(#this); -static method Ambiguous2|call(lowered final core::String #this) → dynamic {} -static method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic +static extension-member method Ambiguous2|call(lowered final core::String #this) → dynamic {} +static extension-member method Ambiguous2|get#call(lowered final core::String #this) → () → dynamic return () → dynamic => self::Ambiguous2|call(#this); static method main() → dynamic { self::method(new self::Class::•(), 0, new self::Class::•(), 0); diff --git a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.strong.expect b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.strong.expect index b9239ee807c..b327654d0dc 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.strong.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.strong.expect @@ -61,13 +61,13 @@ extension Ext on self::C { } static method top(self::top::T% value) → self::top::T% return value; -static method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% +static extension-member method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% return value; -static method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% +static extension-member method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% return value; -static method Ext|get#einst(lowered final self::C #this) → (T%) → T% +static extension-member method Ext|get#einst(lowered final self::C #this) → (T%) → T% return (T% value) → T% => self::Ext|einst(#this, value); -static method Ext|emethod(lowered final self::C #this) → void { +static extension-member method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f1 = #C6; core::String f1TypeName = #C6.{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; (core::int) → core::int f2 = self::Ext|get#einst(#this); @@ -75,7 +75,7 @@ static method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f3 = self::Ext|get#einst(#this); core::String f3TypeName = (self::Ext|get#einst(#this)).{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; } -static method Ext|get#emethod(lowered final self::C #this) → () → void +static extension-member method Ext|get#emethod(lowered final self::C #this) → () → void return () → void => self::Ext|emethod(#this); static method main() → void { core::Type t1 = #C7; diff --git a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.strong.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.strong.transformed.expect index 863b6736298..17bf742577f 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.strong.transformed.expect @@ -69,13 +69,13 @@ extension Ext on self::C { } static method top(self::top::T% value) → self::top::T% return value; -static method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% +static extension-member method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% return value; -static method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% +static extension-member method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% return value; -static method Ext|get#einst(lowered final self::C #this) → (T%) → T% +static extension-member method Ext|get#einst(lowered final self::C #this) → (T%) → T% return (T% value) → T% => self::Ext|einst(#this, value); -static method Ext|emethod(lowered final self::C #this) → void { +static extension-member method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f1 = #C6; core::String f1TypeName = #C6.{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; (core::int) → core::int f2 = self::Ext|get#einst(#this); @@ -83,7 +83,7 @@ static method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f3 = self::Ext|get#einst(#this); core::String f3TypeName = (self::Ext|get#einst(#this)).{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; } -static method Ext|get#emethod(lowered final self::C #this) → () → void +static extension-member method Ext|get#emethod(lowered final self::C #this) → () → void return () → void => self::Ext|emethod(#this); static method main() → void { core::Type t1 = #C7; diff --git a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.expect b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.expect index 28a0c3fbd21..afce67e9176 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.expect @@ -61,13 +61,13 @@ extension Ext on self::C { } static method top(self::top::T% value) → self::top::T% return value; -static method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% +static extension-member method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% return value; -static method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% +static extension-member method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% return value; -static method Ext|get#einst(lowered final self::C #this) → (T%) → T% +static extension-member method Ext|get#einst(lowered final self::C #this) → (T%) → T% return (T% value) → T% => self::Ext|einst(#this, value); -static method Ext|emethod(lowered final self::C #this) → void { +static extension-member method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f1 = #C6; core::String f1TypeName = #C6.{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; (core::int) → core::int f2 = self::Ext|get#einst(#this); @@ -75,7 +75,7 @@ static method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f3 = self::Ext|get#einst(#this); core::String f3TypeName = (self::Ext|get#einst(#this)).{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; } -static method Ext|get#emethod(lowered final self::C #this) → () → void +static extension-member method Ext|get#emethod(lowered final self::C #this) → () → void return () → void => self::Ext|emethod(#this); static method main() → void { core::Type t1 = #C7; diff --git a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.modular.expect b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.modular.expect index 28a0c3fbd21..afce67e9176 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.modular.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.modular.expect @@ -61,13 +61,13 @@ extension Ext on self::C { } static method top(self::top::T% value) → self::top::T% return value; -static method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% +static extension-member method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% return value; -static method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% +static extension-member method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% return value; -static method Ext|get#einst(lowered final self::C #this) → (T%) → T% +static extension-member method Ext|get#einst(lowered final self::C #this) → (T%) → T% return (T% value) → T% => self::Ext|einst(#this, value); -static method Ext|emethod(lowered final self::C #this) → void { +static extension-member method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f1 = #C6; core::String f1TypeName = #C6.{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; (core::int) → core::int f2 = self::Ext|get#einst(#this); @@ -75,7 +75,7 @@ static method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f3 = self::Ext|get#einst(#this); core::String f3TypeName = (self::Ext|get#einst(#this)).{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; } -static method Ext|get#emethod(lowered final self::C #this) → () → void +static extension-member method Ext|get#emethod(lowered final self::C #this) → () → void return () → void => self::Ext|emethod(#this); static method main() → void { core::Type t1 = #C7; diff --git a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.outline.expect b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.outline.expect index 8d649ded8b7..987feed37f4 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.outline.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.outline.expect @@ -45,15 +45,15 @@ extension Ext on self::C { } static method top(self::top::T% value) → self::top::T% ; -static method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% +static extension-member method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% ; -static method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% +static extension-member method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% ; -static method Ext|get#einst(lowered final self::C #this) → (T%) → T% +static extension-member method Ext|get#einst(lowered final self::C #this) → (T%) → T% return (T% value) → T% => self::Ext|einst(#this, value); -static method Ext|emethod(lowered final self::C #this) → void +static extension-member method Ext|emethod(lowered final self::C #this) → void ; -static method Ext|get#emethod(lowered final self::C #this) → () → void +static extension-member method Ext|get#emethod(lowered final self::C #this) → () → void return () → void => self::Ext|emethod(#this); static method main() → void ; diff --git a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.transformed.expect index 8eeea6f3165..dd4a859360b 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/explicit_instantiation.dart.weak.transformed.expect @@ -69,13 +69,13 @@ extension Ext on self::C { } static method top(self::top::T% value) → self::top::T% return value; -static method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% +static extension-member method Ext|estat(self::Ext|estat::T% value) → self::Ext|estat::T% return value; -static method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% +static extension-member method Ext|einst(lowered final self::C #this, self::Ext|einst::T% value) → self::Ext|einst::T% return value; -static method Ext|get#einst(lowered final self::C #this) → (T%) → T% +static extension-member method Ext|get#einst(lowered final self::C #this) → (T%) → T% return (T% value) → T% => self::Ext|einst(#this, value); -static method Ext|emethod(lowered final self::C #this) → void { +static extension-member method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f1 = #C6; core::String f1TypeName = #C6.{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; (core::int) → core::int f2 = self::Ext|get#einst(#this); @@ -83,7 +83,7 @@ static method Ext|emethod(lowered final self::C #this) → void { (core::int) → core::int f3 = self::Ext|get#einst(#this); core::String f3TypeName = (self::Ext|get#einst(#this)).{core::Object::runtimeType}{core::Type}.{core::Type::toString}(){() → core::String}; } -static method Ext|get#emethod(lowered final self::C #this) → () → void +static extension-member method Ext|get#emethod(lowered final self::C #this) → () → void return () → void => self::Ext|emethod(#this); static method main() → void { core::Type t1 = #C7; diff --git a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.strong.expect b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.strong.expect index 7708d538136..840cf199cc9 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.strong.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.strong.expect @@ -30,9 +30,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return [x]; -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { invalid-expression "pkg/front_end/testcases/constructor_tearoffs/issue46719.dart:24:10: Error: A constructor tear-off can't have type arguments after the constructor name. diff --git a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.strong.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.strong.transformed.expect index 48a3e9eb24b..c4ad8da5d8f 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.strong.transformed.expect @@ -30,9 +30,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return core::_GrowableList::_literal1(x); -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { invalid-expression "pkg/front_end/testcases/constructor_tearoffs/issue46719.dart:24:10: Error: A constructor tear-off can't have type arguments after the constructor name. diff --git a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.expect b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.expect index 25c627aeec7..6611da17472 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.expect @@ -30,9 +30,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return [x]; -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { invalid-expression "pkg/front_end/testcases/constructor_tearoffs/issue46719.dart:24:10: Error: A constructor tear-off can't have type arguments after the constructor name. diff --git a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.modular.expect b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.modular.expect index 25c627aeec7..6611da17472 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.modular.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.modular.expect @@ -30,9 +30,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return [x]; -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { invalid-expression "pkg/front_end/testcases/constructor_tearoffs/issue46719.dart:24:10: Error: A constructor tear-off can't have type arguments after the constructor name. diff --git a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.outline.expect b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.outline.expect index 4c8e7ba6c96..bf702b14b0c 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.outline.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.outline.expect @@ -20,9 +20,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List ; -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void ; -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic ; diff --git a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.transformed.expect index 7137cf6451f..6a239e8eb00 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/issue46719.dart.weak.transformed.expect @@ -30,9 +30,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return core::_GrowableList::_literal1(x); -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { invalid-expression "pkg/front_end/testcases/constructor_tearoffs/issue46719.dart:24:10: Error: A constructor tear-off can't have type arguments after the constructor name. diff --git a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.strong.expect b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.strong.expect index aabdb4c3e14..f04cc046fa2 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.strong.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.strong.expect @@ -199,10 +199,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.strong.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.strong.transformed.expect index ab2421a84b1..0f3cead9fa7 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.strong.transformed.expect @@ -199,10 +199,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.expect b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.expect index aabdb4c3e14..f04cc046fa2 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.expect @@ -199,10 +199,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.modular.expect b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.modular.expect index aabdb4c3e14..f04cc046fa2 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.modular.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.modular.expect @@ -199,10 +199,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.outline.expect b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.outline.expect index 43c57222a93..b0e57697818 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.outline.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.outline.expect @@ -44,11 +44,11 @@ extension E on core::int { } static field core::int new; static field self::C c; -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic ; -static method E|get#call(lowered final core::int #this) → () → dynamic +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic ; diff --git a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.transformed.expect index ab2421a84b1..0f3cead9fa7 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/new_as_selector.dart.weak.transformed.expect @@ -199,10 +199,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.strong.expect b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.strong.expect index 6bcff05130e..b3e58b04b9b 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.strong.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.strong.expect @@ -25,8 +25,8 @@ extension Extension on core::Function { tearoff unresolvedConstructor = self::Extension|get#unresolvedConstructor; } static method UnresolvedClass() → dynamic {} -static method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} -static method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic +static extension-member method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} +static extension-member method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic return () → dynamic => self::Extension|unresolvedConstructor(#this); static method main() → dynamic { self::UnresolvedClass(); diff --git a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.strong.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.strong.transformed.expect index 6bcff05130e..b3e58b04b9b 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.strong.transformed.expect @@ -25,8 +25,8 @@ extension Extension on core::Function { tearoff unresolvedConstructor = self::Extension|get#unresolvedConstructor; } static method UnresolvedClass() → dynamic {} -static method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} -static method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic +static extension-member method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} +static extension-member method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic return () → dynamic => self::Extension|unresolvedConstructor(#this); static method main() → dynamic { self::UnresolvedClass(); diff --git a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.expect b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.expect index 7f21a73ee6e..b943cd7f94a 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.expect @@ -25,8 +25,8 @@ extension Extension on core::Function { tearoff unresolvedConstructor = self::Extension|get#unresolvedConstructor; } static method UnresolvedClass() → dynamic {} -static method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} -static method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic +static extension-member method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} +static extension-member method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic return () → dynamic => self::Extension|unresolvedConstructor(#this); static method main() → dynamic { self::UnresolvedClass(); diff --git a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.modular.expect b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.modular.expect index 7f21a73ee6e..b943cd7f94a 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.modular.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.modular.expect @@ -25,8 +25,8 @@ extension Extension on core::Function { tearoff unresolvedConstructor = self::Extension|get#unresolvedConstructor; } static method UnresolvedClass() → dynamic {} -static method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} -static method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic +static extension-member method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} +static extension-member method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic return () → dynamic => self::Extension|unresolvedConstructor(#this); static method main() → dynamic { self::UnresolvedClass(); diff --git a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.outline.expect b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.outline.expect index 0b1b0612986..a847bb22a27 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.outline.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.outline.expect @@ -26,9 +26,9 @@ extension Extension on core::Function { } static method UnresolvedClass() → dynamic ; -static method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic +static extension-member method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic ; -static method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic +static extension-member method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic return () → dynamic => self::Extension|unresolvedConstructor(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.transformed.expect b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.transformed.expect index 7f21a73ee6e..b943cd7f94a 100644 --- a/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/constructor_tearoffs/not_unresolved_constructor_invocation.dart.weak.transformed.expect @@ -25,8 +25,8 @@ extension Extension on core::Function { tearoff unresolvedConstructor = self::Extension|get#unresolvedConstructor; } static method UnresolvedClass() → dynamic {} -static method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} -static method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic +static extension-member method Extension|unresolvedConstructor(lowered final core::Function #this) → dynamic {} +static extension-member method Extension|get#unresolvedConstructor(lowered final core::Function #this) → () → dynamic return () → dynamic => self::Extension|unresolvedConstructor(#this); static method main() → dynamic { self::UnresolvedClass(); diff --git a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.strong.expect b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.strong.expect index efefcf8c107..2cddcc66296 100644 --- a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.strong.expect +++ b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.strong.expect @@ -75,9 +75,9 @@ static field core::List v2 = []; static final field core::String v3 = throw "Anything"; static const field core::List v4 = #C5; static const field core::Map v5 = #C7; -static method E|foo(lowered final dynamic #this, dynamic t) → dynamic +static extension-member method E|foo(lowered final dynamic #this, dynamic t) → dynamic return t; -static method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic +static extension-member method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic return (dynamic t) → dynamic => self::E|foo(#this, t); static method main() → dynamic { core::List v8 = []; diff --git a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.strong.transformed.expect b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.strong.transformed.expect index efefcf8c107..2cddcc66296 100644 --- a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.strong.transformed.expect @@ -75,9 +75,9 @@ static field core::List v2 = []; static final field core::String v3 = throw "Anything"; static const field core::List v4 = #C5; static const field core::Map v5 = #C7; -static method E|foo(lowered final dynamic #this, dynamic t) → dynamic +static extension-member method E|foo(lowered final dynamic #this, dynamic t) → dynamic return t; -static method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic +static extension-member method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic return (dynamic t) → dynamic => self::E|foo(#this, t); static method main() → dynamic { core::List v8 = []; diff --git a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.expect b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.expect index e0bf00bb4cf..09126fd0661 100644 --- a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.expect +++ b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.expect @@ -75,9 +75,9 @@ static field core::List v2 = []; static final field core::String v3 = throw "Anything"; static const field core::List v4 = #C5; static const field core::Map v5 = #C7; -static method E|foo(lowered final dynamic #this, dynamic t) → dynamic +static extension-member method E|foo(lowered final dynamic #this, dynamic t) → dynamic return t; -static method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic +static extension-member method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic return (dynamic t) → dynamic => self::E|foo(#this, t); static method main() → dynamic { core::List v8 = []; diff --git a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.modular.expect b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.modular.expect index e0bf00bb4cf..09126fd0661 100644 --- a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.modular.expect +++ b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.modular.expect @@ -75,9 +75,9 @@ static field core::List v2 = []; static final field core::String v3 = throw "Anything"; static const field core::List v4 = #C5; static const field core::Map v5 = #C7; -static method E|foo(lowered final dynamic #this, dynamic t) → dynamic +static extension-member method E|foo(lowered final dynamic #this, dynamic t) → dynamic return t; -static method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic +static extension-member method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic return (dynamic t) → dynamic => self::E|foo(#this, t); static method main() → dynamic { core::List v8 = []; diff --git a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.outline.expect b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.outline.expect index 0b59d3fd21e..c496042a837 100644 --- a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.outline.expect +++ b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.outline.expect @@ -71,9 +71,9 @@ static field core::List v2; static final field core::String v3; static const field core::List v4 = const []; static const field core::Map v5 = const {dynamic: dynamic}; -static method E|foo(lowered final dynamic #this, dynamic t) → dynamic +static extension-member method E|foo(lowered final dynamic #this, dynamic t) → dynamic ; -static method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic +static extension-member method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic return (dynamic t) → dynamic => self::E|foo(#this, t); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.transformed.expect b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.transformed.expect index e0bf00bb4cf..09126fd0661 100644 --- a/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/dart2js/generic_usage_type_variable.dart.weak.transformed.expect @@ -75,9 +75,9 @@ static field core::List v2 = []; static final field core::String v3 = throw "Anything"; static const field core::List v4 = #C5; static const field core::Map v5 = #C7; -static method E|foo(lowered final dynamic #this, dynamic t) → dynamic +static extension-member method E|foo(lowered final dynamic #this, dynamic t) → dynamic return t; -static method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic +static extension-member method E|get#foo(lowered final dynamic #this) → (dynamic) → dynamic return (dynamic t) → dynamic => self::E|foo(#this, t); static method main() → dynamic { core::List v8 = []; diff --git a/pkg/front_end/testcases/dart2js/inline_class/external.dart.strong.expect b/pkg/front_end/testcases/dart2js/inline_class/external.dart.strong.expect index 959ed17c42a..5c5e6e19da2 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/external.dart.strong.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/external.dart.strong.expect @@ -32,28 +32,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/dart2js/inline_class/external.dart.strong.transformed.expect b/pkg/front_end/testcases/dart2js/inline_class/external.dart.strong.transformed.expect index ea0c0641cc3..cc6717eaf30 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/external.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/external.dart.strong.transformed.expect @@ -33,28 +33,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => js_2::_callMethodUnchecked0(#this, "method"); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => js_2::callMethod(#this, "genericMethod", [t]); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), a); self::B b2 = js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), 0); diff --git a/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.expect b/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.expect index 959ed17c42a..5c5e6e19da2 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.expect @@ -32,28 +32,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.modular.expect b/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.modular.expect index 959ed17c42a..5c5e6e19da2 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.modular.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.modular.expect @@ -32,28 +32,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.outline.expect b/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.outline.expect index 094df2b4c4d..8a093a7a627 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.outline.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.outline.expect @@ -31,28 +31,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void ; diff --git a/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.transformed.expect b/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.transformed.expect index ea0c0641cc3..cc6717eaf30 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/external.dart.weak.transformed.expect @@ -33,28 +33,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => js_2::_callMethodUnchecked0(#this, "method"); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => js_2::callMethod(#this, "genericMethod", [t]); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), a); self::B b2 = js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), 0); diff --git a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.strong.expect b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.strong.expect index 238854ba32d..02d1bf6673e 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.strong.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.strong.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.strong.transformed.expect b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.strong.transformed.expect index 238854ba32d..02d1bf6673e 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.strong.transformed.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.expect b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.expect index 2bc41afa9e5..3408c21c314 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.modular.expect b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.modular.expect index 2bc41afa9e5..3408c21c314 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.modular.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.modular.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.outline.expect b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.outline.expect index 0c29b66e6a1..a2c96492968 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.outline.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.outline.expect @@ -18,25 +18,25 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I ; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J ; -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J +static inline-class-member method J|_(core::int i) → self::J ; -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K ; -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K +static inline-class-member method K|_(self::K|_::T% i) → self::K ; -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.transformed.expect b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.transformed.expect index 2bc41afa9e5..3408c21c314 100644 --- a/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/dart2js/inline_class/issue51285.dart.weak.transformed.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.strong.expect b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.strong.expect index 959ed17c42a..5c5e6e19da2 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.strong.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.strong.expect @@ -32,28 +32,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.strong.transformed.expect b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.strong.transformed.expect index ea0c0641cc3..cc6717eaf30 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.strong.transformed.expect @@ -33,28 +33,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => js_2::_callMethodUnchecked0(#this, "method"); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => js_2::callMethod(#this, "genericMethod", [t]); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), a); self::B b2 = js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), 0); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.expect b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.expect index 959ed17c42a..5c5e6e19da2 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.expect @@ -32,28 +32,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.modular.expect b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.modular.expect index 959ed17c42a..5c5e6e19da2 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.modular.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.modular.expect @@ -32,28 +32,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.outline.expect b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.outline.expect index 6e3d7b45c1f..b4b5a9610c7 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.outline.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.outline.expect @@ -31,28 +31,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void ; diff --git a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.transformed.expect b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.transformed.expect index ea0c0641cc3..cc6717eaf30 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/external.dart.weak.transformed.expect @@ -33,28 +33,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => js_2::_callMethodUnchecked0(#this, "method"); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => js_2::callMethod(#this, "genericMethod", [t]); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), a); self::B b2 = js_2::_callConstructorUnchecked1(js_2::_getPropertyTrustType(js_2::globalThis, "B"), 0); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.strong.expect b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.strong.expect index 238854ba32d..02d1bf6673e 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.strong.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.strong.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.strong.transformed.expect b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.strong.transformed.expect index 238854ba32d..02d1bf6673e 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.strong.transformed.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.expect b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.expect index 2bc41afa9e5..3408c21c314 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.modular.expect b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.modular.expect index 2bc41afa9e5..3408c21c314 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.modular.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.modular.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.outline.expect b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.outline.expect index 0c29b66e6a1..a2c96492968 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.outline.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.outline.expect @@ -18,25 +18,25 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I ; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J ; -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J +static inline-class-member method J|_(core::int i) → self::J ; -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K ; -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K +static inline-class-member method K|_(self::K|_::T% i) → self::K ; -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.transformed.expect b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.transformed.expect index 2bc41afa9e5..3408c21c314 100644 --- a/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/dartdevc/inline_class/issue51285.dart.weak.transformed.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.strong.expect b/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.strong.expect index 0d916c055c6..81fdc0d2773 100644 --- a/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.strong.expect @@ -24,8 +24,8 @@ extension E on self::A { get bar = self::E|get#bar; set foo = self::E|set#foo; } -static method E|set#foo(lowered final self::A #this, core::int value) → void {} -static method E|get#bar(lowered final self::A #this) → core::int +static extension-member method E|set#foo(lowered final self::A #this, core::int value) → void {} +static extension-member method E|get#bar(lowered final self::A #this) → core::int return 42; static method test(self::E e) → dynamic { self::E|set#foo(e, 42); diff --git a/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.expect b/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.expect index 0d916c055c6..81fdc0d2773 100644 --- a/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.expect @@ -24,8 +24,8 @@ extension E on self::A { get bar = self::E|get#bar; set foo = self::E|set#foo; } -static method E|set#foo(lowered final self::A #this, core::int value) → void {} -static method E|get#bar(lowered final self::A #this) → core::int +static extension-member method E|set#foo(lowered final self::A #this, core::int value) → void {} +static extension-member method E|get#bar(lowered final self::A #this) → core::int return 42; static method test(self::E e) → dynamic { self::E|set#foo(e, 42); diff --git a/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.modular.expect index 0d916c055c6..81fdc0d2773 100644 --- a/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.modular.expect @@ -24,8 +24,8 @@ extension E on self::A { get bar = self::E|get#bar; set foo = self::E|set#foo; } -static method E|set#foo(lowered final self::A #this, core::int value) → void {} -static method E|get#bar(lowered final self::A #this) → core::int +static extension-member method E|set#foo(lowered final self::A #this, core::int value) → void {} +static extension-member method E|get#bar(lowered final self::A #this) → core::int return 42; static method test(self::E e) → dynamic { self::E|set#foo(e, 42); diff --git a/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.outline.expect index 36d79144532..d298840e887 100644 --- a/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/access_setter_as_getter.dart.weak.outline.expect @@ -10,9 +10,9 @@ extension E on self::A { get bar = self::E|get#bar; set foo = self::E|set#foo; } -static method E|set#foo(lowered final self::A #this, core::int value) → void +static extension-member method E|set#foo(lowered final self::A #this, core::int value) → void ; -static method E|get#bar(lowered final self::A #this) → core::int +static extension-member method E|get#bar(lowered final self::A #this) → core::int ; static method test(self::E e) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.strong.expect b/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.strong.expect index da7acd98904..2bfa2f536b4 100644 --- a/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.strong.expect @@ -11,8 +11,8 @@ extension E on self::A? { method foo = self::E|foo; tearoff foo = self::E|get#foo; } -static method E|foo(lowered final self::A? #this) → void {} -static method E|get#foo(lowered final self::A? #this) → () → void +static extension-member method E|foo(lowered final self::A? #this) → void {} +static extension-member method E|get#foo(lowered final self::A? #this) → () → void return () → void => self::E|foo(#this); static method bar(self::E e) → dynamic return self::E|foo(e); diff --git a/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.expect b/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.expect index da7acd98904..2bfa2f536b4 100644 --- a/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.expect @@ -11,8 +11,8 @@ extension E on self::A? { method foo = self::E|foo; tearoff foo = self::E|get#foo; } -static method E|foo(lowered final self::A? #this) → void {} -static method E|get#foo(lowered final self::A? #this) → () → void +static extension-member method E|foo(lowered final self::A? #this) → void {} +static extension-member method E|get#foo(lowered final self::A? #this) → () → void return () → void => self::E|foo(#this); static method bar(self::E e) → dynamic return self::E|foo(e); diff --git a/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.modular.expect index da7acd98904..2bfa2f536b4 100644 --- a/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.modular.expect @@ -11,8 +11,8 @@ extension E on self::A? { method foo = self::E|foo; tearoff foo = self::E|get#foo; } -static method E|foo(lowered final self::A? #this) → void {} -static method E|get#foo(lowered final self::A? #this) → () → void +static extension-member method E|foo(lowered final self::A? #this) → void {} +static extension-member method E|get#foo(lowered final self::A? #this) → () → void return () → void => self::E|foo(#this); static method bar(self::E e) → dynamic return self::E|foo(e); diff --git a/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.outline.expect index cfff52c6697..bcaa961af17 100644 --- a/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/extension_on_nullable.dart.weak.outline.expect @@ -10,9 +10,9 @@ extension E on self::A? { method foo = self::E|foo; tearoff foo = self::E|get#foo; } -static method E|foo(lowered final self::A? #this) → void +static extension-member method E|foo(lowered final self::A? #this) → void ; -static method E|get#foo(lowered final self::A? #this) → () → void +static extension-member method E|get#foo(lowered final self::A? #this) → () → void return () → void => self::E|foo(#this); static method bar(self::E e) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.strong.expect b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.strong.expect index c7161fb894a..ec0446985da 100644 --- a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.strong.expect @@ -11,8 +11,8 @@ extension type on self::A { method method = self::type|method; tearoff method = self::type|get#method; } -static method type|method(lowered final self::A #this) → dynamic {} -static method type|get#method(lowered final self::A #this) → () → dynamic +static extension-member method type|method(lowered final self::A #this) → dynamic {} +static extension-member method type|get#method(lowered final self::A #this) → () → dynamic return () → dynamic => self::type|method(#this); static method test() → dynamic { self::type|method(new self::A::•()); diff --git a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.strong.transformed.expect index c7161fb894a..ec0446985da 100644 --- a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.strong.transformed.expect @@ -11,8 +11,8 @@ extension type on self::A { method method = self::type|method; tearoff method = self::type|get#method; } -static method type|method(lowered final self::A #this) → dynamic {} -static method type|get#method(lowered final self::A #this) → () → dynamic +static extension-member method type|method(lowered final self::A #this) → dynamic {} +static extension-member method type|get#method(lowered final self::A #this) → () → dynamic return () → dynamic => self::type|method(#this); static method test() → dynamic { self::type|method(new self::A::•()); diff --git a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.expect b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.expect index c7161fb894a..ec0446985da 100644 --- a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.expect @@ -11,8 +11,8 @@ extension type on self::A { method method = self::type|method; tearoff method = self::type|get#method; } -static method type|method(lowered final self::A #this) → dynamic {} -static method type|get#method(lowered final self::A #this) → () → dynamic +static extension-member method type|method(lowered final self::A #this) → dynamic {} +static extension-member method type|get#method(lowered final self::A #this) → () → dynamic return () → dynamic => self::type|method(#this); static method test() → dynamic { self::type|method(new self::A::•()); diff --git a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.modular.expect index c7161fb894a..ec0446985da 100644 --- a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.modular.expect @@ -11,8 +11,8 @@ extension type on self::A { method method = self::type|method; tearoff method = self::type|get#method; } -static method type|method(lowered final self::A #this) → dynamic {} -static method type|get#method(lowered final self::A #this) → () → dynamic +static extension-member method type|method(lowered final self::A #this) → dynamic {} +static extension-member method type|get#method(lowered final self::A #this) → () → dynamic return () → dynamic => self::type|method(#this); static method test() → dynamic { self::type|method(new self::A::•()); diff --git a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.outline.expect index 745dd27714f..adab9c5e783 100644 --- a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.outline.expect @@ -10,9 +10,9 @@ extension type on self::A { method method = self::type|method; tearoff method = self::type|get#method; } -static method type|method(lowered final self::A #this) → dynamic +static extension-member method type|method(lowered final self::A #this) → dynamic ; -static method type|get#method(lowered final self::A #this) → () → dynamic +static extension-member method type|get#method(lowered final self::A #this) → () → dynamic return () → dynamic => self::type|method(#this); static method test() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.transformed.expect index c7161fb894a..ec0446985da 100644 --- a/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/extension_with_name_type.dart.weak.transformed.expect @@ -11,8 +11,8 @@ extension type on self::A { method method = self::type|method; tearoff method = self::type|get#method; } -static method type|method(lowered final self::A #this) → dynamic {} -static method type|get#method(lowered final self::A #this) → () → dynamic +static extension-member method type|method(lowered final self::A #this) → dynamic {} +static extension-member method type|get#method(lowered final self::A #this) → () → dynamic return () → dynamic => self::type|method(#this); static method test() → dynamic { self::type|method(new self::A::•()); diff --git a/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.strong.expect b/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.strong.expect index ba960fe4b1c..c3bb261b5a2 100644 --- a/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.strong.expect @@ -44,9 +44,9 @@ extension E on self::A { extension type ET on self::A { get baz = self::ET|get#baz; } -static method E|get#bar(lowered final self::A #this) → core::double +static extension-member method E|get#bar(lowered final self::A #this) → core::double return 3.14; -static method ET|get#baz(lowered final self::A #this) → core::String +static extension-member method ET|get#baz(lowered final self::A #this) → core::String return "baz"; static method test(self::A a, self::E e, self::ET et) → dynamic { a.{self::A::foo}{core::int}; diff --git a/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.expect b/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.expect index ba960fe4b1c..c3bb261b5a2 100644 --- a/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.expect @@ -44,9 +44,9 @@ extension E on self::A { extension type ET on self::A { get baz = self::ET|get#baz; } -static method E|get#bar(lowered final self::A #this) → core::double +static extension-member method E|get#bar(lowered final self::A #this) → core::double return 3.14; -static method ET|get#baz(lowered final self::A #this) → core::String +static extension-member method ET|get#baz(lowered final self::A #this) → core::String return "baz"; static method test(self::A a, self::E e, self::ET et) → dynamic { a.{self::A::foo}{core::int}; diff --git a/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.modular.expect index ba960fe4b1c..c3bb261b5a2 100644 --- a/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.modular.expect @@ -44,9 +44,9 @@ extension E on self::A { extension type ET on self::A { get baz = self::ET|get#baz; } -static method E|get#bar(lowered final self::A #this) → core::double +static extension-member method E|get#bar(lowered final self::A #this) → core::double return 3.14; -static method ET|get#baz(lowered final self::A #this) → core::String +static extension-member method ET|get#baz(lowered final self::A #this) → core::String return "baz"; static method test(self::A a, self::E e, self::ET et) → dynamic { a.{self::A::foo}{core::int}; diff --git a/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.outline.expect index 9a61b2a990b..7c5bbed3316 100644 --- a/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/simple_getter_resolution.dart.weak.outline.expect @@ -14,9 +14,9 @@ extension E on self::A { extension type ET on self::A { get baz = self::ET|get#baz; } -static method E|get#bar(lowered final self::A #this) → core::double +static extension-member method E|get#bar(lowered final self::A #this) → core::double ; -static method ET|get#baz(lowered final self::A #this) → core::String +static extension-member method ET|get#baz(lowered final self::A #this) → core::String ; static method test(self::A a, self::E e, self::ET et) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.strong.expect b/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.strong.expect index fe812e2f8a5..4930ac02a1e 100644 --- a/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.strong.expect @@ -45,13 +45,13 @@ extension type ET on self::A { method baz = self::ET|baz; tearoff baz = self::ET|get#baz; } -static method E|bar(lowered final self::A #this) → void +static extension-member method E|bar(lowered final self::A #this) → void return #this.{self::A::foo}(){() → void}; -static method E|get#bar(lowered final self::A #this) → () → void +static extension-member method E|get#bar(lowered final self::A #this) → () → void return () → void => self::E|bar(#this); -static method ET|baz(lowered final self::A #this) → void +static extension-member method ET|baz(lowered final self::A #this) → void return #this.{self::A::foo}(){() → void}; -static method ET|get#baz(lowered final self::A #this) → () → void +static extension-member method ET|get#baz(lowered final self::A #this) → () → void return () → void => self::ET|baz(#this); static method test(self::A a, self::E e, self::ET et) → dynamic { a.{self::A::foo}(){() → void}; diff --git a/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.expect b/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.expect index fe812e2f8a5..4930ac02a1e 100644 --- a/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.expect @@ -45,13 +45,13 @@ extension type ET on self::A { method baz = self::ET|baz; tearoff baz = self::ET|get#baz; } -static method E|bar(lowered final self::A #this) → void +static extension-member method E|bar(lowered final self::A #this) → void return #this.{self::A::foo}(){() → void}; -static method E|get#bar(lowered final self::A #this) → () → void +static extension-member method E|get#bar(lowered final self::A #this) → () → void return () → void => self::E|bar(#this); -static method ET|baz(lowered final self::A #this) → void +static extension-member method ET|baz(lowered final self::A #this) → void return #this.{self::A::foo}(){() → void}; -static method ET|get#baz(lowered final self::A #this) → () → void +static extension-member method ET|get#baz(lowered final self::A #this) → () → void return () → void => self::ET|baz(#this); static method test(self::A a, self::E e, self::ET et) → dynamic { a.{self::A::foo}(){() → void}; diff --git a/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.modular.expect index fe812e2f8a5..4930ac02a1e 100644 --- a/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.modular.expect @@ -45,13 +45,13 @@ extension type ET on self::A { method baz = self::ET|baz; tearoff baz = self::ET|get#baz; } -static method E|bar(lowered final self::A #this) → void +static extension-member method E|bar(lowered final self::A #this) → void return #this.{self::A::foo}(){() → void}; -static method E|get#bar(lowered final self::A #this) → () → void +static extension-member method E|get#bar(lowered final self::A #this) → () → void return () → void => self::E|bar(#this); -static method ET|baz(lowered final self::A #this) → void +static extension-member method ET|baz(lowered final self::A #this) → void return #this.{self::A::foo}(){() → void}; -static method ET|get#baz(lowered final self::A #this) → () → void +static extension-member method ET|get#baz(lowered final self::A #this) → () → void return () → void => self::ET|baz(#this); static method test(self::A a, self::E e, self::ET et) → dynamic { a.{self::A::foo}(){() → void}; diff --git a/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.outline.expect index 15e19285d00..65f68665f09 100644 --- a/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/simple_method_resolution.dart.weak.outline.expect @@ -16,13 +16,13 @@ extension type ET on self::A { method baz = self::ET|baz; tearoff baz = self::ET|get#baz; } -static method E|bar(lowered final self::A #this) → void +static extension-member method E|bar(lowered final self::A #this) → void ; -static method E|get#bar(lowered final self::A #this) → () → void +static extension-member method E|get#bar(lowered final self::A #this) → () → void return () → void => self::E|bar(#this); -static method ET|baz(lowered final self::A #this) → void +static extension-member method ET|baz(lowered final self::A #this) → void ; -static method ET|get#baz(lowered final self::A #this) → () → void +static extension-member method ET|get#baz(lowered final self::A #this) → () → void return () → void => self::ET|baz(#this); static method test(self::A a, self::E e, self::ET et) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.strong.expect b/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.strong.expect index 14cfe288d92..7b55b0c9c9f 100644 --- a/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.strong.expect @@ -79,9 +79,9 @@ extension E on self::A { extension type ET on self::A { operator ~/ = self::ET|~/; } -static method E|+(lowered final self::A #this, dynamic other) → dynamic +static extension-member method E|+(lowered final self::A #this, dynamic other) → dynamic return 42; -static method ET|~/(lowered final self::A #this, dynamic other) → dynamic +static extension-member method ET|~/(lowered final self::A #this, dynamic other) → dynamic return 42; static method test(self::A a, self::E e, self::ET et) → dynamic { a.{self::A::*}("foobar"){(dynamic) → dynamic}; diff --git a/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.expect b/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.expect index 14cfe288d92..7b55b0c9c9f 100644 --- a/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.expect @@ -79,9 +79,9 @@ extension E on self::A { extension type ET on self::A { operator ~/ = self::ET|~/; } -static method E|+(lowered final self::A #this, dynamic other) → dynamic +static extension-member method E|+(lowered final self::A #this, dynamic other) → dynamic return 42; -static method ET|~/(lowered final self::A #this, dynamic other) → dynamic +static extension-member method ET|~/(lowered final self::A #this, dynamic other) → dynamic return 42; static method test(self::A a, self::E e, self::ET et) → dynamic { a.{self::A::*}("foobar"){(dynamic) → dynamic}; diff --git a/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.modular.expect index 14cfe288d92..7b55b0c9c9f 100644 --- a/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.modular.expect @@ -79,9 +79,9 @@ extension E on self::A { extension type ET on self::A { operator ~/ = self::ET|~/; } -static method E|+(lowered final self::A #this, dynamic other) → dynamic +static extension-member method E|+(lowered final self::A #this, dynamic other) → dynamic return 42; -static method ET|~/(lowered final self::A #this, dynamic other) → dynamic +static extension-member method ET|~/(lowered final self::A #this, dynamic other) → dynamic return 42; static method test(self::A a, self::E e, self::ET et) → dynamic { a.{self::A::*}("foobar"){(dynamic) → dynamic}; diff --git a/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.outline.expect index 269700cb9f3..f0ce1896855 100644 --- a/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/simple_operator_resolution.dart.weak.outline.expect @@ -20,9 +20,9 @@ extension E on self::A { extension type ET on self::A { operator ~/ = self::ET|~/; } -static method E|+(lowered final self::A #this, dynamic other) → dynamic +static extension-member method E|+(lowered final self::A #this, dynamic other) → dynamic ; -static method ET|~/(lowered final self::A #this, dynamic other) → dynamic +static extension-member method ET|~/(lowered final self::A #this, dynamic other) → dynamic ; static method test(self::A a, self::E e, self::ET et) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.strong.expect b/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.strong.expect index 47019f03122..55db36b537c 100644 --- a/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.strong.expect @@ -45,8 +45,8 @@ extension E on self::A { extension type ET on self::A { set baz = self::ET|set#baz; } -static method E|set#bar(lowered final self::A #this, core::int value) → void {} -static method ET|set#baz(lowered final self::A #this, core::int value) → void {} +static extension-member method E|set#bar(lowered final self::A #this, core::int value) → void {} +static extension-member method ET|set#baz(lowered final self::A #this, core::int value) → void {} static method test(self::A a, self::E e) → dynamic { a.{self::A::foo} = 42; self::E|set#bar(a, 42); diff --git a/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.expect b/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.expect index 47019f03122..55db36b537c 100644 --- a/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.expect @@ -45,8 +45,8 @@ extension E on self::A { extension type ET on self::A { set baz = self::ET|set#baz; } -static method E|set#bar(lowered final self::A #this, core::int value) → void {} -static method ET|set#baz(lowered final self::A #this, core::int value) → void {} +static extension-member method E|set#bar(lowered final self::A #this, core::int value) → void {} +static extension-member method ET|set#baz(lowered final self::A #this, core::int value) → void {} static method test(self::A a, self::E e) → dynamic { a.{self::A::foo} = 42; self::E|set#bar(a, 42); diff --git a/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.modular.expect index 47019f03122..55db36b537c 100644 --- a/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.modular.expect @@ -45,8 +45,8 @@ extension E on self::A { extension type ET on self::A { set baz = self::ET|set#baz; } -static method E|set#bar(lowered final self::A #this, core::int value) → void {} -static method ET|set#baz(lowered final self::A #this, core::int value) → void {} +static extension-member method E|set#bar(lowered final self::A #this, core::int value) → void {} +static extension-member method ET|set#baz(lowered final self::A #this, core::int value) → void {} static method test(self::A a, self::E e) → dynamic { a.{self::A::foo} = 42; self::E|set#bar(a, 42); diff --git a/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.outline.expect index 50d6bab4a1f..0c2c9a30e1f 100644 --- a/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/simple_setter_resolution.dart.weak.outline.expect @@ -14,9 +14,9 @@ extension E on self::A { extension type ET on self::A { set baz = self::ET|set#baz; } -static method E|set#bar(lowered final self::A #this, core::int value) → void +static extension-member method E|set#bar(lowered final self::A #this, core::int value) → void ; -static method ET|set#baz(lowered final self::A #this, core::int value) → void +static extension-member method ET|set#baz(lowered final self::A #this, core::int value) → void ; static method test(self::A a, self::E e) → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide.dart.strong.expect b/pkg/front_end/testcases/extension_types/simple_show_hide.dart.strong.expect index 6a3340b8430..0da34b66aad 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide.dart.strong.expect @@ -79,7 +79,7 @@ Try correcting the name to the name of an existing getter, or defining a getter e3.isEven; // Error. ^^^^^^" in e3{}.isEven; } -static method MyInt|get#twice(lowered final core::int #this) → core::int +static extension-member method MyInt|get#twice(lowered final core::int #this) → core::int return 2.{core::num::*}(#this){(core::num) → core::int}; static method test() → dynamic { self::MyInt m = 42; diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.expect b/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.expect index 6a3340b8430..0da34b66aad 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.expect @@ -79,7 +79,7 @@ Try correcting the name to the name of an existing getter, or defining a getter e3.isEven; // Error. ^^^^^^" in e3{}.isEven; } -static method MyInt|get#twice(lowered final core::int #this) → core::int +static extension-member method MyInt|get#twice(lowered final core::int #this) → core::int return 2.{core::num::*}(#this){(core::num) → core::int}; static method test() → dynamic { self::MyInt m = 42; diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.modular.expect index 6a3340b8430..0da34b66aad 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.modular.expect @@ -79,7 +79,7 @@ Try correcting the name to the name of an existing getter, or defining a getter e3.isEven; // Error. ^^^^^^" in e3{}.isEven; } -static method MyInt|get#twice(lowered final core::int #this) → core::int +static extension-member method MyInt|get#twice(lowered final core::int #this) → core::int return 2.{core::num::*}(#this){(core::num) → core::int}; static method test() → dynamic { self::MyInt m = 42; diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.outline.expect index 74097cf3c17..f2cea8fcf20 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide.dart.weak.outline.expect @@ -17,7 +17,7 @@ static method test2(self::E2 e2) → dynamic ; static method test3(self::E3 e3) → dynamic ; -static method MyInt|get#twice(lowered final core::int #this) → core::int +static extension-member method MyInt|get#twice(lowered final core::int #this) → core::int ; static method test() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.strong.expect b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.strong.expect index 6bbd2aa60d0..ab7d8516f50 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.strong.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.strong.expect @@ -31,29 +31,29 @@ extension E3 on core::int hide-getters core::int::isEven { get isOdd = self::E3|get#isOdd; get isEven = self::E3|get#isEven; } -static method E1|ceil(lowered final core::int #this) → core::int { +static extension-member method E1|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:6:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Error. ^" in null; } -static method E1|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E1|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E1|ceil(#this); -static method E2|ceil(lowered final core::int #this) → core::int { +static extension-member method E2|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:10:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Ok. ^" in null; } -static method E2|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E2|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E2|ceil(#this); -static method E2|floor(lowered final core::int #this) → core::int { +static extension-member method E2|floor(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:11:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int floor() {} // Error. ^" in null; } -static method E2|get#floor(lowered final core::int #this) → () → core::int +static extension-member method E2|get#floor(lowered final core::int #this) → () → core::int return () → core::int => self::E2|floor(#this); -static method E3|get#isOdd(lowered final core::int #this) → core::bool +static extension-member method E3|get#isOdd(lowered final core::int #this) → core::bool return throw 42; -static method E3|get#isEven(lowered final core::int #this) → core::bool +static extension-member method E3|get#isEven(lowered final core::int #this) → core::bool return throw 42; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.strong.transformed.expect b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.strong.transformed.expect index 6bbd2aa60d0..ab7d8516f50 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.strong.transformed.expect @@ -31,29 +31,29 @@ extension E3 on core::int hide-getters core::int::isEven { get isOdd = self::E3|get#isOdd; get isEven = self::E3|get#isEven; } -static method E1|ceil(lowered final core::int #this) → core::int { +static extension-member method E1|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:6:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Error. ^" in null; } -static method E1|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E1|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E1|ceil(#this); -static method E2|ceil(lowered final core::int #this) → core::int { +static extension-member method E2|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:10:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Ok. ^" in null; } -static method E2|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E2|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E2|ceil(#this); -static method E2|floor(lowered final core::int #this) → core::int { +static extension-member method E2|floor(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:11:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int floor() {} // Error. ^" in null; } -static method E2|get#floor(lowered final core::int #this) → () → core::int +static extension-member method E2|get#floor(lowered final core::int #this) → () → core::int return () → core::int => self::E2|floor(#this); -static method E3|get#isOdd(lowered final core::int #this) → core::bool +static extension-member method E3|get#isOdd(lowered final core::int #this) → core::bool return throw 42; -static method E3|get#isEven(lowered final core::int #this) → core::bool +static extension-member method E3|get#isEven(lowered final core::int #this) → core::bool return throw 42; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.expect b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.expect index 6bbd2aa60d0..ab7d8516f50 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.expect @@ -31,29 +31,29 @@ extension E3 on core::int hide-getters core::int::isEven { get isOdd = self::E3|get#isOdd; get isEven = self::E3|get#isEven; } -static method E1|ceil(lowered final core::int #this) → core::int { +static extension-member method E1|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:6:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Error. ^" in null; } -static method E1|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E1|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E1|ceil(#this); -static method E2|ceil(lowered final core::int #this) → core::int { +static extension-member method E2|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:10:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Ok. ^" in null; } -static method E2|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E2|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E2|ceil(#this); -static method E2|floor(lowered final core::int #this) → core::int { +static extension-member method E2|floor(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:11:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int floor() {} // Error. ^" in null; } -static method E2|get#floor(lowered final core::int #this) → () → core::int +static extension-member method E2|get#floor(lowered final core::int #this) → () → core::int return () → core::int => self::E2|floor(#this); -static method E3|get#isOdd(lowered final core::int #this) → core::bool +static extension-member method E3|get#isOdd(lowered final core::int #this) → core::bool return throw 42; -static method E3|get#isEven(lowered final core::int #this) → core::bool +static extension-member method E3|get#isEven(lowered final core::int #this) → core::bool return throw 42; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.modular.expect b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.modular.expect index 6bbd2aa60d0..ab7d8516f50 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.modular.expect @@ -31,29 +31,29 @@ extension E3 on core::int hide-getters core::int::isEven { get isOdd = self::E3|get#isOdd; get isEven = self::E3|get#isEven; } -static method E1|ceil(lowered final core::int #this) → core::int { +static extension-member method E1|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:6:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Error. ^" in null; } -static method E1|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E1|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E1|ceil(#this); -static method E2|ceil(lowered final core::int #this) → core::int { +static extension-member method E2|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:10:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Ok. ^" in null; } -static method E2|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E2|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E2|ceil(#this); -static method E2|floor(lowered final core::int #this) → core::int { +static extension-member method E2|floor(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:11:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int floor() {} // Error. ^" in null; } -static method E2|get#floor(lowered final core::int #this) → () → core::int +static extension-member method E2|get#floor(lowered final core::int #this) → () → core::int return () → core::int => self::E2|floor(#this); -static method E3|get#isOdd(lowered final core::int #this) → core::bool +static extension-member method E3|get#isOdd(lowered final core::int #this) → core::bool return throw 42; -static method E3|get#isEven(lowered final core::int #this) → core::bool +static extension-member method E3|get#isEven(lowered final core::int #this) → core::bool return throw 42; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.outline.expect b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.outline.expect index 32a49555c7e..eccbeeda9d2 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.outline.expect @@ -16,21 +16,21 @@ extension E3 on core::int hide-getters core::int::isEven { get isOdd = self::E3|get#isOdd; get isEven = self::E3|get#isEven; } -static method E1|ceil(lowered final core::int #this) → core::int +static extension-member method E1|ceil(lowered final core::int #this) → core::int ; -static method E1|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E1|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E1|ceil(#this); -static method E2|ceil(lowered final core::int #this) → core::int +static extension-member method E2|ceil(lowered final core::int #this) → core::int ; -static method E2|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E2|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E2|ceil(#this); -static method E2|floor(lowered final core::int #this) → core::int +static extension-member method E2|floor(lowered final core::int #this) → core::int ; -static method E2|get#floor(lowered final core::int #this) → () → core::int +static extension-member method E2|get#floor(lowered final core::int #this) → () → core::int return () → core::int => self::E2|floor(#this); -static method E3|get#isOdd(lowered final core::int #this) → core::bool +static extension-member method E3|get#isOdd(lowered final core::int #this) → core::bool ; -static method E3|get#isEven(lowered final core::int #this) → core::bool +static extension-member method E3|get#isEven(lowered final core::int #this) → core::bool ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.transformed.expect b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.transformed.expect index 6bbd2aa60d0..ab7d8516f50 100644 --- a/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart.weak.transformed.expect @@ -31,29 +31,29 @@ extension E3 on core::int hide-getters core::int::isEven { get isOdd = self::E3|get#isOdd; get isEven = self::E3|get#isEven; } -static method E1|ceil(lowered final core::int #this) → core::int { +static extension-member method E1|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:6:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Error. ^" in null; } -static method E1|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E1|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E1|ceil(#this); -static method E2|ceil(lowered final core::int #this) → core::int { +static extension-member method E2|ceil(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:10:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int ceil() {} // Ok. ^" in null; } -static method E2|get#ceil(lowered final core::int #this) → () → core::int +static extension-member method E2|get#ceil(lowered final core::int #this) → () → core::int return () → core::int => self::E2|ceil(#this); -static method E2|floor(lowered final core::int #this) → core::int { +static extension-member method E2|floor(lowered final core::int #this) → core::int { return invalid-expression "pkg/front_end/testcases/extension_types/simple_show_hide_conflicts.dart:11:7: Error: A non-null value must be returned since the return type 'int' doesn't allow null. int floor() {} // Error. ^" in null; } -static method E2|get#floor(lowered final core::int #this) → () → core::int +static extension-member method E2|get#floor(lowered final core::int #this) → () → core::int return () → core::int => self::E2|floor(#this); -static method E3|get#isOdd(lowered final core::int #this) → core::bool +static extension-member method E3|get#isOdd(lowered final core::int #this) → core::bool return throw 42; -static method E3|get#isEven(lowered final core::int #this) → core::bool +static extension-member method E3|get#isEven(lowered final core::int #this) → core::bool return throw 42; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/ambiguous.dart.strong.expect b/pkg/front_end/testcases/extensions/ambiguous.dart.strong.expect index a112f26c212..3d29458bdd1 100644 --- a/pkg/front_end/testcases/extensions/ambiguous.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/ambiguous.dart.strong.expect @@ -174,32 +174,32 @@ extension B on self::C { set setter = self::B|set#setter; set property = self::B|set#property; } -static method A|method(lowered final self::C #this) → void {} -static method A|get#method(lowered final self::C #this) → () → void +static extension-member method A|method(lowered final self::C #this) → void {} +static extension-member method A|get#method(lowered final self::C #this) → () → void return () → void => self::A|method(#this); -static method A|get#getter(lowered final self::C #this) → core::int +static extension-member method A|get#getter(lowered final self::C #this) → core::int return 42; -static method A|set#setter(lowered final self::C #this, core::int value) → void {} -static method A|get#property(lowered final self::C #this) → core::int +static extension-member method A|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method A|get#property(lowered final self::C #this) → core::int return 42; -static method A|+(lowered final self::C #this, core::int i) → core::int +static extension-member method A|+(lowered final self::C #this, core::int i) → core::int return i; -static method A|unary-(lowered final self::C #this) → core::int +static extension-member method A|unary-(lowered final self::C #this) → core::int return 0; -static method A|[](lowered final self::C #this, core::int i) → core::int +static extension-member method A|[](lowered final self::C #this, core::int i) → core::int return i; -static method B|method(lowered final self::C #this) → void {} -static method B|get#method(lowered final self::C #this) → () → void +static extension-member method B|method(lowered final self::C #this) → void {} +static extension-member method B|get#method(lowered final self::C #this) → () → void return () → void => self::B|method(#this); -static method B|get#getter(lowered final self::C #this) → core::int +static extension-member method B|get#getter(lowered final self::C #this) → core::int return 42; -static method B|set#setter(lowered final self::C #this, core::int value) → void {} -static method B|set#property(lowered final self::C #this, core::int value) → void {} -static method B|+(lowered final self::C #this, core::int i) → core::int +static extension-member method B|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method B|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member method B|+(lowered final self::C #this, core::int i) → core::int return i; -static method B|unary-(lowered final self::C #this) → core::int +static extension-member method B|unary-(lowered final self::C #this) → core::int return 0; -static method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} +static extension-member method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} static method errors(self::C c) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/ambiguous.dart:28:5: Error: The method 'method' is defined in multiple extensions for 'C' and neither is more specific. - 'C' is from 'pkg/front_end/testcases/extensions/ambiguous.dart'. diff --git a/pkg/front_end/testcases/extensions/ambiguous.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/ambiguous.dart.strong.transformed.expect index a112f26c212..3d29458bdd1 100644 --- a/pkg/front_end/testcases/extensions/ambiguous.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/ambiguous.dart.strong.transformed.expect @@ -174,32 +174,32 @@ extension B on self::C { set setter = self::B|set#setter; set property = self::B|set#property; } -static method A|method(lowered final self::C #this) → void {} -static method A|get#method(lowered final self::C #this) → () → void +static extension-member method A|method(lowered final self::C #this) → void {} +static extension-member method A|get#method(lowered final self::C #this) → () → void return () → void => self::A|method(#this); -static method A|get#getter(lowered final self::C #this) → core::int +static extension-member method A|get#getter(lowered final self::C #this) → core::int return 42; -static method A|set#setter(lowered final self::C #this, core::int value) → void {} -static method A|get#property(lowered final self::C #this) → core::int +static extension-member method A|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method A|get#property(lowered final self::C #this) → core::int return 42; -static method A|+(lowered final self::C #this, core::int i) → core::int +static extension-member method A|+(lowered final self::C #this, core::int i) → core::int return i; -static method A|unary-(lowered final self::C #this) → core::int +static extension-member method A|unary-(lowered final self::C #this) → core::int return 0; -static method A|[](lowered final self::C #this, core::int i) → core::int +static extension-member method A|[](lowered final self::C #this, core::int i) → core::int return i; -static method B|method(lowered final self::C #this) → void {} -static method B|get#method(lowered final self::C #this) → () → void +static extension-member method B|method(lowered final self::C #this) → void {} +static extension-member method B|get#method(lowered final self::C #this) → () → void return () → void => self::B|method(#this); -static method B|get#getter(lowered final self::C #this) → core::int +static extension-member method B|get#getter(lowered final self::C #this) → core::int return 42; -static method B|set#setter(lowered final self::C #this, core::int value) → void {} -static method B|set#property(lowered final self::C #this, core::int value) → void {} -static method B|+(lowered final self::C #this, core::int i) → core::int +static extension-member method B|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method B|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member method B|+(lowered final self::C #this, core::int i) → core::int return i; -static method B|unary-(lowered final self::C #this) → core::int +static extension-member method B|unary-(lowered final self::C #this) → core::int return 0; -static method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} +static extension-member method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} static method errors(self::C c) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/ambiguous.dart:28:5: Error: The method 'method' is defined in multiple extensions for 'C' and neither is more specific. - 'C' is from 'pkg/front_end/testcases/extensions/ambiguous.dart'. diff --git a/pkg/front_end/testcases/extensions/ambiguous.dart.weak.expect b/pkg/front_end/testcases/extensions/ambiguous.dart.weak.expect index a112f26c212..3d29458bdd1 100644 --- a/pkg/front_end/testcases/extensions/ambiguous.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/ambiguous.dart.weak.expect @@ -174,32 +174,32 @@ extension B on self::C { set setter = self::B|set#setter; set property = self::B|set#property; } -static method A|method(lowered final self::C #this) → void {} -static method A|get#method(lowered final self::C #this) → () → void +static extension-member method A|method(lowered final self::C #this) → void {} +static extension-member method A|get#method(lowered final self::C #this) → () → void return () → void => self::A|method(#this); -static method A|get#getter(lowered final self::C #this) → core::int +static extension-member method A|get#getter(lowered final self::C #this) → core::int return 42; -static method A|set#setter(lowered final self::C #this, core::int value) → void {} -static method A|get#property(lowered final self::C #this) → core::int +static extension-member method A|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method A|get#property(lowered final self::C #this) → core::int return 42; -static method A|+(lowered final self::C #this, core::int i) → core::int +static extension-member method A|+(lowered final self::C #this, core::int i) → core::int return i; -static method A|unary-(lowered final self::C #this) → core::int +static extension-member method A|unary-(lowered final self::C #this) → core::int return 0; -static method A|[](lowered final self::C #this, core::int i) → core::int +static extension-member method A|[](lowered final self::C #this, core::int i) → core::int return i; -static method B|method(lowered final self::C #this) → void {} -static method B|get#method(lowered final self::C #this) → () → void +static extension-member method B|method(lowered final self::C #this) → void {} +static extension-member method B|get#method(lowered final self::C #this) → () → void return () → void => self::B|method(#this); -static method B|get#getter(lowered final self::C #this) → core::int +static extension-member method B|get#getter(lowered final self::C #this) → core::int return 42; -static method B|set#setter(lowered final self::C #this, core::int value) → void {} -static method B|set#property(lowered final self::C #this, core::int value) → void {} -static method B|+(lowered final self::C #this, core::int i) → core::int +static extension-member method B|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method B|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member method B|+(lowered final self::C #this, core::int i) → core::int return i; -static method B|unary-(lowered final self::C #this) → core::int +static extension-member method B|unary-(lowered final self::C #this) → core::int return 0; -static method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} +static extension-member method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} static method errors(self::C c) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/ambiguous.dart:28:5: Error: The method 'method' is defined in multiple extensions for 'C' and neither is more specific. - 'C' is from 'pkg/front_end/testcases/extensions/ambiguous.dart'. diff --git a/pkg/front_end/testcases/extensions/ambiguous.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/ambiguous.dart.weak.modular.expect index a112f26c212..3d29458bdd1 100644 --- a/pkg/front_end/testcases/extensions/ambiguous.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/ambiguous.dart.weak.modular.expect @@ -174,32 +174,32 @@ extension B on self::C { set setter = self::B|set#setter; set property = self::B|set#property; } -static method A|method(lowered final self::C #this) → void {} -static method A|get#method(lowered final self::C #this) → () → void +static extension-member method A|method(lowered final self::C #this) → void {} +static extension-member method A|get#method(lowered final self::C #this) → () → void return () → void => self::A|method(#this); -static method A|get#getter(lowered final self::C #this) → core::int +static extension-member method A|get#getter(lowered final self::C #this) → core::int return 42; -static method A|set#setter(lowered final self::C #this, core::int value) → void {} -static method A|get#property(lowered final self::C #this) → core::int +static extension-member method A|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method A|get#property(lowered final self::C #this) → core::int return 42; -static method A|+(lowered final self::C #this, core::int i) → core::int +static extension-member method A|+(lowered final self::C #this, core::int i) → core::int return i; -static method A|unary-(lowered final self::C #this) → core::int +static extension-member method A|unary-(lowered final self::C #this) → core::int return 0; -static method A|[](lowered final self::C #this, core::int i) → core::int +static extension-member method A|[](lowered final self::C #this, core::int i) → core::int return i; -static method B|method(lowered final self::C #this) → void {} -static method B|get#method(lowered final self::C #this) → () → void +static extension-member method B|method(lowered final self::C #this) → void {} +static extension-member method B|get#method(lowered final self::C #this) → () → void return () → void => self::B|method(#this); -static method B|get#getter(lowered final self::C #this) → core::int +static extension-member method B|get#getter(lowered final self::C #this) → core::int return 42; -static method B|set#setter(lowered final self::C #this, core::int value) → void {} -static method B|set#property(lowered final self::C #this, core::int value) → void {} -static method B|+(lowered final self::C #this, core::int i) → core::int +static extension-member method B|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method B|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member method B|+(lowered final self::C #this, core::int i) → core::int return i; -static method B|unary-(lowered final self::C #this) → core::int +static extension-member method B|unary-(lowered final self::C #this) → core::int return 0; -static method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} +static extension-member method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} static method errors(self::C c) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/ambiguous.dart:28:5: Error: The method 'method' is defined in multiple extensions for 'C' and neither is more specific. - 'C' is from 'pkg/front_end/testcases/extensions/ambiguous.dart'. diff --git a/pkg/front_end/testcases/extensions/ambiguous.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/ambiguous.dart.weak.outline.expect index 7cd8dc17d74..d2441021d72 100644 --- a/pkg/front_end/testcases/extensions/ambiguous.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/ambiguous.dart.weak.outline.expect @@ -26,37 +26,37 @@ extension B on self::C { set setter = self::B|set#setter; set property = self::B|set#property; } -static method A|method(lowered final self::C #this) → void +static extension-member method A|method(lowered final self::C #this) → void ; -static method A|get#method(lowered final self::C #this) → () → void +static extension-member method A|get#method(lowered final self::C #this) → () → void return () → void => self::A|method(#this); -static method A|get#getter(lowered final self::C #this) → core::int +static extension-member method A|get#getter(lowered final self::C #this) → core::int ; -static method A|set#setter(lowered final self::C #this, core::int value) → void +static extension-member method A|set#setter(lowered final self::C #this, core::int value) → void ; -static method A|get#property(lowered final self::C #this) → core::int +static extension-member method A|get#property(lowered final self::C #this) → core::int ; -static method A|+(lowered final self::C #this, core::int i) → core::int +static extension-member method A|+(lowered final self::C #this, core::int i) → core::int ; -static method A|unary-(lowered final self::C #this) → core::int +static extension-member method A|unary-(lowered final self::C #this) → core::int ; -static method A|[](lowered final self::C #this, core::int i) → core::int +static extension-member method A|[](lowered final self::C #this, core::int i) → core::int ; -static method B|method(lowered final self::C #this) → void +static extension-member method B|method(lowered final self::C #this) → void ; -static method B|get#method(lowered final self::C #this) → () → void +static extension-member method B|get#method(lowered final self::C #this) → () → void return () → void => self::B|method(#this); -static method B|get#getter(lowered final self::C #this) → core::int +static extension-member method B|get#getter(lowered final self::C #this) → core::int ; -static method B|set#setter(lowered final self::C #this, core::int value) → void +static extension-member method B|set#setter(lowered final self::C #this, core::int value) → void ; -static method B|set#property(lowered final self::C #this, core::int value) → void +static extension-member method B|set#property(lowered final self::C #this, core::int value) → void ; -static method B|+(lowered final self::C #this, core::int i) → core::int +static extension-member method B|+(lowered final self::C #this, core::int i) → core::int ; -static method B|unary-(lowered final self::C #this) → core::int +static extension-member method B|unary-(lowered final self::C #this) → core::int ; -static method B|[]=(lowered final self::C #this, core::int i, core::int j) → void +static extension-member method B|[]=(lowered final self::C #this, core::int i, core::int j) → void ; static method errors(self::C c) → dynamic ; diff --git a/pkg/front_end/testcases/extensions/ambiguous.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/ambiguous.dart.weak.transformed.expect index a112f26c212..3d29458bdd1 100644 --- a/pkg/front_end/testcases/extensions/ambiguous.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/ambiguous.dart.weak.transformed.expect @@ -174,32 +174,32 @@ extension B on self::C { set setter = self::B|set#setter; set property = self::B|set#property; } -static method A|method(lowered final self::C #this) → void {} -static method A|get#method(lowered final self::C #this) → () → void +static extension-member method A|method(lowered final self::C #this) → void {} +static extension-member method A|get#method(lowered final self::C #this) → () → void return () → void => self::A|method(#this); -static method A|get#getter(lowered final self::C #this) → core::int +static extension-member method A|get#getter(lowered final self::C #this) → core::int return 42; -static method A|set#setter(lowered final self::C #this, core::int value) → void {} -static method A|get#property(lowered final self::C #this) → core::int +static extension-member method A|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method A|get#property(lowered final self::C #this) → core::int return 42; -static method A|+(lowered final self::C #this, core::int i) → core::int +static extension-member method A|+(lowered final self::C #this, core::int i) → core::int return i; -static method A|unary-(lowered final self::C #this) → core::int +static extension-member method A|unary-(lowered final self::C #this) → core::int return 0; -static method A|[](lowered final self::C #this, core::int i) → core::int +static extension-member method A|[](lowered final self::C #this, core::int i) → core::int return i; -static method B|method(lowered final self::C #this) → void {} -static method B|get#method(lowered final self::C #this) → () → void +static extension-member method B|method(lowered final self::C #this) → void {} +static extension-member method B|get#method(lowered final self::C #this) → () → void return () → void => self::B|method(#this); -static method B|get#getter(lowered final self::C #this) → core::int +static extension-member method B|get#getter(lowered final self::C #this) → core::int return 42; -static method B|set#setter(lowered final self::C #this, core::int value) → void {} -static method B|set#property(lowered final self::C #this, core::int value) → void {} -static method B|+(lowered final self::C #this, core::int i) → core::int +static extension-member method B|set#setter(lowered final self::C #this, core::int value) → void {} +static extension-member method B|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member method B|+(lowered final self::C #this, core::int i) → core::int return i; -static method B|unary-(lowered final self::C #this) → core::int +static extension-member method B|unary-(lowered final self::C #this) → core::int return 0; -static method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} +static extension-member method B|[]=(lowered final self::C #this, core::int i, core::int j) → void {} static method errors(self::C c) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/ambiguous.dart:28:5: Error: The method 'method' is defined in multiple extensions for 'C' and neither is more specific. - 'C' is from 'pkg/front_end/testcases/extensions/ambiguous.dart'. diff --git a/pkg/front_end/testcases/extensions/annotations.dart.strong.expect b/pkg/front_end/testcases/extensions/annotations.dart.strong.expect index 5566eb21d4e..dcd4fdf7da5 100644 --- a/pkg/front_end/testcases/extensions/annotations.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/annotations.dart.strong.expect @@ -17,11 +17,11 @@ extension Extension on self::Class { static method extensionStaticMethod = self::Extension|extensionStaticMethod; } @#C3 -static method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethod(#this); @#C3 -static method Extension|extensionStaticMethod() → dynamic {} +static extension-member method Extension|extensionStaticMethod() → dynamic {} @#C3 static method topLevelMethod() → dynamic {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/annotations.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/annotations.dart.strong.transformed.expect index 5566eb21d4e..dcd4fdf7da5 100644 --- a/pkg/front_end/testcases/extensions/annotations.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/annotations.dart.strong.transformed.expect @@ -17,11 +17,11 @@ extension Extension on self::Class { static method extensionStaticMethod = self::Extension|extensionStaticMethod; } @#C3 -static method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethod(#this); @#C3 -static method Extension|extensionStaticMethod() → dynamic {} +static extension-member method Extension|extensionStaticMethod() → dynamic {} @#C3 static method topLevelMethod() → dynamic {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/annotations.dart.weak.expect b/pkg/front_end/testcases/extensions/annotations.dart.weak.expect index 5566eb21d4e..dcd4fdf7da5 100644 --- a/pkg/front_end/testcases/extensions/annotations.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/annotations.dart.weak.expect @@ -17,11 +17,11 @@ extension Extension on self::Class { static method extensionStaticMethod = self::Extension|extensionStaticMethod; } @#C3 -static method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethod(#this); @#C3 -static method Extension|extensionStaticMethod() → dynamic {} +static extension-member method Extension|extensionStaticMethod() → dynamic {} @#C3 static method topLevelMethod() → dynamic {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/annotations.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/annotations.dart.weak.modular.expect index 5566eb21d4e..dcd4fdf7da5 100644 --- a/pkg/front_end/testcases/extensions/annotations.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/annotations.dart.weak.modular.expect @@ -17,11 +17,11 @@ extension Extension on self::Class { static method extensionStaticMethod = self::Extension|extensionStaticMethod; } @#C3 -static method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethod(#this); @#C3 -static method Extension|extensionStaticMethod() → dynamic {} +static extension-member method Extension|extensionStaticMethod() → dynamic {} @#C3 static method topLevelMethod() → dynamic {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/annotations.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/annotations.dart.weak.outline.expect index 89deb85d952..4eec0297d11 100644 --- a/pkg/front_end/testcases/extensions/annotations.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/annotations.dart.weak.outline.expect @@ -18,12 +18,12 @@ extension Extension on self::Class { static method extensionStaticMethod = self::Extension|extensionStaticMethod; } @core::pragma::_("dart2js:noInline") -static method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic +static extension-member method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic ; -static method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethod(#this); @core::pragma::_("dart2js:noInline") -static method Extension|extensionStaticMethod() → dynamic +static extension-member method Extension|extensionStaticMethod() → dynamic ; @core::pragma::_("dart2js:noInline") static method topLevelMethod() → dynamic diff --git a/pkg/front_end/testcases/extensions/annotations.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/annotations.dart.weak.transformed.expect index 5566eb21d4e..dcd4fdf7da5 100644 --- a/pkg/front_end/testcases/extensions/annotations.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/annotations.dart.weak.transformed.expect @@ -17,11 +17,11 @@ extension Extension on self::Class { static method extensionStaticMethod = self::Extension|extensionStaticMethod; } @#C3 -static method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethod(#this); @#C3 -static method Extension|extensionStaticMethod() → dynamic {} +static extension-member method Extension|extensionStaticMethod() → dynamic {} @#C3 static method topLevelMethod() → dynamic {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/annotations_scope.dart.strong.expect b/pkg/front_end/testcases/extensions/annotations_scope.dart.strong.expect index f4c7d19a0ea..02de024c883 100644 --- a/pkg/front_end/testcases/extensions/annotations_scope.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/annotations_scope.dart.strong.expect @@ -17,10 +17,10 @@ static const field core::int E|constField1 = #C3; @#C3 static const field core::int E|constField2 = #C2; @#C1 -static method E|staticMethod() → void {} +static extension-member method E|staticMethod() → void {} @#C1 -static method E|instanceMethod(lowered final core::int #this) → void {} -static method E|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method E|instanceMethod(lowered final core::int #this) → void {} +static extension-member method E|get#instanceMethod(lowered final core::int #this) → () → void return () → void => self::E|instanceMethod(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/annotations_scope.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/annotations_scope.dart.strong.transformed.expect index f4c7d19a0ea..02de024c883 100644 --- a/pkg/front_end/testcases/extensions/annotations_scope.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/annotations_scope.dart.strong.transformed.expect @@ -17,10 +17,10 @@ static const field core::int E|constField1 = #C3; @#C3 static const field core::int E|constField2 = #C2; @#C1 -static method E|staticMethod() → void {} +static extension-member method E|staticMethod() → void {} @#C1 -static method E|instanceMethod(lowered final core::int #this) → void {} -static method E|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method E|instanceMethod(lowered final core::int #this) → void {} +static extension-member method E|get#instanceMethod(lowered final core::int #this) → () → void return () → void => self::E|instanceMethod(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.expect b/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.expect index f4c7d19a0ea..02de024c883 100644 --- a/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.expect @@ -17,10 +17,10 @@ static const field core::int E|constField1 = #C3; @#C3 static const field core::int E|constField2 = #C2; @#C1 -static method E|staticMethod() → void {} +static extension-member method E|staticMethod() → void {} @#C1 -static method E|instanceMethod(lowered final core::int #this) → void {} -static method E|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method E|instanceMethod(lowered final core::int #this) → void {} +static extension-member method E|get#instanceMethod(lowered final core::int #this) → () → void return () → void => self::E|instanceMethod(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.modular.expect index f4c7d19a0ea..02de024c883 100644 --- a/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.modular.expect @@ -17,10 +17,10 @@ static const field core::int E|constField1 = #C3; @#C3 static const field core::int E|constField2 = #C2; @#C1 -static method E|staticMethod() → void {} +static extension-member method E|staticMethod() → void {} @#C1 -static method E|instanceMethod(lowered final core::int #this) → void {} -static method E|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method E|instanceMethod(lowered final core::int #this) → void {} +static extension-member method E|get#instanceMethod(lowered final core::int #this) → () → void return () → void => self::E|instanceMethod(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.outline.expect index c93da95786e..75d5c2922ab 100644 --- a/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.outline.expect @@ -17,12 +17,12 @@ static const field core::int E|constField1 = 2; @self::E|constField1 static const field core::int E|constField2 = 3; @self::E|constField -static method E|staticMethod() → void +static extension-member method E|staticMethod() → void ; @self::E|constField -static method E|instanceMethod(lowered final core::int #this) → void +static extension-member method E|instanceMethod(lowered final core::int #this) → void ; -static method E|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method E|get#instanceMethod(lowered final core::int #this) → () → void return () → void => self::E|instanceMethod(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.transformed.expect index f4c7d19a0ea..02de024c883 100644 --- a/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/annotations_scope.dart.weak.transformed.expect @@ -17,10 +17,10 @@ static const field core::int E|constField1 = #C3; @#C3 static const field core::int E|constField2 = #C2; @#C1 -static method E|staticMethod() → void {} +static extension-member method E|staticMethod() → void {} @#C1 -static method E|instanceMethod(lowered final core::int #this) → void {} -static method E|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method E|instanceMethod(lowered final core::int #this) → void {} +static extension-member method E|get#instanceMethod(lowered final core::int #this) → () → void return () → void => self::E|instanceMethod(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/async_extensions.dart.strong.expect b/pkg/front_end/testcases/extensions/async_extensions.dart.strong.expect index 92c8cd319da..6cd6c580051 100644 --- a/pkg/front_end/testcases/extensions/async_extensions.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/async_extensions.dart.strong.expect @@ -10,14 +10,14 @@ extension Extension on core::int { method asyncStarMethod = self::Extension|asyncStarMethod; tearoff asyncStarMethod = self::Extension|get#asyncStarMethod; } -static method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} -static method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} +static extension-member method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|syncStarMethod(#this); -static method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} -static method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} +static extension-member method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncMethod(#this); -static method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} -static method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} +static extension-member method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncStarMethod(#this); static method main() → dynamic { self::Extension|syncStarMethod(0); diff --git a/pkg/front_end/testcases/extensions/async_extensions.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/async_extensions.dart.strong.transformed.expect index 92c8cd319da..6cd6c580051 100644 --- a/pkg/front_end/testcases/extensions/async_extensions.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/async_extensions.dart.strong.transformed.expect @@ -10,14 +10,14 @@ extension Extension on core::int { method asyncStarMethod = self::Extension|asyncStarMethod; tearoff asyncStarMethod = self::Extension|get#asyncStarMethod; } -static method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} -static method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} +static extension-member method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|syncStarMethod(#this); -static method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} -static method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} +static extension-member method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncMethod(#this); -static method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} -static method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} +static extension-member method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncStarMethod(#this); static method main() → dynamic { self::Extension|syncStarMethod(0); diff --git a/pkg/front_end/testcases/extensions/async_extensions.dart.weak.expect b/pkg/front_end/testcases/extensions/async_extensions.dart.weak.expect index 92c8cd319da..6cd6c580051 100644 --- a/pkg/front_end/testcases/extensions/async_extensions.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/async_extensions.dart.weak.expect @@ -10,14 +10,14 @@ extension Extension on core::int { method asyncStarMethod = self::Extension|asyncStarMethod; tearoff asyncStarMethod = self::Extension|get#asyncStarMethod; } -static method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} -static method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} +static extension-member method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|syncStarMethod(#this); -static method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} -static method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} +static extension-member method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncMethod(#this); -static method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} -static method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} +static extension-member method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncStarMethod(#this); static method main() → dynamic { self::Extension|syncStarMethod(0); diff --git a/pkg/front_end/testcases/extensions/async_extensions.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/async_extensions.dart.weak.modular.expect index 92c8cd319da..6cd6c580051 100644 --- a/pkg/front_end/testcases/extensions/async_extensions.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/async_extensions.dart.weak.modular.expect @@ -10,14 +10,14 @@ extension Extension on core::int { method asyncStarMethod = self::Extension|asyncStarMethod; tearoff asyncStarMethod = self::Extension|get#asyncStarMethod; } -static method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} -static method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} +static extension-member method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|syncStarMethod(#this); -static method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} -static method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} +static extension-member method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncMethod(#this); -static method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} -static method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} +static extension-member method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncStarMethod(#this); static method main() → dynamic { self::Extension|syncStarMethod(0); diff --git a/pkg/front_end/testcases/extensions/async_extensions.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/async_extensions.dart.weak.outline.expect index a1ec5e2510b..2764c282769 100644 --- a/pkg/front_end/testcases/extensions/async_extensions.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/async_extensions.dart.weak.outline.expect @@ -10,17 +10,17 @@ extension Extension on core::int { method asyncStarMethod = self::Extension|asyncStarMethod; tearoff asyncStarMethod = self::Extension|get#asyncStarMethod; } -static method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* +static extension-member method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* ; -static method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|syncStarMethod(#this); -static method Extension|asyncMethod(lowered final core::int #this) → dynamic async +static extension-member method Extension|asyncMethod(lowered final core::int #this) → dynamic async ; -static method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncMethod(#this); -static method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* +static extension-member method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* ; -static method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncStarMethod(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/async_extensions.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/async_extensions.dart.weak.transformed.expect index 92c8cd319da..6cd6c580051 100644 --- a/pkg/front_end/testcases/extensions/async_extensions.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/async_extensions.dart.weak.transformed.expect @@ -10,14 +10,14 @@ extension Extension on core::int { method asyncStarMethod = self::Extension|asyncStarMethod; tearoff asyncStarMethod = self::Extension|get#asyncStarMethod; } -static method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} -static method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|syncStarMethod(lowered final core::int #this) → dynamic sync* {} +static extension-member method Extension|get#syncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|syncStarMethod(#this); -static method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} -static method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncMethod(lowered final core::int #this) → dynamic async /* futureValueType= dynamic */ {} +static extension-member method Extension|get#asyncMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncMethod(#this); -static method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} -static method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic +static extension-member method Extension|asyncStarMethod(lowered final core::int #this) → dynamic async* {} +static extension-member method Extension|get#asyncStarMethod(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension|asyncStarMethod(#this); static method main() → dynamic { self::Extension|syncStarMethod(0); diff --git a/pkg/front_end/testcases/extensions/bounds.dart.strong.expect b/pkg/front_end/testcases/extensions/bounds.dart.strong.expect index d17546f4c3c..ae18fb52aaa 100644 --- a/pkg/front_end/testcases/extensions/bounds.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/bounds.dart.strong.expect @@ -42,52 +42,52 @@ extension Extension4 on T% { method method4 = self::Extension4|method4; tearoff method4 = self::Extension4|get#method4; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/bounds.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/bounds.dart.strong.transformed.expect index d17546f4c3c..ae18fb52aaa 100644 --- a/pkg/front_end/testcases/extensions/bounds.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/bounds.dart.strong.transformed.expect @@ -42,52 +42,52 @@ extension Extension4 on T% { method method4 = self::Extension4|method4; tearoff method4 = self::Extension4|get#method4; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/bounds.dart.weak.expect b/pkg/front_end/testcases/extensions/bounds.dart.weak.expect index d17546f4c3c..ae18fb52aaa 100644 --- a/pkg/front_end/testcases/extensions/bounds.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/bounds.dart.weak.expect @@ -42,52 +42,52 @@ extension Extension4 on T% { method method4 = self::Extension4|method4; tearoff method4 = self::Extension4|get#method4; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/bounds.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/bounds.dart.weak.modular.expect index d17546f4c3c..ae18fb52aaa 100644 --- a/pkg/front_end/testcases/extensions/bounds.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/bounds.dart.weak.modular.expect @@ -42,52 +42,52 @@ extension Extension4 on T% { method method4 = self::Extension4|method4; tearoff method4 = self::Extension4|get#method4; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/bounds.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/bounds.dart.weak.outline.expect index 76c1701d193..5b38b840c58 100644 --- a/pkg/front_end/testcases/extensions/bounds.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/bounds.dart.weak.outline.expect @@ -42,69 +42,69 @@ extension Extension4 on T% { method method4 = self::Extension4|method4; tearoff method4 = self::Extension4|get#method4; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic ; -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic ; -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic ; -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic ; -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic ; -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic ; -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic ; -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic ; -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic ; -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic ; -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic ; -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic ; -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic ; -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic ; -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic ; -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic ; -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/bounds.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/bounds.dart.weak.transformed.expect index d17546f4c3c..ae18fb52aaa 100644 --- a/pkg/front_end/testcases/extensions/bounds.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/bounds.dart.weak.transformed.expect @@ -42,52 +42,52 @@ extension Extension4 on T% { method method4 = self::Extension4|method4; tearoff method4 = self::Extension4|get#method4; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/call_collision.dart.strong.expect b/pkg/front_end/testcases/extensions/call_collision.dart.strong.expect index 4c7722dd4ba..ffbff265a8d 100644 --- a/pkg/front_end/testcases/extensions/call_collision.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/call_collision.dart.strong.expect @@ -41,9 +41,9 @@ extension /* unnamed */ _extension#1 on self::Class? { method call = self::_extension#1|call; tearoff call = self::_extension#1|get#call; } -static method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} -static method _extension#1|call(lowered final self::Class? #this) → void {} -static method _extension#1|get#call(lowered final self::Class? #this) → () → void +static extension-member method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} +static extension-member method _extension#1|call(lowered final self::Class? #this) → void {} +static extension-member method _extension#1|get#call(lowered final self::Class? #this) → () → void return () → void => self::_extension#1|call(#this); static method method(core::Function f1, () → void f2, self::Class c1, self::Class? c2) → dynamic { f1(); diff --git a/pkg/front_end/testcases/extensions/call_collision.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/call_collision.dart.strong.transformed.expect index 4c7722dd4ba..ffbff265a8d 100644 --- a/pkg/front_end/testcases/extensions/call_collision.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/call_collision.dart.strong.transformed.expect @@ -41,9 +41,9 @@ extension /* unnamed */ _extension#1 on self::Class? { method call = self::_extension#1|call; tearoff call = self::_extension#1|get#call; } -static method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} -static method _extension#1|call(lowered final self::Class? #this) → void {} -static method _extension#1|get#call(lowered final self::Class? #this) → () → void +static extension-member method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} +static extension-member method _extension#1|call(lowered final self::Class? #this) → void {} +static extension-member method _extension#1|get#call(lowered final self::Class? #this) → () → void return () → void => self::_extension#1|call(#this); static method method(core::Function f1, () → void f2, self::Class c1, self::Class? c2) → dynamic { f1(); diff --git a/pkg/front_end/testcases/extensions/call_collision.dart.weak.expect b/pkg/front_end/testcases/extensions/call_collision.dart.weak.expect index 4c7722dd4ba..ffbff265a8d 100644 --- a/pkg/front_end/testcases/extensions/call_collision.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/call_collision.dart.weak.expect @@ -41,9 +41,9 @@ extension /* unnamed */ _extension#1 on self::Class? { method call = self::_extension#1|call; tearoff call = self::_extension#1|get#call; } -static method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} -static method _extension#1|call(lowered final self::Class? #this) → void {} -static method _extension#1|get#call(lowered final self::Class? #this) → () → void +static extension-member method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} +static extension-member method _extension#1|call(lowered final self::Class? #this) → void {} +static extension-member method _extension#1|get#call(lowered final self::Class? #this) → () → void return () → void => self::_extension#1|call(#this); static method method(core::Function f1, () → void f2, self::Class c1, self::Class? c2) → dynamic { f1(); diff --git a/pkg/front_end/testcases/extensions/call_collision.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/call_collision.dart.weak.modular.expect index 4c7722dd4ba..ffbff265a8d 100644 --- a/pkg/front_end/testcases/extensions/call_collision.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/call_collision.dart.weak.modular.expect @@ -41,9 +41,9 @@ extension /* unnamed */ _extension#1 on self::Class? { method call = self::_extension#1|call; tearoff call = self::_extension#1|get#call; } -static method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} -static method _extension#1|call(lowered final self::Class? #this) → void {} -static method _extension#1|get#call(lowered final self::Class? #this) → () → void +static extension-member method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} +static extension-member method _extension#1|call(lowered final self::Class? #this) → void {} +static extension-member method _extension#1|get#call(lowered final self::Class? #this) → () → void return () → void => self::_extension#1|call(#this); static method method(core::Function f1, () → void f2, self::Class c1, self::Class? c2) → dynamic { f1(); diff --git a/pkg/front_end/testcases/extensions/call_collision.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/call_collision.dart.weak.outline.expect index 929d5e4a647..389c49b4c39 100644 --- a/pkg/front_end/testcases/extensions/call_collision.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/call_collision.dart.weak.outline.expect @@ -15,11 +15,11 @@ extension /* unnamed */ _extension#1 on self::Class? { method call = self::_extension#1|call; tearoff call = self::_extension#1|get#call; } -static method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void +static extension-member method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void ; -static method _extension#1|call(lowered final self::Class? #this) → void +static extension-member method _extension#1|call(lowered final self::Class? #this) → void ; -static method _extension#1|get#call(lowered final self::Class? #this) → () → void +static extension-member method _extension#1|get#call(lowered final self::Class? #this) → () → void return () → void => self::_extension#1|call(#this); static method method(core::Function f1, () → void f2, self::Class c1, self::Class? c2) → dynamic ; diff --git a/pkg/front_end/testcases/extensions/call_collision.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/call_collision.dart.weak.transformed.expect index 4c7722dd4ba..ffbff265a8d 100644 --- a/pkg/front_end/testcases/extensions/call_collision.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/call_collision.dart.weak.transformed.expect @@ -41,9 +41,9 @@ extension /* unnamed */ _extension#1 on self::Class? { method call = self::_extension#1|call; tearoff call = self::_extension#1|get#call; } -static method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} -static method _extension#1|call(lowered final self::Class? #this) → void {} -static method _extension#1|get#call(lowered final self::Class? #this) → () → void +static extension-member method _extension#0|set#call(lowered final dynamic #this, dynamic _) → void {} +static extension-member method _extension#1|call(lowered final self::Class? #this) → void {} +static extension-member method _extension#1|get#call(lowered final self::Class? #this) → () → void return () → void => self::_extension#1|call(#this); static method method(core::Function f1, () → void f2, self::Class c1, self::Class? c2) → dynamic { f1(); diff --git a/pkg/front_end/testcases/extensions/call_methods.dart.strong.expect b/pkg/front_end/testcases/extensions/call_methods.dart.strong.expect index 88964c08bd3..b93b7f0ffa5 100644 --- a/pkg/front_end/testcases/extensions/call_methods.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/call_methods.dart.strong.expect @@ -126,11 +126,11 @@ static field invalid-type topLevel6 = invalid-expression "pkg/front_end/testcase Try changing 'call' to a method or explicitly invoke 'call'. var topLevel6 = a(2, \"3\"); ^"; -static method _extension#0|get#call(lowered final core::int #this) → core::String +static extension-member method _extension#0|get#call(lowered final core::int #this) → core::String return "My name is int"; -static method _extension#1|get#call(lowered final core::num #this) → core::String +static extension-member method _extension#1|get#call(lowered final core::num #this) → core::String return "My name is num"; -static method _extension#2|get#call(lowered final core::String #this) → () → core::String +static extension-member method _extension#2|get#call(lowered final core::String #this) → () → core::String return () → core::String => "My name is String"; static method main() → dynamic { self::_extension#2|get#call("")(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/call_methods.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/call_methods.dart.strong.transformed.expect index 88964c08bd3..b93b7f0ffa5 100644 --- a/pkg/front_end/testcases/extensions/call_methods.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/call_methods.dart.strong.transformed.expect @@ -126,11 +126,11 @@ static field invalid-type topLevel6 = invalid-expression "pkg/front_end/testcase Try changing 'call' to a method or explicitly invoke 'call'. var topLevel6 = a(2, \"3\"); ^"; -static method _extension#0|get#call(lowered final core::int #this) → core::String +static extension-member method _extension#0|get#call(lowered final core::int #this) → core::String return "My name is int"; -static method _extension#1|get#call(lowered final core::num #this) → core::String +static extension-member method _extension#1|get#call(lowered final core::num #this) → core::String return "My name is num"; -static method _extension#2|get#call(lowered final core::String #this) → () → core::String +static extension-member method _extension#2|get#call(lowered final core::String #this) → () → core::String return () → core::String => "My name is String"; static method main() → dynamic { self::_extension#2|get#call("")(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/call_methods.dart.weak.expect b/pkg/front_end/testcases/extensions/call_methods.dart.weak.expect index 88964c08bd3..b93b7f0ffa5 100644 --- a/pkg/front_end/testcases/extensions/call_methods.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/call_methods.dart.weak.expect @@ -126,11 +126,11 @@ static field invalid-type topLevel6 = invalid-expression "pkg/front_end/testcase Try changing 'call' to a method or explicitly invoke 'call'. var topLevel6 = a(2, \"3\"); ^"; -static method _extension#0|get#call(lowered final core::int #this) → core::String +static extension-member method _extension#0|get#call(lowered final core::int #this) → core::String return "My name is int"; -static method _extension#1|get#call(lowered final core::num #this) → core::String +static extension-member method _extension#1|get#call(lowered final core::num #this) → core::String return "My name is num"; -static method _extension#2|get#call(lowered final core::String #this) → () → core::String +static extension-member method _extension#2|get#call(lowered final core::String #this) → () → core::String return () → core::String => "My name is String"; static method main() → dynamic { self::_extension#2|get#call("")(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/call_methods.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/call_methods.dart.weak.modular.expect index 88964c08bd3..b93b7f0ffa5 100644 --- a/pkg/front_end/testcases/extensions/call_methods.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/call_methods.dart.weak.modular.expect @@ -126,11 +126,11 @@ static field invalid-type topLevel6 = invalid-expression "pkg/front_end/testcase Try changing 'call' to a method or explicitly invoke 'call'. var topLevel6 = a(2, \"3\"); ^"; -static method _extension#0|get#call(lowered final core::int #this) → core::String +static extension-member method _extension#0|get#call(lowered final core::int #this) → core::String return "My name is int"; -static method _extension#1|get#call(lowered final core::num #this) → core::String +static extension-member method _extension#1|get#call(lowered final core::num #this) → core::String return "My name is num"; -static method _extension#2|get#call(lowered final core::String #this) → () → core::String +static extension-member method _extension#2|get#call(lowered final core::String #this) → () → core::String return () → core::String => "My name is String"; static method main() → dynamic { self::_extension#2|get#call("")(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/call_methods.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/call_methods.dart.weak.outline.expect index 97b889ef1ef..a6d35a27dea 100644 --- a/pkg/front_end/testcases/extensions/call_methods.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/call_methods.dart.weak.outline.expect @@ -66,11 +66,11 @@ static field self::A a; static field invalid-type topLevel5; static field self::B b; static field invalid-type topLevel6; -static method _extension#0|get#call(lowered final core::int #this) → core::String +static extension-member method _extension#0|get#call(lowered final core::int #this) → core::String ; -static method _extension#1|get#call(lowered final core::num #this) → core::String +static extension-member method _extension#1|get#call(lowered final core::num #this) → core::String ; -static method _extension#2|get#call(lowered final core::String #this) → () → core::String +static extension-member method _extension#2|get#call(lowered final core::String #this) → () → core::String ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/call_methods.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/call_methods.dart.weak.transformed.expect index 88964c08bd3..b93b7f0ffa5 100644 --- a/pkg/front_end/testcases/extensions/call_methods.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/call_methods.dart.weak.transformed.expect @@ -126,11 +126,11 @@ static field invalid-type topLevel6 = invalid-expression "pkg/front_end/testcase Try changing 'call' to a method or explicitly invoke 'call'. var topLevel6 = a(2, \"3\"); ^"; -static method _extension#0|get#call(lowered final core::int #this) → core::String +static extension-member method _extension#0|get#call(lowered final core::int #this) → core::String return "My name is int"; -static method _extension#1|get#call(lowered final core::num #this) → core::String +static extension-member method _extension#1|get#call(lowered final core::num #this) → core::String return "My name is num"; -static method _extension#2|get#call(lowered final core::String #this) → () → core::String +static extension-member method _extension#2|get#call(lowered final core::String #this) → () → core::String return () → core::String => "My name is String"; static method main() → dynamic { self::_extension#2|get#call("")(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/check_bounds.dart.strong.expect b/pkg/front_end/testcases/extensions/check_bounds.dart.strong.expect index 7a4f90c15d7..5bb01cab660 100644 --- a/pkg/front_end/testcases/extensions/check_bounds.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/check_bounds.dart.strong.expect @@ -1031,11 +1031,11 @@ static final field dynamic field29 = self::Extension|genericMethod(classB).genericMethod(a); ^" in self::a as{TypeError} self::B); -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} -static method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic +static extension-member method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} +static extension-member method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic return (S s) → dynamic => self::Extension|genericMethod(#this, s); static method main() → dynamic {} static method test(self::A a) → dynamic { diff --git a/pkg/front_end/testcases/extensions/check_bounds.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/check_bounds.dart.strong.transformed.expect index 7a4f90c15d7..5bb01cab660 100644 --- a/pkg/front_end/testcases/extensions/check_bounds.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/check_bounds.dart.strong.transformed.expect @@ -1031,11 +1031,11 @@ static final field dynamic field29 = self::Extension|genericMethod(classB).genericMethod(a); ^" in self::a as{TypeError} self::B); -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} -static method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic +static extension-member method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} +static extension-member method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic return (S s) → dynamic => self::Extension|genericMethod(#this, s); static method main() → dynamic {} static method test(self::A a) → dynamic { diff --git a/pkg/front_end/testcases/extensions/check_bounds.dart.weak.expect b/pkg/front_end/testcases/extensions/check_bounds.dart.weak.expect index 7a4f90c15d7..5bb01cab660 100644 --- a/pkg/front_end/testcases/extensions/check_bounds.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/check_bounds.dart.weak.expect @@ -1031,11 +1031,11 @@ static final field dynamic field29 = self::Extension|genericMethod(classB).genericMethod(a); ^" in self::a as{TypeError} self::B); -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} -static method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic +static extension-member method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} +static extension-member method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic return (S s) → dynamic => self::Extension|genericMethod(#this, s); static method main() → dynamic {} static method test(self::A a) → dynamic { diff --git a/pkg/front_end/testcases/extensions/check_bounds.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/check_bounds.dart.weak.modular.expect index 7a4f90c15d7..5bb01cab660 100644 --- a/pkg/front_end/testcases/extensions/check_bounds.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/check_bounds.dart.weak.modular.expect @@ -1031,11 +1031,11 @@ static final field dynamic field29 = self::Extension|genericMethod(classB).genericMethod(a); ^" in self::a as{TypeError} self::B); -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} -static method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic +static extension-member method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} +static extension-member method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic return (S s) → dynamic => self::Extension|genericMethod(#this, s); static method main() → dynamic {} static method test(self::A a) → dynamic { diff --git a/pkg/front_end/testcases/extensions/check_bounds.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/check_bounds.dart.weak.outline.expect index 3737c229404..d125e846b70 100644 --- a/pkg/front_end/testcases/extensions/check_bounds.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/check_bounds.dart.weak.outline.expect @@ -372,13 +372,13 @@ static final field dynamic field26; static final field dynamic field27; static final field dynamic field28; static final field dynamic field29; -static method Extension|method(lowered final self::Class #this) → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic ; -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic +static extension-member method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic ; -static method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic +static extension-member method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic return (S s) → dynamic => self::Extension|genericMethod(#this, s); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/check_bounds.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/check_bounds.dart.weak.transformed.expect index 7a4f90c15d7..5bb01cab660 100644 --- a/pkg/front_end/testcases/extensions/check_bounds.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/check_bounds.dart.weak.transformed.expect @@ -1031,11 +1031,11 @@ static final field dynamic field29 = self::Extension|genericMethod(classB).genericMethod(a); ^" in self::a as{TypeError} self::B); -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} -static method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic +static extension-member method Extension|genericMethod(lowered final self::Class #this, self::Extension|genericMethod::S s) → dynamic {} +static extension-member method Extension|get#genericMethod(lowered final self::Class #this) → (S) → dynamic return (S s) → dynamic => self::Extension|genericMethod(#this, s); static method main() → dynamic {} static method test(self::A a) → dynamic { diff --git a/pkg/front_end/testcases/extensions/compounds.dart.strong.expect b/pkg/front_end/testcases/extensions/compounds.dart.strong.expect index f617682132e..544acf22fd3 100644 --- a/pkg/front_end/testcases/extensions/compounds.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/compounds.dart.strong.expect @@ -42,7 +42,7 @@ extension IntClassExtension on self::IntClass { tearoff testImplicitProperties = self::IntClassExtension|get#testImplicitProperties; set property = self::IntClassExtension|set#property; } -static method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::+}(other{core::int}){(core::num) → core::int}); } @@ -54,7 +54,7 @@ static method NumberExtension|+(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::-}(other{core::int}){(core::num) → core::int}); } @@ -66,12 +66,12 @@ static method NumberExtension|-(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method ClassExtension|get#property(lowered final self::Class #this) → self::Number +static extension-member method ClassExtension|get#property(lowered final self::Class #this) → self::Number return #this.{self::Class::field}{self::Number}; -static method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { +static extension-member method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { #this.{self::Class::field} = value; } -static method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { +static extension-member method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { self::Number n0 = new self::Number::•(0); self::Number n1 = new self::Number::•(1); self::Number n2 = new self::Number::•(2); @@ -106,14 +106,14 @@ static method ClassExtension|testImplicitProperties(lowered final self::Class #t self::ClassExtension|set#property(#this, self::NumberExtension|-(self::ClassExtension|get#property(#this), 1)); self::expect(n0, self::ClassExtension|get#property(#this)); } -static method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic +static extension-member method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic return () → dynamic => self::ClassExtension|testImplicitProperties(#this); -static method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int +static extension-member method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int return #this.{self::IntClass::field}{core::int}; -static method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { +static extension-member method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { #this.{self::IntClass::field} = value; } -static method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { +static extension-member method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { core::int n0 = 0; core::int n1 = 1; core::int n2 = 2; @@ -148,7 +148,7 @@ static method IntClassExtension|testImplicitProperties(lowered final self::IntCl self::IntClassExtension|set#property(#this, self::IntClassExtension|get#property(#this).{core::num::-}(1){(core::num) → core::int}); self::expect(n0, self::IntClassExtension|get#property(#this)); } -static method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic +static extension-member method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic return () → dynamic => self::IntClassExtension|testImplicitProperties(#this); static method main() → dynamic { self::testLocals(); diff --git a/pkg/front_end/testcases/extensions/compounds.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/compounds.dart.strong.transformed.expect index f617682132e..544acf22fd3 100644 --- a/pkg/front_end/testcases/extensions/compounds.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/compounds.dart.strong.transformed.expect @@ -42,7 +42,7 @@ extension IntClassExtension on self::IntClass { tearoff testImplicitProperties = self::IntClassExtension|get#testImplicitProperties; set property = self::IntClassExtension|set#property; } -static method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::+}(other{core::int}){(core::num) → core::int}); } @@ -54,7 +54,7 @@ static method NumberExtension|+(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::-}(other{core::int}){(core::num) → core::int}); } @@ -66,12 +66,12 @@ static method NumberExtension|-(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method ClassExtension|get#property(lowered final self::Class #this) → self::Number +static extension-member method ClassExtension|get#property(lowered final self::Class #this) → self::Number return #this.{self::Class::field}{self::Number}; -static method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { +static extension-member method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { #this.{self::Class::field} = value; } -static method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { +static extension-member method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { self::Number n0 = new self::Number::•(0); self::Number n1 = new self::Number::•(1); self::Number n2 = new self::Number::•(2); @@ -106,14 +106,14 @@ static method ClassExtension|testImplicitProperties(lowered final self::Class #t self::ClassExtension|set#property(#this, self::NumberExtension|-(self::ClassExtension|get#property(#this), 1)); self::expect(n0, self::ClassExtension|get#property(#this)); } -static method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic +static extension-member method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic return () → dynamic => self::ClassExtension|testImplicitProperties(#this); -static method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int +static extension-member method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int return #this.{self::IntClass::field}{core::int}; -static method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { +static extension-member method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { #this.{self::IntClass::field} = value; } -static method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { +static extension-member method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { core::int n0 = 0; core::int n1 = 1; core::int n2 = 2; @@ -148,7 +148,7 @@ static method IntClassExtension|testImplicitProperties(lowered final self::IntCl self::IntClassExtension|set#property(#this, self::IntClassExtension|get#property(#this).{core::num::-}(1){(core::num) → core::int}); self::expect(n0, self::IntClassExtension|get#property(#this)); } -static method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic +static extension-member method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic return () → dynamic => self::IntClassExtension|testImplicitProperties(#this); static method main() → dynamic { self::testLocals(); diff --git a/pkg/front_end/testcases/extensions/compounds.dart.weak.expect b/pkg/front_end/testcases/extensions/compounds.dart.weak.expect index f617682132e..544acf22fd3 100644 --- a/pkg/front_end/testcases/extensions/compounds.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/compounds.dart.weak.expect @@ -42,7 +42,7 @@ extension IntClassExtension on self::IntClass { tearoff testImplicitProperties = self::IntClassExtension|get#testImplicitProperties; set property = self::IntClassExtension|set#property; } -static method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::+}(other{core::int}){(core::num) → core::int}); } @@ -54,7 +54,7 @@ static method NumberExtension|+(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::-}(other{core::int}){(core::num) → core::int}); } @@ -66,12 +66,12 @@ static method NumberExtension|-(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method ClassExtension|get#property(lowered final self::Class #this) → self::Number +static extension-member method ClassExtension|get#property(lowered final self::Class #this) → self::Number return #this.{self::Class::field}{self::Number}; -static method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { +static extension-member method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { #this.{self::Class::field} = value; } -static method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { +static extension-member method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { self::Number n0 = new self::Number::•(0); self::Number n1 = new self::Number::•(1); self::Number n2 = new self::Number::•(2); @@ -106,14 +106,14 @@ static method ClassExtension|testImplicitProperties(lowered final self::Class #t self::ClassExtension|set#property(#this, self::NumberExtension|-(self::ClassExtension|get#property(#this), 1)); self::expect(n0, self::ClassExtension|get#property(#this)); } -static method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic +static extension-member method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic return () → dynamic => self::ClassExtension|testImplicitProperties(#this); -static method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int +static extension-member method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int return #this.{self::IntClass::field}{core::int}; -static method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { +static extension-member method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { #this.{self::IntClass::field} = value; } -static method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { +static extension-member method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { core::int n0 = 0; core::int n1 = 1; core::int n2 = 2; @@ -148,7 +148,7 @@ static method IntClassExtension|testImplicitProperties(lowered final self::IntCl self::IntClassExtension|set#property(#this, self::IntClassExtension|get#property(#this).{core::num::-}(1){(core::num) → core::int}); self::expect(n0, self::IntClassExtension|get#property(#this)); } -static method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic +static extension-member method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic return () → dynamic => self::IntClassExtension|testImplicitProperties(#this); static method main() → dynamic { self::testLocals(); diff --git a/pkg/front_end/testcases/extensions/compounds.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/compounds.dart.weak.modular.expect index f617682132e..544acf22fd3 100644 --- a/pkg/front_end/testcases/extensions/compounds.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/compounds.dart.weak.modular.expect @@ -42,7 +42,7 @@ extension IntClassExtension on self::IntClass { tearoff testImplicitProperties = self::IntClassExtension|get#testImplicitProperties; set property = self::IntClassExtension|set#property; } -static method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::+}(other{core::int}){(core::num) → core::int}); } @@ -54,7 +54,7 @@ static method NumberExtension|+(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::-}(other{core::int}){(core::num) → core::int}); } @@ -66,12 +66,12 @@ static method NumberExtension|-(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method ClassExtension|get#property(lowered final self::Class #this) → self::Number +static extension-member method ClassExtension|get#property(lowered final self::Class #this) → self::Number return #this.{self::Class::field}{self::Number}; -static method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { +static extension-member method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { #this.{self::Class::field} = value; } -static method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { +static extension-member method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { self::Number n0 = new self::Number::•(0); self::Number n1 = new self::Number::•(1); self::Number n2 = new self::Number::•(2); @@ -106,14 +106,14 @@ static method ClassExtension|testImplicitProperties(lowered final self::Class #t self::ClassExtension|set#property(#this, self::NumberExtension|-(self::ClassExtension|get#property(#this), 1)); self::expect(n0, self::ClassExtension|get#property(#this)); } -static method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic +static extension-member method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic return () → dynamic => self::ClassExtension|testImplicitProperties(#this); -static method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int +static extension-member method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int return #this.{self::IntClass::field}{core::int}; -static method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { +static extension-member method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { #this.{self::IntClass::field} = value; } -static method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { +static extension-member method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { core::int n0 = 0; core::int n1 = 1; core::int n2 = 2; @@ -148,7 +148,7 @@ static method IntClassExtension|testImplicitProperties(lowered final self::IntCl self::IntClassExtension|set#property(#this, self::IntClassExtension|get#property(#this).{core::num::-}(1){(core::num) → core::int}); self::expect(n0, self::IntClassExtension|get#property(#this)); } -static method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic +static extension-member method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic return () → dynamic => self::IntClassExtension|testImplicitProperties(#this); static method main() → dynamic { self::testLocals(); diff --git a/pkg/front_end/testcases/extensions/compounds.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/compounds.dart.weak.outline.expect index 6518113288d..4e044c0bb14 100644 --- a/pkg/front_end/testcases/extensions/compounds.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/compounds.dart.weak.outline.expect @@ -39,25 +39,25 @@ extension IntClassExtension on self::IntClass { tearoff testImplicitProperties = self::IntClassExtension|get#testImplicitProperties; set property = self::IntClassExtension|set#property; } -static method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number +static extension-member method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number ; -static method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number +static extension-member method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number ; -static method ClassExtension|get#property(lowered final self::Class #this) → self::Number +static extension-member method ClassExtension|get#property(lowered final self::Class #this) → self::Number ; -static method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void +static extension-member method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void ; -static method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic +static extension-member method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic ; -static method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic +static extension-member method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic return () → dynamic => self::ClassExtension|testImplicitProperties(#this); -static method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int +static extension-member method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int ; -static method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void +static extension-member method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void ; -static method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic +static extension-member method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic ; -static method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic +static extension-member method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic return () → dynamic => self::IntClassExtension|testImplicitProperties(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/compounds.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/compounds.dart.weak.transformed.expect index f617682132e..544acf22fd3 100644 --- a/pkg/front_end/testcases/extensions/compounds.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/compounds.dart.weak.transformed.expect @@ -42,7 +42,7 @@ extension IntClassExtension on self::IntClass { tearoff testImplicitProperties = self::IntClassExtension|get#testImplicitProperties; set property = self::IntClassExtension|set#property; } -static method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|+(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::+}(other{core::int}){(core::num) → core::int}); } @@ -54,7 +54,7 @@ static method NumberExtension|+(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { +static extension-member method NumberExtension|-(lowered final self::Number #this, core::Object other) → self::Number { if(other is core::int) { return new self::Number::•(#this.{self::Number::value}{core::int}.{core::num::-}(other{core::int}){(core::num) → core::int}); } @@ -66,12 +66,12 @@ static method NumberExtension|-(lowered final self::Number #this, core::Object o throw new core::ArgumentError::•("${other}"); } } -static method ClassExtension|get#property(lowered final self::Class #this) → self::Number +static extension-member method ClassExtension|get#property(lowered final self::Class #this) → self::Number return #this.{self::Class::field}{self::Number}; -static method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { +static extension-member method ClassExtension|set#property(lowered final self::Class #this, self::Number value) → void { #this.{self::Class::field} = value; } -static method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { +static extension-member method ClassExtension|testImplicitProperties(lowered final self::Class #this) → dynamic { self::Number n0 = new self::Number::•(0); self::Number n1 = new self::Number::•(1); self::Number n2 = new self::Number::•(2); @@ -106,14 +106,14 @@ static method ClassExtension|testImplicitProperties(lowered final self::Class #t self::ClassExtension|set#property(#this, self::NumberExtension|-(self::ClassExtension|get#property(#this), 1)); self::expect(n0, self::ClassExtension|get#property(#this)); } -static method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic +static extension-member method ClassExtension|get#testImplicitProperties(lowered final self::Class #this) → () → dynamic return () → dynamic => self::ClassExtension|testImplicitProperties(#this); -static method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int +static extension-member method IntClassExtension|get#property(lowered final self::IntClass #this) → core::int return #this.{self::IntClass::field}{core::int}; -static method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { +static extension-member method IntClassExtension|set#property(lowered final self::IntClass #this, core::int value) → void { #this.{self::IntClass::field} = value; } -static method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { +static extension-member method IntClassExtension|testImplicitProperties(lowered final self::IntClass #this) → dynamic { core::int n0 = 0; core::int n1 = 1; core::int n2 = 2; @@ -148,7 +148,7 @@ static method IntClassExtension|testImplicitProperties(lowered final self::IntCl self::IntClassExtension|set#property(#this, self::IntClassExtension|get#property(#this).{core::num::-}(1){(core::num) → core::int}); self::expect(n0, self::IntClassExtension|get#property(#this)); } -static method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic +static extension-member method IntClassExtension|get#testImplicitProperties(lowered final self::IntClass #this) → () → dynamic return () → dynamic => self::IntClassExtension|testImplicitProperties(#this); static method main() → dynamic { self::testLocals(); diff --git a/pkg/front_end/testcases/extensions/conflict_with_object.dart.strong.expect b/pkg/front_end/testcases/extensions/conflict_with_object.dart.strong.expect index cc1ab57ff03..306f95b1797 100644 --- a/pkg/front_end/testcases/extensions/conflict_with_object.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/conflict_with_object.dart.strong.expect @@ -48,16 +48,16 @@ extension Extension on core::String { static method toString = self::Extension|toString; set hashCode = self::Extension|set#hashCode; } -static method Extension|get#noSuchMethod(lowered final core::String #this) → core::int +static extension-member method Extension|get#noSuchMethod(lowered final core::String #this) → core::int return 42; -static method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} -static method Extension|runtimeType(lowered final core::String #this) → core::int +static extension-member method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} +static extension-member method Extension|runtimeType(lowered final core::String #this) → core::int return 0; -static method Extension|get#runtimeType(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#runtimeType(lowered final core::String #this) → () → core::int return () → core::int => self::Extension|runtimeType(#this); -static method Extension|==(lowered final core::String #this, dynamic other) → dynamic +static extension-member method Extension|==(lowered final core::String #this, dynamic other) → dynamic return false; -static method Extension|toString() → core::String +static extension-member method Extension|toString() → core::String return "Foo"; static method main() → dynamic { core::int value; diff --git a/pkg/front_end/testcases/extensions/conflict_with_object.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/conflict_with_object.dart.strong.transformed.expect index 278e4bd394b..97698fd79a0 100644 --- a/pkg/front_end/testcases/extensions/conflict_with_object.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/conflict_with_object.dart.strong.transformed.expect @@ -48,16 +48,16 @@ extension Extension on core::String { static method toString = self::Extension|toString; set hashCode = self::Extension|set#hashCode; } -static method Extension|get#noSuchMethod(lowered final core::String #this) → core::int +static extension-member method Extension|get#noSuchMethod(lowered final core::String #this) → core::int return 42; -static method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} -static method Extension|runtimeType(lowered final core::String #this) → core::int +static extension-member method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} +static extension-member method Extension|runtimeType(lowered final core::String #this) → core::int return 0; -static method Extension|get#runtimeType(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#runtimeType(lowered final core::String #this) → () → core::int return () → core::int => self::Extension|runtimeType(#this); -static method Extension|==(lowered final core::String #this, dynamic other) → dynamic +static extension-member method Extension|==(lowered final core::String #this, dynamic other) → dynamic return false; -static method Extension|toString() → core::String +static extension-member method Extension|toString() → core::String return "Foo"; static method main() → dynamic { core::int value; diff --git a/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.expect b/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.expect index cc1ab57ff03..306f95b1797 100644 --- a/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.expect @@ -48,16 +48,16 @@ extension Extension on core::String { static method toString = self::Extension|toString; set hashCode = self::Extension|set#hashCode; } -static method Extension|get#noSuchMethod(lowered final core::String #this) → core::int +static extension-member method Extension|get#noSuchMethod(lowered final core::String #this) → core::int return 42; -static method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} -static method Extension|runtimeType(lowered final core::String #this) → core::int +static extension-member method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} +static extension-member method Extension|runtimeType(lowered final core::String #this) → core::int return 0; -static method Extension|get#runtimeType(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#runtimeType(lowered final core::String #this) → () → core::int return () → core::int => self::Extension|runtimeType(#this); -static method Extension|==(lowered final core::String #this, dynamic other) → dynamic +static extension-member method Extension|==(lowered final core::String #this, dynamic other) → dynamic return false; -static method Extension|toString() → core::String +static extension-member method Extension|toString() → core::String return "Foo"; static method main() → dynamic { core::int value; diff --git a/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.modular.expect index cc1ab57ff03..306f95b1797 100644 --- a/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.modular.expect @@ -48,16 +48,16 @@ extension Extension on core::String { static method toString = self::Extension|toString; set hashCode = self::Extension|set#hashCode; } -static method Extension|get#noSuchMethod(lowered final core::String #this) → core::int +static extension-member method Extension|get#noSuchMethod(lowered final core::String #this) → core::int return 42; -static method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} -static method Extension|runtimeType(lowered final core::String #this) → core::int +static extension-member method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} +static extension-member method Extension|runtimeType(lowered final core::String #this) → core::int return 0; -static method Extension|get#runtimeType(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#runtimeType(lowered final core::String #this) → () → core::int return () → core::int => self::Extension|runtimeType(#this); -static method Extension|==(lowered final core::String #this, dynamic other) → dynamic +static extension-member method Extension|==(lowered final core::String #this, dynamic other) → dynamic return false; -static method Extension|toString() → core::String +static extension-member method Extension|toString() → core::String return "Foo"; static method main() → dynamic { core::int value; diff --git a/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.outline.expect index 31198df5b9b..b7c17563489 100644 --- a/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.outline.expect @@ -33,17 +33,17 @@ extension Extension on core::String { static method toString = self::Extension|toString; set hashCode = self::Extension|set#hashCode; } -static method Extension|get#noSuchMethod(lowered final core::String #this) → core::int +static extension-member method Extension|get#noSuchMethod(lowered final core::String #this) → core::int ; -static method Extension|set#hashCode(lowered final core::String #this, core::int value) → void +static extension-member method Extension|set#hashCode(lowered final core::String #this, core::int value) → void ; -static method Extension|runtimeType(lowered final core::String #this) → core::int +static extension-member method Extension|runtimeType(lowered final core::String #this) → core::int ; -static method Extension|get#runtimeType(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#runtimeType(lowered final core::String #this) → () → core::int return () → core::int => self::Extension|runtimeType(#this); -static method Extension|==(lowered final core::String #this, dynamic other) → dynamic +static extension-member method Extension|==(lowered final core::String #this, dynamic other) → dynamic ; -static method Extension|toString() → core::String +static extension-member method Extension|toString() → core::String ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.transformed.expect index 278e4bd394b..97698fd79a0 100644 --- a/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/conflict_with_object.dart.weak.transformed.expect @@ -48,16 +48,16 @@ extension Extension on core::String { static method toString = self::Extension|toString; set hashCode = self::Extension|set#hashCode; } -static method Extension|get#noSuchMethod(lowered final core::String #this) → core::int +static extension-member method Extension|get#noSuchMethod(lowered final core::String #this) → core::int return 42; -static method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} -static method Extension|runtimeType(lowered final core::String #this) → core::int +static extension-member method Extension|set#hashCode(lowered final core::String #this, core::int value) → void {} +static extension-member method Extension|runtimeType(lowered final core::String #this) → core::int return 0; -static method Extension|get#runtimeType(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#runtimeType(lowered final core::String #this) → () → core::int return () → core::int => self::Extension|runtimeType(#this); -static method Extension|==(lowered final core::String #this, dynamic other) → dynamic +static extension-member method Extension|==(lowered final core::String #this, dynamic other) → dynamic return false; -static method Extension|toString() → core::String +static extension-member method Extension|toString() → core::String return "Foo"; static method main() → dynamic { core::int value; diff --git a/pkg/front_end/testcases/extensions/conflicts.dart.strong.expect b/pkg/front_end/testcases/extensions/conflicts.dart.strong.expect index 43dc5b071c9..da1498daae9 100644 --- a/pkg/front_end/testcases/extensions/conflicts.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/conflicts.dart.strong.expect @@ -45,16 +45,16 @@ extension UniqueExtensionName on self::Class1 { method duplicateMethodName1 = self::UniqueExtensionName|duplicateMethodName1; tearoff duplicateMethodName1 = self::UniqueExtensionName|get#duplicateMethodName1; } -static method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} -static method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} +static extension-member method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|uniqueMethod1(#this); -static method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic +static extension-member method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic return 1; -static method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|duplicateMethodName2(#this); -static method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic +static extension-member method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic return 1; -static method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic +static extension-member method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::UniqueExtensionName|duplicateMethodName1(#this); static method main() → dynamic { self::Class1 c1 = new self::Class1::•(); diff --git a/pkg/front_end/testcases/extensions/conflicts.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/conflicts.dart.strong.transformed.expect index 43dc5b071c9..da1498daae9 100644 --- a/pkg/front_end/testcases/extensions/conflicts.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/conflicts.dart.strong.transformed.expect @@ -45,16 +45,16 @@ extension UniqueExtensionName on self::Class1 { method duplicateMethodName1 = self::UniqueExtensionName|duplicateMethodName1; tearoff duplicateMethodName1 = self::UniqueExtensionName|get#duplicateMethodName1; } -static method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} -static method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} +static extension-member method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|uniqueMethod1(#this); -static method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic +static extension-member method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic return 1; -static method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|duplicateMethodName2(#this); -static method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic +static extension-member method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic return 1; -static method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic +static extension-member method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::UniqueExtensionName|duplicateMethodName1(#this); static method main() → dynamic { self::Class1 c1 = new self::Class1::•(); diff --git a/pkg/front_end/testcases/extensions/conflicts.dart.weak.expect b/pkg/front_end/testcases/extensions/conflicts.dart.weak.expect index 43dc5b071c9..da1498daae9 100644 --- a/pkg/front_end/testcases/extensions/conflicts.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/conflicts.dart.weak.expect @@ -45,16 +45,16 @@ extension UniqueExtensionName on self::Class1 { method duplicateMethodName1 = self::UniqueExtensionName|duplicateMethodName1; tearoff duplicateMethodName1 = self::UniqueExtensionName|get#duplicateMethodName1; } -static method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} -static method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} +static extension-member method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|uniqueMethod1(#this); -static method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic +static extension-member method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic return 1; -static method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|duplicateMethodName2(#this); -static method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic +static extension-member method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic return 1; -static method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic +static extension-member method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::UniqueExtensionName|duplicateMethodName1(#this); static method main() → dynamic { self::Class1 c1 = new self::Class1::•(); diff --git a/pkg/front_end/testcases/extensions/conflicts.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/conflicts.dart.weak.modular.expect index 43dc5b071c9..da1498daae9 100644 --- a/pkg/front_end/testcases/extensions/conflicts.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/conflicts.dart.weak.modular.expect @@ -45,16 +45,16 @@ extension UniqueExtensionName on self::Class1 { method duplicateMethodName1 = self::UniqueExtensionName|duplicateMethodName1; tearoff duplicateMethodName1 = self::UniqueExtensionName|get#duplicateMethodName1; } -static method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} -static method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} +static extension-member method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|uniqueMethod1(#this); -static method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic +static extension-member method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic return 1; -static method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|duplicateMethodName2(#this); -static method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic +static extension-member method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic return 1; -static method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic +static extension-member method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::UniqueExtensionName|duplicateMethodName1(#this); static method main() → dynamic { self::Class1 c1 = new self::Class1::•(); diff --git a/pkg/front_end/testcases/extensions/conflicts.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/conflicts.dart.weak.outline.expect index 59e2f40bf82..8adc7c2d6f1 100644 --- a/pkg/front_end/testcases/extensions/conflicts.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/conflicts.dart.weak.outline.expect @@ -37,17 +37,17 @@ extension UniqueExtensionName on self::Class1 { method duplicateMethodName1 = self::UniqueExtensionName|duplicateMethodName1; tearoff duplicateMethodName1 = self::UniqueExtensionName|get#duplicateMethodName1; } -static method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic +static extension-member method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic ; -static method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|uniqueMethod1(#this); -static method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic +static extension-member method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic ; -static method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|duplicateMethodName2(#this); -static method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic +static extension-member method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic ; -static method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic +static extension-member method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::UniqueExtensionName|duplicateMethodName1(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/conflicts.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/conflicts.dart.weak.transformed.expect index 43dc5b071c9..da1498daae9 100644 --- a/pkg/front_end/testcases/extensions/conflicts.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/conflicts.dart.weak.transformed.expect @@ -45,16 +45,16 @@ extension UniqueExtensionName on self::Class1 { method duplicateMethodName1 = self::UniqueExtensionName|duplicateMethodName1; tearoff duplicateMethodName1 = self::UniqueExtensionName|get#duplicateMethodName1; } -static method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} -static method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|uniqueMethod1(lowered final self::Class1 #this) → dynamic {} +static extension-member method DuplicateExtensionName|get#uniqueMethod1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|uniqueMethod1(#this); -static method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic +static extension-member method DuplicateExtensionName|duplicateMethodName2(lowered final self::Class1 #this) → dynamic return 1; -static method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic +static extension-member method DuplicateExtensionName|get#duplicateMethodName2(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::DuplicateExtensionName|duplicateMethodName2(#this); -static method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic +static extension-member method UniqueExtensionName|duplicateMethodName1(lowered final self::Class1 #this) → dynamic return 1; -static method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic +static extension-member method UniqueExtensionName|get#duplicateMethodName1(lowered final self::Class1 #this) → () → dynamic return () → dynamic => self::UniqueExtensionName|duplicateMethodName1(#this); static method main() → dynamic { self::Class1 c1 = new self::Class1::•(); diff --git a/pkg/front_end/testcases/extensions/default_values.dart.strong.expect b/pkg/front_end/testcases/extensions/default_values.dart.strong.expect index 45425b38036..e6c3b8267e4 100644 --- a/pkg/front_end/testcases/extensions/default_values.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/default_values.dart.strong.expect @@ -18,23 +18,23 @@ extension Extension on self::Class { tearoff method3 = self::Extension|get#method3; static method staticMethod = self::Extension|staticMethod; } -static method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic +static extension-member method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic return a; -static method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C1]) → dynamic => self::Extension|method0(#this, a); -static method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic +static extension-member method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic return a; -static method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C2]) → dynamic => self::Extension|method1(#this, a); -static method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic +static extension-member method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic return b; -static method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic +static extension-member method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic return ({dynamic b = #C3}) → dynamic => self::Extension|method2(#this, b: b); -static method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic +static extension-member method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic return c{dynamic}.call(); -static method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic +static extension-member method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic return ({dynamic c = #C4}) → dynamic => self::Extension|method3(#this, c: c); -static method Extension|staticMethod() → dynamic +static extension-member method Extension|staticMethod() → dynamic return 123; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/default_values.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/default_values.dart.strong.transformed.expect index 45425b38036..e6c3b8267e4 100644 --- a/pkg/front_end/testcases/extensions/default_values.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/default_values.dart.strong.transformed.expect @@ -18,23 +18,23 @@ extension Extension on self::Class { tearoff method3 = self::Extension|get#method3; static method staticMethod = self::Extension|staticMethod; } -static method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic +static extension-member method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic return a; -static method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C1]) → dynamic => self::Extension|method0(#this, a); -static method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic +static extension-member method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic return a; -static method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C2]) → dynamic => self::Extension|method1(#this, a); -static method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic +static extension-member method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic return b; -static method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic +static extension-member method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic return ({dynamic b = #C3}) → dynamic => self::Extension|method2(#this, b: b); -static method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic +static extension-member method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic return c{dynamic}.call(); -static method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic +static extension-member method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic return ({dynamic c = #C4}) → dynamic => self::Extension|method3(#this, c: c); -static method Extension|staticMethod() → dynamic +static extension-member method Extension|staticMethod() → dynamic return 123; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/default_values.dart.weak.expect b/pkg/front_end/testcases/extensions/default_values.dart.weak.expect index 45425b38036..e6c3b8267e4 100644 --- a/pkg/front_end/testcases/extensions/default_values.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/default_values.dart.weak.expect @@ -18,23 +18,23 @@ extension Extension on self::Class { tearoff method3 = self::Extension|get#method3; static method staticMethod = self::Extension|staticMethod; } -static method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic +static extension-member method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic return a; -static method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C1]) → dynamic => self::Extension|method0(#this, a); -static method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic +static extension-member method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic return a; -static method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C2]) → dynamic => self::Extension|method1(#this, a); -static method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic +static extension-member method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic return b; -static method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic +static extension-member method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic return ({dynamic b = #C3}) → dynamic => self::Extension|method2(#this, b: b); -static method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic +static extension-member method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic return c{dynamic}.call(); -static method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic +static extension-member method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic return ({dynamic c = #C4}) → dynamic => self::Extension|method3(#this, c: c); -static method Extension|staticMethod() → dynamic +static extension-member method Extension|staticMethod() → dynamic return 123; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/default_values.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/default_values.dart.weak.modular.expect index 45425b38036..e6c3b8267e4 100644 --- a/pkg/front_end/testcases/extensions/default_values.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/default_values.dart.weak.modular.expect @@ -18,23 +18,23 @@ extension Extension on self::Class { tearoff method3 = self::Extension|get#method3; static method staticMethod = self::Extension|staticMethod; } -static method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic +static extension-member method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic return a; -static method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C1]) → dynamic => self::Extension|method0(#this, a); -static method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic +static extension-member method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic return a; -static method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C2]) → dynamic => self::Extension|method1(#this, a); -static method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic +static extension-member method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic return b; -static method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic +static extension-member method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic return ({dynamic b = #C3}) → dynamic => self::Extension|method2(#this, b: b); -static method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic +static extension-member method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic return c{dynamic}.call(); -static method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic +static extension-member method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic return ({dynamic c = #C4}) → dynamic => self::Extension|method3(#this, c: c); -static method Extension|staticMethod() → dynamic +static extension-member method Extension|staticMethod() → dynamic return 123; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/default_values.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/default_values.dart.weak.outline.expect index cc739e26c29..1a3f54a3669 100644 --- a/pkg/front_end/testcases/extensions/default_values.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/default_values.dart.weak.outline.expect @@ -17,23 +17,23 @@ extension Extension on self::Class { tearoff method3 = self::Extension|get#method3; static method staticMethod = self::Extension|staticMethod; } -static method Extension|method0(lowered final self::Class #this, [dynamic a]) → dynamic +static extension-member method Extension|method0(lowered final self::Class #this, [dynamic a]) → dynamic ; -static method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a]) → dynamic => self::Extension|method0(#this, a); -static method Extension|method1(lowered final self::Class #this, [has-declared-initializer dynamic a]) → dynamic +static extension-member method Extension|method1(lowered final self::Class #this, [has-declared-initializer dynamic a]) → dynamic ; -static method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a]) → dynamic => self::Extension|method1(#this, a); -static method Extension|method2(lowered final self::Class #this, {has-declared-initializer dynamic b}) → dynamic +static extension-member method Extension|method2(lowered final self::Class #this, {has-declared-initializer dynamic b}) → dynamic ; -static method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic +static extension-member method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic return ({dynamic b}) → dynamic => self::Extension|method2(#this, b: b); -static method Extension|method3(lowered final self::Class #this, {has-declared-initializer dynamic c}) → dynamic +static extension-member method Extension|method3(lowered final self::Class #this, {has-declared-initializer dynamic c}) → dynamic ; -static method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic +static extension-member method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic return ({dynamic c}) → dynamic => self::Extension|method3(#this, c: c); -static method Extension|staticMethod() → dynamic +static extension-member method Extension|staticMethod() → dynamic ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/default_values.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/default_values.dart.weak.transformed.expect index 45425b38036..e6c3b8267e4 100644 --- a/pkg/front_end/testcases/extensions/default_values.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/default_values.dart.weak.transformed.expect @@ -18,23 +18,23 @@ extension Extension on self::Class { tearoff method3 = self::Extension|get#method3; static method staticMethod = self::Extension|staticMethod; } -static method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic +static extension-member method Extension|method0(lowered final self::Class #this, [dynamic a = #C1]) → dynamic return a; -static method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method0(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C1]) → dynamic => self::Extension|method0(#this, a); -static method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic +static extension-member method Extension|method1(lowered final self::Class #this, [dynamic a = #C2]) → dynamic return a; -static method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#method1(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic a = #C2]) → dynamic => self::Extension|method1(#this, a); -static method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic +static extension-member method Extension|method2(lowered final self::Class #this, {dynamic b = #C3}) → dynamic return b; -static method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic +static extension-member method Extension|get#method2(lowered final self::Class #this) → ({b: dynamic}) → dynamic return ({dynamic b = #C3}) → dynamic => self::Extension|method2(#this, b: b); -static method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic +static extension-member method Extension|method3(lowered final self::Class #this, {dynamic c = #C4}) → dynamic return c{dynamic}.call(); -static method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic +static extension-member method Extension|get#method3(lowered final self::Class #this) → ({c: dynamic}) → dynamic return ({dynamic c = #C4}) → dynamic => self::Extension|method3(#this, c: c); -static method Extension|staticMethod() → dynamic +static extension-member method Extension|staticMethod() → dynamic return 123; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.strong.expect b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.strong.expect index 23398bbbe56..af2dc813f0e 100644 --- a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.strong.expect @@ -45,21 +45,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.strong.transformed.expect index ea0eafde27b..b50566a40b1 100644 --- a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.strong.transformed.expect @@ -45,21 +45,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.expect b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.expect index 23398bbbe56..af2dc813f0e 100644 --- a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.expect @@ -45,21 +45,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.modular.expect index 23398bbbe56..af2dc813f0e 100644 --- a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.modular.expect @@ -45,21 +45,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.outline.expect index b66738863cd..c4ec6c1cbea 100644 --- a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.outline.expect @@ -32,19 +32,19 @@ extension Extension on core::int { } static field core::int Extension|staticField; static field core::int topLevelField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int ; -static set Extension|staticProperty(core::int value) → void +static extension-member set Extension|staticProperty(core::int value) → void ; -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int ; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int ; -static method Extension|set#property(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void ; -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int ; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => self2::Extension|method(#this); static get topLevelProperty() → core::int ; diff --git a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.transformed.expect index ea0eafde27b..b50566a40b1 100644 --- a/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/deferred_explicit_access.dart.weak.transformed.expect @@ -45,21 +45,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.strong.expect b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.strong.expect index 81ea01c4542..e11824cf040 100644 --- a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.strong.expect @@ -36,21 +36,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.strong.transformed.expect index bcf528baade..2230081176a 100644 --- a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.strong.transformed.expect @@ -36,21 +36,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.expect b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.expect index 81ea01c4542..e11824cf040 100644 --- a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.expect @@ -36,21 +36,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.modular.expect index 81ea01c4542..e11824cf040 100644 --- a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.modular.expect @@ -36,21 +36,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.outline.expect index 0d8e8f8de97..c2998381c65 100644 --- a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.outline.expect @@ -24,19 +24,19 @@ extension Extension on core::int { } static field core::int Extension|staticField; static field core::int topLevelField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int ; -static set Extension|staticProperty(core::int value) → void +static extension-member set Extension|staticProperty(core::int value) → void ; -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int ; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int ; -static method Extension|set#property(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void ; -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int ; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => self2::Extension|method(#this); static get topLevelProperty() → core::int ; diff --git a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.transformed.expect index bcf528baade..2230081176a 100644 --- a/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/deferred_import_hidden.dart.weak.transformed.expect @@ -36,21 +36,21 @@ extension Extension on core::int { } static field core::int Extension|staticField = 0; static field core::int topLevelField = def::Extension|staticField; -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return def::Extension|staticField; -static set Extension|staticProperty(core::int value) → void { +static extension-member set Extension|staticProperty(core::int value) → void { def::Extension|staticField = value; } -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return def::Extension|staticField; -static method Extension|get#property(lowered final core::int #this) → core::int +static extension-member method Extension|get#property(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|set#property(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#property(lowered final core::int #this, core::int value) → void { def::Extension|staticField = value; } -static method Extension|method(lowered final core::int #this) → core::int +static extension-member method Extension|method(lowered final core::int #this) → core::int return #this.{core::num::+}(def::Extension|staticField){(core::num) → core::int}; -static method Extension|get#method(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::int #this) → () → core::int return () → core::int => def::Extension|method(#this); static get topLevelProperty() → core::int return def::Extension|staticField; diff --git a/pkg/front_end/testcases/extensions/direct_instance_access.dart.strong.expect b/pkg/front_end/testcases/extensions/direct_instance_access.dart.strong.expect index d296bbaf69f..dd24704fadb 100644 --- a/pkg/front_end/testcases/extensions/direct_instance_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/direct_instance_access.dart.strong.expect @@ -67,40 +67,40 @@ extension GenericExtension on self::GenericCl tearoff getterCalls = self::GenericExtension|get#getterCalls; set property = self::GenericExtension|set#property; } -static method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|readGetter(#this); -static method Extension|readGetter(lowered final self::Class #this) → dynamic { +static extension-member method Extension|readGetter(lowered final self::Class #this) → dynamic { return self::Extension|get#property(#this); } -static method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|writeSetterRequired(#this, value); -static method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic value = #C1]) → dynamic => self::Extension|writeSetterOptional(#this, value); -static method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic +static extension-member method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic return ({dynamic value = #C1}) → dynamic => self::Extension|writeSetterNamed(#this, value: value); -static method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic return self::Extension|get#readGetter(#this); -static method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterRequired(#this); -static method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterOptional(#this); -static method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterNamed(#this); -static method Extension|get#property(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#property(lowered final self::Class #this) → dynamic return #this.{self::Class::field}{dynamic}; -static method Extension|set#property(lowered final self::Class #this, dynamic value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, dynamic value) → void { #this.{self::Class::field} = value; } -static method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|readGetter(#this); self::Extension|writeSetterRequired(#this, value); self::Extension|writeSetterOptional(#this); @@ -108,11 +108,11 @@ static method Extension|invocations(lowered final self::Class #this, dynamic val self::Extension|writeSetterNamed(#this); self::Extension|writeSetterNamed(#this, value: value); } -static method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|invocations(#this, value); -static method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|tearOffs(#this, value); -static method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { () → dynamic tearOffNoArgs = self::Extension|get#readGetter(#this); tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = self::Extension|get#writeSetterRequired(#this); @@ -124,7 +124,7 @@ static method Extension|tearOffs(lowered final self::Class #this, dynamic value) tearOffNamed(){({value: dynamic}) → dynamic}; tearOffNamed(value: value){({value: dynamic}) → dynamic}; } -static method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::Extension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::Extension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -132,63 +132,63 @@ static method Extension|getterCalls(lowered final self::Class #this, dynamic val self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(); self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(value: value); } -static method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|getterCalls(#this, value); -static method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { +static extension-member method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { return self::GenericExtension|get#property(#this); } -static method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? +static extension-member method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? return () → self::GenericExtension|get#readGetter::T? => self::GenericExtension|readGetter(#this); -static method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { +static extension-member method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic +static extension-member method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic return (self::GenericExtension|get#writeSetterRequired::T% value) → dynamic => self::GenericExtension|writeSetterRequired(#this, value); -static method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { +static extension-member method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic +static extension-member method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic return ([self::GenericExtension|get#writeSetterOptional::T? value = #C1]) → dynamic => self::GenericExtension|writeSetterOptional(#this, value); -static method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { +static extension-member method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic +static extension-member method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic return ({self::GenericExtension|get#writeSetterNamed::T? value = #C1}) → dynamic => self::GenericExtension|writeSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|genericWriteSetterRequired(#this, value); -static method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic return ([S? value = #C1]) → dynamic => self::GenericExtension|genericWriteSetterOptional(#this, value); -static method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic return ({S? value = #C1}) → dynamic => self::GenericExtension|genericWriteSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return #this.{self::GenericClass::field}{self::GenericExtension|get#property::T?}; -static method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { +static extension-member method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { #this.{self::GenericClass::field} = value; } -static method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#readGetter(#this); -static method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterRequired(#this); -static method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterOptional(#this); -static method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterNamed(#this); -static method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterRequired(#this); -static method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterOptional(#this); -static method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterNamed(#this); -static method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { +static extension-member method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { self::GenericExtension|readGetter(#this); self::GenericExtension|writeSetterRequired(#this, value); self::GenericExtension|writeSetterOptional(#this); @@ -211,9 +211,9 @@ static method GenericExtension|invocations(#this, value: value); self::GenericExtension|genericWriteSetterNamed(#this, value: value); } -static method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|invocations(#this, value); -static method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { +static extension-member method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { () → self::GenericExtension|tearOffs::T? tearOffNoArgs = self::GenericExtension|get#readGetter(#this); tearOffNoArgs(){() → self::GenericExtension|tearOffs::T?}; (self::GenericExtension|tearOffs::T%) → dynamic tearOffRequired = self::GenericExtension|get#writeSetterRequired(#this); @@ -243,9 +243,9 @@ static method GenericExtension|tearOffs(value: value){({value: self::GenericExtension|tearOffs::T?}) → dynamic}; genericTearOffNamed(value: value){({value: self::GenericExtension|tearOffs::S?}) → dynamic}; } -static method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|tearOffs(#this, value); -static method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { +static extension-member method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { self::GenericExtension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::GenericExtension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::GenericExtension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -268,7 +268,7 @@ static method GenericExtension|getterCalls(#this){dynamic}.call(value: value); self::GenericExtension|get#tearOffGetterGenericNamed(#this){dynamic}.call(value: value); } -static method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|getterCalls(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/direct_instance_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/direct_instance_access.dart.strong.transformed.expect index d296bbaf69f..dd24704fadb 100644 --- a/pkg/front_end/testcases/extensions/direct_instance_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/direct_instance_access.dart.strong.transformed.expect @@ -67,40 +67,40 @@ extension GenericExtension on self::GenericCl tearoff getterCalls = self::GenericExtension|get#getterCalls; set property = self::GenericExtension|set#property; } -static method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|readGetter(#this); -static method Extension|readGetter(lowered final self::Class #this) → dynamic { +static extension-member method Extension|readGetter(lowered final self::Class #this) → dynamic { return self::Extension|get#property(#this); } -static method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|writeSetterRequired(#this, value); -static method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic value = #C1]) → dynamic => self::Extension|writeSetterOptional(#this, value); -static method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic +static extension-member method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic return ({dynamic value = #C1}) → dynamic => self::Extension|writeSetterNamed(#this, value: value); -static method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic return self::Extension|get#readGetter(#this); -static method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterRequired(#this); -static method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterOptional(#this); -static method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterNamed(#this); -static method Extension|get#property(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#property(lowered final self::Class #this) → dynamic return #this.{self::Class::field}{dynamic}; -static method Extension|set#property(lowered final self::Class #this, dynamic value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, dynamic value) → void { #this.{self::Class::field} = value; } -static method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|readGetter(#this); self::Extension|writeSetterRequired(#this, value); self::Extension|writeSetterOptional(#this); @@ -108,11 +108,11 @@ static method Extension|invocations(lowered final self::Class #this, dynamic val self::Extension|writeSetterNamed(#this); self::Extension|writeSetterNamed(#this, value: value); } -static method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|invocations(#this, value); -static method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|tearOffs(#this, value); -static method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { () → dynamic tearOffNoArgs = self::Extension|get#readGetter(#this); tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = self::Extension|get#writeSetterRequired(#this); @@ -124,7 +124,7 @@ static method Extension|tearOffs(lowered final self::Class #this, dynamic value) tearOffNamed(){({value: dynamic}) → dynamic}; tearOffNamed(value: value){({value: dynamic}) → dynamic}; } -static method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::Extension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::Extension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -132,63 +132,63 @@ static method Extension|getterCalls(lowered final self::Class #this, dynamic val self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(); self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(value: value); } -static method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|getterCalls(#this, value); -static method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { +static extension-member method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { return self::GenericExtension|get#property(#this); } -static method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? +static extension-member method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? return () → self::GenericExtension|get#readGetter::T? => self::GenericExtension|readGetter(#this); -static method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { +static extension-member method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic +static extension-member method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic return (self::GenericExtension|get#writeSetterRequired::T% value) → dynamic => self::GenericExtension|writeSetterRequired(#this, value); -static method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { +static extension-member method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic +static extension-member method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic return ([self::GenericExtension|get#writeSetterOptional::T? value = #C1]) → dynamic => self::GenericExtension|writeSetterOptional(#this, value); -static method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { +static extension-member method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic +static extension-member method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic return ({self::GenericExtension|get#writeSetterNamed::T? value = #C1}) → dynamic => self::GenericExtension|writeSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|genericWriteSetterRequired(#this, value); -static method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic return ([S? value = #C1]) → dynamic => self::GenericExtension|genericWriteSetterOptional(#this, value); -static method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic return ({S? value = #C1}) → dynamic => self::GenericExtension|genericWriteSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return #this.{self::GenericClass::field}{self::GenericExtension|get#property::T?}; -static method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { +static extension-member method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { #this.{self::GenericClass::field} = value; } -static method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#readGetter(#this); -static method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterRequired(#this); -static method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterOptional(#this); -static method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterNamed(#this); -static method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterRequired(#this); -static method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterOptional(#this); -static method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterNamed(#this); -static method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { +static extension-member method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { self::GenericExtension|readGetter(#this); self::GenericExtension|writeSetterRequired(#this, value); self::GenericExtension|writeSetterOptional(#this); @@ -211,9 +211,9 @@ static method GenericExtension|invocations(#this, value: value); self::GenericExtension|genericWriteSetterNamed(#this, value: value); } -static method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|invocations(#this, value); -static method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { +static extension-member method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { () → self::GenericExtension|tearOffs::T? tearOffNoArgs = self::GenericExtension|get#readGetter(#this); tearOffNoArgs(){() → self::GenericExtension|tearOffs::T?}; (self::GenericExtension|tearOffs::T%) → dynamic tearOffRequired = self::GenericExtension|get#writeSetterRequired(#this); @@ -243,9 +243,9 @@ static method GenericExtension|tearOffs(value: value){({value: self::GenericExtension|tearOffs::T?}) → dynamic}; genericTearOffNamed(value: value){({value: self::GenericExtension|tearOffs::S?}) → dynamic}; } -static method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|tearOffs(#this, value); -static method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { +static extension-member method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { self::GenericExtension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::GenericExtension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::GenericExtension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -268,7 +268,7 @@ static method GenericExtension|getterCalls(#this){dynamic}.call(value: value); self::GenericExtension|get#tearOffGetterGenericNamed(#this){dynamic}.call(value: value); } -static method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|getterCalls(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.expect b/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.expect index d296bbaf69f..dd24704fadb 100644 --- a/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.expect @@ -67,40 +67,40 @@ extension GenericExtension on self::GenericCl tearoff getterCalls = self::GenericExtension|get#getterCalls; set property = self::GenericExtension|set#property; } -static method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|readGetter(#this); -static method Extension|readGetter(lowered final self::Class #this) → dynamic { +static extension-member method Extension|readGetter(lowered final self::Class #this) → dynamic { return self::Extension|get#property(#this); } -static method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|writeSetterRequired(#this, value); -static method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic value = #C1]) → dynamic => self::Extension|writeSetterOptional(#this, value); -static method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic +static extension-member method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic return ({dynamic value = #C1}) → dynamic => self::Extension|writeSetterNamed(#this, value: value); -static method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic return self::Extension|get#readGetter(#this); -static method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterRequired(#this); -static method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterOptional(#this); -static method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterNamed(#this); -static method Extension|get#property(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#property(lowered final self::Class #this) → dynamic return #this.{self::Class::field}{dynamic}; -static method Extension|set#property(lowered final self::Class #this, dynamic value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, dynamic value) → void { #this.{self::Class::field} = value; } -static method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|readGetter(#this); self::Extension|writeSetterRequired(#this, value); self::Extension|writeSetterOptional(#this); @@ -108,11 +108,11 @@ static method Extension|invocations(lowered final self::Class #this, dynamic val self::Extension|writeSetterNamed(#this); self::Extension|writeSetterNamed(#this, value: value); } -static method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|invocations(#this, value); -static method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|tearOffs(#this, value); -static method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { () → dynamic tearOffNoArgs = self::Extension|get#readGetter(#this); tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = self::Extension|get#writeSetterRequired(#this); @@ -124,7 +124,7 @@ static method Extension|tearOffs(lowered final self::Class #this, dynamic value) tearOffNamed(){({value: dynamic}) → dynamic}; tearOffNamed(value: value){({value: dynamic}) → dynamic}; } -static method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::Extension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::Extension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -132,63 +132,63 @@ static method Extension|getterCalls(lowered final self::Class #this, dynamic val self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(); self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(value: value); } -static method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|getterCalls(#this, value); -static method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { +static extension-member method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { return self::GenericExtension|get#property(#this); } -static method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? +static extension-member method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? return () → self::GenericExtension|get#readGetter::T? => self::GenericExtension|readGetter(#this); -static method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { +static extension-member method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic +static extension-member method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic return (self::GenericExtension|get#writeSetterRequired::T% value) → dynamic => self::GenericExtension|writeSetterRequired(#this, value); -static method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { +static extension-member method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic +static extension-member method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic return ([self::GenericExtension|get#writeSetterOptional::T? value = #C1]) → dynamic => self::GenericExtension|writeSetterOptional(#this, value); -static method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { +static extension-member method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic +static extension-member method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic return ({self::GenericExtension|get#writeSetterNamed::T? value = #C1}) → dynamic => self::GenericExtension|writeSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|genericWriteSetterRequired(#this, value); -static method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic return ([S? value = #C1]) → dynamic => self::GenericExtension|genericWriteSetterOptional(#this, value); -static method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic return ({S? value = #C1}) → dynamic => self::GenericExtension|genericWriteSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return #this.{self::GenericClass::field}{self::GenericExtension|get#property::T?}; -static method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { +static extension-member method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { #this.{self::GenericClass::field} = value; } -static method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#readGetter(#this); -static method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterRequired(#this); -static method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterOptional(#this); -static method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterNamed(#this); -static method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterRequired(#this); -static method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterOptional(#this); -static method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterNamed(#this); -static method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { +static extension-member method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { self::GenericExtension|readGetter(#this); self::GenericExtension|writeSetterRequired(#this, value); self::GenericExtension|writeSetterOptional(#this); @@ -211,9 +211,9 @@ static method GenericExtension|invocations(#this, value: value); self::GenericExtension|genericWriteSetterNamed(#this, value: value); } -static method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|invocations(#this, value); -static method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { +static extension-member method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { () → self::GenericExtension|tearOffs::T? tearOffNoArgs = self::GenericExtension|get#readGetter(#this); tearOffNoArgs(){() → self::GenericExtension|tearOffs::T?}; (self::GenericExtension|tearOffs::T%) → dynamic tearOffRequired = self::GenericExtension|get#writeSetterRequired(#this); @@ -243,9 +243,9 @@ static method GenericExtension|tearOffs(value: value){({value: self::GenericExtension|tearOffs::T?}) → dynamic}; genericTearOffNamed(value: value){({value: self::GenericExtension|tearOffs::S?}) → dynamic}; } -static method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|tearOffs(#this, value); -static method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { +static extension-member method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { self::GenericExtension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::GenericExtension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::GenericExtension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -268,7 +268,7 @@ static method GenericExtension|getterCalls(#this){dynamic}.call(value: value); self::GenericExtension|get#tearOffGetterGenericNamed(#this){dynamic}.call(value: value); } -static method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|getterCalls(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.modular.expect index d296bbaf69f..dd24704fadb 100644 --- a/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.modular.expect @@ -67,40 +67,40 @@ extension GenericExtension on self::GenericCl tearoff getterCalls = self::GenericExtension|get#getterCalls; set property = self::GenericExtension|set#property; } -static method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|readGetter(#this); -static method Extension|readGetter(lowered final self::Class #this) → dynamic { +static extension-member method Extension|readGetter(lowered final self::Class #this) → dynamic { return self::Extension|get#property(#this); } -static method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|writeSetterRequired(#this, value); -static method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic value = #C1]) → dynamic => self::Extension|writeSetterOptional(#this, value); -static method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic +static extension-member method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic return ({dynamic value = #C1}) → dynamic => self::Extension|writeSetterNamed(#this, value: value); -static method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic return self::Extension|get#readGetter(#this); -static method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterRequired(#this); -static method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterOptional(#this); -static method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterNamed(#this); -static method Extension|get#property(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#property(lowered final self::Class #this) → dynamic return #this.{self::Class::field}{dynamic}; -static method Extension|set#property(lowered final self::Class #this, dynamic value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, dynamic value) → void { #this.{self::Class::field} = value; } -static method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|readGetter(#this); self::Extension|writeSetterRequired(#this, value); self::Extension|writeSetterOptional(#this); @@ -108,11 +108,11 @@ static method Extension|invocations(lowered final self::Class #this, dynamic val self::Extension|writeSetterNamed(#this); self::Extension|writeSetterNamed(#this, value: value); } -static method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|invocations(#this, value); -static method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|tearOffs(#this, value); -static method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { () → dynamic tearOffNoArgs = self::Extension|get#readGetter(#this); tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = self::Extension|get#writeSetterRequired(#this); @@ -124,7 +124,7 @@ static method Extension|tearOffs(lowered final self::Class #this, dynamic value) tearOffNamed(){({value: dynamic}) → dynamic}; tearOffNamed(value: value){({value: dynamic}) → dynamic}; } -static method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::Extension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::Extension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -132,63 +132,63 @@ static method Extension|getterCalls(lowered final self::Class #this, dynamic val self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(); self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(value: value); } -static method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|getterCalls(#this, value); -static method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { +static extension-member method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { return self::GenericExtension|get#property(#this); } -static method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? +static extension-member method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? return () → self::GenericExtension|get#readGetter::T? => self::GenericExtension|readGetter(#this); -static method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { +static extension-member method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic +static extension-member method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic return (self::GenericExtension|get#writeSetterRequired::T% value) → dynamic => self::GenericExtension|writeSetterRequired(#this, value); -static method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { +static extension-member method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic +static extension-member method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic return ([self::GenericExtension|get#writeSetterOptional::T? value = #C1]) → dynamic => self::GenericExtension|writeSetterOptional(#this, value); -static method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { +static extension-member method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic +static extension-member method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic return ({self::GenericExtension|get#writeSetterNamed::T? value = #C1}) → dynamic => self::GenericExtension|writeSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|genericWriteSetterRequired(#this, value); -static method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic return ([S? value = #C1]) → dynamic => self::GenericExtension|genericWriteSetterOptional(#this, value); -static method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic return ({S? value = #C1}) → dynamic => self::GenericExtension|genericWriteSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return #this.{self::GenericClass::field}{self::GenericExtension|get#property::T?}; -static method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { +static extension-member method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { #this.{self::GenericClass::field} = value; } -static method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#readGetter(#this); -static method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterRequired(#this); -static method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterOptional(#this); -static method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterNamed(#this); -static method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterRequired(#this); -static method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterOptional(#this); -static method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterNamed(#this); -static method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { +static extension-member method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { self::GenericExtension|readGetter(#this); self::GenericExtension|writeSetterRequired(#this, value); self::GenericExtension|writeSetterOptional(#this); @@ -211,9 +211,9 @@ static method GenericExtension|invocations(#this, value: value); self::GenericExtension|genericWriteSetterNamed(#this, value: value); } -static method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|invocations(#this, value); -static method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { +static extension-member method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { () → self::GenericExtension|tearOffs::T? tearOffNoArgs = self::GenericExtension|get#readGetter(#this); tearOffNoArgs(){() → self::GenericExtension|tearOffs::T?}; (self::GenericExtension|tearOffs::T%) → dynamic tearOffRequired = self::GenericExtension|get#writeSetterRequired(#this); @@ -243,9 +243,9 @@ static method GenericExtension|tearOffs(value: value){({value: self::GenericExtension|tearOffs::T?}) → dynamic}; genericTearOffNamed(value: value){({value: self::GenericExtension|tearOffs::S?}) → dynamic}; } -static method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|tearOffs(#this, value); -static method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { +static extension-member method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { self::GenericExtension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::GenericExtension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::GenericExtension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -268,7 +268,7 @@ static method GenericExtension|getterCalls(#this){dynamic}.call(value: value); self::GenericExtension|get#tearOffGetterGenericNamed(#this){dynamic}.call(value: value); } -static method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|getterCalls(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.outline.expect index f35498398c5..0cc8c40b49c 100644 --- a/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.outline.expect @@ -65,103 +65,103 @@ extension GenericExtension on self::GenericCl tearoff getterCalls = self::GenericExtension|get#getterCalls; set property = self::GenericExtension|set#property; } -static method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|readGetter(#this); -static method Extension|readGetter(lowered final self::Class #this) → dynamic +static extension-member method Extension|readGetter(lowered final self::Class #this) → dynamic ; -static method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic +static extension-member method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic ; -static method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|writeSetterRequired(#this, value); -static method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value]) → dynamic +static extension-member method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value]) → dynamic ; -static method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic value]) → dynamic => self::Extension|writeSetterOptional(#this, value); -static method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value}) → dynamic +static extension-member method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value}) → dynamic ; -static method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic +static extension-member method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic return ({dynamic value}) → dynamic => self::Extension|writeSetterNamed(#this, value: value); -static method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic ; -static method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic ; -static method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic ; -static method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic ; -static method Extension|get#property(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#property(lowered final self::Class #this) → dynamic ; -static method Extension|set#property(lowered final self::Class #this, dynamic value) → void +static extension-member method Extension|set#property(lowered final self::Class #this, dynamic value) → void ; -static method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic +static extension-member method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic ; -static method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|invocations(#this, value); -static method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|tearOffs(#this, value); -static method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic +static extension-member method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic ; -static method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic +static extension-member method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic ; -static method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|getterCalls(#this, value); -static method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? +static extension-member method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? ; -static method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? +static extension-member method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? return () → self::GenericExtension|get#readGetter::T? => self::GenericExtension|readGetter(#this); -static method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic +static extension-member method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic ; -static method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic +static extension-member method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic return (self::GenericExtension|get#writeSetterRequired::T% value) → dynamic => self::GenericExtension|writeSetterRequired(#this, value); -static method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value]) → dynamic +static extension-member method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value]) → dynamic ; -static method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic +static extension-member method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic return ([self::GenericExtension|get#writeSetterOptional::T? value]) → dynamic => self::GenericExtension|writeSetterOptional(#this, value); -static method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value}) → dynamic +static extension-member method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value}) → dynamic ; -static method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic +static extension-member method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic return ({self::GenericExtension|get#writeSetterNamed::T? value}) → dynamic => self::GenericExtension|writeSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic +static extension-member method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic ; -static method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|genericWriteSetterRequired(#this, value); -static method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value]) → dynamic +static extension-member method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value]) → dynamic ; -static method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic return ([S? value]) → dynamic => self::GenericExtension|genericWriteSetterOptional(#this, value); -static method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic return ({S? value}) → dynamic => self::GenericExtension|genericWriteSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value}) → dynamic +static extension-member method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value}) → dynamic ; -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? ; -static method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void +static extension-member method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void ; -static method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic ; -static method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic ; -static method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic ; -static method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic ; -static method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic ; -static method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic ; -static method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic ; -static method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic +static extension-member method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic ; -static method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|invocations(#this, value); -static method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic +static extension-member method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic ; -static method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|tearOffs(#this, value); -static method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic +static extension-member method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic ; -static method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|getterCalls(#this, value); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.transformed.expect index d296bbaf69f..dd24704fadb 100644 --- a/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/direct_instance_access.dart.weak.transformed.expect @@ -67,40 +67,40 @@ extension GenericExtension on self::GenericCl tearoff getterCalls = self::GenericExtension|get#getterCalls; set property = self::GenericExtension|set#property; } -static method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#readGetter(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|readGetter(#this); -static method Extension|readGetter(lowered final self::Class #this) → dynamic { +static extension-member method Extension|readGetter(lowered final self::Class #this) → dynamic { return self::Extension|get#property(#this); } -static method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#writeSetterRequired(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|writeSetterRequired(#this, value); -static method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional(lowered final self::Class #this, [dynamic value = #C1]) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic +static extension-member method Extension|get#writeSetterOptional(lowered final self::Class #this) → ([dynamic]) → dynamic return ([dynamic value = #C1]) → dynamic => self::Extension|writeSetterOptional(#this, value); -static method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed(lowered final self::Class #this, {dynamic value = #C1}) → dynamic { self::Extension|set#property(#this, value); } -static method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic +static extension-member method Extension|get#writeSetterNamed(lowered final self::Class #this) → ({value: dynamic}) → dynamic return ({dynamic value = #C1}) → dynamic => self::Extension|writeSetterNamed(#this, value: value); -static method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNoArgs(lowered final self::Class #this) → dynamic return self::Extension|get#readGetter(#this); -static method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterRequired(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterRequired(#this); -static method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterOptional(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterOptional(#this); -static method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#tearOffGetterNamed(lowered final self::Class #this) → dynamic return self::Extension|get#writeSetterNamed(#this); -static method Extension|get#property(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#property(lowered final self::Class #this) → dynamic return #this.{self::Class::field}{dynamic}; -static method Extension|set#property(lowered final self::Class #this, dynamic value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, dynamic value) → void { #this.{self::Class::field} = value; } -static method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|invocations(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|readGetter(#this); self::Extension|writeSetterRequired(#this, value); self::Extension|writeSetterOptional(#this); @@ -108,11 +108,11 @@ static method Extension|invocations(lowered final self::Class #this, dynamic val self::Extension|writeSetterNamed(#this); self::Extension|writeSetterNamed(#this, value: value); } -static method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#invocations(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|invocations(#this, value); -static method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#tearOffs(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|tearOffs(#this, value); -static method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|tearOffs(lowered final self::Class #this, dynamic value) → dynamic { () → dynamic tearOffNoArgs = self::Extension|get#readGetter(#this); tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = self::Extension|get#writeSetterRequired(#this); @@ -124,7 +124,7 @@ static method Extension|tearOffs(lowered final self::Class #this, dynamic value) tearOffNamed(){({value: dynamic}) → dynamic}; tearOffNamed(value: value){({value: dynamic}) → dynamic}; } -static method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { +static extension-member method Extension|getterCalls(lowered final self::Class #this, dynamic value) → dynamic { self::Extension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::Extension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::Extension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -132,63 +132,63 @@ static method Extension|getterCalls(lowered final self::Class #this, dynamic val self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(); self::Extension|get#tearOffGetterNamed(#this){dynamic}.call(value: value); } -static method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#getterCalls(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic value) → dynamic => self::Extension|getterCalls(#this, value); -static method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { +static extension-member method GenericExtension|readGetter(lowered final self::GenericClass #this) → self::GenericExtension|readGetter::T? { return self::GenericExtension|get#property(#this); } -static method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? +static extension-member method GenericExtension|get#readGetter(lowered final self::GenericClass #this) → () → self::GenericExtension|get#readGetter::T? return () → self::GenericExtension|get#readGetter::T? => self::GenericExtension|readGetter(#this); -static method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { +static extension-member method GenericExtension|writeSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|writeSetterRequired::T% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic +static extension-member method GenericExtension|get#writeSetterRequired(lowered final self::GenericClass #this) → (self::GenericExtension|get#writeSetterRequired::T%) → dynamic return (self::GenericExtension|get#writeSetterRequired::T% value) → dynamic => self::GenericExtension|writeSetterRequired(#this, value); -static method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { +static extension-member method GenericExtension|writeSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|writeSetterOptional::T? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic +static extension-member method GenericExtension|get#writeSetterOptional(lowered final self::GenericClass #this) → ([self::GenericExtension|get#writeSetterOptional::T?]) → dynamic return ([self::GenericExtension|get#writeSetterOptional::T? value = #C1]) → dynamic => self::GenericExtension|writeSetterOptional(#this, value); -static method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { +static extension-member method GenericExtension|writeSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|writeSetterNamed::T? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic +static extension-member method GenericExtension|get#writeSetterNamed(lowered final self::GenericClass #this) → ({value: self::GenericExtension|get#writeSetterNamed::T?}) → dynamic return ({self::GenericExtension|get#writeSetterNamed::T? value = #C1}) → dynamic => self::GenericExtension|writeSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method GenericExtension|genericWriteSetterRequired(lowered final self::GenericClass #this, self::GenericExtension|genericWriteSetterRequired::S% value) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterRequired(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|genericWriteSetterRequired(#this, value); -static method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method GenericExtension|genericWriteSetterOptional(lowered final self::GenericClass #this, [self::GenericExtension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterOptional(lowered final self::GenericClass #this) → ([S?]) → dynamic return ([S? value = #C1]) → dynamic => self::GenericExtension|genericWriteSetterOptional(#this, value); -static method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic +static extension-member method GenericExtension|get#genericWriteSetterNamed(lowered final self::GenericClass #this) → ({value: S?}) → dynamic return ({S? value = #C1}) → dynamic => self::GenericExtension|genericWriteSetterNamed(#this, value: value); -static method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method GenericExtension|genericWriteSetterNamed(lowered final self::GenericClass #this, {self::GenericExtension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::GenericExtension|set#property(#this, value); } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return #this.{self::GenericClass::field}{self::GenericExtension|get#property::T?}; -static method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { +static extension-member method GenericExtension|set#property(lowered final self::GenericClass #this, self::GenericExtension|set#property::T? value) → void { #this.{self::GenericClass::field} = value; } -static method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNoArgs(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#readGetter(#this); -static method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterRequired(#this); -static method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterOptional(#this); -static method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#writeSetterNamed(#this); -static method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericRequired(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterRequired(#this); -static method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericOptional(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterOptional(#this); -static method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|get#tearOffGetterGenericNamed(lowered final self::GenericClass #this) → dynamic return self::GenericExtension|get#genericWriteSetterNamed(#this); -static method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { +static extension-member method GenericExtension|invocations(lowered final self::GenericClass #this, self::GenericExtension|invocations::S% value) → dynamic { self::GenericExtension|readGetter(#this); self::GenericExtension|writeSetterRequired(#this, value); self::GenericExtension|writeSetterOptional(#this); @@ -211,9 +211,9 @@ static method GenericExtension|invocations(#this, value: value); self::GenericExtension|genericWriteSetterNamed(#this, value: value); } -static method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#invocations(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|invocations(#this, value); -static method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { +static extension-member method GenericExtension|tearOffs(lowered final self::GenericClass #this, self::GenericExtension|tearOffs::S% value) → dynamic { () → self::GenericExtension|tearOffs::T? tearOffNoArgs = self::GenericExtension|get#readGetter(#this); tearOffNoArgs(){() → self::GenericExtension|tearOffs::T?}; (self::GenericExtension|tearOffs::T%) → dynamic tearOffRequired = self::GenericExtension|get#writeSetterRequired(#this); @@ -243,9 +243,9 @@ static method GenericExtension|tearOffs(value: value){({value: self::GenericExtension|tearOffs::T?}) → dynamic}; genericTearOffNamed(value: value){({value: self::GenericExtension|tearOffs::S?}) → dynamic}; } -static method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#tearOffs(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|tearOffs(#this, value); -static method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { +static extension-member method GenericExtension|getterCalls(lowered final self::GenericClass #this, self::GenericExtension|getterCalls::S% value) → dynamic { self::GenericExtension|get#tearOffGetterNoArgs(#this){dynamic}.call(); self::GenericExtension|get#tearOffGetterRequired(#this){dynamic}.call(value); self::GenericExtension|get#tearOffGetterOptional(#this){dynamic}.call(); @@ -268,7 +268,7 @@ static method GenericExtension|getterCalls(#this){dynamic}.call(value: value); self::GenericExtension|get#tearOffGetterGenericNamed(#this){dynamic}.call(value: value); } -static method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic +static extension-member method GenericExtension|get#getterCalls(lowered final self::GenericClass #this) → (S%) → dynamic return (S% value) → dynamic => self::GenericExtension|getterCalls(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/direct_static_access.dart.strong.expect b/pkg/front_end/testcases/extensions/direct_static_access.dart.strong.expect index b8cd31b3655..0e87e600e3d 100644 --- a/pkg/front_end/testcases/extensions/direct_static_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/direct_static_access.dart.strong.expect @@ -40,47 +40,47 @@ extension Extension on self::Class { static set property = set self::Extension|property; } static field dynamic Extension|field; -static get Extension|property() → dynamic +static extension-member get Extension|property() → dynamic return self::Class::field; -static set Extension|property(dynamic value) → void { +static extension-member set Extension|property(dynamic value) → void { self::Class::field = value; } -static method Extension|readGetter() → dynamic { +static extension-member method Extension|readGetter() → dynamic { return self::Extension|property; } -static method Extension|writeSetterRequired(dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(dynamic value) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::Extension|property = value; } -static get Extension|tearOffGetterNoArgs() → dynamic +static extension-member get Extension|tearOffGetterNoArgs() → dynamic return #C2; -static get Extension|tearOffGetterRequired() → dynamic +static extension-member get Extension|tearOffGetterRequired() → dynamic return #C3; -static get Extension|tearOffGetterOptional() → dynamic +static extension-member get Extension|tearOffGetterOptional() → dynamic return #C4; -static get Extension|tearOffGetterNamed() → dynamic +static extension-member get Extension|tearOffGetterNamed() → dynamic return #C5; -static get Extension|tearOffGetterGenericRequired() → dynamic +static extension-member get Extension|tearOffGetterGenericRequired() → dynamic return #C6; -static get Extension|tearOffGetterGenericOptional() → dynamic +static extension-member get Extension|tearOffGetterGenericOptional() → dynamic return #C7; -static get Extension|tearOffGetterGenericNamed() → dynamic +static extension-member get Extension|tearOffGetterGenericNamed() → dynamic return #C8; -static method Extension|invocationsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|invocationsFromStaticContext(core::int value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -98,7 +98,7 @@ static method Extension|invocationsFromStaticContext(core::int value) → dynami self::Extension|genericWriteSetterNamed(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|tearOffsFromStaticContext(core::int value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -123,11 +123,11 @@ static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; } -static method Extension|fieldAccessFromStaticContext() → dynamic { +static extension-member method Extension|fieldAccessFromStaticContext() → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|getterCallsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|getterCallsFromStaticContext(core::int value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -145,7 +145,7 @@ static method Extension|getterCallsFromStaticContext(core::int value) → dynami self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); } -static method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -163,9 +163,9 @@ static method Extension|invocationsFromInstanceContext(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic return (self::Extension|get#invocationsFromInstanceContext::T% value) → dynamic => self::Extension|invocationsFromInstanceContext(#this, value); -static method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -190,15 +190,15 @@ static method Extension|tearOffsFromInstanceContext(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; tearOffGenericNamed(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; } -static method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic return (self::Extension|get#tearOffsFromInstanceContext::T% value) → dynamic => self::Extension|tearOffsFromInstanceContext(#this, value); -static method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { +static extension-member method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|fieldAccessFromInstanceContext(#this); -static method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -216,7 +216,7 @@ static method Extension|getterCallsFromInstanceContext(value: value); } -static method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic return (self::Extension|get#getterCallsFromInstanceContext::T% value) → dynamic => self::Extension|getterCallsFromInstanceContext(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/direct_static_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/direct_static_access.dart.strong.transformed.expect index b8cd31b3655..0e87e600e3d 100644 --- a/pkg/front_end/testcases/extensions/direct_static_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/direct_static_access.dart.strong.transformed.expect @@ -40,47 +40,47 @@ extension Extension on self::Class { static set property = set self::Extension|property; } static field dynamic Extension|field; -static get Extension|property() → dynamic +static extension-member get Extension|property() → dynamic return self::Class::field; -static set Extension|property(dynamic value) → void { +static extension-member set Extension|property(dynamic value) → void { self::Class::field = value; } -static method Extension|readGetter() → dynamic { +static extension-member method Extension|readGetter() → dynamic { return self::Extension|property; } -static method Extension|writeSetterRequired(dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(dynamic value) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::Extension|property = value; } -static get Extension|tearOffGetterNoArgs() → dynamic +static extension-member get Extension|tearOffGetterNoArgs() → dynamic return #C2; -static get Extension|tearOffGetterRequired() → dynamic +static extension-member get Extension|tearOffGetterRequired() → dynamic return #C3; -static get Extension|tearOffGetterOptional() → dynamic +static extension-member get Extension|tearOffGetterOptional() → dynamic return #C4; -static get Extension|tearOffGetterNamed() → dynamic +static extension-member get Extension|tearOffGetterNamed() → dynamic return #C5; -static get Extension|tearOffGetterGenericRequired() → dynamic +static extension-member get Extension|tearOffGetterGenericRequired() → dynamic return #C6; -static get Extension|tearOffGetterGenericOptional() → dynamic +static extension-member get Extension|tearOffGetterGenericOptional() → dynamic return #C7; -static get Extension|tearOffGetterGenericNamed() → dynamic +static extension-member get Extension|tearOffGetterGenericNamed() → dynamic return #C8; -static method Extension|invocationsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|invocationsFromStaticContext(core::int value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -98,7 +98,7 @@ static method Extension|invocationsFromStaticContext(core::int value) → dynami self::Extension|genericWriteSetterNamed(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|tearOffsFromStaticContext(core::int value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -123,11 +123,11 @@ static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; } -static method Extension|fieldAccessFromStaticContext() → dynamic { +static extension-member method Extension|fieldAccessFromStaticContext() → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|getterCallsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|getterCallsFromStaticContext(core::int value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -145,7 +145,7 @@ static method Extension|getterCallsFromStaticContext(core::int value) → dynami self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); } -static method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -163,9 +163,9 @@ static method Extension|invocationsFromInstanceContext(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic return (self::Extension|get#invocationsFromInstanceContext::T% value) → dynamic => self::Extension|invocationsFromInstanceContext(#this, value); -static method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -190,15 +190,15 @@ static method Extension|tearOffsFromInstanceContext(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; tearOffGenericNamed(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; } -static method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic return (self::Extension|get#tearOffsFromInstanceContext::T% value) → dynamic => self::Extension|tearOffsFromInstanceContext(#this, value); -static method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { +static extension-member method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|fieldAccessFromInstanceContext(#this); -static method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -216,7 +216,7 @@ static method Extension|getterCallsFromInstanceContext(value: value); } -static method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic return (self::Extension|get#getterCallsFromInstanceContext::T% value) → dynamic => self::Extension|getterCallsFromInstanceContext(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.expect b/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.expect index b8cd31b3655..0e87e600e3d 100644 --- a/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.expect @@ -40,47 +40,47 @@ extension Extension on self::Class { static set property = set self::Extension|property; } static field dynamic Extension|field; -static get Extension|property() → dynamic +static extension-member get Extension|property() → dynamic return self::Class::field; -static set Extension|property(dynamic value) → void { +static extension-member set Extension|property(dynamic value) → void { self::Class::field = value; } -static method Extension|readGetter() → dynamic { +static extension-member method Extension|readGetter() → dynamic { return self::Extension|property; } -static method Extension|writeSetterRequired(dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(dynamic value) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::Extension|property = value; } -static get Extension|tearOffGetterNoArgs() → dynamic +static extension-member get Extension|tearOffGetterNoArgs() → dynamic return #C2; -static get Extension|tearOffGetterRequired() → dynamic +static extension-member get Extension|tearOffGetterRequired() → dynamic return #C3; -static get Extension|tearOffGetterOptional() → dynamic +static extension-member get Extension|tearOffGetterOptional() → dynamic return #C4; -static get Extension|tearOffGetterNamed() → dynamic +static extension-member get Extension|tearOffGetterNamed() → dynamic return #C5; -static get Extension|tearOffGetterGenericRequired() → dynamic +static extension-member get Extension|tearOffGetterGenericRequired() → dynamic return #C6; -static get Extension|tearOffGetterGenericOptional() → dynamic +static extension-member get Extension|tearOffGetterGenericOptional() → dynamic return #C7; -static get Extension|tearOffGetterGenericNamed() → dynamic +static extension-member get Extension|tearOffGetterGenericNamed() → dynamic return #C8; -static method Extension|invocationsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|invocationsFromStaticContext(core::int value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -98,7 +98,7 @@ static method Extension|invocationsFromStaticContext(core::int value) → dynami self::Extension|genericWriteSetterNamed(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|tearOffsFromStaticContext(core::int value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -123,11 +123,11 @@ static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; } -static method Extension|fieldAccessFromStaticContext() → dynamic { +static extension-member method Extension|fieldAccessFromStaticContext() → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|getterCallsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|getterCallsFromStaticContext(core::int value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -145,7 +145,7 @@ static method Extension|getterCallsFromStaticContext(core::int value) → dynami self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); } -static method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -163,9 +163,9 @@ static method Extension|invocationsFromInstanceContext(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic return (self::Extension|get#invocationsFromInstanceContext::T% value) → dynamic => self::Extension|invocationsFromInstanceContext(#this, value); -static method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -190,15 +190,15 @@ static method Extension|tearOffsFromInstanceContext(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; tearOffGenericNamed(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; } -static method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic return (self::Extension|get#tearOffsFromInstanceContext::T% value) → dynamic => self::Extension|tearOffsFromInstanceContext(#this, value); -static method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { +static extension-member method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|fieldAccessFromInstanceContext(#this); -static method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -216,7 +216,7 @@ static method Extension|getterCallsFromInstanceContext(value: value); } -static method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic return (self::Extension|get#getterCallsFromInstanceContext::T% value) → dynamic => self::Extension|getterCallsFromInstanceContext(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.modular.expect index b8cd31b3655..0e87e600e3d 100644 --- a/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.modular.expect @@ -40,47 +40,47 @@ extension Extension on self::Class { static set property = set self::Extension|property; } static field dynamic Extension|field; -static get Extension|property() → dynamic +static extension-member get Extension|property() → dynamic return self::Class::field; -static set Extension|property(dynamic value) → void { +static extension-member set Extension|property(dynamic value) → void { self::Class::field = value; } -static method Extension|readGetter() → dynamic { +static extension-member method Extension|readGetter() → dynamic { return self::Extension|property; } -static method Extension|writeSetterRequired(dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(dynamic value) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::Extension|property = value; } -static get Extension|tearOffGetterNoArgs() → dynamic +static extension-member get Extension|tearOffGetterNoArgs() → dynamic return #C2; -static get Extension|tearOffGetterRequired() → dynamic +static extension-member get Extension|tearOffGetterRequired() → dynamic return #C3; -static get Extension|tearOffGetterOptional() → dynamic +static extension-member get Extension|tearOffGetterOptional() → dynamic return #C4; -static get Extension|tearOffGetterNamed() → dynamic +static extension-member get Extension|tearOffGetterNamed() → dynamic return #C5; -static get Extension|tearOffGetterGenericRequired() → dynamic +static extension-member get Extension|tearOffGetterGenericRequired() → dynamic return #C6; -static get Extension|tearOffGetterGenericOptional() → dynamic +static extension-member get Extension|tearOffGetterGenericOptional() → dynamic return #C7; -static get Extension|tearOffGetterGenericNamed() → dynamic +static extension-member get Extension|tearOffGetterGenericNamed() → dynamic return #C8; -static method Extension|invocationsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|invocationsFromStaticContext(core::int value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -98,7 +98,7 @@ static method Extension|invocationsFromStaticContext(core::int value) → dynami self::Extension|genericWriteSetterNamed(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|tearOffsFromStaticContext(core::int value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -123,11 +123,11 @@ static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; } -static method Extension|fieldAccessFromStaticContext() → dynamic { +static extension-member method Extension|fieldAccessFromStaticContext() → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|getterCallsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|getterCallsFromStaticContext(core::int value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -145,7 +145,7 @@ static method Extension|getterCallsFromStaticContext(core::int value) → dynami self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); } -static method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -163,9 +163,9 @@ static method Extension|invocationsFromInstanceContext(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic return (self::Extension|get#invocationsFromInstanceContext::T% value) → dynamic => self::Extension|invocationsFromInstanceContext(#this, value); -static method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -190,15 +190,15 @@ static method Extension|tearOffsFromInstanceContext(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; tearOffGenericNamed(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; } -static method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic return (self::Extension|get#tearOffsFromInstanceContext::T% value) → dynamic => self::Extension|tearOffsFromInstanceContext(#this, value); -static method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { +static extension-member method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|fieldAccessFromInstanceContext(#this); -static method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -216,7 +216,7 @@ static method Extension|getterCallsFromInstanceContext(value: value); } -static method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic return (self::Extension|get#getterCallsFromInstanceContext::T% value) → dynamic => self::Extension|getterCallsFromInstanceContext(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.outline.expect index f6e099690e1..b28d72d9220 100644 --- a/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.outline.expect @@ -39,61 +39,61 @@ extension Extension on self::Class { static set property = set self::Extension|property; } static field dynamic Extension|field; -static get Extension|property() → dynamic +static extension-member get Extension|property() → dynamic ; -static set Extension|property(dynamic value) → void +static extension-member set Extension|property(dynamic value) → void ; -static method Extension|readGetter() → dynamic +static extension-member method Extension|readGetter() → dynamic ; -static method Extension|writeSetterRequired(dynamic value) → dynamic +static extension-member method Extension|writeSetterRequired(dynamic value) → dynamic ; -static method Extension|writeSetterOptional([dynamic value]) → dynamic +static extension-member method Extension|writeSetterOptional([dynamic value]) → dynamic ; -static method Extension|writeSetterNamed({dynamic value}) → dynamic +static extension-member method Extension|writeSetterNamed({dynamic value}) → dynamic ; -static method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic +static extension-member method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic ; -static method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value]) → dynamic +static extension-member method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value]) → dynamic ; -static method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value}) → dynamic +static extension-member method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value}) → dynamic ; -static get Extension|tearOffGetterNoArgs() → dynamic +static extension-member get Extension|tearOffGetterNoArgs() → dynamic ; -static get Extension|tearOffGetterRequired() → dynamic +static extension-member get Extension|tearOffGetterRequired() → dynamic ; -static get Extension|tearOffGetterOptional() → dynamic +static extension-member get Extension|tearOffGetterOptional() → dynamic ; -static get Extension|tearOffGetterNamed() → dynamic +static extension-member get Extension|tearOffGetterNamed() → dynamic ; -static get Extension|tearOffGetterGenericRequired() → dynamic +static extension-member get Extension|tearOffGetterGenericRequired() → dynamic ; -static get Extension|tearOffGetterGenericOptional() → dynamic +static extension-member get Extension|tearOffGetterGenericOptional() → dynamic ; -static get Extension|tearOffGetterGenericNamed() → dynamic +static extension-member get Extension|tearOffGetterGenericNamed() → dynamic ; -static method Extension|invocationsFromStaticContext(core::int value) → dynamic +static extension-member method Extension|invocationsFromStaticContext(core::int value) → dynamic ; -static method Extension|tearOffsFromStaticContext(core::int value) → dynamic +static extension-member method Extension|tearOffsFromStaticContext(core::int value) → dynamic ; -static method Extension|fieldAccessFromStaticContext() → dynamic +static extension-member method Extension|fieldAccessFromStaticContext() → dynamic ; -static method Extension|getterCallsFromStaticContext(core::int value) → dynamic +static extension-member method Extension|getterCallsFromStaticContext(core::int value) → dynamic ; -static method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic +static extension-member method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic ; -static method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic return (self::Extension|get#invocationsFromInstanceContext::T% value) → dynamic => self::Extension|invocationsFromInstanceContext(#this, value); -static method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic +static extension-member method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic ; -static method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic return (self::Extension|get#tearOffsFromInstanceContext::T% value) → dynamic => self::Extension|tearOffsFromInstanceContext(#this, value); -static method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic +static extension-member method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic ; -static method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|fieldAccessFromInstanceContext(#this); -static method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic +static extension-member method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic ; -static method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic return (self::Extension|get#getterCallsFromInstanceContext::T% value) → dynamic => self::Extension|getterCallsFromInstanceContext(#this, value); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.transformed.expect index b8cd31b3655..0e87e600e3d 100644 --- a/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/direct_static_access.dart.weak.transformed.expect @@ -40,47 +40,47 @@ extension Extension on self::Class { static set property = set self::Extension|property; } static field dynamic Extension|field; -static get Extension|property() → dynamic +static extension-member get Extension|property() → dynamic return self::Class::field; -static set Extension|property(dynamic value) → void { +static extension-member set Extension|property(dynamic value) → void { self::Class::field = value; } -static method Extension|readGetter() → dynamic { +static extension-member method Extension|readGetter() → dynamic { return self::Extension|property; } -static method Extension|writeSetterRequired(dynamic value) → dynamic { +static extension-member method Extension|writeSetterRequired(dynamic value) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { +static extension-member method Extension|writeSetterOptional([dynamic value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { +static extension-member method Extension|writeSetterNamed({dynamic value = #C1}) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { +static extension-member method Extension|genericWriteSetterRequired(self::Extension|genericWriteSetterRequired::S% value) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { +static extension-member method Extension|genericWriteSetterOptional([self::Extension|genericWriteSetterOptional::S? value = #C1]) → dynamic { self::Extension|property = value; } -static method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { +static extension-member method Extension|genericWriteSetterNamed({self::Extension|genericWriteSetterNamed::S? value = #C1}) → dynamic { self::Extension|property = value; } -static get Extension|tearOffGetterNoArgs() → dynamic +static extension-member get Extension|tearOffGetterNoArgs() → dynamic return #C2; -static get Extension|tearOffGetterRequired() → dynamic +static extension-member get Extension|tearOffGetterRequired() → dynamic return #C3; -static get Extension|tearOffGetterOptional() → dynamic +static extension-member get Extension|tearOffGetterOptional() → dynamic return #C4; -static get Extension|tearOffGetterNamed() → dynamic +static extension-member get Extension|tearOffGetterNamed() → dynamic return #C5; -static get Extension|tearOffGetterGenericRequired() → dynamic +static extension-member get Extension|tearOffGetterGenericRequired() → dynamic return #C6; -static get Extension|tearOffGetterGenericOptional() → dynamic +static extension-member get Extension|tearOffGetterGenericOptional() → dynamic return #C7; -static get Extension|tearOffGetterGenericNamed() → dynamic +static extension-member get Extension|tearOffGetterGenericNamed() → dynamic return #C8; -static method Extension|invocationsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|invocationsFromStaticContext(core::int value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -98,7 +98,7 @@ static method Extension|invocationsFromStaticContext(core::int value) → dynami self::Extension|genericWriteSetterNamed(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|tearOffsFromStaticContext(core::int value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -123,11 +123,11 @@ static method Extension|tearOffsFromStaticContext(core::int value) → dynamic { tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; tearOffGenericNamed(value: value){({value: core::int?}) → dynamic}; } -static method Extension|fieldAccessFromStaticContext() → dynamic { +static extension-member method Extension|fieldAccessFromStaticContext() → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|getterCallsFromStaticContext(core::int value) → dynamic { +static extension-member method Extension|getterCallsFromStaticContext(core::int value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -145,7 +145,7 @@ static method Extension|getterCallsFromStaticContext(core::int value) → dynami self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); self::Extension|tearOffGetterGenericNamed{dynamic}.call(value: value); } -static method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|invocationsFromInstanceContext(lowered final self::Class #this, self::Extension|invocationsFromInstanceContext::T% value) → dynamic { self::Extension|readGetter(); self::Extension|writeSetterRequired(value); self::Extension|writeSetterOptional(); @@ -163,9 +163,9 @@ static method Extension|invocationsFromInstanceContext(value: value); self::Extension|genericWriteSetterNamed(value: value); } -static method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#invocationsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#invocationsFromInstanceContext::T%) → dynamic return (self::Extension|get#invocationsFromInstanceContext::T% value) → dynamic => self::Extension|invocationsFromInstanceContext(#this, value); -static method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|tearOffsFromInstanceContext(lowered final self::Class #this, self::Extension|tearOffsFromInstanceContext::T% value) → dynamic { () → dynamic tearOffNoArgs = #C2; tearOffNoArgs(){() → dynamic}; (dynamic) → dynamic tearOffRequired = #C3; @@ -190,15 +190,15 @@ static method Extension|tearOffsFromInstanceContext(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; tearOffGenericNamed(value: value){({value: self::Extension|tearOffsFromInstanceContext::T?}) → dynamic}; } -static method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#tearOffsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#tearOffsFromInstanceContext::T%) → dynamic return (self::Extension|get#tearOffsFromInstanceContext::T% value) → dynamic => self::Extension|tearOffsFromInstanceContext(#this, value); -static method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { +static extension-member method Extension|fieldAccessFromInstanceContext(lowered final self::Class #this) → dynamic { self::Extension|field = self::Extension|property; self::Extension|property = self::Extension|field; } -static method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#fieldAccessFromInstanceContext(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|fieldAccessFromInstanceContext(#this); -static method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { +static extension-member method Extension|getterCallsFromInstanceContext(lowered final self::Class #this, self::Extension|getterCallsFromInstanceContext::T% value) → dynamic { self::Extension|tearOffGetterNoArgs{dynamic}.call(); self::Extension|tearOffGetterRequired{dynamic}.call(value); self::Extension|tearOffGetterOptional{dynamic}.call(); @@ -216,7 +216,7 @@ static method Extension|getterCallsFromInstanceContext(value: value); } -static method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic +static extension-member method Extension|get#getterCallsFromInstanceContext(lowered final self::Class #this) → (self::Extension|get#getterCallsFromInstanceContext::T%) → dynamic return (self::Extension|get#getterCallsFromInstanceContext::T% value) → dynamic => self::Extension|getterCallsFromInstanceContext(#this, value); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.strong.expect b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.strong.expect index ff8958c42cc..02ea32ebe59 100644 --- a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.strong.expect @@ -17,13 +17,13 @@ extension Extension on dynamic { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method ClassExtension|method(lowered final self::Class #this) → core::int +static extension-member method ClassExtension|method(lowered final self::Class #this) → core::int return 42; -static method ClassExtension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method ClassExtension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::ClassExtension|method(#this); -static method Extension|method(lowered final dynamic #this) → core::int +static extension-member method Extension|method(lowered final dynamic #this) → core::int return 87; -static method Extension|get#method(lowered final dynamic #this) → () → core::int +static extension-member method Extension|get#method(lowered final dynamic #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { dynamic c0 = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.strong.transformed.expect index ff8958c42cc..02ea32ebe59 100644 --- a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.strong.transformed.expect @@ -17,13 +17,13 @@ extension Extension on dynamic { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method ClassExtension|method(lowered final self::Class #this) → core::int +static extension-member method ClassExtension|method(lowered final self::Class #this) → core::int return 42; -static method ClassExtension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method ClassExtension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::ClassExtension|method(#this); -static method Extension|method(lowered final dynamic #this) → core::int +static extension-member method Extension|method(lowered final dynamic #this) → core::int return 87; -static method Extension|get#method(lowered final dynamic #this) → () → core::int +static extension-member method Extension|get#method(lowered final dynamic #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { dynamic c0 = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.expect b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.expect index ff8958c42cc..02ea32ebe59 100644 --- a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.expect @@ -17,13 +17,13 @@ extension Extension on dynamic { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method ClassExtension|method(lowered final self::Class #this) → core::int +static extension-member method ClassExtension|method(lowered final self::Class #this) → core::int return 42; -static method ClassExtension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method ClassExtension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::ClassExtension|method(#this); -static method Extension|method(lowered final dynamic #this) → core::int +static extension-member method Extension|method(lowered final dynamic #this) → core::int return 87; -static method Extension|get#method(lowered final dynamic #this) → () → core::int +static extension-member method Extension|get#method(lowered final dynamic #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { dynamic c0 = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.modular.expect index ff8958c42cc..02ea32ebe59 100644 --- a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.modular.expect @@ -17,13 +17,13 @@ extension Extension on dynamic { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method ClassExtension|method(lowered final self::Class #this) → core::int +static extension-member method ClassExtension|method(lowered final self::Class #this) → core::int return 42; -static method ClassExtension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method ClassExtension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::ClassExtension|method(#this); -static method Extension|method(lowered final dynamic #this) → core::int +static extension-member method Extension|method(lowered final dynamic #this) → core::int return 87; -static method Extension|get#method(lowered final dynamic #this) → () → core::int +static extension-member method Extension|get#method(lowered final dynamic #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { dynamic c0 = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.outline.expect index 006429140be..8ad9c40f3af 100644 --- a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.outline.expect @@ -16,13 +16,13 @@ extension Extension on dynamic { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method ClassExtension|method(lowered final self::Class #this) → core::int +static extension-member method ClassExtension|method(lowered final self::Class #this) → core::int ; -static method ClassExtension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method ClassExtension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::ClassExtension|method(#this); -static method Extension|method(lowered final dynamic #this) → core::int +static extension-member method Extension|method(lowered final dynamic #this) → core::int ; -static method Extension|get#method(lowered final dynamic #this) → () → core::int +static extension-member method Extension|get#method(lowered final dynamic #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.transformed.expect index ff8958c42cc..02ea32ebe59 100644 --- a/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/dynamic_invoke.dart.weak.transformed.expect @@ -17,13 +17,13 @@ extension Extension on dynamic { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method ClassExtension|method(lowered final self::Class #this) → core::int +static extension-member method ClassExtension|method(lowered final self::Class #this) → core::int return 42; -static method ClassExtension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method ClassExtension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::ClassExtension|method(#this); -static method Extension|method(lowered final dynamic #this) → core::int +static extension-member method Extension|method(lowered final dynamic #this) → core::int return 87; -static method Extension|get#method(lowered final dynamic #this) → () → core::int +static extension-member method Extension|get#method(lowered final dynamic #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { dynamic c0 = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.strong.expect b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.strong.expect index 8316fbdc849..82994c6beec 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.strong.expect @@ -25,31 +25,31 @@ extension Extension2 on self::Class { tearoff genericMethod = self::Extension2|get#genericMethod; set field = self::Extension2|set#field; } -static method Extension1|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → core::int +static extension-member method Extension1|method(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num return #this.{self::Class::field1}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension2|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → core::int +static extension-member method Extension2|method(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num return #this.{self::Class::field2}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.strong.transformed.expect index e55dab15dfb..63f1ce24112 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.strong.transformed.expect @@ -25,31 +25,31 @@ extension Extension2 on self::Class { tearoff genericMethod = self::Extension2|get#genericMethod; set field = self::Extension2|set#field; } -static method Extension1|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → core::int +static extension-member method Extension1|method(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num return #this.{self::Class::field1}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension2|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → core::int +static extension-member method Extension2|method(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num return #this.{self::Class::field2}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.expect b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.expect index 8316fbdc849..82994c6beec 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.expect @@ -25,31 +25,31 @@ extension Extension2 on self::Class { tearoff genericMethod = self::Extension2|get#genericMethod; set field = self::Extension2|set#field; } -static method Extension1|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → core::int +static extension-member method Extension1|method(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num return #this.{self::Class::field1}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension2|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → core::int +static extension-member method Extension2|method(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num return #this.{self::Class::field2}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.modular.expect index 8316fbdc849..82994c6beec 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.modular.expect @@ -25,31 +25,31 @@ extension Extension2 on self::Class { tearoff genericMethod = self::Extension2|get#genericMethod; set field = self::Extension2|set#field; } -static method Extension1|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → core::int +static extension-member method Extension1|method(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num return #this.{self::Class::field1}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension2|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → core::int +static extension-member method Extension2|method(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num return #this.{self::Class::field2}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.outline.expect index b6bb8c5c821..7abfb66d9ae 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.outline.expect @@ -24,29 +24,29 @@ extension Extension2 on self::Class { tearoff genericMethod = self::Extension2|get#genericMethod; set field = self::Extension2|set#field; } -static method Extension1|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#field(lowered final self::Class #this) → core::int ; -static method Extension1|set#field(lowered final self::Class #this, core::int value) → void +static extension-member method Extension1|set#field(lowered final self::Class #this, core::int value) → void ; -static method Extension1|method(lowered final self::Class #this) → core::int +static extension-member method Extension1|method(lowered final self::Class #this) → core::int ; -static method Extension1|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num ; -static method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension2|get#field(lowered final self::Class #this) → core::int ; -static method Extension2|set#field(lowered final self::Class #this, core::int value) → void +static extension-member method Extension2|set#field(lowered final self::Class #this, core::int value) → void ; -static method Extension2|method(lowered final self::Class #this) → core::int +static extension-member method Extension2|method(lowered final self::Class #this) → core::int ; -static method Extension2|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num ; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.transformed.expect index e55dab15dfb..63f1ce24112 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_access.dart.weak.transformed.expect @@ -25,31 +25,31 @@ extension Extension2 on self::Class { tearoff genericMethod = self::Extension2|get#genericMethod; set field = self::Extension2|set#field; } -static method Extension1|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → core::int +static extension-member method Extension1|method(lowered final self::Class #this) → core::int return #this.{self::Class::field1}{core::int}; -static method Extension1|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::T t) → core::num return #this.{self::Class::field1}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → core::int +static extension-member method Extension2|get#field(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|set#field(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → core::int +static extension-member method Extension2|method(lowered final self::Class #this) → core::int return #this.{self::Class::field2}{core::int}; -static method Extension2|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::T t) → core::num return #this.{self::Class::field2}{core::int}.{core::num::+}(t){(core::num) → core::num}; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.strong.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.strong.expect index cc463f4d0f5..95e05d7f42b 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.strong.expect @@ -56,15 +56,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.strong.transformed.expect index cc463f4d0f5..95e05d7f42b 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.strong.transformed.expect @@ -56,15 +56,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.expect index 0ae408d5001..305927be251 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.expect @@ -49,15 +49,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.modular.expect index 0ae408d5001..305927be251 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.modular.expect @@ -49,15 +49,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.outline.expect index b53122528b9..3a09b93f10e 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.outline.expect @@ -45,15 +45,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* ; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* ; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* ; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.transformed.expect index 0ae408d5001..305927be251 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference.dart.weak.transformed.expect @@ -49,15 +49,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.strong.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.strong.expect index 322e5b3cfc3..eafb050c951 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.strong.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.strong.transformed.expect index 322e5b3cfc3..eafb050c951 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.strong.transformed.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.expect index 322e5b3cfc3..eafb050c951 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.modular.expect index 322e5b3cfc3..eafb050c951 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.modular.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.outline.expect index dc857a57356..ffbf749d144 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.outline.expect @@ -25,15 +25,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? ; -static method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? ; -static method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? ; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.transformed.expect index 322e5b3cfc3..eafb050c951 100644 --- a/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_extension_inference2.dart.weak.transformed.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass? #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass? #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass? #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass? #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass? #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.strong.expect b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.strong.expect index 02d8d7e9044..1410be17430 100644 --- a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.strong.expect @@ -27,38 +27,38 @@ extension Extension2 on self::Class { set field = self::Extension2|set#field; } static field core::String? Extension1|latestType; -static method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { +static extension-member method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { self::Extension1|latestType = "${self::Extension1|get#field::T}"; return #this.{self::Class::field1}{self::Extension1|get#field::T}; } -static method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { self::Extension1|latestType = "${self::Extension1|set#field::T}"; #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { +static extension-member method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { self::Extension1|latestType = "${self::Extension1|method::T}"; return #this.{self::Class::field1}{self::Extension1|method::T}; } -static method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T return () → self::Extension1|get#method::T => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { self::Extension1|latestType = "${self::Extension1|genericMethod::T}:${self::Extension1|genericMethod::S}"; return #this.{self::Class::field1}{self::Extension1|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension1|genericMethod::T; } -static method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T return (S t) → self::Extension1|get#genericMethod::T => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T +static extension-member method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T return #this.{self::Class::field2}{self::Extension2|get#field::T}; -static method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T +static extension-member method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T return #this.{self::Class::field2}{self::Extension2|method::T}; -static method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T return () → self::Extension2|get#method::T => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T return #this.{self::Class::field2}{self::Extension2|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension2|genericMethod::T; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T return (S t) → self::Extension2|get#genericMethod::T => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(42, 87); diff --git a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.strong.transformed.expect index 57f74b4dc74..b41f461f0fd 100644 --- a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.strong.transformed.expect @@ -27,38 +27,38 @@ extension Extension2 on self::Class { set field = self::Extension2|set#field; } static field core::String? Extension1|latestType; -static method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { +static extension-member method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { self::Extension1|latestType = "${self::Extension1|get#field::T}"; return #this.{self::Class::field1}{self::Extension1|get#field::T}; } -static method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { self::Extension1|latestType = "${self::Extension1|set#field::T}"; #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { +static extension-member method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { self::Extension1|latestType = "${self::Extension1|method::T}"; return #this.{self::Class::field1}{self::Extension1|method::T}; } -static method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T return () → self::Extension1|get#method::T => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { self::Extension1|latestType = "${self::Extension1|genericMethod::T}:${self::Extension1|genericMethod::S}"; return #this.{self::Class::field1}{self::Extension1|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension1|genericMethod::T; } -static method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T return (S t) → self::Extension1|get#genericMethod::T => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T +static extension-member method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T return #this.{self::Class::field2}{self::Extension2|get#field::T}; -static method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T +static extension-member method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T return #this.{self::Class::field2}{self::Extension2|method::T}; -static method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T return () → self::Extension2|get#method::T => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T return #this.{self::Class::field2}{self::Extension2|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension2|genericMethod::T; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T return (S t) → self::Extension2|get#genericMethod::T => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(42, 87); diff --git a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.expect b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.expect index 02d8d7e9044..1410be17430 100644 --- a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.expect @@ -27,38 +27,38 @@ extension Extension2 on self::Class { set field = self::Extension2|set#field; } static field core::String? Extension1|latestType; -static method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { +static extension-member method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { self::Extension1|latestType = "${self::Extension1|get#field::T}"; return #this.{self::Class::field1}{self::Extension1|get#field::T}; } -static method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { self::Extension1|latestType = "${self::Extension1|set#field::T}"; #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { +static extension-member method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { self::Extension1|latestType = "${self::Extension1|method::T}"; return #this.{self::Class::field1}{self::Extension1|method::T}; } -static method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T return () → self::Extension1|get#method::T => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { self::Extension1|latestType = "${self::Extension1|genericMethod::T}:${self::Extension1|genericMethod::S}"; return #this.{self::Class::field1}{self::Extension1|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension1|genericMethod::T; } -static method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T return (S t) → self::Extension1|get#genericMethod::T => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T +static extension-member method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T return #this.{self::Class::field2}{self::Extension2|get#field::T}; -static method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T +static extension-member method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T return #this.{self::Class::field2}{self::Extension2|method::T}; -static method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T return () → self::Extension2|get#method::T => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T return #this.{self::Class::field2}{self::Extension2|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension2|genericMethod::T; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T return (S t) → self::Extension2|get#genericMethod::T => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(42, 87); diff --git a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.modular.expect index 02d8d7e9044..1410be17430 100644 --- a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.modular.expect @@ -27,38 +27,38 @@ extension Extension2 on self::Class { set field = self::Extension2|set#field; } static field core::String? Extension1|latestType; -static method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { +static extension-member method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { self::Extension1|latestType = "${self::Extension1|get#field::T}"; return #this.{self::Class::field1}{self::Extension1|get#field::T}; } -static method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { self::Extension1|latestType = "${self::Extension1|set#field::T}"; #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { +static extension-member method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { self::Extension1|latestType = "${self::Extension1|method::T}"; return #this.{self::Class::field1}{self::Extension1|method::T}; } -static method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T return () → self::Extension1|get#method::T => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { self::Extension1|latestType = "${self::Extension1|genericMethod::T}:${self::Extension1|genericMethod::S}"; return #this.{self::Class::field1}{self::Extension1|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension1|genericMethod::T; } -static method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T return (S t) → self::Extension1|get#genericMethod::T => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T +static extension-member method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T return #this.{self::Class::field2}{self::Extension2|get#field::T}; -static method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T +static extension-member method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T return #this.{self::Class::field2}{self::Extension2|method::T}; -static method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T return () → self::Extension2|get#method::T => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T return #this.{self::Class::field2}{self::Extension2|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension2|genericMethod::T; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T return (S t) → self::Extension2|get#genericMethod::T => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(42, 87); diff --git a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.outline.expect index 3efad7b91cb..2c286540717 100644 --- a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.outline.expect @@ -26,29 +26,29 @@ extension Extension2 on self::Class { set field = self::Extension2|set#field; } static field core::String? Extension1|latestType; -static method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T +static extension-member method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T ; -static method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void +static extension-member method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void ; -static method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T +static extension-member method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T ; -static method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T return () → self::Extension1|get#method::T => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T ; -static method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T return (S t) → self::Extension1|get#genericMethod::T => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T +static extension-member method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T ; -static method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void +static extension-member method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void ; -static method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T +static extension-member method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T ; -static method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T return () → self::Extension2|get#method::T => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T ; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T return (S t) → self::Extension2|get#genericMethod::T => self::Extension2|genericMethod(#this, t); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.transformed.expect index 57f74b4dc74..b41f461f0fd 100644 --- a/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_generic_extension_access.dart.weak.transformed.expect @@ -27,38 +27,38 @@ extension Extension2 on self::Class { set field = self::Extension2|set#field; } static field core::String? Extension1|latestType; -static method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { +static extension-member method Extension1|get#field(lowered final self::Class #this) → self::Extension1|get#field::T { self::Extension1|latestType = "${self::Extension1|get#field::T}"; return #this.{self::Class::field1}{self::Extension1|get#field::T}; } -static method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { +static extension-member method Extension1|set#field(lowered final self::Class #this, self::Extension1|set#field::T value) → void { self::Extension1|latestType = "${self::Extension1|set#field::T}"; #this.{self::Class::field1} = value; } -static method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { +static extension-member method Extension1|method(lowered final self::Class #this) → self::Extension1|method::T { self::Extension1|latestType = "${self::Extension1|method::T}"; return #this.{self::Class::field1}{self::Extension1|method::T}; } -static method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T +static extension-member method Extension1|get#method(lowered final self::Class #this) → () → self::Extension1|get#method::T return () → self::Extension1|get#method::T => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { +static extension-member method Extension1|genericMethod(lowered final self::Class #this, self::Extension1|genericMethod::S t) → self::Extension1|genericMethod::T { self::Extension1|latestType = "${self::Extension1|genericMethod::T}:${self::Extension1|genericMethod::S}"; return #this.{self::Class::field1}{self::Extension1|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension1|genericMethod::T; } -static method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T +static extension-member method Extension1|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension1|get#genericMethod::T return (S t) → self::Extension1|get#genericMethod::T => self::Extension1|genericMethod(#this, t); -static method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T +static extension-member method Extension2|get#field(lowered final self::Class #this) → self::Extension2|get#field::T return #this.{self::Class::field2}{self::Extension2|get#field::T}; -static method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { +static extension-member method Extension2|set#field(lowered final self::Class #this, self::Extension2|set#field::T value) → void { #this.{self::Class::field2} = value; } -static method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T +static extension-member method Extension2|method(lowered final self::Class #this) → self::Extension2|method::T return #this.{self::Class::field2}{self::Extension2|method::T}; -static method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T +static extension-member method Extension2|get#method(lowered final self::Class #this) → () → self::Extension2|get#method::T return () → self::Extension2|get#method::T => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T +static extension-member method Extension2|genericMethod(lowered final self::Class #this, self::Extension2|genericMethod::S t) → self::Extension2|genericMethod::T return #this.{self::Class::field2}{self::Extension2|genericMethod::T}.{core::num::+}(t){(core::num) → core::num} as self::Extension2|genericMethod::T; -static method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T +static extension-member method Extension2|get#genericMethod(lowered final self::Class #this) → (S) → self::Extension2|get#genericMethod::T return (S t) → self::Extension2|get#genericMethod::T => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::Class c = new self::Class::•(42, 87); diff --git a/pkg/front_end/testcases/extensions/explicit_this.dart.strong.expect b/pkg/front_end/testcases/extensions/explicit_this.dart.strong.expect index 747c520c30d..9d470323947 100644 --- a/pkg/front_end/testcases/extensions/explicit_this.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/explicit_this.dart.strong.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void return (core::Object o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/explicit_this.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/explicit_this.dart.strong.transformed.expect index 747c520c30d..9d470323947 100644 --- a/pkg/front_end/testcases/extensions/explicit_this.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_this.dart.strong.transformed.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void return (core::Object o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/explicit_this.dart.weak.expect b/pkg/front_end/testcases/extensions/explicit_this.dart.weak.expect index 747c520c30d..9d470323947 100644 --- a/pkg/front_end/testcases/extensions/explicit_this.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/explicit_this.dart.weak.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void return (core::Object o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/explicit_this.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/explicit_this.dart.weak.modular.expect index 747c520c30d..9d470323947 100644 --- a/pkg/front_end/testcases/extensions/explicit_this.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/explicit_this.dart.weak.modular.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void return (core::Object o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/explicit_this.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/explicit_this.dart.weak.outline.expect index 736bec12324..b7a02f18cff 100644 --- a/pkg/front_end/testcases/extensions/explicit_this.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/explicit_this.dart.weak.outline.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void ; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? ; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object o) → void +static extension-member method A2|method4(lowered final self::A1 #this, core::Object o) → void ; -static method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void return (core::Object o) → void => self::A2|method4(#this, o); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/explicit_this.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/explicit_this.dart.weak.transformed.expect index 747c520c30d..9d470323947 100644 --- a/pkg/front_end/testcases/extensions/explicit_this.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/explicit_this.dart.weak.transformed.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object) → void return (core::Object o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.strong.expect b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.strong.expect index 00373288b14..752dffdadab 100644 --- a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.strong.expect @@ -43,16 +43,16 @@ extension Extension on core::int { static field core::int Extension|staticField = 42; static final field core::int Extension|staticFinalField = 42; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int return 42; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} -static method Extension|instanceMethod(lowered final core::int #this) → void {} -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => mai::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return 42; -static set Extension|staticProperty(core::int value) → void {} -static method Extension|staticMethod() → void {} +static extension-member set Extension|staticProperty(core::int value) → void {} +static extension-member method Extension|staticMethod() → void {} constants { #C1 = 42 diff --git a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.strong.transformed.expect index 00373288b14..752dffdadab 100644 --- a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.strong.transformed.expect @@ -43,16 +43,16 @@ extension Extension on core::int { static field core::int Extension|staticField = 42; static final field core::int Extension|staticFinalField = 42; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int return 42; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} -static method Extension|instanceMethod(lowered final core::int #this) → void {} -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => mai::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return 42; -static set Extension|staticProperty(core::int value) → void {} -static method Extension|staticMethod() → void {} +static extension-member set Extension|staticProperty(core::int value) → void {} +static extension-member method Extension|staticMethod() → void {} constants { #C1 = 42 diff --git a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.expect b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.expect index 00373288b14..752dffdadab 100644 --- a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.expect @@ -43,16 +43,16 @@ extension Extension on core::int { static field core::int Extension|staticField = 42; static final field core::int Extension|staticFinalField = 42; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int return 42; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} -static method Extension|instanceMethod(lowered final core::int #this) → void {} -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => mai::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return 42; -static set Extension|staticProperty(core::int value) → void {} -static method Extension|staticMethod() → void {} +static extension-member set Extension|staticProperty(core::int value) → void {} +static extension-member method Extension|staticMethod() → void {} constants { #C1 = 42 diff --git a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.outline.expect index 90ae6ebf7dc..5f13f8e21f4 100644 --- a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.outline.expect @@ -33,19 +33,19 @@ extension Extension on core::int { static field core::int Extension|staticField; static final field core::int Extension|staticFinalField; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int ; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void ; -static method Extension|instanceMethod(lowered final core::int #this) → void +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void ; -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => mai::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int ; -static set Extension|staticProperty(core::int value) → void +static extension-member set Extension|staticProperty(core::int value) → void ; -static method Extension|staticMethod() → void +static extension-member method Extension|staticMethod() → void ; constants { diff --git a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.transformed.expect index 00373288b14..752dffdadab 100644 --- a/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/export_from_dill/main.dart.weak.transformed.expect @@ -43,16 +43,16 @@ extension Extension on core::int { static field core::int Extension|staticField = 42; static final field core::int Extension|staticFinalField = 42; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int return 42; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} -static method Extension|instanceMethod(lowered final core::int #this) → void {} -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => mai::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return 42; -static set Extension|staticProperty(core::int value) → void {} -static method Extension|staticMethod() → void {} +static extension-member set Extension|staticProperty(core::int value) → void {} +static extension-member method Extension|staticMethod() → void {} constants { #C1 = 42 diff --git a/pkg/front_end/testcases/extensions/export_twice.dart.strong.expect b/pkg/front_end/testcases/extensions/export_twice.dart.strong.expect index 9732dc74b8f..ad7032c9290 100644 --- a/pkg/front_end/testcases/extensions/export_twice.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/export_twice.dart.strong.expect @@ -22,8 +22,8 @@ extension Extension on exp::Class { method method = exp::Extension|method; tearoff method = exp::Extension|get#method; } -static method Extension|method(lowered final exp::Class #this) → dynamic {} -static method Extension|get#method(lowered final exp::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final exp::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final exp::Class #this) → () → dynamic return () → dynamic => exp::Extension|method(#this); library; diff --git a/pkg/front_end/testcases/extensions/export_twice.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/export_twice.dart.strong.transformed.expect index 9732dc74b8f..ad7032c9290 100644 --- a/pkg/front_end/testcases/extensions/export_twice.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/export_twice.dart.strong.transformed.expect @@ -22,8 +22,8 @@ extension Extension on exp::Class { method method = exp::Extension|method; tearoff method = exp::Extension|get#method; } -static method Extension|method(lowered final exp::Class #this) → dynamic {} -static method Extension|get#method(lowered final exp::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final exp::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final exp::Class #this) → () → dynamic return () → dynamic => exp::Extension|method(#this); library; diff --git a/pkg/front_end/testcases/extensions/export_twice.dart.weak.expect b/pkg/front_end/testcases/extensions/export_twice.dart.weak.expect index 9732dc74b8f..ad7032c9290 100644 --- a/pkg/front_end/testcases/extensions/export_twice.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/export_twice.dart.weak.expect @@ -22,8 +22,8 @@ extension Extension on exp::Class { method method = exp::Extension|method; tearoff method = exp::Extension|get#method; } -static method Extension|method(lowered final exp::Class #this) → dynamic {} -static method Extension|get#method(lowered final exp::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final exp::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final exp::Class #this) → () → dynamic return () → dynamic => exp::Extension|method(#this); library; diff --git a/pkg/front_end/testcases/extensions/export_twice.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/export_twice.dart.weak.modular.expect index 9732dc74b8f..ad7032c9290 100644 --- a/pkg/front_end/testcases/extensions/export_twice.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/export_twice.dart.weak.modular.expect @@ -22,8 +22,8 @@ extension Extension on exp::Class { method method = exp::Extension|method; tearoff method = exp::Extension|get#method; } -static method Extension|method(lowered final exp::Class #this) → dynamic {} -static method Extension|get#method(lowered final exp::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final exp::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final exp::Class #this) → () → dynamic return () → dynamic => exp::Extension|method(#this); library; diff --git a/pkg/front_end/testcases/extensions/export_twice.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/export_twice.dart.weak.outline.expect index 47d2b75fe6a..aefb1b8f7c2 100644 --- a/pkg/front_end/testcases/extensions/export_twice.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/export_twice.dart.weak.outline.expect @@ -19,9 +19,9 @@ extension Extension on self2::Class { method method = self2::Extension|method; tearoff method = self2::Extension|get#method; } -static method Extension|method(lowered final self2::Class #this) → dynamic +static extension-member method Extension|method(lowered final self2::Class #this) → dynamic ; -static method Extension|get#method(lowered final self2::Class #this) → () → dynamic +static extension-member method Extension|get#method(lowered final self2::Class #this) → () → dynamic return () → dynamic => self2::Extension|method(#this); library; diff --git a/pkg/front_end/testcases/extensions/export_twice.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/export_twice.dart.weak.transformed.expect index 9732dc74b8f..ad7032c9290 100644 --- a/pkg/front_end/testcases/extensions/export_twice.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/export_twice.dart.weak.transformed.expect @@ -22,8 +22,8 @@ extension Extension on exp::Class { method method = exp::Extension|method; tearoff method = exp::Extension|get#method; } -static method Extension|method(lowered final exp::Class #this) → dynamic {} -static method Extension|get#method(lowered final exp::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final exp::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final exp::Class #this) → () → dynamic return () → dynamic => exp::Extension|method(#this); library; diff --git a/pkg/front_end/testcases/extensions/extension_call.dart.strong.expect b/pkg/front_end/testcases/extensions/extension_call.dart.strong.expect index 0490e695937..0e13b63f0d8 100644 --- a/pkg/front_end/testcases/extensions/extension_call.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/extension_call.dart.strong.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method call = self::Extension|call; tearoff call = self::Extension|get#call; } -static method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% +static extension-member method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% return #this.{self::Class::method}(a){(self::Extension|call::T%) → self::Extension|call::T%}; -static method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% +static extension-member method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% return (self::Extension|get#call::T% a) → self::Extension|get#call::T% => self::Extension|call(#this, a); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/extension_call.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/extension_call.dart.strong.transformed.expect index 0490e695937..0e13b63f0d8 100644 --- a/pkg/front_end/testcases/extensions/extension_call.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_call.dart.strong.transformed.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method call = self::Extension|call; tearoff call = self::Extension|get#call; } -static method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% +static extension-member method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% return #this.{self::Class::method}(a){(self::Extension|call::T%) → self::Extension|call::T%}; -static method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% +static extension-member method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% return (self::Extension|get#call::T% a) → self::Extension|get#call::T% => self::Extension|call(#this, a); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/extension_call.dart.weak.expect b/pkg/front_end/testcases/extensions/extension_call.dart.weak.expect index 0490e695937..0e13b63f0d8 100644 --- a/pkg/front_end/testcases/extensions/extension_call.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/extension_call.dart.weak.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method call = self::Extension|call; tearoff call = self::Extension|get#call; } -static method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% +static extension-member method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% return #this.{self::Class::method}(a){(self::Extension|call::T%) → self::Extension|call::T%}; -static method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% +static extension-member method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% return (self::Extension|get#call::T% a) → self::Extension|get#call::T% => self::Extension|call(#this, a); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/extension_call.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/extension_call.dart.weak.modular.expect index 0490e695937..0e13b63f0d8 100644 --- a/pkg/front_end/testcases/extensions/extension_call.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/extension_call.dart.weak.modular.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method call = self::Extension|call; tearoff call = self::Extension|get#call; } -static method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% +static extension-member method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% return #this.{self::Class::method}(a){(self::Extension|call::T%) → self::Extension|call::T%}; -static method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% +static extension-member method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% return (self::Extension|get#call::T% a) → self::Extension|get#call::T% => self::Extension|call(#this, a); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/extension_call.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/extension_call.dart.weak.outline.expect index 4517532f29e..eecec36bb6b 100644 --- a/pkg/front_end/testcases/extensions/extension_call.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/extension_call.dart.weak.outline.expect @@ -12,9 +12,9 @@ extension Extension on self::Class { method call = self::Extension|call; tearoff call = self::Extension|get#call; } -static method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% +static extension-member method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% ; -static method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% +static extension-member method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% return (self::Extension|get#call::T% a) → self::Extension|get#call::T% => self::Extension|call(#this, a); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/extension_call.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/extension_call.dart.weak.transformed.expect index 0490e695937..0e13b63f0d8 100644 --- a/pkg/front_end/testcases/extensions/extension_call.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_call.dart.weak.transformed.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method call = self::Extension|call; tearoff call = self::Extension|get#call; } -static method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% +static extension-member method Extension|call(lowered final self::Class #this, self::Extension|call::T% a) → self::Extension|call::T% return #this.{self::Class::method}(a){(self::Extension|call::T%) → self::Extension|call::T%}; -static method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% +static extension-member method Extension|get#call(lowered final self::Class #this) → (self::Extension|get#call::T%) → self::Extension|get#call::T% return (self::Extension|get#call::T% a) → self::Extension|get#call::T% => self::Extension|call(#this, a); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/extension_constructor.dart.strong.expect b/pkg/front_end/testcases/extensions/extension_constructor.dart.strong.expect index 0eded0565dd..6bf29a1bf45 100644 --- a/pkg/front_end/testcases/extensions/extension_constructor.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/extension_constructor.dart.strong.expect @@ -34,7 +34,7 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_constructor.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/extension_constructor.dart.strong.transformed.expect index 0eded0565dd..6bf29a1bf45 100644 --- a/pkg/front_end/testcases/extensions/extension_constructor.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_constructor.dart.strong.transformed.expect @@ -34,7 +34,7 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.expect b/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.expect index 0eded0565dd..6bf29a1bf45 100644 --- a/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.expect @@ -34,7 +34,7 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.modular.expect index 0eded0565dd..6bf29a1bf45 100644 --- a/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.modular.expect @@ -34,7 +34,7 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.outline.expect index 7d8048ee0c4..852cc1b96a9 100644 --- a/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.outline.expect @@ -33,9 +33,9 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this) → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic ; -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.transformed.expect index 0eded0565dd..6bf29a1bf45 100644 --- a/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_constructor.dart.weak.transformed.expect @@ -34,7 +34,7 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.strong.expect b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.strong.expect index 48230a71bb7..d20a69e8345 100644 --- a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.strong.expect @@ -169,41 +169,41 @@ extension Extension on core::int { set instanceSetterAndStaticField = self::Extension|set#instanceSetterAndStaticField; } static field core::int Extension|duplicateStaticField = 0; -static method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} -static method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void return () → void => self::Extension|duplicateInstanceMethod(#this); -static get Extension|duplicateStaticGetter() → core::int +static extension-member get Extension|duplicateStaticGetter() → core::int return 0; -static set Extension|duplicateStaticSetter(core::int value) → void {} -static method Extension|duplicateStaticMethod() → void {} -static method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticSetter(core::int value) → void {} +static extension-member method Extension|duplicateStaticMethod() → void {} +static extension-member method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} -static get Extension|duplicateStaticGetterPlusSetter() → core::int +static extension-member method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterPlusSetter() → core::int return 0; -static set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} -static get Extension|duplicateStaticSetterPlusGetter() → core::int +static extension-member set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticSetterPlusGetter() → core::int return 0; -static set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} -static get Extension|duplicateStaticGetterAndSetter() → core::int +static extension-member set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterAndSetter() → core::int return 0; -static set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} -static method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int return 0; -static set Extension|instanceGetterAndStaticSetter(core::int value) → void {} -static get Extension|instanceSetterAndStaticGetter() → core::int +static extension-member set Extension|instanceGetterAndStaticSetter(core::int value) → void {} +static extension-member get Extension|instanceSetterAndStaticGetter() → core::int return 0; -static method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int +static extension-member method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int return 0; -static method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.strong.transformed.expect index 48230a71bb7..d20a69e8345 100644 --- a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.strong.transformed.expect @@ -169,41 +169,41 @@ extension Extension on core::int { set instanceSetterAndStaticField = self::Extension|set#instanceSetterAndStaticField; } static field core::int Extension|duplicateStaticField = 0; -static method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} -static method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void return () → void => self::Extension|duplicateInstanceMethod(#this); -static get Extension|duplicateStaticGetter() → core::int +static extension-member get Extension|duplicateStaticGetter() → core::int return 0; -static set Extension|duplicateStaticSetter(core::int value) → void {} -static method Extension|duplicateStaticMethod() → void {} -static method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticSetter(core::int value) → void {} +static extension-member method Extension|duplicateStaticMethod() → void {} +static extension-member method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} -static get Extension|duplicateStaticGetterPlusSetter() → core::int +static extension-member method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterPlusSetter() → core::int return 0; -static set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} -static get Extension|duplicateStaticSetterPlusGetter() → core::int +static extension-member set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticSetterPlusGetter() → core::int return 0; -static set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} -static get Extension|duplicateStaticGetterAndSetter() → core::int +static extension-member set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterAndSetter() → core::int return 0; -static set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} -static method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int return 0; -static set Extension|instanceGetterAndStaticSetter(core::int value) → void {} -static get Extension|instanceSetterAndStaticGetter() → core::int +static extension-member set Extension|instanceGetterAndStaticSetter(core::int value) → void {} +static extension-member get Extension|instanceSetterAndStaticGetter() → core::int return 0; -static method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int +static extension-member method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int return 0; -static method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.expect b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.expect index 48230a71bb7..d20a69e8345 100644 --- a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.expect @@ -169,41 +169,41 @@ extension Extension on core::int { set instanceSetterAndStaticField = self::Extension|set#instanceSetterAndStaticField; } static field core::int Extension|duplicateStaticField = 0; -static method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} -static method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void return () → void => self::Extension|duplicateInstanceMethod(#this); -static get Extension|duplicateStaticGetter() → core::int +static extension-member get Extension|duplicateStaticGetter() → core::int return 0; -static set Extension|duplicateStaticSetter(core::int value) → void {} -static method Extension|duplicateStaticMethod() → void {} -static method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticSetter(core::int value) → void {} +static extension-member method Extension|duplicateStaticMethod() → void {} +static extension-member method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} -static get Extension|duplicateStaticGetterPlusSetter() → core::int +static extension-member method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterPlusSetter() → core::int return 0; -static set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} -static get Extension|duplicateStaticSetterPlusGetter() → core::int +static extension-member set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticSetterPlusGetter() → core::int return 0; -static set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} -static get Extension|duplicateStaticGetterAndSetter() → core::int +static extension-member set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterAndSetter() → core::int return 0; -static set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} -static method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int return 0; -static set Extension|instanceGetterAndStaticSetter(core::int value) → void {} -static get Extension|instanceSetterAndStaticGetter() → core::int +static extension-member set Extension|instanceGetterAndStaticSetter(core::int value) → void {} +static extension-member get Extension|instanceSetterAndStaticGetter() → core::int return 0; -static method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int +static extension-member method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int return 0; -static method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.modular.expect index 48230a71bb7..d20a69e8345 100644 --- a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.modular.expect @@ -169,41 +169,41 @@ extension Extension on core::int { set instanceSetterAndStaticField = self::Extension|set#instanceSetterAndStaticField; } static field core::int Extension|duplicateStaticField = 0; -static method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} -static method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void return () → void => self::Extension|duplicateInstanceMethod(#this); -static get Extension|duplicateStaticGetter() → core::int +static extension-member get Extension|duplicateStaticGetter() → core::int return 0; -static set Extension|duplicateStaticSetter(core::int value) → void {} -static method Extension|duplicateStaticMethod() → void {} -static method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticSetter(core::int value) → void {} +static extension-member method Extension|duplicateStaticMethod() → void {} +static extension-member method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} -static get Extension|duplicateStaticGetterPlusSetter() → core::int +static extension-member method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterPlusSetter() → core::int return 0; -static set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} -static get Extension|duplicateStaticSetterPlusGetter() → core::int +static extension-member set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticSetterPlusGetter() → core::int return 0; -static set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} -static get Extension|duplicateStaticGetterAndSetter() → core::int +static extension-member set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterAndSetter() → core::int return 0; -static set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} -static method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int return 0; -static set Extension|instanceGetterAndStaticSetter(core::int value) → void {} -static get Extension|instanceSetterAndStaticGetter() → core::int +static extension-member set Extension|instanceGetterAndStaticSetter(core::int value) → void {} +static extension-member get Extension|instanceSetterAndStaticGetter() → core::int return 0; -static method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int +static extension-member method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int return 0; -static method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.outline.expect index 1d8a06ddfeb..6e5fc9e14b1 100644 --- a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.outline.expect @@ -169,55 +169,55 @@ extension Extension on core::int { set instanceSetterAndStaticField = self::Extension|set#instanceSetterAndStaticField; } static field core::int Extension|duplicateStaticField; -static method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int ; -static method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void ; -static method Extension|duplicateInstanceMethod(lowered final core::int #this) → void +static extension-member method Extension|duplicateInstanceMethod(lowered final core::int #this) → void ; -static method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void return () → void => self::Extension|duplicateInstanceMethod(#this); -static get Extension|duplicateStaticGetter() → core::int +static extension-member get Extension|duplicateStaticGetter() → core::int ; -static set Extension|duplicateStaticSetter(core::int value) → void +static extension-member set Extension|duplicateStaticSetter(core::int value) → void ; -static method Extension|duplicateStaticMethod() → void +static extension-member method Extension|duplicateStaticMethod() → void ; -static method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int ; -static method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void ; -static method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int ; -static method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void ; -static method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int ; -static method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void ; -static get Extension|duplicateStaticGetterPlusSetter() → core::int +static extension-member get Extension|duplicateStaticGetterPlusSetter() → core::int ; -static set Extension|duplicateStaticGetterPlusSetter(core::int value) → void +static extension-member set Extension|duplicateStaticGetterPlusSetter(core::int value) → void ; -static get Extension|duplicateStaticSetterPlusGetter() → core::int +static extension-member get Extension|duplicateStaticSetterPlusGetter() → core::int ; -static set Extension|duplicateStaticSetterPlusGetter(core::int value) → void +static extension-member set Extension|duplicateStaticSetterPlusGetter(core::int value) → void ; -static get Extension|duplicateStaticGetterAndSetter() → core::int +static extension-member get Extension|duplicateStaticGetterAndSetter() → core::int ; -static set Extension|duplicateStaticGetterAndSetter(core::int value) → void +static extension-member set Extension|duplicateStaticGetterAndSetter(core::int value) → void ; -static method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int ; -static set Extension|instanceGetterAndStaticSetter(core::int value) → void +static extension-member set Extension|instanceGetterAndStaticSetter(core::int value) → void ; -static get Extension|instanceSetterAndStaticGetter() → core::int +static extension-member get Extension|instanceSetterAndStaticGetter() → core::int ; -static method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void ; -static method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int ; -static method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.transformed.expect index 48230a71bb7..d20a69e8345 100644 --- a/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_member_conflict.dart.weak.transformed.expect @@ -169,41 +169,41 @@ extension Extension on core::int { set instanceSetterAndStaticField = self::Extension|set#instanceSetterAndStaticField; } static field core::int Extension|duplicateStaticField = 0; -static method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#duplicateInstanceGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} -static method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#duplicateInstanceSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|duplicateInstanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#duplicateInstanceMethod(lowered final core::int #this) → () → void return () → void => self::Extension|duplicateInstanceMethod(#this); -static get Extension|duplicateStaticGetter() → core::int +static extension-member get Extension|duplicateStaticGetter() → core::int return 0; -static set Extension|duplicateStaticSetter(core::int value) → void {} -static method Extension|duplicateStaticMethod() → void {} -static method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticSetter(core::int value) → void {} +static extension-member method Extension|duplicateStaticMethod() → void {} +static extension-member method Extension|get#duplicateInstanceGetterPlusSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceGetterPlusSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceSetterPlusGetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int +static extension-member method Extension|set#duplicateInstanceSetterPlusGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#duplicateInstanceGetterAndSetter(lowered final core::int #this) → core::int return 0; -static method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} -static get Extension|duplicateStaticGetterPlusSetter() → core::int +static extension-member method Extension|set#duplicateInstanceGetterAndSetter(lowered final core::int #this, core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterPlusSetter() → core::int return 0; -static set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} -static get Extension|duplicateStaticSetterPlusGetter() → core::int +static extension-member set Extension|duplicateStaticGetterPlusSetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticSetterPlusGetter() → core::int return 0; -static set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} -static get Extension|duplicateStaticGetterAndSetter() → core::int +static extension-member set Extension|duplicateStaticSetterPlusGetter(core::int value) → void {} +static extension-member get Extension|duplicateStaticGetterAndSetter() → core::int return 0; -static set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} -static method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int +static extension-member set Extension|duplicateStaticGetterAndSetter(core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticSetter(lowered final core::int #this) → core::int return 0; -static set Extension|instanceGetterAndStaticSetter(core::int value) → void {} -static get Extension|instanceSetterAndStaticGetter() → core::int +static extension-member set Extension|instanceGetterAndStaticSetter(core::int value) → void {} +static extension-member get Extension|instanceSetterAndStaticGetter() → core::int return 0; -static method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} -static method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int +static extension-member method Extension|set#instanceSetterAndStaticGetter(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|get#instanceGetterAndStaticField(lowered final core::int #this) → core::int return 0; -static method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|set#instanceSetterAndStaticField(lowered final core::int #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/extension_methods.dart.strong.expect b/pkg/front_end/testcases/extensions/extension_methods.dart.strong.expect index b40ddd228a9..15ee7b086d3 100644 --- a/pkg/front_end/testcases/extensions/extension_methods.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/extension_methods.dart.strong.expect @@ -15,7 +15,7 @@ class C extends core::Object { extension E on self::C { get two = self::E|get#two; } -static method E|get#two(lowered final self::C #this) → core::int +static extension-member method E|get#two(lowered final self::C #this) → core::int return 2; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/extension_methods.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/extension_methods.dart.strong.transformed.expect index b40ddd228a9..15ee7b086d3 100644 --- a/pkg/front_end/testcases/extensions/extension_methods.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_methods.dart.strong.transformed.expect @@ -15,7 +15,7 @@ class C extends core::Object { extension E on self::C { get two = self::E|get#two; } -static method E|get#two(lowered final self::C #this) → core::int +static extension-member method E|get#two(lowered final self::C #this) → core::int return 2; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/extension_methods.dart.weak.expect b/pkg/front_end/testcases/extensions/extension_methods.dart.weak.expect index b40ddd228a9..15ee7b086d3 100644 --- a/pkg/front_end/testcases/extensions/extension_methods.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/extension_methods.dart.weak.expect @@ -15,7 +15,7 @@ class C extends core::Object { extension E on self::C { get two = self::E|get#two; } -static method E|get#two(lowered final self::C #this) → core::int +static extension-member method E|get#two(lowered final self::C #this) → core::int return 2; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/extension_methods.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/extension_methods.dart.weak.modular.expect index b40ddd228a9..15ee7b086d3 100644 --- a/pkg/front_end/testcases/extensions/extension_methods.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/extension_methods.dart.weak.modular.expect @@ -15,7 +15,7 @@ class C extends core::Object { extension E on self::C { get two = self::E|get#two; } -static method E|get#two(lowered final self::C #this) → core::int +static extension-member method E|get#two(lowered final self::C #this) → core::int return 2; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/extension_methods.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/extension_methods.dart.weak.outline.expect index c9e9fb5c7cf..27652cfe11f 100644 --- a/pkg/front_end/testcases/extensions/extension_methods.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/extension_methods.dart.weak.outline.expect @@ -13,7 +13,7 @@ class C extends core::Object { extension E on self::C { get two = self::E|get#two; } -static method E|get#two(lowered final self::C #this) → core::int +static extension-member method E|get#two(lowered final self::C #this) → core::int ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/extension_methods.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/extension_methods.dart.weak.transformed.expect index b40ddd228a9..15ee7b086d3 100644 --- a/pkg/front_end/testcases/extensions/extension_methods.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_methods.dart.weak.transformed.expect @@ -15,7 +15,7 @@ class C extends core::Object { extension E on self::C { get two = self::E|get#two; } -static method E|get#two(lowered final self::C #this) → core::int +static extension-member method E|get#two(lowered final self::C #this) → core::int return 2; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/extension_setter.dart.strong.expect b/pkg/front_end/testcases/extensions/extension_setter.dart.strong.expect index ce94c208f2b..89807c3eed7 100644 --- a/pkg/front_end/testcases/extensions/extension_setter.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/extension_setter.dart.strong.expect @@ -55,35 +55,35 @@ extension Extension on self::Class* { extension GenericExtension on self::GenericClass* { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { value = value.{core::num::+}(1){(core::num*) →* core::int*}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { if(value.{core::num::<}(0){(core::num*) →* core::bool*}) { #this.{self::Class::field} = value.{core::int::unary-}(){() →* core::int*}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic,ForLegacy} core::bool* ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) →* dynamic} as{TypeError,ForDynamic,ForLegacy} core::int*; } -static method Extension|testInternal(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class* #this) → dynamic { self::expect(null, #this.{self::Class::field}{core::int*}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int*}); @@ -109,9 +109,9 @@ static method Extension|testInternal(lowered final self::Class* #this) → dynam self::expect(4.{core::int::unary-}(){() →* core::int*}, let final core::int* #t11 = 4.{core::int::unary-}(){() →* core::int*} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int*}); } -static method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} static method main() → dynamic { self::Class* c = new self::Class::•(); self::expect(null, c.{self::Class::field}{core::int*}); diff --git a/pkg/front_end/testcases/extensions/extension_setter.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/extension_setter.dart.strong.transformed.expect index a1364b95d60..e80b88e8c52 100644 --- a/pkg/front_end/testcases/extensions/extension_setter.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_setter.dart.strong.transformed.expect @@ -55,35 +55,35 @@ extension Extension on self::Class* { extension GenericExtension on self::GenericClass* { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { value = value.{core::num::+}(1){(core::num*) →* core::int*}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { if(value.{core::num::<}(0){(core::num*) →* core::bool*}) { #this.{self::Class::field} = value.{core::int::unary-}(){() →* core::int*}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic,ForLegacy} core::bool* ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) →* dynamic} as{TypeError,ForDynamic,ForLegacy} core::int*; } -static method Extension|testInternal(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class* #this) → dynamic { self::expect(null, #this.{self::Class::field}{core::int*}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int*}); @@ -109,9 +109,9 @@ static method Extension|testInternal(lowered final self::Class* #this) → dynam self::expect(4.{core::int::unary-}(){() →* core::int*}, let final core::int* #t11 = 4.{core::int::unary-}(){() →* core::int*} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int*}); } -static method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} static method main() → dynamic { self::Class* c = new self::Class::•(); self::expect(null, c.{self::Class::field}{core::int*}); diff --git a/pkg/front_end/testcases/extensions/extension_setter.dart.weak.expect b/pkg/front_end/testcases/extensions/extension_setter.dart.weak.expect index 20cc272e296..b025a50468f 100644 --- a/pkg/front_end/testcases/extensions/extension_setter.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/extension_setter.dart.weak.expect @@ -48,35 +48,35 @@ extension Extension on self::Class* { extension GenericExtension on self::GenericClass* { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { value = value.{core::num::+}(1){(core::num*) →* core::int*}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { if(value.{core::num::<}(0){(core::num*) →* core::bool*}) { #this.{self::Class::field} = value.{core::int::unary-}(){() →* core::int*}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic,ForLegacy} core::bool* ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) →* dynamic} as{TypeError,ForDynamic,ForLegacy} core::int*; } -static method Extension|testInternal(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class* #this) → dynamic { self::expect(null, #this.{self::Class::field}{core::int*}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int*}); @@ -102,9 +102,9 @@ static method Extension|testInternal(lowered final self::Class* #this) → dynam self::expect(4.{core::int::unary-}(){() →* core::int*}, let final core::int* #t11 = 4.{core::int::unary-}(){() →* core::int*} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int*}); } -static method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} static method main() → dynamic { self::Class* c = new self::Class::•(); self::expect(null, c.{self::Class::field}{core::int*}); diff --git a/pkg/front_end/testcases/extensions/extension_setter.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/extension_setter.dart.weak.modular.expect index 20cc272e296..b025a50468f 100644 --- a/pkg/front_end/testcases/extensions/extension_setter.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/extension_setter.dart.weak.modular.expect @@ -48,35 +48,35 @@ extension Extension on self::Class* { extension GenericExtension on self::GenericClass* { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { value = value.{core::num::+}(1){(core::num*) →* core::int*}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { if(value.{core::num::<}(0){(core::num*) →* core::bool*}) { #this.{self::Class::field} = value.{core::int::unary-}(){() →* core::int*}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic,ForLegacy} core::bool* ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) →* dynamic} as{TypeError,ForDynamic,ForLegacy} core::int*; } -static method Extension|testInternal(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class* #this) → dynamic { self::expect(null, #this.{self::Class::field}{core::int*}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int*}); @@ -102,9 +102,9 @@ static method Extension|testInternal(lowered final self::Class* #this) → dynam self::expect(4.{core::int::unary-}(){() →* core::int*}, let final core::int* #t11 = 4.{core::int::unary-}(){() →* core::int*} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int*}); } -static method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} static method main() → dynamic { self::Class* c = new self::Class::•(); self::expect(null, c.{self::Class::field}{core::int*}); diff --git a/pkg/front_end/testcases/extensions/extension_setter.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/extension_setter.dart.weak.outline.expect index dc7dac8265c..15a0ad59016 100644 --- a/pkg/front_end/testcases/extensions/extension_setter.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/extension_setter.dart.weak.outline.expect @@ -46,27 +46,27 @@ extension Extension on self::Class* { extension GenericExtension on self::GenericClass* { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* ; -static method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void +static extension-member method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void ; -static method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* ; -static method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void +static extension-member method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void ; -static method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* ; -static method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void +static extension-member method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void ; -static method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* ; -static method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void +static extension-member method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void ; -static method Extension|testInternal(lowered final self::Class* #this) → dynamic +static extension-member method Extension|testInternal(lowered final self::Class* #this) → dynamic ; -static method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/extension_setter.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/extension_setter.dart.weak.transformed.expect index 8b53c0fde05..55e53ec0286 100644 --- a/pkg/front_end/testcases/extensions/extension_setter.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_setter.dart.weak.transformed.expect @@ -48,35 +48,35 @@ extension Extension on self::Class* { extension GenericExtension on self::GenericClass* { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#simpleSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#mutatingSetter(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class* #this, core::int* value) → void { value = value.{core::num::+}(1){(core::num*) →* core::int*}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithReturn(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class* #this, core::int* value) → void { if(value.{core::num::<}(0){(core::num*) →* core::bool*}) { #this.{self::Class::field} = value.{core::int::unary-}(){() →* core::int*}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#setterWithClosure(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class* #this, core::int* value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic,ForLegacy} core::bool* ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) →* dynamic} as{TypeError,ForDynamic,ForLegacy} core::int*; } -static method Extension|testInternal(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class* #this) → dynamic { self::expect(null, #this.{self::Class::field}{core::int*}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int*}); @@ -102,9 +102,9 @@ static method Extension|testInternal(lowered final self::Class* #this) → dynam self::expect(4.{core::int::unary-}(){() →* core::int*}, let final core::int* #t11 = 4.{core::int::unary-}(){() →* core::int*} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int*}); } -static method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass* #this, self::GenericExtension|set#setter::T* value) → void {} static method main() → dynamic { self::Class* c = new self::Class::•(); self::expect(null, c.{self::Class::field}{core::int*}); diff --git a/pkg/front_end/testcases/extensions/extension_setter2.dart.strong.expect b/pkg/front_end/testcases/extensions/extension_setter2.dart.strong.expect index 13deddd59eb..aba26ae15ac 100644 --- a/pkg/front_end/testcases/extensions/extension_setter2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/extension_setter2.dart.strong.expect @@ -31,40 +31,40 @@ extension Extension on self::Class { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#simpleSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field} = value; } -static method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? return #this.{self::Class::nullableField}{core::int?}; -static method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::nullableField} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { if(value.{core::num::<}(0){(core::num) → core::bool}) { #this.{self::Class::field} = value.{core::int::unary-}(){() → core::int}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic} core::bool ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) → dynamic} as{TypeError,ForDynamic} core::int; } -static method Extension|testInternal(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class #this) → dynamic { self::expect(1.{core::int::unary-}(){() → core::int}, #this.{self::Class::field}{core::int}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int}); @@ -90,9 +90,9 @@ static method Extension|testInternal(lowered final self::Class #this) → dynami self::expect(4.{core::int::unary-}(){() → core::int}, let final core::int #t11 = 4.{core::int::unary-}(){() → core::int} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int}); } -static method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} static method main() → dynamic { self::Class c = new self::Class::•(1.{core::int::unary-}(){() → core::int}); self::test(c, c); diff --git a/pkg/front_end/testcases/extensions/extension_setter2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/extension_setter2.dart.strong.transformed.expect index 285d288cb5f..53de983bd9e 100644 --- a/pkg/front_end/testcases/extensions/extension_setter2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_setter2.dart.strong.transformed.expect @@ -31,40 +31,40 @@ extension Extension on self::Class { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#simpleSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field} = value; } -static method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? return #this.{self::Class::nullableField}{core::int?}; -static method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::nullableField} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { if(value.{core::num::<}(0){(core::num) → core::bool}) { #this.{self::Class::field} = value.{core::int::unary-}(){() → core::int}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic} core::bool ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) → dynamic} as{TypeError,ForDynamic} core::int; } -static method Extension|testInternal(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class #this) → dynamic { self::expect(1.{core::int::unary-}(){() → core::int}, #this.{self::Class::field}{core::int}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int}); @@ -90,9 +90,9 @@ static method Extension|testInternal(lowered final self::Class #this) → dynami self::expect(4.{core::int::unary-}(){() → core::int}, let final core::int #t11 = 4.{core::int::unary-}(){() → core::int} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int}); } -static method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} static method main() → dynamic { self::Class c = new self::Class::•(1.{core::int::unary-}(){() → core::int}); self::test(c, c); diff --git a/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.expect b/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.expect index 13deddd59eb..aba26ae15ac 100644 --- a/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.expect @@ -31,40 +31,40 @@ extension Extension on self::Class { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#simpleSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field} = value; } -static method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? return #this.{self::Class::nullableField}{core::int?}; -static method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::nullableField} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { if(value.{core::num::<}(0){(core::num) → core::bool}) { #this.{self::Class::field} = value.{core::int::unary-}(){() → core::int}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic} core::bool ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) → dynamic} as{TypeError,ForDynamic} core::int; } -static method Extension|testInternal(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class #this) → dynamic { self::expect(1.{core::int::unary-}(){() → core::int}, #this.{self::Class::field}{core::int}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int}); @@ -90,9 +90,9 @@ static method Extension|testInternal(lowered final self::Class #this) → dynami self::expect(4.{core::int::unary-}(){() → core::int}, let final core::int #t11 = 4.{core::int::unary-}(){() → core::int} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int}); } -static method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} static method main() → dynamic { self::Class c = new self::Class::•(1.{core::int::unary-}(){() → core::int}); self::test(c, c); diff --git a/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.modular.expect index 13deddd59eb..aba26ae15ac 100644 --- a/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.modular.expect @@ -31,40 +31,40 @@ extension Extension on self::Class { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#simpleSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field} = value; } -static method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? return #this.{self::Class::nullableField}{core::int?}; -static method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::nullableField} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { if(value.{core::num::<}(0){(core::num) → core::bool}) { #this.{self::Class::field} = value.{core::int::unary-}(){() → core::int}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic} core::bool ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) → dynamic} as{TypeError,ForDynamic} core::int; } -static method Extension|testInternal(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class #this) → dynamic { self::expect(1.{core::int::unary-}(){() → core::int}, #this.{self::Class::field}{core::int}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int}); @@ -90,9 +90,9 @@ static method Extension|testInternal(lowered final self::Class #this) → dynami self::expect(4.{core::int::unary-}(){() → core::int}, let final core::int #t11 = 4.{core::int::unary-}(){() → core::int} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int}); } -static method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} static method main() → dynamic { self::Class c = new self::Class::•(1.{core::int::unary-}(){() → core::int}); self::test(c, c); diff --git a/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.outline.expect index 41af586a93f..60b462f22d1 100644 --- a/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.outline.expect @@ -29,31 +29,31 @@ extension Extension on self::Class { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#simpleSetter(lowered final self::Class #this) → core::int ; -static method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void +static extension-member method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void ; -static method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? ; -static method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void +static extension-member method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void ; -static method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int ; -static method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void +static extension-member method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void ; -static method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int ; -static method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void +static extension-member method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void ; -static method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int ; -static method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void +static extension-member method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void ; -static method Extension|testInternal(lowered final self::Class #this) → dynamic +static extension-member method Extension|testInternal(lowered final self::Class #this) → dynamic ; -static method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.transformed.expect index 285d288cb5f..53de983bd9e 100644 --- a/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/extension_setter2.dart.weak.transformed.expect @@ -31,40 +31,40 @@ extension Extension on self::Class { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method Extension|get#simpleSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#simpleSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#simpleSetter(lowered final self::Class #this, core::int value) → void { #this.{self::Class::field} = value; } -static method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#simpleNullableSetter(lowered final self::Class #this) → core::int? return #this.{self::Class::nullableField}{core::int?}; -static method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#simpleNullableSetter(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::nullableField} = value; } -static method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int +static extension-member method Extension|get#mutatingSetter(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#mutatingSetter(lowered final self::Class #this, core::int value) → void { value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class::field} = value; } -static method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithReturn(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithReturn(lowered final self::Class #this, core::int value) → void { if(value.{core::num::<}(0){(core::num) → core::bool}) { #this.{self::Class::field} = value.{core::int::unary-}(){() → core::int}; return; } #this.{self::Class::field} = value; } -static method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int +static extension-member method Extension|get#setterWithClosure(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { +static extension-member method Extension|set#setterWithClosure(lowered final self::Class #this, core::int value) → void { function abs(dynamic value) → dynamic { return value{dynamic}.<(0) as{TypeError,ForDynamic} core::bool ?{dynamic} value{dynamic}.unary-() : value; } #this.{self::Class::field} = abs(value){(dynamic) → dynamic} as{TypeError,ForDynamic} core::int; } -static method Extension|testInternal(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testInternal(lowered final self::Class #this) → dynamic { self::expect(1.{core::int::unary-}(){() → core::int}, #this.{self::Class::field}{core::int}); self::Extension|set#simpleSetter(#this, 0); self::expect(0, #this.{self::Class::field}{core::int}); @@ -90,9 +90,9 @@ static method Extension|testInternal(lowered final self::Class #this) → dynami self::expect(4.{core::int::unary-}(){() → core::int}, let final core::int #t11 = 4.{core::int::unary-}(){() → core::int} in let final void #t12 = self::Extension|set#setterWithClosure(#this, #t11) in #t11); self::expect(4, #this.{self::Class::field}{core::int}); } -static method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testInternal(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testInternal(#this); -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T% value) → void {} static method main() → dynamic { self::Class c = new self::Class::•(1.{core::int::unary-}(){() → core::int}); self::test(c, c); diff --git a/pkg/front_end/testcases/extensions/extension_setter_error.dart.strong.expect b/pkg/front_end/testcases/extensions/extension_setter_error.dart.strong.expect index 57334a71347..8f3c7f4d4f3 100644 --- a/pkg/front_end/testcases/extensions/extension_setter_error.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/extension_setter_error.dart.strong.expect @@ -18,7 +18,7 @@ class GenericClass extends core::Object { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T? value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T? value) → void {} static method main() → dynamic {} static method error() → dynamic { self::GenericClass genericClass = new self::GenericClass::•(); diff --git a/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.expect b/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.expect index 57334a71347..8f3c7f4d4f3 100644 --- a/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.expect @@ -18,7 +18,7 @@ class GenericClass extends core::Object { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T? value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T? value) → void {} static method main() → dynamic {} static method error() → dynamic { self::GenericClass genericClass = new self::GenericClass::•(); diff --git a/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.modular.expect index 57334a71347..8f3c7f4d4f3 100644 --- a/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.modular.expect @@ -18,7 +18,7 @@ class GenericClass extends core::Object { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T? value) → void {} +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T? value) → void {} static method main() → dynamic {} static method error() → dynamic { self::GenericClass genericClass = new self::GenericClass::•(); diff --git a/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.outline.expect index 5336dfc2070..296875b065c 100644 --- a/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/extension_setter_error.dart.weak.outline.expect @@ -9,7 +9,7 @@ class GenericClass extends core::Object { extension GenericExtension on self::GenericClass { set setter = self::GenericExtension|set#setter; } -static method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T? value) → void +static extension-member method GenericExtension|set#setter(lowered final self::GenericClass #this, self::GenericExtension|set#setter::T? value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/external.dart.strong.expect b/pkg/front_end/testcases/extensions/external.dart.strong.expect index a6a14f29654..ad6e46ef296 100644 --- a/pkg/front_end/testcases/extensions/external.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/external.dart.strong.expect @@ -25,28 +25,28 @@ extension Extension on core::List { set fieldSetter = self::Extension|set#fieldSetter; static set staticFieldSetter = set self::Extension|staticFieldSetter; } -external static method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; -external static method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; -external static get Extension|staticField() → core::int; -external static set Extension|staticField(core::int #externalFieldValue) → void; -external static method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; -external static get Extension|staticFinalField() → core::int; -external static method Extension|method(lowered final core::List #this) → self::Extension|method::T; -static method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T +external static extension-member method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; +external static extension-member method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; +external static extension-member get Extension|staticField() → core::int; +external static extension-member set Extension|staticField(core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; +external static extension-member get Extension|staticFinalField() → core::int; +external static extension-member method Extension|method(lowered final core::List #this) → self::Extension|method::T; +static extension-member method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T return () → self::Extension|get#method::T => self::Extension|method(#this); -external static method Extension|staticMethod() → core::int; -external static method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; -external static get Extension|staticGetter() → core::int; -external static method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; -external static set Extension|staticSetter(core::int value) → void; -external static method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; -external static method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; -external static get Extension|staticProperty() → core::int; -external static set Extension|staticProperty(core::int value) → void; -external static method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; -external static method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; -external static get Extension|staticFieldSetter() → core::int; -external static set Extension|staticFieldSetter(core::int value) → void; +external static extension-member method Extension|staticMethod() → core::int; +external static extension-member method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; +external static extension-member get Extension|staticGetter() → core::int; +external static extension-member method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; +external static extension-member set Extension|staticSetter(core::int value) → void; +external static extension-member method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; +external static extension-member method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; +external static extension-member get Extension|staticProperty() → core::int; +external static extension-member set Extension|staticProperty(core::int value) → void; +external static extension-member method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; +external static extension-member method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; +external static extension-member get Extension|staticFieldSetter() → core::int; +external static extension-member set Extension|staticFieldSetter(core::int value) → void; static method test() → dynamic { core::List list = []; core::int value = self::Extension|get#field(list); diff --git a/pkg/front_end/testcases/extensions/external.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/external.dart.strong.transformed.expect index da5be30241d..a267120e714 100644 --- a/pkg/front_end/testcases/extensions/external.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/external.dart.strong.transformed.expect @@ -25,28 +25,28 @@ extension Extension on core::List { set fieldSetter = self::Extension|set#fieldSetter; static set staticFieldSetter = set self::Extension|staticFieldSetter; } -external static method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; -external static method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; -external static get Extension|staticField() → core::int; -external static set Extension|staticField(core::int #externalFieldValue) → void; -external static method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; -external static get Extension|staticFinalField() → core::int; -external static method Extension|method(lowered final core::List #this) → self::Extension|method::T; -static method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T +external static extension-member method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; +external static extension-member method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; +external static extension-member get Extension|staticField() → core::int; +external static extension-member set Extension|staticField(core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; +external static extension-member get Extension|staticFinalField() → core::int; +external static extension-member method Extension|method(lowered final core::List #this) → self::Extension|method::T; +static extension-member method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T return () → self::Extension|get#method::T => self::Extension|method(#this); -external static method Extension|staticMethod() → core::int; -external static method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; -external static get Extension|staticGetter() → core::int; -external static method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; -external static set Extension|staticSetter(core::int value) → void; -external static method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; -external static method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; -external static get Extension|staticProperty() → core::int; -external static set Extension|staticProperty(core::int value) → void; -external static method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; -external static method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; -external static get Extension|staticFieldSetter() → core::int; -external static set Extension|staticFieldSetter(core::int value) → void; +external static extension-member method Extension|staticMethod() → core::int; +external static extension-member method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; +external static extension-member get Extension|staticGetter() → core::int; +external static extension-member method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; +external static extension-member set Extension|staticSetter(core::int value) → void; +external static extension-member method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; +external static extension-member method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; +external static extension-member get Extension|staticProperty() → core::int; +external static extension-member set Extension|staticProperty(core::int value) → void; +external static extension-member method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; +external static extension-member method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; +external static extension-member get Extension|staticFieldSetter() → core::int; +external static extension-member set Extension|staticFieldSetter(core::int value) → void; static method test() → dynamic { core::List list = core::_GrowableList::•(0); core::int value = self::Extension|get#field(list); diff --git a/pkg/front_end/testcases/extensions/external.dart.weak.expect b/pkg/front_end/testcases/extensions/external.dart.weak.expect index a6a14f29654..ad6e46ef296 100644 --- a/pkg/front_end/testcases/extensions/external.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/external.dart.weak.expect @@ -25,28 +25,28 @@ extension Extension on core::List { set fieldSetter = self::Extension|set#fieldSetter; static set staticFieldSetter = set self::Extension|staticFieldSetter; } -external static method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; -external static method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; -external static get Extension|staticField() → core::int; -external static set Extension|staticField(core::int #externalFieldValue) → void; -external static method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; -external static get Extension|staticFinalField() → core::int; -external static method Extension|method(lowered final core::List #this) → self::Extension|method::T; -static method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T +external static extension-member method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; +external static extension-member method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; +external static extension-member get Extension|staticField() → core::int; +external static extension-member set Extension|staticField(core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; +external static extension-member get Extension|staticFinalField() → core::int; +external static extension-member method Extension|method(lowered final core::List #this) → self::Extension|method::T; +static extension-member method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T return () → self::Extension|get#method::T => self::Extension|method(#this); -external static method Extension|staticMethod() → core::int; -external static method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; -external static get Extension|staticGetter() → core::int; -external static method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; -external static set Extension|staticSetter(core::int value) → void; -external static method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; -external static method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; -external static get Extension|staticProperty() → core::int; -external static set Extension|staticProperty(core::int value) → void; -external static method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; -external static method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; -external static get Extension|staticFieldSetter() → core::int; -external static set Extension|staticFieldSetter(core::int value) → void; +external static extension-member method Extension|staticMethod() → core::int; +external static extension-member method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; +external static extension-member get Extension|staticGetter() → core::int; +external static extension-member method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; +external static extension-member set Extension|staticSetter(core::int value) → void; +external static extension-member method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; +external static extension-member method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; +external static extension-member get Extension|staticProperty() → core::int; +external static extension-member set Extension|staticProperty(core::int value) → void; +external static extension-member method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; +external static extension-member method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; +external static extension-member get Extension|staticFieldSetter() → core::int; +external static extension-member set Extension|staticFieldSetter(core::int value) → void; static method test() → dynamic { core::List list = []; core::int value = self::Extension|get#field(list); diff --git a/pkg/front_end/testcases/extensions/external.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/external.dart.weak.modular.expect index a6a14f29654..ad6e46ef296 100644 --- a/pkg/front_end/testcases/extensions/external.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/external.dart.weak.modular.expect @@ -25,28 +25,28 @@ extension Extension on core::List { set fieldSetter = self::Extension|set#fieldSetter; static set staticFieldSetter = set self::Extension|staticFieldSetter; } -external static method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; -external static method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; -external static get Extension|staticField() → core::int; -external static set Extension|staticField(core::int #externalFieldValue) → void; -external static method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; -external static get Extension|staticFinalField() → core::int; -external static method Extension|method(lowered final core::List #this) → self::Extension|method::T; -static method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T +external static extension-member method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; +external static extension-member method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; +external static extension-member get Extension|staticField() → core::int; +external static extension-member set Extension|staticField(core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; +external static extension-member get Extension|staticFinalField() → core::int; +external static extension-member method Extension|method(lowered final core::List #this) → self::Extension|method::T; +static extension-member method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T return () → self::Extension|get#method::T => self::Extension|method(#this); -external static method Extension|staticMethod() → core::int; -external static method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; -external static get Extension|staticGetter() → core::int; -external static method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; -external static set Extension|staticSetter(core::int value) → void; -external static method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; -external static method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; -external static get Extension|staticProperty() → core::int; -external static set Extension|staticProperty(core::int value) → void; -external static method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; -external static method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; -external static get Extension|staticFieldSetter() → core::int; -external static set Extension|staticFieldSetter(core::int value) → void; +external static extension-member method Extension|staticMethod() → core::int; +external static extension-member method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; +external static extension-member get Extension|staticGetter() → core::int; +external static extension-member method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; +external static extension-member set Extension|staticSetter(core::int value) → void; +external static extension-member method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; +external static extension-member method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; +external static extension-member get Extension|staticProperty() → core::int; +external static extension-member set Extension|staticProperty(core::int value) → void; +external static extension-member method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; +external static extension-member method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; +external static extension-member get Extension|staticFieldSetter() → core::int; +external static extension-member set Extension|staticFieldSetter(core::int value) → void; static method test() → dynamic { core::List list = []; core::int value = self::Extension|get#field(list); diff --git a/pkg/front_end/testcases/extensions/external.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/external.dart.weak.outline.expect index 15a103295dc..66b3193d4bd 100644 --- a/pkg/front_end/testcases/extensions/external.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/external.dart.weak.outline.expect @@ -25,28 +25,28 @@ extension Extension on core::List { set fieldSetter = self::Extension|set#fieldSetter; static set staticFieldSetter = set self::Extension|staticFieldSetter; } -external static method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; -external static method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; -external static get Extension|staticField() → core::int; -external static set Extension|staticField(core::int #externalFieldValue) → void; -external static method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; -external static get Extension|staticFinalField() → core::int; -external static method Extension|method(lowered final core::List #this) → self::Extension|method::T; -static method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T +external static extension-member method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; +external static extension-member method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; +external static extension-member get Extension|staticField() → core::int; +external static extension-member set Extension|staticField(core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; +external static extension-member get Extension|staticFinalField() → core::int; +external static extension-member method Extension|method(lowered final core::List #this) → self::Extension|method::T; +static extension-member method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T return () → self::Extension|get#method::T => self::Extension|method(#this); -external static method Extension|staticMethod() → core::int; -external static method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; -external static get Extension|staticGetter() → core::int; -external static method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; -external static set Extension|staticSetter(core::int value) → void; -external static method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; -external static method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; -external static get Extension|staticProperty() → core::int; -external static set Extension|staticProperty(core::int value) → void; -external static method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; -external static method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; -external static get Extension|staticFieldSetter() → core::int; -external static set Extension|staticFieldSetter(core::int value) → void; +external static extension-member method Extension|staticMethod() → core::int; +external static extension-member method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; +external static extension-member get Extension|staticGetter() → core::int; +external static extension-member method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; +external static extension-member set Extension|staticSetter(core::int value) → void; +external static extension-member method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; +external static extension-member method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; +external static extension-member get Extension|staticProperty() → core::int; +external static extension-member set Extension|staticProperty(core::int value) → void; +external static extension-member method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; +external static extension-member method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; +external static extension-member get Extension|staticFieldSetter() → core::int; +external static extension-member set Extension|staticFieldSetter(core::int value) → void; static method test() → dynamic ; static method main() → dynamic diff --git a/pkg/front_end/testcases/extensions/external.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/external.dart.weak.transformed.expect index da5be30241d..a267120e714 100644 --- a/pkg/front_end/testcases/extensions/external.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/external.dart.weak.transformed.expect @@ -25,28 +25,28 @@ extension Extension on core::List { set fieldSetter = self::Extension|set#fieldSetter; static set staticFieldSetter = set self::Extension|staticFieldSetter; } -external static method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; -external static method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; -external static get Extension|staticField() → core::int; -external static set Extension|staticField(core::int #externalFieldValue) → void; -external static method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; -external static get Extension|staticFinalField() → core::int; -external static method Extension|method(lowered final core::List #this) → self::Extension|method::T; -static method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T +external static extension-member method Extension|get#field(lowered core::List #this) → self::Extension|get#field::T; +external static extension-member method Extension|set#field(lowered core::List #this, self::Extension|set#field::T #externalFieldValue) → void; +external static extension-member get Extension|staticField() → core::int; +external static extension-member set Extension|staticField(core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalField(lowered core::List #this) → self::Extension|get#finalField::T; +external static extension-member get Extension|staticFinalField() → core::int; +external static extension-member method Extension|method(lowered final core::List #this) → self::Extension|method::T; +static extension-member method Extension|get#method(lowered final core::List #this) → () → self::Extension|get#method::T return () → self::Extension|get#method::T => self::Extension|method(#this); -external static method Extension|staticMethod() → core::int; -external static method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; -external static get Extension|staticGetter() → core::int; -external static method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; -external static set Extension|staticSetter(core::int value) → void; -external static method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; -external static method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; -external static get Extension|staticProperty() → core::int; -external static set Extension|staticProperty(core::int value) → void; -external static method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; -external static method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; -external static get Extension|staticFieldSetter() → core::int; -external static set Extension|staticFieldSetter(core::int value) → void; +external static extension-member method Extension|staticMethod() → core::int; +external static extension-member method Extension|get#getter(lowered final core::List #this) → self::Extension|get#getter::T; +external static extension-member get Extension|staticGetter() → core::int; +external static extension-member method Extension|set#setter(lowered final core::List #this, self::Extension|set#setter::T value) → void; +external static extension-member set Extension|staticSetter(core::int value) → void; +external static extension-member method Extension|get#property(lowered final core::List #this) → self::Extension|get#property::T; +external static extension-member method Extension|set#property(lowered final core::List #this, self::Extension|set#property::T value) → void; +external static extension-member get Extension|staticProperty() → core::int; +external static extension-member set Extension|staticProperty(core::int value) → void; +external static extension-member method Extension|get#fieldSetter(lowered core::List #this) → self::Extension|get#fieldSetter::T; +external static extension-member method Extension|set#fieldSetter(lowered final core::List #this, self::Extension|set#fieldSetter::T value) → void; +external static extension-member get Extension|staticFieldSetter() → core::int; +external static extension-member set Extension|staticFieldSetter(core::int value) → void; static method test() → dynamic { core::List list = core::_GrowableList::•(0); core::int value = self::Extension|get#field(list); diff --git a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.strong.expect b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.strong.expect index 0151ae65ad3..5b466ade1c6 100644 --- a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.strong.expect @@ -11,9 +11,9 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? +static extension-member method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? return null; -static method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? +static extension-member method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? return (self::Extension|get#method::T% t) → R? => self::Extension|method(#this, t); static method main() → dynamic { let final dynamic #t1 = self::Extension|method(new self::Class::•(), 0) in #t1 == null ?{core::String?} null : #t1.{core::Object::toString}(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.strong.transformed.expect index 0151ae65ad3..5b466ade1c6 100644 --- a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.strong.transformed.expect @@ -11,9 +11,9 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? +static extension-member method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? return null; -static method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? +static extension-member method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? return (self::Extension|get#method::T% t) → R? => self::Extension|method(#this, t); static method main() → dynamic { let final dynamic #t1 = self::Extension|method(new self::Class::•(), 0) in #t1 == null ?{core::String?} null : #t1.{core::Object::toString}(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.expect b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.expect index 0151ae65ad3..5b466ade1c6 100644 --- a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.expect @@ -11,9 +11,9 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? +static extension-member method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? return null; -static method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? +static extension-member method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? return (self::Extension|get#method::T% t) → R? => self::Extension|method(#this, t); static method main() → dynamic { let final dynamic #t1 = self::Extension|method(new self::Class::•(), 0) in #t1 == null ?{core::String?} null : #t1.{core::Object::toString}(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.modular.expect index 0151ae65ad3..5b466ade1c6 100644 --- a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.modular.expect @@ -11,9 +11,9 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? +static extension-member method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? return null; -static method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? +static extension-member method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? return (self::Extension|get#method::T% t) → R? => self::Extension|method(#this, t); static method main() → dynamic { let final dynamic #t1 = self::Extension|method(new self::Class::•(), 0) in #t1 == null ?{core::String?} null : #t1.{core::Object::toString}(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.outline.expect index 48a5c1285dc..765d10d2145 100644 --- a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.outline.expect @@ -10,9 +10,9 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? +static extension-member method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? ; -static method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? +static extension-member method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? return (self::Extension|get#method::T% t) → R? => self::Extension|method(#this, t); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.transformed.expect index 0151ae65ad3..5b466ade1c6 100644 --- a/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/generic_function_in_generic_extension.dart.weak.transformed.expect @@ -11,9 +11,9 @@ extension Extension on self::Class { method method = self::Extension|method; tearoff method = self::Extension|get#method; } -static method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? +static extension-member method Extension|method(lowered final self::Class #this, self::Extension|method::T% t) → self::Extension|method::R? return null; -static method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? +static extension-member method Extension|get#method(lowered final self::Class #this) → (self::Extension|get#method::T%) → R? return (self::Extension|get#method::T% t) → R? => self::Extension|method(#this, t); static method main() → dynamic { let final dynamic #t1 = self::Extension|method(new self::Class::•(), 0) in #t1 == null ?{core::String?} null : #t1.{core::Object::toString}(){() → core::String}; diff --git a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.strong.expect b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.strong.expect index 4336683bc0d..7c8b19a85dc 100644 --- a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.strong.expect @@ -83,15 +83,15 @@ extension Extension1 on self::Class { get m3 = self::Extension1|get#m3; set m4 = self::Extension1|set#m4; } -static method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m2(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m2(lowered final self::Class #this) → core::int return 0; -static method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m4(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m4(lowered final self::Class #this) → core::int return 0; -static method Extension1|get#m3(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#m3(lowered final self::Class #this) → core::int return 0; -static method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} static method main() → dynamic { self::Class c = new self::Class::•(); self::expect(0, c.{self::Class::m1}{core::int}); diff --git a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.strong.transformed.expect index 4336683bc0d..7c8b19a85dc 100644 --- a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.strong.transformed.expect @@ -83,15 +83,15 @@ extension Extension1 on self::Class { get m3 = self::Extension1|get#m3; set m4 = self::Extension1|set#m4; } -static method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m2(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m2(lowered final self::Class #this) → core::int return 0; -static method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m4(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m4(lowered final self::Class #this) → core::int return 0; -static method Extension1|get#m3(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#m3(lowered final self::Class #this) → core::int return 0; -static method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} static method main() → dynamic { self::Class c = new self::Class::•(); self::expect(0, c.{self::Class::m1}{core::int}); diff --git a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.expect b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.expect index 4336683bc0d..7c8b19a85dc 100644 --- a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.expect @@ -83,15 +83,15 @@ extension Extension1 on self::Class { get m3 = self::Extension1|get#m3; set m4 = self::Extension1|set#m4; } -static method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m2(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m2(lowered final self::Class #this) → core::int return 0; -static method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m4(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m4(lowered final self::Class #this) → core::int return 0; -static method Extension1|get#m3(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#m3(lowered final self::Class #this) → core::int return 0; -static method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} static method main() → dynamic { self::Class c = new self::Class::•(); self::expect(0, c.{self::Class::m1}{core::int}); diff --git a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.modular.expect index 4336683bc0d..7c8b19a85dc 100644 --- a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.modular.expect @@ -83,15 +83,15 @@ extension Extension1 on self::Class { get m3 = self::Extension1|get#m3; set m4 = self::Extension1|set#m4; } -static method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m2(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m2(lowered final self::Class #this) → core::int return 0; -static method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m4(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m4(lowered final self::Class #this) → core::int return 0; -static method Extension1|get#m3(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#m3(lowered final self::Class #this) → core::int return 0; -static method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} static method main() → dynamic { self::Class c = new self::Class::•(); self::expect(0, c.{self::Class::m1}{core::int}); diff --git a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.outline.expect index 968cc84ffd1..b1aeb78bd87 100644 --- a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.outline.expect @@ -20,17 +20,17 @@ extension Extension1 on self::Class { get m3 = self::Extension1|get#m3; set m4 = self::Extension1|set#m4; } -static method Extension0|set#m1(lowered final self::Class #this, core::int x) → void +static extension-member method Extension0|set#m1(lowered final self::Class #this, core::int x) → void ; -static method Extension0|get#m2(lowered final self::Class #this) → core::int +static extension-member method Extension0|get#m2(lowered final self::Class #this) → core::int ; -static method Extension0|set#m3(lowered final self::Class #this, core::int x) → void +static extension-member method Extension0|set#m3(lowered final self::Class #this, core::int x) → void ; -static method Extension0|get#m4(lowered final self::Class #this) → core::int +static extension-member method Extension0|get#m4(lowered final self::Class #this) → core::int ; -static method Extension1|get#m3(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#m3(lowered final self::Class #this) → core::int ; -static method Extension1|set#m4(lowered final self::Class #this, core::int x) → void +static extension-member method Extension1|set#m4(lowered final self::Class #this, core::int x) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.transformed.expect index 4336683bc0d..7c8b19a85dc 100644 --- a/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/getter_setter_conflict.dart.weak.transformed.expect @@ -83,15 +83,15 @@ extension Extension1 on self::Class { get m3 = self::Extension1|get#m3; set m4 = self::Extension1|set#m4; } -static method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m2(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m1(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m2(lowered final self::Class #this) → core::int return 0; -static method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} -static method Extension0|get#m4(lowered final self::Class #this) → core::int +static extension-member method Extension0|set#m3(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension0|get#m4(lowered final self::Class #this) → core::int return 0; -static method Extension1|get#m3(lowered final self::Class #this) → core::int +static extension-member method Extension1|get#m3(lowered final self::Class #this) → core::int return 0; -static method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} +static extension-member method Extension1|set#m4(lowered final self::Class #this, core::int x) → void {} static method main() → dynamic { self::Class c = new self::Class::•(); self::expect(0, c.{self::Class::m1}{core::int}); diff --git a/pkg/front_end/testcases/extensions/if_null.dart.strong.expect b/pkg/front_end/testcases/extensions/if_null.dart.strong.expect index f08ffb9e70e..e15b41e3f44 100644 --- a/pkg/front_end/testcases/extensions/if_null.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/if_null.dart.strong.expect @@ -31,14 +31,14 @@ extension Extension on self::Class* { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/if_null.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/if_null.dart.strong.transformed.expect index c8bff805062..86d3470d06e 100644 --- a/pkg/front_end/testcases/extensions/if_null.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/if_null.dart.strong.transformed.expect @@ -31,14 +31,14 @@ extension Extension on self::Class* { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/if_null.dart.weak.expect b/pkg/front_end/testcases/extensions/if_null.dart.weak.expect index ccecac56304..a6460a7a033 100644 --- a/pkg/front_end/testcases/extensions/if_null.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/if_null.dart.weak.expect @@ -24,14 +24,14 @@ extension Extension on self::Class* { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/if_null.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/if_null.dart.weak.modular.expect index ccecac56304..a6460a7a033 100644 --- a/pkg/front_end/testcases/extensions/if_null.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/if_null.dart.weak.modular.expect @@ -24,14 +24,14 @@ extension Extension on self::Class* { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/if_null.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/if_null.dart.weak.outline.expect index fc8cfa1ad7a..7c8caa417b6 100644 --- a/pkg/front_end/testcases/extensions/if_null.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/if_null.dart.weak.outline.expect @@ -23,13 +23,13 @@ extension Extension on self::Class* { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* ; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void ; -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* ; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/if_null.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/if_null.dart.weak.transformed.expect index 4df63e443e7..3c80b93032d 100644 --- a/pkg/front_end/testcases/extensions/if_null.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/if_null.dart.weak.transformed.expect @@ -24,14 +24,14 @@ extension Extension on self::Class* { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/if_null2.dart.strong.expect b/pkg/front_end/testcases/extensions/if_null2.dart.strong.expect index 36f5d1a0f19..9cf3759dcaf 100644 --- a/pkg/front_end/testcases/extensions/if_null2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/if_null2.dart.strong.expect @@ -15,16 +15,16 @@ extension Extension on self::Class { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = let final core::int? #t1 = value in #t1 == null ?{core::int} 0 : #t1{core::int}; } -static method Extension|method(lowered final self::Class #this) → core::int +static extension-member method Extension|method(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { self::test(null); diff --git a/pkg/front_end/testcases/extensions/if_null2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/if_null2.dart.strong.transformed.expect index f1f10851c4c..ca1d9cc5234 100644 --- a/pkg/front_end/testcases/extensions/if_null2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/if_null2.dart.strong.transformed.expect @@ -15,16 +15,16 @@ extension Extension on self::Class { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = let final core::int? #t1 = value in #t1 == null ?{core::int} 0 : #t1{core::int}; } -static method Extension|method(lowered final self::Class #this) → core::int +static extension-member method Extension|method(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { self::test(null); diff --git a/pkg/front_end/testcases/extensions/if_null2.dart.weak.expect b/pkg/front_end/testcases/extensions/if_null2.dart.weak.expect index 36f5d1a0f19..9cf3759dcaf 100644 --- a/pkg/front_end/testcases/extensions/if_null2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/if_null2.dart.weak.expect @@ -15,16 +15,16 @@ extension Extension on self::Class { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = let final core::int? #t1 = value in #t1 == null ?{core::int} 0 : #t1{core::int}; } -static method Extension|method(lowered final self::Class #this) → core::int +static extension-member method Extension|method(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { self::test(null); diff --git a/pkg/front_end/testcases/extensions/if_null2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/if_null2.dart.weak.modular.expect index 36f5d1a0f19..9cf3759dcaf 100644 --- a/pkg/front_end/testcases/extensions/if_null2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/if_null2.dart.weak.modular.expect @@ -15,16 +15,16 @@ extension Extension on self::Class { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = let final core::int? #t1 = value in #t1 == null ?{core::int} 0 : #t1{core::int}; } -static method Extension|method(lowered final self::Class #this) → core::int +static extension-member method Extension|method(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { self::test(null); diff --git a/pkg/front_end/testcases/extensions/if_null2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/if_null2.dart.weak.outline.expect index 85dfe942ae5..9cf102b7bd2 100644 --- a/pkg/front_end/testcases/extensions/if_null2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/if_null2.dart.weak.outline.expect @@ -14,15 +14,15 @@ extension Extension on self::Class { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int ; -static method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? ; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void ; -static method Extension|method(lowered final self::Class #this) → core::int +static extension-member method Extension|method(lowered final self::Class #this) → core::int ; -static method Extension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/if_null2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/if_null2.dart.weak.transformed.expect index f1f10851c4c..ca1d9cc5234 100644 --- a/pkg/front_end/testcases/extensions/if_null2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/if_null2.dart.weak.transformed.expect @@ -15,16 +15,16 @@ extension Extension on self::Class { tearoff method = self::Extension|get#method; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#nullableProperty(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = let final core::int? #t1 = value in #t1 == null ?{core::int} 0 : #t1{core::int}; } -static method Extension|method(lowered final self::Class #this) → core::int +static extension-member method Extension|method(lowered final self::Class #this) → core::int return #this.{self::Class::field}{core::int}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|method(#this); static method main() → dynamic { self::test(null); diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.strong.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.strong.expect index 6159921a1fb..f7bbc6a1c34 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.strong.expect @@ -56,15 +56,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.strong.transformed.expect index 6159921a1fb..f7bbc6a1c34 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.strong.transformed.expect @@ -56,15 +56,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.expect index b8378e76fbb..3f5c0a73bcf 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.expect @@ -49,15 +49,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.modular.expect index b8378e76fbb..3f5c0a73bcf 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.modular.expect @@ -49,15 +49,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.outline.expect index b53122528b9..3a09b93f10e 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.outline.expect @@ -45,15 +45,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* ; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* ; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* ; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.transformed.expect index b8378e76fbb..3f5c0a73bcf 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference.dart.weak.transformed.expect @@ -49,15 +49,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* +static extension-member method GenericExtension|get#property(lowered final self::GenericClass* #this) → self::GenericExtension|get#property::T* return null; -static method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* +static extension-member method GenericExtension|method(lowered final self::GenericClass* #this, self::GenericExtension|method::T* t) → self::GenericExtension|method::T* return null; -static method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* +static extension-member method GenericExtension|get#method(lowered final self::GenericClass* #this) → (self::GenericExtension|get#method::T*) →* self::GenericExtension|get#method::T* return (self::GenericExtension|get#method::T* t) → self::GenericExtension|get#method::T* => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass* #this, self::GenericExtension|genericMethod1::S* s) → self::GenericExtension|genericMethod1::S* return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass* #this) → (S*) →* S* return (S* s) → S* => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A* aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.strong.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.strong.expect index 35cfe2738f2..e5604fae6a6 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.strong.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.strong.transformed.expect index 35cfe2738f2..e5604fae6a6 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.strong.transformed.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.expect index 35cfe2738f2..e5604fae6a6 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.modular.expect index 35cfe2738f2..e5604fae6a6 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.modular.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.outline.expect index ffb90445abd..7a1fc02de62 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.outline.expect @@ -25,15 +25,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? ; -static method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? ; -static method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? ; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.transformed.expect index 35cfe2738f2..e5604fae6a6 100644 --- a/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/implicit_extension_inference2.dart.weak.transformed.expect @@ -29,15 +29,15 @@ extension GenericExtension on self::GenericCl method genericMethod1 = self::GenericExtension|genericMethod1; tearoff genericMethod1 = self::GenericExtension|get#genericMethod1; } -static method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? +static extension-member method GenericExtension|get#property(lowered final self::GenericClass #this) → self::GenericExtension|get#property::T? return null; -static method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? +static extension-member method GenericExtension|method(lowered final self::GenericClass #this, self::GenericExtension|method::T? t) → self::GenericExtension|method::T? return null; -static method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → (self::GenericExtension|get#method::T?) → self::GenericExtension|get#method::T? return (self::GenericExtension|get#method::T? t) → self::GenericExtension|get#method::T? => self::GenericExtension|method(#this, t); -static method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? +static extension-member method GenericExtension|genericMethod1(lowered final self::GenericClass #this, self::GenericExtension|genericMethod1::S? s) → self::GenericExtension|genericMethod1::S? return null; -static method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? +static extension-member method GenericExtension|get#genericMethod1(lowered final self::GenericClass #this) → (S?) → S? return (S? s) → S? => self::GenericExtension|genericMethod1(#this, s); static method main() → dynamic { self::A? aVariable; diff --git a/pkg/front_end/testcases/extensions/implicit_this.dart.strong.expect b/pkg/front_end/testcases/extensions/implicit_this.dart.strong.expect index 798984540e8..22d60e32ab9 100644 --- a/pkg/front_end/testcases/extensions/implicit_this.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/implicit_this.dart.strong.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object? o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object? o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void return (core::Object? o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/implicit_this.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/implicit_this.dart.strong.transformed.expect index 798984540e8..22d60e32ab9 100644 --- a/pkg/front_end/testcases/extensions/implicit_this.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/implicit_this.dart.strong.transformed.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object? o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object? o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void return (core::Object? o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/implicit_this.dart.weak.expect b/pkg/front_end/testcases/extensions/implicit_this.dart.weak.expect index 798984540e8..22d60e32ab9 100644 --- a/pkg/front_end/testcases/extensions/implicit_this.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/implicit_this.dart.weak.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object? o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object? o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void return (core::Object? o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/implicit_this.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/implicit_this.dart.weak.modular.expect index 798984540e8..22d60e32ab9 100644 --- a/pkg/front_end/testcases/extensions/implicit_this.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/implicit_this.dart.weak.modular.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object? o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object? o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void return (core::Object? o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/implicit_this.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/implicit_this.dart.weak.outline.expect index 6f4ffc4f0a6..f03cebe2db9 100644 --- a/pkg/front_end/testcases/extensions/implicit_this.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/implicit_this.dart.weak.outline.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void ; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? ; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object? o) → void +static extension-member method A2|method4(lowered final self::A1 #this, core::Object? o) → void ; -static method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void return (core::Object? o) → void => self::A2|method4(#this, o); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/implicit_this.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/implicit_this.dart.weak.transformed.expect index 798984540e8..22d60e32ab9 100644 --- a/pkg/front_end/testcases/extensions/implicit_this.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/implicit_this.dart.weak.transformed.expect @@ -17,17 +17,17 @@ extension A2 on self::A1 { method method4 = self::A2|method4; tearoff method4 = self::A2|get#method4; } -static method A2|method2(lowered final self::A1 #this) → void +static extension-member method A2|method2(lowered final self::A1 #this) → void return #this.{self::A1::method1}(){() → void}; -static method A2|get#method2(lowered final self::A1 #this) → () → void +static extension-member method A2|get#method2(lowered final self::A1 #this) → () → void return () → void => self::A2|method2(#this); -static method A2|method3(lowered final self::A1 #this) → core::Object? +static extension-member method A2|method3(lowered final self::A1 #this) → core::Object? return #this.{self::A1::field}{core::Object?}; -static method A2|get#method3(lowered final self::A1 #this) → () → core::Object? +static extension-member method A2|get#method3(lowered final self::A1 #this) → () → core::Object? return () → core::Object? => self::A2|method3(#this); -static method A2|method4(lowered final self::A1 #this, core::Object? o) → void { +static extension-member method A2|method4(lowered final self::A1 #this, core::Object? o) → void { #this.{self::A1::field} = o; } -static method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void +static extension-member method A2|get#method4(lowered final self::A1 #this) → (core::Object?) → void return (core::Object? o) → void => self::A2|method4(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.strong.expect b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.strong.expect index 24d1de8d3d6..9d48598381f 100644 --- a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.strong.expect @@ -35,16 +35,16 @@ extension Extension on core::int { static field core::int Extension|staticField = 42; static final field core::int Extension|staticFinalField = 42; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int return 42; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} -static method Extension|instanceMethod(lowered final core::int #this) → void {} -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => mai::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return 42; -static set Extension|staticProperty(core::int value) → void {} -static method Extension|staticMethod() → void {} +static extension-member set Extension|staticProperty(core::int value) → void {} +static extension-member method Extension|staticMethod() → void {} constants { #C1 = 42 diff --git a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.strong.transformed.expect index 24d1de8d3d6..9d48598381f 100644 --- a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.strong.transformed.expect @@ -35,16 +35,16 @@ extension Extension on core::int { static field core::int Extension|staticField = 42; static final field core::int Extension|staticFinalField = 42; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int return 42; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} -static method Extension|instanceMethod(lowered final core::int #this) → void {} -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => mai::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return 42; -static set Extension|staticProperty(core::int value) → void {} -static method Extension|staticMethod() → void {} +static extension-member set Extension|staticProperty(core::int value) → void {} +static extension-member method Extension|staticMethod() → void {} constants { #C1 = 42 diff --git a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.expect b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.expect index 24d1de8d3d6..9d48598381f 100644 --- a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.expect @@ -35,16 +35,16 @@ extension Extension on core::int { static field core::int Extension|staticField = 42; static final field core::int Extension|staticFinalField = 42; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int return 42; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} -static method Extension|instanceMethod(lowered final core::int #this) → void {} -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => mai::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return 42; -static set Extension|staticProperty(core::int value) → void {} -static method Extension|staticMethod() → void {} +static extension-member set Extension|staticProperty(core::int value) → void {} +static extension-member method Extension|staticMethod() → void {} constants { #C1 = 42 diff --git a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.outline.expect index 9cd4185663b..98f5f36b5e2 100644 --- a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.outline.expect @@ -25,19 +25,19 @@ extension Extension on core::int { static field core::int Extension|staticField; static final field core::int Extension|staticFinalField; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int ; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void ; -static method Extension|instanceMethod(lowered final core::int #this) → void +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void ; -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => self2::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int ; -static set Extension|staticProperty(core::int value) → void +static extension-member set Extension|staticProperty(core::int value) → void ; -static method Extension|staticMethod() → void +static extension-member method Extension|staticMethod() → void ; constants { diff --git a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.transformed.expect index 24d1de8d3d6..9d48598381f 100644 --- a/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/import_from_dill/main.dart.weak.transformed.expect @@ -35,16 +35,16 @@ extension Extension on core::int { static field core::int Extension|staticField = 42; static final field core::int Extension|staticFinalField = 42; static const field core::int Extension|staticConstField = #C1; -static method Extension|get#instanceProperty(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceProperty(lowered final core::int #this) → core::int return 42; -static method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} -static method Extension|instanceMethod(lowered final core::int #this) → void {} -static method Extension|get#instanceMethod(lowered final core::int #this) → () → void +static extension-member method Extension|set#instanceProperty(lowered final core::int #this, core::int value) → void {} +static extension-member method Extension|instanceMethod(lowered final core::int #this) → void {} +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → void return () → void => mai::Extension|instanceMethod(#this); -static get Extension|staticProperty() → core::int +static extension-member get Extension|staticProperty() → core::int return 42; -static set Extension|staticProperty(core::int value) → void {} -static method Extension|staticMethod() → void {} +static extension-member set Extension|staticProperty(core::int value) → void {} +static extension-member method Extension|staticMethod() → void {} constants { #C1 = 42 diff --git a/pkg/front_end/testcases/extensions/import_via_prefix.dart.strong.expect b/pkg/front_end/testcases/extensions/import_via_prefix.dart.strong.expect index 160a405829c..7d841c489da 100644 --- a/pkg/front_end/testcases/extensions/import_via_prefix.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/import_via_prefix.dart.strong.expect @@ -21,7 +21,7 @@ extension Extension on core::String { method method = imp::Extension|method; tearoff method = imp::Extension|get#method; } -static method Extension|method(lowered final core::String #this) → core::int +static extension-member method Extension|method(lowered final core::String #this) → core::int return #this.{core::String::length}{core::int}; -static method Extension|get#method(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::String #this) → () → core::int return () → core::int => imp::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/import_via_prefix.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/import_via_prefix.dart.strong.transformed.expect index 160a405829c..7d841c489da 100644 --- a/pkg/front_end/testcases/extensions/import_via_prefix.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/import_via_prefix.dart.strong.transformed.expect @@ -21,7 +21,7 @@ extension Extension on core::String { method method = imp::Extension|method; tearoff method = imp::Extension|get#method; } -static method Extension|method(lowered final core::String #this) → core::int +static extension-member method Extension|method(lowered final core::String #this) → core::int return #this.{core::String::length}{core::int}; -static method Extension|get#method(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::String #this) → () → core::int return () → core::int => imp::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.expect b/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.expect index 160a405829c..7d841c489da 100644 --- a/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.expect @@ -21,7 +21,7 @@ extension Extension on core::String { method method = imp::Extension|method; tearoff method = imp::Extension|get#method; } -static method Extension|method(lowered final core::String #this) → core::int +static extension-member method Extension|method(lowered final core::String #this) → core::int return #this.{core::String::length}{core::int}; -static method Extension|get#method(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::String #this) → () → core::int return () → core::int => imp::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.modular.expect index 160a405829c..7d841c489da 100644 --- a/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.modular.expect @@ -21,7 +21,7 @@ extension Extension on core::String { method method = imp::Extension|method; tearoff method = imp::Extension|get#method; } -static method Extension|method(lowered final core::String #this) → core::int +static extension-member method Extension|method(lowered final core::String #this) → core::int return #this.{core::String::length}{core::int}; -static method Extension|get#method(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::String #this) → () → core::int return () → core::int => imp::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.outline.expect index 5636a62e0b2..32baffda533 100644 --- a/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.outline.expect @@ -16,7 +16,7 @@ extension Extension on core::String { method method = self2::Extension|method; tearoff method = self2::Extension|get#method; } -static method Extension|method(lowered final core::String #this) → core::int +static extension-member method Extension|method(lowered final core::String #this) → core::int ; -static method Extension|get#method(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::String #this) → () → core::int return () → core::int => self2::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.transformed.expect index 160a405829c..7d841c489da 100644 --- a/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/import_via_prefix.dart.weak.transformed.expect @@ -21,7 +21,7 @@ extension Extension on core::String { method method = imp::Extension|method; tearoff method = imp::Extension|get#method; } -static method Extension|method(lowered final core::String #this) → core::int +static extension-member method Extension|method(lowered final core::String #this) → core::int return #this.{core::String::length}{core::int}; -static method Extension|get#method(lowered final core::String #this) → () → core::int +static extension-member method Extension|get#method(lowered final core::String #this) → () → core::int return () → core::int => imp::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/index.dart.strong.expect b/pkg/front_end/testcases/extensions/index.dart.strong.expect index 68ff9838f8a..62b823f23bc 100644 --- a/pkg/front_end/testcases/extensions/index.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/index.dart.strong.expect @@ -33,9 +33,9 @@ extension Extension(lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* +static extension-member method Extension|[](lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* return #this.{self::MapLike::get}(key){(core::Object*) →* self::Extension|[]::V*}; -static method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void +static extension-member method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K*, self::Extension|[]=::V*) →* self::Extension|[]=::V*}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/index.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/index.dart.strong.transformed.expect index 7969db941d5..5585146bbbe 100644 --- a/pkg/front_end/testcases/extensions/index.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/index.dart.strong.transformed.expect @@ -33,9 +33,9 @@ extension Extension(lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* +static extension-member method Extension|[](lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* return #this.{self::MapLike::get}(key){(core::Object*) →* self::Extension|[]::V*}; -static method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void +static extension-member method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K*, self::Extension|[]=::V*) →* self::Extension|[]=::V*}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/index.dart.weak.expect b/pkg/front_end/testcases/extensions/index.dart.weak.expect index b0a6f0fd60f..d909a585c75 100644 --- a/pkg/front_end/testcases/extensions/index.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/index.dart.weak.expect @@ -26,9 +26,9 @@ extension Extension(lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* +static extension-member method Extension|[](lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* return #this.{self::MapLike::get}(key){(core::Object*) →* self::Extension|[]::V*}; -static method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void +static extension-member method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K*, self::Extension|[]=::V*) →* self::Extension|[]=::V*}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/index.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/index.dart.weak.modular.expect index b0a6f0fd60f..d909a585c75 100644 --- a/pkg/front_end/testcases/extensions/index.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/index.dart.weak.modular.expect @@ -26,9 +26,9 @@ extension Extension(lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* +static extension-member method Extension|[](lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* return #this.{self::MapLike::get}(key){(core::Object*) →* self::Extension|[]::V*}; -static method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void +static extension-member method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K*, self::Extension|[]=::V*) →* self::Extension|[]=::V*}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/index.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/index.dart.weak.outline.expect index b0a827973eb..40f7a9375fa 100644 --- a/pkg/front_end/testcases/extensions/index.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/index.dart.weak.outline.expect @@ -25,9 +25,9 @@ extension Extension(lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* +static extension-member method Extension|[](lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* ; -static method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void +static extension-member method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/index.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/index.dart.weak.transformed.expect index fe50997f10b..98429bb2b10 100644 --- a/pkg/front_end/testcases/extensions/index.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/index.dart.weak.transformed.expect @@ -26,9 +26,9 @@ extension Extension(lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* +static extension-member method Extension|[](lowered final self::MapLike* #this, core::Object* key) → self::Extension|[]::V* return #this.{self::MapLike::get}(key){(core::Object*) →* self::Extension|[]::V*}; -static method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void +static extension-member method Extension|[]=(lowered final self::MapLike* #this, self::Extension|[]=::K* key, self::Extension|[]=::V* value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K*, self::Extension|[]=::V*) →* self::Extension|[]=::V*}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/index2.dart.strong.expect b/pkg/front_end/testcases/extensions/index2.dart.strong.expect index 2d53d9c8088..f9a63df369b 100644 --- a/pkg/front_end/testcases/extensions/index2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/index2.dart.strong.expect @@ -31,13 +31,13 @@ extension Extension2(lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? +static extension-member method Extension|[](lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? return #this.{self::MapLike::get}(key){(core::Object) → self::Extension|[]::V?}; -static method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void +static extension-member method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K%, self::Extension|[]=::V%) → self::Extension|[]=::V%}; -static method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% +static extension-member method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% return #this.{self::MapLike2::get}(key){(core::Object) → self::Extension2|[]::V%}; -static method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void +static extension-member method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void return #this.{self::MapLike2::put}(key, value){(self::Extension2|[]=::K%, self::Extension2|[]=::V%) → self::Extension2|[]=::V%}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/index2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/index2.dart.strong.transformed.expect index c5495e7333a..c48667af1ae 100644 --- a/pkg/front_end/testcases/extensions/index2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/index2.dart.strong.transformed.expect @@ -31,13 +31,13 @@ extension Extension2(lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? +static extension-member method Extension|[](lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? return #this.{self::MapLike::get}(key){(core::Object) → self::Extension|[]::V?}; -static method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void +static extension-member method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K%, self::Extension|[]=::V%) → self::Extension|[]=::V%}; -static method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% +static extension-member method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% return #this.{self::MapLike2::get}(key){(core::Object) → self::Extension2|[]::V%}; -static method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void +static extension-member method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void return #this.{self::MapLike2::put}(key, value){(self::Extension2|[]=::K%, self::Extension2|[]=::V%) → self::Extension2|[]=::V%}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/index2.dart.weak.expect b/pkg/front_end/testcases/extensions/index2.dart.weak.expect index 2d53d9c8088..f9a63df369b 100644 --- a/pkg/front_end/testcases/extensions/index2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/index2.dart.weak.expect @@ -31,13 +31,13 @@ extension Extension2(lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? +static extension-member method Extension|[](lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? return #this.{self::MapLike::get}(key){(core::Object) → self::Extension|[]::V?}; -static method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void +static extension-member method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K%, self::Extension|[]=::V%) → self::Extension|[]=::V%}; -static method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% +static extension-member method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% return #this.{self::MapLike2::get}(key){(core::Object) → self::Extension2|[]::V%}; -static method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void +static extension-member method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void return #this.{self::MapLike2::put}(key, value){(self::Extension2|[]=::K%, self::Extension2|[]=::V%) → self::Extension2|[]=::V%}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/index2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/index2.dart.weak.modular.expect index 2d53d9c8088..f9a63df369b 100644 --- a/pkg/front_end/testcases/extensions/index2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/index2.dart.weak.modular.expect @@ -31,13 +31,13 @@ extension Extension2(lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? +static extension-member method Extension|[](lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? return #this.{self::MapLike::get}(key){(core::Object) → self::Extension|[]::V?}; -static method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void +static extension-member method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K%, self::Extension|[]=::V%) → self::Extension|[]=::V%}; -static method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% +static extension-member method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% return #this.{self::MapLike2::get}(key){(core::Object) → self::Extension2|[]::V%}; -static method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void +static extension-member method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void return #this.{self::MapLike2::put}(key, value){(self::Extension2|[]=::K%, self::Extension2|[]=::V%) → self::Extension2|[]=::V%}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/index2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/index2.dart.weak.outline.expect index 401679551f2..49a6744f5b9 100644 --- a/pkg/front_end/testcases/extensions/index2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/index2.dart.weak.outline.expect @@ -29,13 +29,13 @@ extension Extension2(lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? +static extension-member method Extension|[](lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? ; -static method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void +static extension-member method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void ; -static method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% +static extension-member method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% ; -static method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void +static extension-member method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/index2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/index2.dart.weak.transformed.expect index c5495e7333a..c48667af1ae 100644 --- a/pkg/front_end/testcases/extensions/index2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/index2.dart.weak.transformed.expect @@ -31,13 +31,13 @@ extension Extension2(lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? +static extension-member method Extension|[](lowered final self::MapLike #this, core::Object key) → self::Extension|[]::V? return #this.{self::MapLike::get}(key){(core::Object) → self::Extension|[]::V?}; -static method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void +static extension-member method Extension|[]=(lowered final self::MapLike #this, self::Extension|[]=::K% key, self::Extension|[]=::V% value) → void return #this.{self::MapLike::put}(key, value){(self::Extension|[]=::K%, self::Extension|[]=::V%) → self::Extension|[]=::V%}; -static method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% +static extension-member method Extension2|[](lowered final self::MapLike2 #this, core::Object key) → self::Extension2|[]::V% return #this.{self::MapLike2::get}(key){(core::Object) → self::Extension2|[]::V%}; -static method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void +static extension-member method Extension2|[]=(lowered final self::MapLike2 #this, self::Extension2|[]=::K% key, self::Extension2|[]=::V% value) → void return #this.{self::MapLike2::put}(key, value){(self::Extension2|[]=::K%, self::Extension2|[]=::V%) → self::Extension2|[]=::V%}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/instance_access.dart.strong.expect b/pkg/front_end/testcases/extensions/instance_access.dart.strong.expect index fa886135d2a..1eb52ddbe67 100644 --- a/pkg/front_end/testcases/extensions/instance_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/instance_access.dart.strong.expect @@ -34,44 +34,44 @@ extension Extension2 on self::Class2 { get property = self::Extension2|get#property; set property = self::Extension2|set#property; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension1|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); -static method Extension2|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/instance_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/instance_access.dart.strong.transformed.expect index 9e0f881d05a..7c3964a4ebe 100644 --- a/pkg/front_end/testcases/extensions/instance_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/instance_access.dart.strong.transformed.expect @@ -34,44 +34,44 @@ extension Extension2 on self::Class2 { get property = self::Extension2|get#property; set property = self::Extension2|set#property; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension1|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); -static method Extension2|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/instance_access.dart.weak.expect b/pkg/front_end/testcases/extensions/instance_access.dart.weak.expect index fa886135d2a..1eb52ddbe67 100644 --- a/pkg/front_end/testcases/extensions/instance_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/instance_access.dart.weak.expect @@ -34,44 +34,44 @@ extension Extension2 on self::Class2 { get property = self::Extension2|get#property; set property = self::Extension2|set#property; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension1|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); -static method Extension2|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/instance_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/instance_access.dart.weak.modular.expect index fa886135d2a..1eb52ddbe67 100644 --- a/pkg/front_end/testcases/extensions/instance_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/instance_access.dart.weak.modular.expect @@ -34,44 +34,44 @@ extension Extension2 on self::Class2 { get property = self::Extension2|get#property; set property = self::Extension2|set#property; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension1|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); -static method Extension2|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/instance_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/instance_access.dart.weak.outline.expect index 7e875538d64..ac19fc96502 100644 --- a/pkg/front_end/testcases/extensions/instance_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/instance_access.dart.weak.outline.expect @@ -32,29 +32,29 @@ extension Extension2 on self::Class2 { get property = self::Extension2|get#property; set property = self::Extension2|set#property; } -static method Extension1|method(lowered final self::Class1 #this) → core::int +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int ; -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num ; -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension1|get#property(lowered final self::Class1 #this) → core::int +static extension-member method Extension1|get#property(lowered final self::Class1 #this) → core::int ; -static method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void +static extension-member method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void ; -static method Extension2|method(lowered final self::Class2 #this) → core::int +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int ; -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num ; -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); -static method Extension2|get#property(lowered final self::Class2 #this) → core::int +static extension-member method Extension2|get#property(lowered final self::Class2 #this) → core::int ; -static method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void +static extension-member method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/instance_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/instance_access.dart.weak.transformed.expect index 9e0f881d05a..7c3964a4ebe 100644 --- a/pkg/front_end/testcases/extensions/instance_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/instance_access.dart.weak.transformed.expect @@ -34,44 +34,44 @@ extension Extension2 on self::Class2 { get property = self::Extension2|get#property; set property = self::Extension2|set#property; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension1|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method Extension1|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); -static method Extension2|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method Extension2|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.strong.expect b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.strong.expect index a7281c44612..d006b85c37d 100644 --- a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.strong.expect @@ -53,14 +53,14 @@ extension Extension1 on self::Class1 { static set staticProperty = set self::Extension1|staticProperty; } static field core::int Extension1|staticField = 42; -static method Extension1|staticMethod() → dynamic { +static extension-member method Extension1|staticMethod() → dynamic { core::print("Extension1.staticMethod()"); } -static get Extension1|staticProperty() → core::int { +static extension-member get Extension1|staticProperty() → core::int { core::print("Extension1.staticProperty()"); return 0; } -static set Extension1|staticProperty(core::int value) → void { +static extension-member set Extension1|staticProperty(core::int value) → void { core::print("Extension1.staticProperty(${value})"); value = value.{core::num::+}(1){(core::num) → core::int}; } diff --git a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.strong.transformed.expect index a7281c44612..d006b85c37d 100644 --- a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.strong.transformed.expect @@ -53,14 +53,14 @@ extension Extension1 on self::Class1 { static set staticProperty = set self::Extension1|staticProperty; } static field core::int Extension1|staticField = 42; -static method Extension1|staticMethod() → dynamic { +static extension-member method Extension1|staticMethod() → dynamic { core::print("Extension1.staticMethod()"); } -static get Extension1|staticProperty() → core::int { +static extension-member get Extension1|staticProperty() → core::int { core::print("Extension1.staticProperty()"); return 0; } -static set Extension1|staticProperty(core::int value) → void { +static extension-member set Extension1|staticProperty(core::int value) → void { core::print("Extension1.staticProperty(${value})"); value = value.{core::num::+}(1){(core::num) → core::int}; } diff --git a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.expect b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.expect index a7281c44612..d006b85c37d 100644 --- a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.expect @@ -53,14 +53,14 @@ extension Extension1 on self::Class1 { static set staticProperty = set self::Extension1|staticProperty; } static field core::int Extension1|staticField = 42; -static method Extension1|staticMethod() → dynamic { +static extension-member method Extension1|staticMethod() → dynamic { core::print("Extension1.staticMethod()"); } -static get Extension1|staticProperty() → core::int { +static extension-member get Extension1|staticProperty() → core::int { core::print("Extension1.staticProperty()"); return 0; } -static set Extension1|staticProperty(core::int value) → void { +static extension-member set Extension1|staticProperty(core::int value) → void { core::print("Extension1.staticProperty(${value})"); value = value.{core::num::+}(1){(core::num) → core::int}; } diff --git a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.modular.expect index a7281c44612..d006b85c37d 100644 --- a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.modular.expect @@ -53,14 +53,14 @@ extension Extension1 on self::Class1 { static set staticProperty = set self::Extension1|staticProperty; } static field core::int Extension1|staticField = 42; -static method Extension1|staticMethod() → dynamic { +static extension-member method Extension1|staticMethod() → dynamic { core::print("Extension1.staticMethod()"); } -static get Extension1|staticProperty() → core::int { +static extension-member get Extension1|staticProperty() → core::int { core::print("Extension1.staticProperty()"); return 0; } -static set Extension1|staticProperty(core::int value) → void { +static extension-member set Extension1|staticProperty(core::int value) → void { core::print("Extension1.staticProperty(${value})"); value = value.{core::num::+}(1){(core::num) → core::int}; } diff --git a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.outline.expect index fcea730592c..2c3a48c9501 100644 --- a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.outline.expect @@ -13,11 +13,11 @@ extension Extension1 on self::Class1 { static set staticProperty = set self::Extension1|staticProperty; } static field core::int Extension1|staticField; -static method Extension1|staticMethod() → dynamic +static extension-member method Extension1|staticMethod() → dynamic ; -static get Extension1|staticProperty() → core::int +static extension-member get Extension1|staticProperty() → core::int ; -static set Extension1|staticProperty(core::int value) → void +static extension-member set Extension1|staticProperty(core::int value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.transformed.expect index a7281c44612..d006b85c37d 100644 --- a/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/instance_access_of_static.dart.weak.transformed.expect @@ -53,14 +53,14 @@ extension Extension1 on self::Class1 { static set staticProperty = set self::Extension1|staticProperty; } static field core::int Extension1|staticField = 42; -static method Extension1|staticMethod() → dynamic { +static extension-member method Extension1|staticMethod() → dynamic { core::print("Extension1.staticMethod()"); } -static get Extension1|staticProperty() → core::int { +static extension-member get Extension1|staticProperty() → core::int { core::print("Extension1.staticProperty()"); return 0; } -static set Extension1|staticProperty(core::int value) → void { +static extension-member set Extension1|staticProperty(core::int value) → void { core::print("Extension1.staticProperty(${value})"); value = value.{core::num::+}(1){(core::num) → core::int}; } diff --git a/pkg/front_end/testcases/extensions/instance_members.dart.strong.expect b/pkg/front_end/testcases/extensions/instance_members.dart.strong.expect index 476f763a0fb..26e25bd83e5 100644 --- a/pkg/front_end/testcases/extensions/instance_members.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/instance_members.dart.strong.expect @@ -28,39 +28,39 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { +static extension-member method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { core::print(o); return #this; } -static method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 +static extension-member method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 return ([T? o = #C1]) → self::A1 => self::A2|method3(#this, o); -static method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { +static extension-member method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { core::print(o); return #this; } -static method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 +static extension-member method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 return ({T? o = #C1}) → self::A1 => self::A2|method4(#this, o: o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/instance_members.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/instance_members.dart.strong.transformed.expect index 476f763a0fb..26e25bd83e5 100644 --- a/pkg/front_end/testcases/extensions/instance_members.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/instance_members.dart.strong.transformed.expect @@ -28,39 +28,39 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { +static extension-member method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { core::print(o); return #this; } -static method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 +static extension-member method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 return ([T? o = #C1]) → self::A1 => self::A2|method3(#this, o); -static method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { +static extension-member method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { core::print(o); return #this; } -static method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 +static extension-member method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 return ({T? o = #C1}) → self::A1 => self::A2|method4(#this, o: o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/instance_members.dart.weak.expect b/pkg/front_end/testcases/extensions/instance_members.dart.weak.expect index 476f763a0fb..26e25bd83e5 100644 --- a/pkg/front_end/testcases/extensions/instance_members.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/instance_members.dart.weak.expect @@ -28,39 +28,39 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { +static extension-member method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { core::print(o); return #this; } -static method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 +static extension-member method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 return ([T? o = #C1]) → self::A1 => self::A2|method3(#this, o); -static method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { +static extension-member method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { core::print(o); return #this; } -static method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 +static extension-member method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 return ({T? o = #C1}) → self::A1 => self::A2|method4(#this, o: o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/instance_members.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/instance_members.dart.weak.modular.expect index 476f763a0fb..26e25bd83e5 100644 --- a/pkg/front_end/testcases/extensions/instance_members.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/instance_members.dart.weak.modular.expect @@ -28,39 +28,39 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { +static extension-member method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { core::print(o); return #this; } -static method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 +static extension-member method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 return ([T? o = #C1]) → self::A1 => self::A2|method3(#this, o); -static method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { +static extension-member method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { core::print(o); return #this; } -static method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 +static extension-member method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 return ({T? o = #C1}) → self::A1 => self::A2|method4(#this, o: o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/instance_members.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/instance_members.dart.weak.outline.expect index 5ed6783a283..f16e82e0b36 100644 --- a/pkg/front_end/testcases/extensions/instance_members.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/instance_members.dart.weak.outline.expect @@ -26,29 +26,29 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 ; -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 ; -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o]) → self::A1 +static extension-member method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o]) → self::A1 ; -static method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 +static extension-member method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 return ([T? o]) → self::A1 => self::A2|method3(#this, o); -static method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o}) → self::A1 +static extension-member method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o}) → self::A1 ; -static method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 +static extension-member method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 return ({T? o}) → self::A1 => self::A2|method4(#this, o: o); -static method B2|method1(lowered final self::B1 #this) → self::B1 +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 ; -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 ; -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/instance_members.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/instance_members.dart.weak.transformed.expect index 476f763a0fb..26e25bd83e5 100644 --- a/pkg/front_end/testcases/extensions/instance_members.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/instance_members.dart.weak.transformed.expect @@ -28,39 +28,39 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { +static extension-member method A2|method3(lowered final self::A1 #this, [self::A2|method3::T? o = #C1]) → self::A1 { core::print(o); return #this; } -static method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 +static extension-member method A2|get#method3(lowered final self::A1 #this) → ([T?]) → self::A1 return ([T? o = #C1]) → self::A1 => self::A2|method3(#this, o); -static method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { +static extension-member method A2|method4(lowered final self::A1 #this, {self::A2|method4::T? o = #C1}) → self::A1 { core::print(o); return #this; } -static method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 +static extension-member method A2|get#method4(lowered final self::A1 #this) → ({o: T?}) → self::A1 return ({T? o = #C1}) → self::A1 => self::A2|method4(#this, o: o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/instance_tearoff.dart.strong.expect b/pkg/front_end/testcases/extensions/instance_tearoff.dart.strong.expect index 44493ddddeb..da5fc4c23e5 100644 --- a/pkg/front_end/testcases/extensions/instance_tearoff.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/instance_tearoff.dart.strong.expect @@ -30,29 +30,29 @@ extension Extension2 on self::Class2 { method genericMethod = self::Extension2|genericMethod; tearoff genericMethod = self::Extension2|get#genericMethod; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(2){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(3){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::testExtension1(); diff --git a/pkg/front_end/testcases/extensions/instance_tearoff.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/instance_tearoff.dart.strong.transformed.expect index a25b507a039..ff1dd59e878 100644 --- a/pkg/front_end/testcases/extensions/instance_tearoff.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/instance_tearoff.dart.strong.transformed.expect @@ -30,29 +30,29 @@ extension Extension2 on self::Class2 { method genericMethod = self::Extension2|genericMethod; tearoff genericMethod = self::Extension2|get#genericMethod; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(2){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(3){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::testExtension1(); diff --git a/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.expect b/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.expect index 44493ddddeb..da5fc4c23e5 100644 --- a/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.expect @@ -30,29 +30,29 @@ extension Extension2 on self::Class2 { method genericMethod = self::Extension2|genericMethod; tearoff genericMethod = self::Extension2|get#genericMethod; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(2){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(3){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::testExtension1(); diff --git a/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.modular.expect index 44493ddddeb..da5fc4c23e5 100644 --- a/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.modular.expect @@ -30,29 +30,29 @@ extension Extension2 on self::Class2 { method genericMethod = self::Extension2|genericMethod; tearoff genericMethod = self::Extension2|get#genericMethod; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(2){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(3){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::testExtension1(); diff --git a/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.outline.expect index ef120885172..3fb830a0587 100644 --- a/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.outline.expect @@ -28,21 +28,21 @@ extension Extension2 on self::Class2 { method genericMethod = self::Extension2|genericMethod; tearoff genericMethod = self::Extension2|get#genericMethod; } -static method Extension1|method(lowered final self::Class1 #this) → core::int +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int ; -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num ; -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|method(lowered final self::Class2 #this) → core::int +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int ; -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num ; -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.transformed.expect index a25b507a039..ff1dd59e878 100644 --- a/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/instance_tearoff.dart.weak.transformed.expect @@ -30,29 +30,29 @@ extension Extension2 on self::Class2 { method genericMethod = self::Extension2|genericMethod; tearoff genericMethod = self::Extension2|get#genericMethod; } -static method Extension1|method(lowered final self::Class1 #this) → core::int { +static extension-member method Extension1|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method Extension1|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method Extension1|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::Extension1|method(#this); -static method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { +static extension-member method Extension1|genericMethod(lowered final self::Class1 #this, self::Extension1|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::Extension1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method Extension1|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::Extension1|genericMethod(#this, t); -static method Extension2|method(lowered final self::Class2 #this) → core::int { +static extension-member method Extension2|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(2){(core::num) → core::int}; } -static method Extension2|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method Extension2|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::Extension2|method(#this); -static method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { +static extension-member method Extension2|genericMethod(lowered final self::Class2 #this, self::Extension2|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::Extension2|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(3){(core::num) → core::num}; } -static method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method Extension2|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::Extension2|genericMethod(#this, t); static method main() → dynamic { self::testExtension1(); diff --git a/pkg/front_end/testcases/extensions/internal_resolution.dart.strong.expect b/pkg/front_end/testcases/extensions/internal_resolution.dart.strong.expect index a593841a85b..89b62295bd5 100644 --- a/pkg/front_end/testcases/extensions/internal_resolution.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/internal_resolution.dart.strong.expect @@ -16,13 +16,13 @@ extension /* unnamed */ _extension#1 on self::Class { get property2 = self::_extension#1|get#property2; set property2 = self::_extension#1|set#property2; } -static method _extension#0|get#property1(lowered final self::Class #this) → core::int? +static extension-member method _extension#0|get#property1(lowered final self::Class #this) → core::int? return self::_extension#1|get#property2(#this); -static method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void return #this.{self::Class::field} = value; -static method _extension#1|get#property2(lowered final self::Class #this) → core::int? +static extension-member method _extension#1|get#property2(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void return let final core::int? #t1 = value in let final void #t2 = self::_extension#0|set#property1(#this, #t1) in #t1; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/internal_resolution.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/internal_resolution.dart.strong.transformed.expect index 90eab735305..de89071af3b 100644 --- a/pkg/front_end/testcases/extensions/internal_resolution.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/internal_resolution.dart.strong.transformed.expect @@ -16,13 +16,13 @@ extension /* unnamed */ _extension#1 on self::Class { get property2 = self::_extension#1|get#property2; set property2 = self::_extension#1|set#property2; } -static method _extension#0|get#property1(lowered final self::Class #this) → core::int? +static extension-member method _extension#0|get#property1(lowered final self::Class #this) → core::int? return self::_extension#1|get#property2(#this); -static method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void return #this.{self::Class::field} = value; -static method _extension#1|get#property2(lowered final self::Class #this) → core::int? +static extension-member method _extension#1|get#property2(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void return let final core::int? #t1 = value in let final void #t2 = self::_extension#0|set#property1(#this, #t1) in #t1; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.expect b/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.expect index a593841a85b..89b62295bd5 100644 --- a/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.expect @@ -16,13 +16,13 @@ extension /* unnamed */ _extension#1 on self::Class { get property2 = self::_extension#1|get#property2; set property2 = self::_extension#1|set#property2; } -static method _extension#0|get#property1(lowered final self::Class #this) → core::int? +static extension-member method _extension#0|get#property1(lowered final self::Class #this) → core::int? return self::_extension#1|get#property2(#this); -static method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void return #this.{self::Class::field} = value; -static method _extension#1|get#property2(lowered final self::Class #this) → core::int? +static extension-member method _extension#1|get#property2(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void return let final core::int? #t1 = value in let final void #t2 = self::_extension#0|set#property1(#this, #t1) in #t1; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.modular.expect index a593841a85b..89b62295bd5 100644 --- a/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.modular.expect @@ -16,13 +16,13 @@ extension /* unnamed */ _extension#1 on self::Class { get property2 = self::_extension#1|get#property2; set property2 = self::_extension#1|set#property2; } -static method _extension#0|get#property1(lowered final self::Class #this) → core::int? +static extension-member method _extension#0|get#property1(lowered final self::Class #this) → core::int? return self::_extension#1|get#property2(#this); -static method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void return #this.{self::Class::field} = value; -static method _extension#1|get#property2(lowered final self::Class #this) → core::int? +static extension-member method _extension#1|get#property2(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void return let final core::int? #t1 = value in let final void #t2 = self::_extension#0|set#property1(#this, #t1) in #t1; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.outline.expect index 5fe77a33b36..cba9777fc5e 100644 --- a/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.outline.expect @@ -15,13 +15,13 @@ extension /* unnamed */ _extension#1 on self::Class { get property2 = self::_extension#1|get#property2; set property2 = self::_extension#1|set#property2; } -static method _extension#0|get#property1(lowered final self::Class #this) → core::int? +static extension-member method _extension#0|get#property1(lowered final self::Class #this) → core::int? ; -static method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void ; -static method _extension#1|get#property2(lowered final self::Class #this) → core::int? +static extension-member method _extension#1|get#property2(lowered final self::Class #this) → core::int? ; -static method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.transformed.expect index 90eab735305..de89071af3b 100644 --- a/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/internal_resolution.dart.weak.transformed.expect @@ -16,13 +16,13 @@ extension /* unnamed */ _extension#1 on self::Class { get property2 = self::_extension#1|get#property2; set property2 = self::_extension#1|set#property2; } -static method _extension#0|get#property1(lowered final self::Class #this) → core::int? +static extension-member method _extension#0|get#property1(lowered final self::Class #this) → core::int? return self::_extension#1|get#property2(#this); -static method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#0|set#property1(lowered final self::Class #this, core::int? value) → void return #this.{self::Class::field} = value; -static method _extension#1|get#property2(lowered final self::Class #this) → core::int? +static extension-member method _extension#1|get#property2(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void +static extension-member method _extension#1|set#property2(lowered final self::Class #this, core::int? value) → void return let final core::int? #t1 = value in let final void #t2 = self::_extension#0|set#property1(#this, #t1) in #t1; static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.strong.expect b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.strong.expect index 9736b9dfed3..4fe269a75ee 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.strong.expect @@ -142,11 +142,11 @@ extension GenericExtension on self::GenericCl method method = self::GenericExtension|method; tearoff method = self::GenericExtension|get#method; } -static method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic a) → dynamic => self::Extension|method(#this, a); -static method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} -static method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic +static extension-member method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic return () → dynamic => self::GenericExtension|method(#this); static method main() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.strong.transformed.expect index 9736b9dfed3..4fe269a75ee 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.strong.transformed.expect @@ -142,11 +142,11 @@ extension GenericExtension on self::GenericCl method method = self::GenericExtension|method; tearoff method = self::GenericExtension|get#method; } -static method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic a) → dynamic => self::Extension|method(#this, a); -static method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} -static method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic +static extension-member method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic return () → dynamic => self::GenericExtension|method(#this); static method main() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.expect b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.expect index 9736b9dfed3..4fe269a75ee 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.expect @@ -142,11 +142,11 @@ extension GenericExtension on self::GenericCl method method = self::GenericExtension|method; tearoff method = self::GenericExtension|get#method; } -static method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic a) → dynamic => self::Extension|method(#this, a); -static method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} -static method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic +static extension-member method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic return () → dynamic => self::GenericExtension|method(#this); static method main() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.modular.expect index 9736b9dfed3..4fe269a75ee 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.modular.expect @@ -142,11 +142,11 @@ extension GenericExtension on self::GenericCl method method = self::GenericExtension|method; tearoff method = self::GenericExtension|get#method; } -static method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic a) → dynamic => self::Extension|method(#this, a); -static method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} -static method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic +static extension-member method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic return () → dynamic => self::GenericExtension|method(#this); static method main() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.outline.expect index d72d3d54410..d98972bc44f 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.outline.expect @@ -18,13 +18,13 @@ extension GenericExtension on self::GenericCl method method = self::GenericExtension|method; tearoff method = self::GenericExtension|get#method; } -static method Extension|method(lowered final self::Class #this, dynamic a) → dynamic +static extension-member method Extension|method(lowered final self::Class #this, dynamic a) → dynamic ; -static method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic a) → dynamic => self::Extension|method(#this, a); -static method GenericExtension|method(lowered final self::GenericClass #this) → dynamic +static extension-member method GenericExtension|method(lowered final self::GenericClass #this) → dynamic ; -static method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic return () → dynamic => self::GenericExtension|method(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.transformed.expect index 9736b9dfed3..4fe269a75ee 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_access.dart.weak.transformed.expect @@ -142,11 +142,11 @@ extension GenericExtension on self::GenericCl method method = self::GenericExtension|method; tearoff method = self::GenericExtension|get#method; } -static method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} -static method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic +static extension-member method Extension|method(lowered final self::Class #this, dynamic a) → dynamic {} +static extension-member method Extension|get#method(lowered final self::Class #this) → (dynamic) → dynamic return (dynamic a) → dynamic => self::Extension|method(#this, a); -static method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} -static method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic +static extension-member method GenericExtension|method(lowered final self::GenericClass #this) → dynamic {} +static extension-member method GenericExtension|get#method(lowered final self::GenericClass #this) → () → dynamic return () → dynamic => self::GenericExtension|method(#this); static method main() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.strong.expect b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.strong.expect index 5437517b604..d3c5c17f122 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.strong.expect @@ -58,13 +58,13 @@ extension Extension on core::String { static set property = set self::Extension|property; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static get Extension|getter() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member get Extension|getter() → dynamic return null; -static set Extension|setter(dynamic _) → void {} -static get Extension|property() → dynamic +static extension-member set Extension|setter(dynamic _) → void {} +static extension-member get Extension|property() → dynamic return null; -static set Extension|property(dynamic _) → void {} +static extension-member set Extension|property(dynamic _) → void {} static method main() → dynamic {} static method errors() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.strong.transformed.expect index 5437517b604..d3c5c17f122 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.strong.transformed.expect @@ -58,13 +58,13 @@ extension Extension on core::String { static set property = set self::Extension|property; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static get Extension|getter() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member get Extension|getter() → dynamic return null; -static set Extension|setter(dynamic _) → void {} -static get Extension|property() → dynamic +static extension-member set Extension|setter(dynamic _) → void {} +static extension-member get Extension|property() → dynamic return null; -static set Extension|property(dynamic _) → void {} +static extension-member set Extension|property(dynamic _) → void {} static method main() → dynamic {} static method errors() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.expect b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.expect index 5437517b604..d3c5c17f122 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.expect @@ -58,13 +58,13 @@ extension Extension on core::String { static set property = set self::Extension|property; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static get Extension|getter() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member get Extension|getter() → dynamic return null; -static set Extension|setter(dynamic _) → void {} -static get Extension|property() → dynamic +static extension-member set Extension|setter(dynamic _) → void {} +static extension-member get Extension|property() → dynamic return null; -static set Extension|property(dynamic _) → void {} +static extension-member set Extension|property(dynamic _) → void {} static method main() → dynamic {} static method errors() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.modular.expect index 5437517b604..d3c5c17f122 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.modular.expect @@ -58,13 +58,13 @@ extension Extension on core::String { static set property = set self::Extension|property; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static get Extension|getter() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member get Extension|getter() → dynamic return null; -static set Extension|setter(dynamic _) → void {} -static get Extension|property() → dynamic +static extension-member set Extension|setter(dynamic _) → void {} +static extension-member get Extension|property() → dynamic return null; -static set Extension|property(dynamic _) → void {} +static extension-member set Extension|property(dynamic _) → void {} static method main() → dynamic {} static method errors() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.outline.expect index 5d5b38d6455..6cf7506e08b 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.outline.expect @@ -11,15 +11,15 @@ extension Extension on core::String { static set property = set self::Extension|property; } static field dynamic Extension|field; -static method Extension|method() → dynamic +static extension-member method Extension|method() → dynamic ; -static get Extension|getter() → dynamic +static extension-member get Extension|getter() → dynamic ; -static set Extension|setter(dynamic _) → void +static extension-member set Extension|setter(dynamic _) → void ; -static get Extension|property() → dynamic +static extension-member get Extension|property() → dynamic ; -static set Extension|property(dynamic _) → void +static extension-member set Extension|property(dynamic _) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.transformed.expect index 5437517b604..d3c5c17f122 100644 --- a/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/invalid_explicit_static_access.dart.weak.transformed.expect @@ -58,13 +58,13 @@ extension Extension on core::String { static set property = set self::Extension|property; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static get Extension|getter() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member get Extension|getter() → dynamic return null; -static set Extension|setter(dynamic _) → void {} -static get Extension|property() → dynamic +static extension-member set Extension|setter(dynamic _) → void {} +static extension-member get Extension|property() → dynamic return null; -static set Extension|property(dynamic _) → void {} +static extension-member set Extension|property(dynamic _) → void {} static method main() → dynamic {} static method errors() → dynamic { core::String s = ""; diff --git a/pkg/front_end/testcases/extensions/issue38713.dart.strong.expect b/pkg/front_end/testcases/extensions/issue38713.dart.strong.expect index 8d23b395c52..c8c54861899 100644 --- a/pkg/front_end/testcases/extensions/issue38713.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue38713.dart.strong.expect @@ -27,8 +27,8 @@ extension C on core::int { static set property3 = set self::C|property3; } static field core::int? C|property2; -static set C|property3(core::int? x) → void {} -static method C|get#property3(lowered final core::int #this) → core::int? +static extension-member set C|property3(core::int? x) → void {} +static extension-member method C|get#property3(lowered final core::int #this) → core::int? return 1; static method main() → void { self::C|property2; diff --git a/pkg/front_end/testcases/extensions/issue38713.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue38713.dart.strong.transformed.expect index 8d23b395c52..c8c54861899 100644 --- a/pkg/front_end/testcases/extensions/issue38713.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38713.dart.strong.transformed.expect @@ -27,8 +27,8 @@ extension C on core::int { static set property3 = set self::C|property3; } static field core::int? C|property2; -static set C|property3(core::int? x) → void {} -static method C|get#property3(lowered final core::int #this) → core::int? +static extension-member set C|property3(core::int? x) → void {} +static extension-member method C|get#property3(lowered final core::int #this) → core::int? return 1; static method main() → void { self::C|property2; diff --git a/pkg/front_end/testcases/extensions/issue38713.dart.weak.expect b/pkg/front_end/testcases/extensions/issue38713.dart.weak.expect index 8d23b395c52..c8c54861899 100644 --- a/pkg/front_end/testcases/extensions/issue38713.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue38713.dart.weak.expect @@ -27,8 +27,8 @@ extension C on core::int { static set property3 = set self::C|property3; } static field core::int? C|property2; -static set C|property3(core::int? x) → void {} -static method C|get#property3(lowered final core::int #this) → core::int? +static extension-member set C|property3(core::int? x) → void {} +static extension-member method C|get#property3(lowered final core::int #this) → core::int? return 1; static method main() → void { self::C|property2; diff --git a/pkg/front_end/testcases/extensions/issue38713.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue38713.dart.weak.modular.expect index 8d23b395c52..c8c54861899 100644 --- a/pkg/front_end/testcases/extensions/issue38713.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue38713.dart.weak.modular.expect @@ -27,8 +27,8 @@ extension C on core::int { static set property3 = set self::C|property3; } static field core::int? C|property2; -static set C|property3(core::int? x) → void {} -static method C|get#property3(lowered final core::int #this) → core::int? +static extension-member set C|property3(core::int? x) → void {} +static extension-member method C|get#property3(lowered final core::int #this) → core::int? return 1; static method main() → void { self::C|property2; diff --git a/pkg/front_end/testcases/extensions/issue38713.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue38713.dart.weak.outline.expect index b2af40fea14..fded1d744e5 100644 --- a/pkg/front_end/testcases/extensions/issue38713.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue38713.dart.weak.outline.expect @@ -27,9 +27,9 @@ extension C on core::int { static set property3 = set self::C|property3; } static field core::int? C|property2; -static set C|property3(core::int? x) → void +static extension-member set C|property3(core::int? x) → void ; -static method C|get#property3(lowered final core::int #this) → core::int? +static extension-member method C|get#property3(lowered final core::int #this) → core::int? ; static method main() → void ; diff --git a/pkg/front_end/testcases/extensions/issue38713.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue38713.dart.weak.transformed.expect index 8d23b395c52..c8c54861899 100644 --- a/pkg/front_end/testcases/extensions/issue38713.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38713.dart.weak.transformed.expect @@ -27,8 +27,8 @@ extension C on core::int { static set property3 = set self::C|property3; } static field core::int? C|property2; -static set C|property3(core::int? x) → void {} -static method C|get#property3(lowered final core::int #this) → core::int? +static extension-member set C|property3(core::int? x) → void {} +static extension-member method C|get#property3(lowered final core::int #this) → core::int? return 1; static method main() → void { self::C|property2; diff --git a/pkg/front_end/testcases/extensions/issue38745.dart.strong.expect b/pkg/front_end/testcases/extensions/issue38745.dart.strong.expect index 391575481b3..16fa8e719e3 100644 --- a/pkg/front_end/testcases/extensions/issue38745.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue38745.dart.strong.expect @@ -115,9 +115,9 @@ extension ext on self::C { static field core::int ext|field; static final field core::int ext|property = 42; static final field core::int ext|property2 = 42; -static method ext|set#property(lowered final self::C #this, core::int value) → void {} -static set ext|property2(core::int value) → void {} -static method ext|method(lowered final self::C #this) → dynamic { +static extension-member method ext|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member set ext|property2(core::int value) → void {} +static extension-member method ext|method(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:20:5: Error: Undefined name 'field'. field; ^^^^^"; @@ -135,7 +135,7 @@ static method ext|method(lowered final self:: property2 = 23; ^^^^^^^^^"; } -static method ext|get#method(lowered final self::C #this) → () → dynamic +static extension-member method ext|get#method(lowered final self::C #this) → () → dynamic return () → dynamic => self::ext|method(#this); static method main() → dynamic {} static method errors() → dynamic { diff --git a/pkg/front_end/testcases/extensions/issue38745.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue38745.dart.strong.transformed.expect index 391575481b3..16fa8e719e3 100644 --- a/pkg/front_end/testcases/extensions/issue38745.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38745.dart.strong.transformed.expect @@ -115,9 +115,9 @@ extension ext on self::C { static field core::int ext|field; static final field core::int ext|property = 42; static final field core::int ext|property2 = 42; -static method ext|set#property(lowered final self::C #this, core::int value) → void {} -static set ext|property2(core::int value) → void {} -static method ext|method(lowered final self::C #this) → dynamic { +static extension-member method ext|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member set ext|property2(core::int value) → void {} +static extension-member method ext|method(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:20:5: Error: Undefined name 'field'. field; ^^^^^"; @@ -135,7 +135,7 @@ static method ext|method(lowered final self:: property2 = 23; ^^^^^^^^^"; } -static method ext|get#method(lowered final self::C #this) → () → dynamic +static extension-member method ext|get#method(lowered final self::C #this) → () → dynamic return () → dynamic => self::ext|method(#this); static method main() → dynamic {} static method errors() → dynamic { diff --git a/pkg/front_end/testcases/extensions/issue38745.dart.weak.expect b/pkg/front_end/testcases/extensions/issue38745.dart.weak.expect index 391575481b3..16fa8e719e3 100644 --- a/pkg/front_end/testcases/extensions/issue38745.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue38745.dart.weak.expect @@ -115,9 +115,9 @@ extension ext on self::C { static field core::int ext|field; static final field core::int ext|property = 42; static final field core::int ext|property2 = 42; -static method ext|set#property(lowered final self::C #this, core::int value) → void {} -static set ext|property2(core::int value) → void {} -static method ext|method(lowered final self::C #this) → dynamic { +static extension-member method ext|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member set ext|property2(core::int value) → void {} +static extension-member method ext|method(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:20:5: Error: Undefined name 'field'. field; ^^^^^"; @@ -135,7 +135,7 @@ static method ext|method(lowered final self:: property2 = 23; ^^^^^^^^^"; } -static method ext|get#method(lowered final self::C #this) → () → dynamic +static extension-member method ext|get#method(lowered final self::C #this) → () → dynamic return () → dynamic => self::ext|method(#this); static method main() → dynamic {} static method errors() → dynamic { diff --git a/pkg/front_end/testcases/extensions/issue38745.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue38745.dart.weak.modular.expect index 391575481b3..16fa8e719e3 100644 --- a/pkg/front_end/testcases/extensions/issue38745.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue38745.dart.weak.modular.expect @@ -115,9 +115,9 @@ extension ext on self::C { static field core::int ext|field; static final field core::int ext|property = 42; static final field core::int ext|property2 = 42; -static method ext|set#property(lowered final self::C #this, core::int value) → void {} -static set ext|property2(core::int value) → void {} -static method ext|method(lowered final self::C #this) → dynamic { +static extension-member method ext|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member set ext|property2(core::int value) → void {} +static extension-member method ext|method(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:20:5: Error: Undefined name 'field'. field; ^^^^^"; @@ -135,7 +135,7 @@ static method ext|method(lowered final self:: property2 = 23; ^^^^^^^^^"; } -static method ext|get#method(lowered final self::C #this) → () → dynamic +static extension-member method ext|get#method(lowered final self::C #this) → () → dynamic return () → dynamic => self::ext|method(#this); static method main() → dynamic {} static method errors() → dynamic { diff --git a/pkg/front_end/testcases/extensions/issue38745.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue38745.dart.weak.outline.expect index c18bfee3032..e612d31f3c0 100644 --- a/pkg/front_end/testcases/extensions/issue38745.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue38745.dart.weak.outline.expect @@ -44,13 +44,13 @@ extension ext on self::C { static field core::int ext|field; static final field core::int ext|property; static final field core::int ext|property2; -static method ext|set#property(lowered final self::C #this, core::int value) → void +static extension-member method ext|set#property(lowered final self::C #this, core::int value) → void ; -static set ext|property2(core::int value) → void +static extension-member set ext|property2(core::int value) → void ; -static method ext|method(lowered final self::C #this) → dynamic +static extension-member method ext|method(lowered final self::C #this) → dynamic ; -static method ext|get#method(lowered final self::C #this) → () → dynamic +static extension-member method ext|get#method(lowered final self::C #this) → () → dynamic return () → dynamic => self::ext|method(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/issue38745.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue38745.dart.weak.transformed.expect index 391575481b3..16fa8e719e3 100644 --- a/pkg/front_end/testcases/extensions/issue38745.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38745.dart.weak.transformed.expect @@ -115,9 +115,9 @@ extension ext on self::C { static field core::int ext|field; static final field core::int ext|property = 42; static final field core::int ext|property2 = 42; -static method ext|set#property(lowered final self::C #this, core::int value) → void {} -static set ext|property2(core::int value) → void {} -static method ext|method(lowered final self::C #this) → dynamic { +static extension-member method ext|set#property(lowered final self::C #this, core::int value) → void {} +static extension-member set ext|property2(core::int value) → void {} +static extension-member method ext|method(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:20:5: Error: Undefined name 'field'. field; ^^^^^"; @@ -135,7 +135,7 @@ static method ext|method(lowered final self:: property2 = 23; ^^^^^^^^^"; } -static method ext|get#method(lowered final self::C #this) → () → dynamic +static extension-member method ext|get#method(lowered final self::C #this) → () → dynamic return () → dynamic => self::ext|method(#this); static method main() → dynamic {} static method errors() → dynamic { diff --git a/pkg/front_end/testcases/extensions/issue38750.dart.strong.expect b/pkg/front_end/testcases/extensions/issue38750.dart.strong.expect index e3c701126f9..4581853dc83 100644 --- a/pkg/front_end/testcases/extensions/issue38750.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue38750.dart.strong.expect @@ -72,7 +72,7 @@ extension ext on iss::C { method _bar = iss::ext|_bar; tearoff _bar = iss::ext|get#_bar; } -static method ext|_bar(lowered final iss::C #this) → dynamic { +static extension-member method ext|_bar(lowered final iss::C #this) → dynamic { try { throw "producing a stack trace"; } @@ -80,7 +80,7 @@ static method ext|_bar(lowered final iss::C #this) → dynamic { core::print(s); } } -static method ext|get#_bar(lowered final iss::C #this) → () → dynamic +static extension-member method ext|get#_bar(lowered final iss::C #this) → () → dynamic return () → dynamic => iss::ext|_bar(#this); library; diff --git a/pkg/front_end/testcases/extensions/issue38750.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue38750.dart.strong.transformed.expect index e3c701126f9..4581853dc83 100644 --- a/pkg/front_end/testcases/extensions/issue38750.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38750.dart.strong.transformed.expect @@ -72,7 +72,7 @@ extension ext on iss::C { method _bar = iss::ext|_bar; tearoff _bar = iss::ext|get#_bar; } -static method ext|_bar(lowered final iss::C #this) → dynamic { +static extension-member method ext|_bar(lowered final iss::C #this) → dynamic { try { throw "producing a stack trace"; } @@ -80,7 +80,7 @@ static method ext|_bar(lowered final iss::C #this) → dynamic { core::print(s); } } -static method ext|get#_bar(lowered final iss::C #this) → () → dynamic +static extension-member method ext|get#_bar(lowered final iss::C #this) → () → dynamic return () → dynamic => iss::ext|_bar(#this); library; diff --git a/pkg/front_end/testcases/extensions/issue38750.dart.weak.expect b/pkg/front_end/testcases/extensions/issue38750.dart.weak.expect index e3c701126f9..4581853dc83 100644 --- a/pkg/front_end/testcases/extensions/issue38750.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue38750.dart.weak.expect @@ -72,7 +72,7 @@ extension ext on iss::C { method _bar = iss::ext|_bar; tearoff _bar = iss::ext|get#_bar; } -static method ext|_bar(lowered final iss::C #this) → dynamic { +static extension-member method ext|_bar(lowered final iss::C #this) → dynamic { try { throw "producing a stack trace"; } @@ -80,7 +80,7 @@ static method ext|_bar(lowered final iss::C #this) → dynamic { core::print(s); } } -static method ext|get#_bar(lowered final iss::C #this) → () → dynamic +static extension-member method ext|get#_bar(lowered final iss::C #this) → () → dynamic return () → dynamic => iss::ext|_bar(#this); library; diff --git a/pkg/front_end/testcases/extensions/issue38750.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue38750.dart.weak.modular.expect index e3c701126f9..4581853dc83 100644 --- a/pkg/front_end/testcases/extensions/issue38750.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue38750.dart.weak.modular.expect @@ -72,7 +72,7 @@ extension ext on iss::C { method _bar = iss::ext|_bar; tearoff _bar = iss::ext|get#_bar; } -static method ext|_bar(lowered final iss::C #this) → dynamic { +static extension-member method ext|_bar(lowered final iss::C #this) → dynamic { try { throw "producing a stack trace"; } @@ -80,7 +80,7 @@ static method ext|_bar(lowered final iss::C #this) → dynamic { core::print(s); } } -static method ext|get#_bar(lowered final iss::C #this) → () → dynamic +static extension-member method ext|get#_bar(lowered final iss::C #this) → () → dynamic return () → dynamic => iss::ext|_bar(#this); library; diff --git a/pkg/front_end/testcases/extensions/issue38750.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue38750.dart.weak.outline.expect index e229fa3d08e..7d84ff60123 100644 --- a/pkg/front_end/testcases/extensions/issue38750.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue38750.dart.weak.outline.expect @@ -29,9 +29,9 @@ extension ext on self2::C { method _bar = self2::ext|_bar; tearoff _bar = self2::ext|get#_bar; } -static method ext|_bar(lowered final self2::C #this) → dynamic +static extension-member method ext|_bar(lowered final self2::C #this) → dynamic ; -static method ext|get#_bar(lowered final self2::C #this) → () → dynamic +static extension-member method ext|get#_bar(lowered final self2::C #this) → () → dynamic return () → dynamic => self2::ext|_bar(#this); library; diff --git a/pkg/front_end/testcases/extensions/issue38750.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue38750.dart.weak.transformed.expect index e3c701126f9..4581853dc83 100644 --- a/pkg/front_end/testcases/extensions/issue38750.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38750.dart.weak.transformed.expect @@ -72,7 +72,7 @@ extension ext on iss::C { method _bar = iss::ext|_bar; tearoff _bar = iss::ext|get#_bar; } -static method ext|_bar(lowered final iss::C #this) → dynamic { +static extension-member method ext|_bar(lowered final iss::C #this) → dynamic { try { throw "producing a stack trace"; } @@ -80,7 +80,7 @@ static method ext|_bar(lowered final iss::C #this) → dynamic { core::print(s); } } -static method ext|get#_bar(lowered final iss::C #this) → () → dynamic +static extension-member method ext|get#_bar(lowered final iss::C #this) → () → dynamic return () → dynamic => iss::ext|_bar(#this); library; diff --git a/pkg/front_end/testcases/extensions/issue38755.dart.strong.expect b/pkg/front_end/testcases/extensions/issue38755.dart.strong.expect index 8ad5a14c684..3cd0ea82aa8 100644 --- a/pkg/front_end/testcases/extensions/issue38755.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue38755.dart.strong.expect @@ -7,10 +7,10 @@ extension A on core::List { tearoff myMap = self::A|get#myMap; } static final field core::List list = self::A|myMap(["a", "b", "c"], (core::String it) → core::String => it); -static method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { +static extension-member method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { return #this.{core::Iterable::map}(block){((self::A|myMap::T%) → self::A|myMap::R%) → core::Iterable}.{core::Iterable::toList}(){({growable: core::bool}) → core::List}; } -static method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List +static extension-member method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List return ((self::A|get#myMap::T%) → R% block) → core::List => self::A|myMap(#this, block); static method main() → dynamic { core::print(self::list); diff --git a/pkg/front_end/testcases/extensions/issue38755.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue38755.dart.strong.transformed.expect index 6817f893de3..08c6a2e6eb8 100644 --- a/pkg/front_end/testcases/extensions/issue38755.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38755.dart.strong.transformed.expect @@ -7,10 +7,10 @@ extension A on core::List { tearoff myMap = self::A|get#myMap; } static final field core::List list = self::A|myMap(core::_GrowableList::_literal3("a", "b", "c"), (core::String it) → core::String => it); -static method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { +static extension-member method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { return #this.{core::Iterable::map}(block){((self::A|myMap::T%) → self::A|myMap::R%) → core::Iterable}.{core::Iterable::toList}(){({growable: core::bool}) → core::List}; } -static method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List +static extension-member method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List return ((self::A|get#myMap::T%) → R% block) → core::List => self::A|myMap(#this, block); static method main() → dynamic { core::print(self::list); diff --git a/pkg/front_end/testcases/extensions/issue38755.dart.weak.expect b/pkg/front_end/testcases/extensions/issue38755.dart.weak.expect index 8ad5a14c684..3cd0ea82aa8 100644 --- a/pkg/front_end/testcases/extensions/issue38755.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue38755.dart.weak.expect @@ -7,10 +7,10 @@ extension A on core::List { tearoff myMap = self::A|get#myMap; } static final field core::List list = self::A|myMap(["a", "b", "c"], (core::String it) → core::String => it); -static method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { +static extension-member method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { return #this.{core::Iterable::map}(block){((self::A|myMap::T%) → self::A|myMap::R%) → core::Iterable}.{core::Iterable::toList}(){({growable: core::bool}) → core::List}; } -static method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List +static extension-member method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List return ((self::A|get#myMap::T%) → R% block) → core::List => self::A|myMap(#this, block); static method main() → dynamic { core::print(self::list); diff --git a/pkg/front_end/testcases/extensions/issue38755.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue38755.dart.weak.modular.expect index 8ad5a14c684..3cd0ea82aa8 100644 --- a/pkg/front_end/testcases/extensions/issue38755.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue38755.dart.weak.modular.expect @@ -7,10 +7,10 @@ extension A on core::List { tearoff myMap = self::A|get#myMap; } static final field core::List list = self::A|myMap(["a", "b", "c"], (core::String it) → core::String => it); -static method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { +static extension-member method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { return #this.{core::Iterable::map}(block){((self::A|myMap::T%) → self::A|myMap::R%) → core::Iterable}.{core::Iterable::toList}(){({growable: core::bool}) → core::List}; } -static method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List +static extension-member method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List return ((self::A|get#myMap::T%) → R% block) → core::List => self::A|myMap(#this, block); static method main() → dynamic { core::print(self::list); diff --git a/pkg/front_end/testcases/extensions/issue38755.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue38755.dart.weak.outline.expect index 3827c92974b..b3f22b40bc2 100644 --- a/pkg/front_end/testcases/extensions/issue38755.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue38755.dart.weak.outline.expect @@ -7,9 +7,9 @@ extension A on core::List { tearoff myMap = self::A|get#myMap; } static final field core::List list; -static method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List +static extension-member method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List ; -static method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List +static extension-member method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List return ((self::A|get#myMap::T%) → R% block) → core::List => self::A|myMap(#this, block); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/issue38755.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue38755.dart.weak.transformed.expect index 6817f893de3..08c6a2e6eb8 100644 --- a/pkg/front_end/testcases/extensions/issue38755.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38755.dart.weak.transformed.expect @@ -7,10 +7,10 @@ extension A on core::List { tearoff myMap = self::A|get#myMap; } static final field core::List list = self::A|myMap(core::_GrowableList::_literal3("a", "b", "c"), (core::String it) → core::String => it); -static method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { +static extension-member method A|myMap(lowered final core::List #this, (self::A|myMap::T%) → self::A|myMap::R% block) → core::List { return #this.{core::Iterable::map}(block){((self::A|myMap::T%) → self::A|myMap::R%) → core::Iterable}.{core::Iterable::toList}(){({growable: core::bool}) → core::List}; } -static method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List +static extension-member method A|get#myMap(lowered final core::List #this) → ((self::A|get#myMap::T%) → R%) → core::List return ((self::A|get#myMap::T%) → R% block) → core::List => self::A|myMap(#this, block); static method main() → dynamic { core::print(self::list); diff --git a/pkg/front_end/testcases/extensions/issue38915.dart.strong.expect b/pkg/front_end/testcases/extensions/issue38915.dart.strong.expect index be59970f226..ae1bf6c562d 100644 --- a/pkg/front_end/testcases/extensions/issue38915.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue38915.dart.strong.expect @@ -17,19 +17,19 @@ extension Extension on self::Class { method method4 = self::Extension|method4; tearoff method4 = self::Extension|get#method4; } -static method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void +static extension-member method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void return null; -static method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void +static extension-member method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void return ({core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method1(#this, b: b, s: s); -static method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void +static extension-member method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void return null; -static method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void +static extension-member method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void return ([core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method2(#this, b, s); -static method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} -static method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void +static extension-member method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} +static extension-member method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void return (core::int i, {core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method3(#this, i, b: b, s: s); -static method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} -static method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void +static extension-member method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} +static extension-member method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void return (core::int i, [core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method4(#this, i, b, s); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/issue38915.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue38915.dart.strong.transformed.expect index be59970f226..ae1bf6c562d 100644 --- a/pkg/front_end/testcases/extensions/issue38915.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38915.dart.strong.transformed.expect @@ -17,19 +17,19 @@ extension Extension on self::Class { method method4 = self::Extension|method4; tearoff method4 = self::Extension|get#method4; } -static method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void +static extension-member method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void return null; -static method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void +static extension-member method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void return ({core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method1(#this, b: b, s: s); -static method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void +static extension-member method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void return null; -static method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void +static extension-member method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void return ([core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method2(#this, b, s); -static method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} -static method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void +static extension-member method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} +static extension-member method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void return (core::int i, {core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method3(#this, i, b: b, s: s); -static method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} -static method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void +static extension-member method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} +static extension-member method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void return (core::int i, [core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method4(#this, i, b, s); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/issue38915.dart.weak.expect b/pkg/front_end/testcases/extensions/issue38915.dart.weak.expect index be59970f226..ae1bf6c562d 100644 --- a/pkg/front_end/testcases/extensions/issue38915.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue38915.dart.weak.expect @@ -17,19 +17,19 @@ extension Extension on self::Class { method method4 = self::Extension|method4; tearoff method4 = self::Extension|get#method4; } -static method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void +static extension-member method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void return null; -static method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void +static extension-member method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void return ({core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method1(#this, b: b, s: s); -static method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void +static extension-member method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void return null; -static method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void +static extension-member method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void return ([core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method2(#this, b, s); -static method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} -static method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void +static extension-member method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} +static extension-member method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void return (core::int i, {core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method3(#this, i, b: b, s: s); -static method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} -static method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void +static extension-member method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} +static extension-member method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void return (core::int i, [core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method4(#this, i, b, s); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/issue38915.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue38915.dart.weak.modular.expect index be59970f226..ae1bf6c562d 100644 --- a/pkg/front_end/testcases/extensions/issue38915.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue38915.dart.weak.modular.expect @@ -17,19 +17,19 @@ extension Extension on self::Class { method method4 = self::Extension|method4; tearoff method4 = self::Extension|get#method4; } -static method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void +static extension-member method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void return null; -static method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void +static extension-member method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void return ({core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method1(#this, b: b, s: s); -static method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void +static extension-member method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void return null; -static method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void +static extension-member method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void return ([core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method2(#this, b, s); -static method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} -static method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void +static extension-member method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} +static extension-member method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void return (core::int i, {core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method3(#this, i, b: b, s: s); -static method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} -static method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void +static extension-member method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} +static extension-member method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void return (core::int i, [core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method4(#this, i, b, s); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/issue38915.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue38915.dart.weak.outline.expect index a0f4a0a1af0..c5c411b9628 100644 --- a/pkg/front_end/testcases/extensions/issue38915.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue38915.dart.weak.outline.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { method method4 = self::Extension|method4; tearoff method4 = self::Extension|get#method4; } -static method Extension|method1(lowered final self::Class #this, {has-declared-initializer core::bool b, has-declared-initializer core::String s}) → void +static extension-member method Extension|method1(lowered final self::Class #this, {has-declared-initializer core::bool b, has-declared-initializer core::String s}) → void ; -static method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void +static extension-member method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void return ({core::bool b, core::String s}) → void => self::Extension|method1(#this, b: b, s: s); -static method Extension|method2(lowered final self::Class #this, [has-declared-initializer core::bool b, has-declared-initializer core::String s]) → void +static extension-member method Extension|method2(lowered final self::Class #this, [has-declared-initializer core::bool b, has-declared-initializer core::String s]) → void ; -static method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void +static extension-member method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void return ([core::bool b, core::String s]) → void => self::Extension|method2(#this, b, s); -static method Extension|method3(lowered final self::Class #this, core::int i, {has-declared-initializer core::bool b, has-declared-initializer core::String s}) → void +static extension-member method Extension|method3(lowered final self::Class #this, core::int i, {has-declared-initializer core::bool b, has-declared-initializer core::String s}) → void ; -static method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void +static extension-member method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void return (core::int i, {core::bool b, core::String s}) → void => self::Extension|method3(#this, i, b: b, s: s); -static method Extension|method4(lowered final self::Class #this, core::int i, [has-declared-initializer core::bool b, has-declared-initializer core::String s]) → void +static extension-member method Extension|method4(lowered final self::Class #this, core::int i, [has-declared-initializer core::bool b, has-declared-initializer core::String s]) → void ; -static method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void +static extension-member method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void return (core::int i, [core::bool b, core::String s]) → void => self::Extension|method4(#this, i, b, s); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/issue38915.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue38915.dart.weak.transformed.expect index be59970f226..ae1bf6c562d 100644 --- a/pkg/front_end/testcases/extensions/issue38915.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue38915.dart.weak.transformed.expect @@ -17,19 +17,19 @@ extension Extension on self::Class { method method4 = self::Extension|method4; tearoff method4 = self::Extension|get#method4; } -static method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void +static extension-member method Extension|method1(lowered final self::Class #this, {core::bool b = #C1, core::String s = #C2}) → void return null; -static method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void +static extension-member method Extension|get#method1(lowered final self::Class #this) → ({b: core::bool, s: core::String}) → void return ({core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method1(#this, b: b, s: s); -static method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void +static extension-member method Extension|method2(lowered final self::Class #this, [core::bool b = #C1, core::String s = #C2]) → void return null; -static method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void +static extension-member method Extension|get#method2(lowered final self::Class #this) → ([core::bool, core::String]) → void return ([core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method2(#this, b, s); -static method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} -static method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void +static extension-member method Extension|method3(lowered final self::Class #this, core::int i, {core::bool b = #C1, core::String s = #C2}) → void {} +static extension-member method Extension|get#method3(lowered final self::Class #this) → (core::int, {b: core::bool, s: core::String}) → void return (core::int i, {core::bool b = #C1, core::String s = #C2}) → void => self::Extension|method3(#this, i, b: b, s: s); -static method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} -static method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void +static extension-member method Extension|method4(lowered final self::Class #this, core::int i, [core::bool b = #C1, core::String s = #C2]) → void {} +static extension-member method Extension|get#method4(lowered final self::Class #this) → (core::int, [core::bool, core::String]) → void return (core::int i, [core::bool b = #C1, core::String s = #C2]) → void => self::Extension|method4(#this, i, b, s); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/issue39527.dart.strong.expect b/pkg/front_end/testcases/extensions/issue39527.dart.strong.expect index e420a9ed9fa..b6b1f45f272 100644 --- a/pkg/front_end/testcases/extensions/issue39527.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue39527.dart.strong.expect @@ -13,13 +13,13 @@ extension Extension1 on self::C { operator []= = self::Extension1|[]=; operator - = self::Extension1|-; } -static method Extension1|[](lowered final self::C #this, core::int index) → self::C +static extension-member method Extension1|[](lowered final self::C #this, core::int index) → self::C return let final self::C #t1 = #this in block { #t1.{self::C::value} = #t1.{self::C::value}{core::int}.{core::num::+}(index.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; } =>#t1; -static method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void +static extension-member method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void return #this.{self::C::value} = #this.{self::C::value}{core::int}.{core::num::+}(other.{self::C::value}{core::int}.{core::num::+}(index){(core::num) → core::int}.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; -static method Extension1|-(lowered final self::C #this, core::int val) → self::C +static extension-member method Extension1|-(lowered final self::C #this, core::int val) → self::C return #this; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue39527.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue39527.dart.strong.transformed.expect index 51a044f42e0..95af17e65aa 100644 --- a/pkg/front_end/testcases/extensions/issue39527.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue39527.dart.strong.transformed.expect @@ -13,13 +13,13 @@ extension Extension1 on self::C { operator []= = self::Extension1|[]=; operator - = self::Extension1|-; } -static method Extension1|[](lowered final self::C #this, core::int index) → self::C +static extension-member method Extension1|[](lowered final self::C #this, core::int index) → self::C return let final self::C #t1 = #this in block { #t1.{self::C::value} = #t1.{self::C::value}{core::int}.{core::num::+}(index.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; } =>#t1; -static method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void +static extension-member method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void return #this.{self::C::value} = #this.{self::C::value}{core::int}.{core::num::+}(other.{self::C::value}{core::int}.{core::num::+}(index){(core::num) → core::int}.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; -static method Extension1|-(lowered final self::C #this, core::int val) → self::C +static extension-member method Extension1|-(lowered final self::C #this, core::int val) → self::C return #this; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue39527.dart.weak.expect b/pkg/front_end/testcases/extensions/issue39527.dart.weak.expect index e420a9ed9fa..b6b1f45f272 100644 --- a/pkg/front_end/testcases/extensions/issue39527.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue39527.dart.weak.expect @@ -13,13 +13,13 @@ extension Extension1 on self::C { operator []= = self::Extension1|[]=; operator - = self::Extension1|-; } -static method Extension1|[](lowered final self::C #this, core::int index) → self::C +static extension-member method Extension1|[](lowered final self::C #this, core::int index) → self::C return let final self::C #t1 = #this in block { #t1.{self::C::value} = #t1.{self::C::value}{core::int}.{core::num::+}(index.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; } =>#t1; -static method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void +static extension-member method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void return #this.{self::C::value} = #this.{self::C::value}{core::int}.{core::num::+}(other.{self::C::value}{core::int}.{core::num::+}(index){(core::num) → core::int}.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; -static method Extension1|-(lowered final self::C #this, core::int val) → self::C +static extension-member method Extension1|-(lowered final self::C #this, core::int val) → self::C return #this; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue39527.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue39527.dart.weak.modular.expect index e420a9ed9fa..b6b1f45f272 100644 --- a/pkg/front_end/testcases/extensions/issue39527.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue39527.dart.weak.modular.expect @@ -13,13 +13,13 @@ extension Extension1 on self::C { operator []= = self::Extension1|[]=; operator - = self::Extension1|-; } -static method Extension1|[](lowered final self::C #this, core::int index) → self::C +static extension-member method Extension1|[](lowered final self::C #this, core::int index) → self::C return let final self::C #t1 = #this in block { #t1.{self::C::value} = #t1.{self::C::value}{core::int}.{core::num::+}(index.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; } =>#t1; -static method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void +static extension-member method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void return #this.{self::C::value} = #this.{self::C::value}{core::int}.{core::num::+}(other.{self::C::value}{core::int}.{core::num::+}(index){(core::num) → core::int}.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; -static method Extension1|-(lowered final self::C #this, core::int val) → self::C +static extension-member method Extension1|-(lowered final self::C #this, core::int val) → self::C return #this; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue39527.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue39527.dart.weak.outline.expect index 363c6d34843..7e37bb0a767 100644 --- a/pkg/front_end/testcases/extensions/issue39527.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue39527.dart.weak.outline.expect @@ -12,11 +12,11 @@ extension Extension1 on self::C { operator []= = self::Extension1|[]=; operator - = self::Extension1|-; } -static method Extension1|[](lowered final self::C #this, core::int index) → self::C +static extension-member method Extension1|[](lowered final self::C #this, core::int index) → self::C ; -static method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void +static extension-member method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void ; -static method Extension1|-(lowered final self::C #this, core::int val) → self::C +static extension-member method Extension1|-(lowered final self::C #this, core::int val) → self::C ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/issue39527.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue39527.dart.weak.transformed.expect index 51a044f42e0..95af17e65aa 100644 --- a/pkg/front_end/testcases/extensions/issue39527.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue39527.dart.weak.transformed.expect @@ -13,13 +13,13 @@ extension Extension1 on self::C { operator []= = self::Extension1|[]=; operator - = self::Extension1|-; } -static method Extension1|[](lowered final self::C #this, core::int index) → self::C +static extension-member method Extension1|[](lowered final self::C #this, core::int index) → self::C return let final self::C #t1 = #this in block { #t1.{self::C::value} = #t1.{self::C::value}{core::int}.{core::num::+}(index.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; } =>#t1; -static method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void +static extension-member method Extension1|[]=(lowered final self::C #this, core::int index, self::C other) → void return #this.{self::C::value} = #this.{self::C::value}{core::int}.{core::num::+}(other.{self::C::value}{core::int}.{core::num::+}(index){(core::num) → core::int}.{core::num::+}(1){(core::num) → core::int}){(core::num) → core::int}; -static method Extension1|-(lowered final self::C #this, core::int val) → self::C +static extension-member method Extension1|-(lowered final self::C #this, core::int val) → self::C return #this; static method main() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue39889.dart.strong.expect b/pkg/front_end/testcases/extensions/issue39889.dart.strong.expect index 58e0bae4653..0a199a72c0c 100644 --- a/pkg/front_end/testcases/extensions/issue39889.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue39889.dart.strong.expect @@ -11,8 +11,8 @@ extension E on self::C { method f = self::E|f; tearoff f = self::E|get#f; } -static method E|f(lowered final self::C #this, core::String b) → void {} -static method E|get#f(lowered final self::C #this) → (core::String) → void +static extension-member method E|f(lowered final self::C #this, core::String b) → void {} +static extension-member method E|get#f(lowered final self::C #this) → (core::String) → void return (core::String b) → void => self::E|f(#this, b); static method main() → void { dynamic b = "456"; diff --git a/pkg/front_end/testcases/extensions/issue39889.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue39889.dart.strong.transformed.expect index 58e0bae4653..0a199a72c0c 100644 --- a/pkg/front_end/testcases/extensions/issue39889.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue39889.dart.strong.transformed.expect @@ -11,8 +11,8 @@ extension E on self::C { method f = self::E|f; tearoff f = self::E|get#f; } -static method E|f(lowered final self::C #this, core::String b) → void {} -static method E|get#f(lowered final self::C #this) → (core::String) → void +static extension-member method E|f(lowered final self::C #this, core::String b) → void {} +static extension-member method E|get#f(lowered final self::C #this) → (core::String) → void return (core::String b) → void => self::E|f(#this, b); static method main() → void { dynamic b = "456"; diff --git a/pkg/front_end/testcases/extensions/issue39889.dart.weak.expect b/pkg/front_end/testcases/extensions/issue39889.dart.weak.expect index 58e0bae4653..0a199a72c0c 100644 --- a/pkg/front_end/testcases/extensions/issue39889.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue39889.dart.weak.expect @@ -11,8 +11,8 @@ extension E on self::C { method f = self::E|f; tearoff f = self::E|get#f; } -static method E|f(lowered final self::C #this, core::String b) → void {} -static method E|get#f(lowered final self::C #this) → (core::String) → void +static extension-member method E|f(lowered final self::C #this, core::String b) → void {} +static extension-member method E|get#f(lowered final self::C #this) → (core::String) → void return (core::String b) → void => self::E|f(#this, b); static method main() → void { dynamic b = "456"; diff --git a/pkg/front_end/testcases/extensions/issue39889.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue39889.dart.weak.modular.expect index 58e0bae4653..0a199a72c0c 100644 --- a/pkg/front_end/testcases/extensions/issue39889.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue39889.dart.weak.modular.expect @@ -11,8 +11,8 @@ extension E on self::C { method f = self::E|f; tearoff f = self::E|get#f; } -static method E|f(lowered final self::C #this, core::String b) → void {} -static method E|get#f(lowered final self::C #this) → (core::String) → void +static extension-member method E|f(lowered final self::C #this, core::String b) → void {} +static extension-member method E|get#f(lowered final self::C #this) → (core::String) → void return (core::String b) → void => self::E|f(#this, b); static method main() → void { dynamic b = "456"; diff --git a/pkg/front_end/testcases/extensions/issue39889.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue39889.dart.weak.outline.expect index f3ae671913e..29869a5cee2 100644 --- a/pkg/front_end/testcases/extensions/issue39889.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue39889.dart.weak.outline.expect @@ -10,9 +10,9 @@ extension E on self::C { method f = self::E|f; tearoff f = self::E|get#f; } -static method E|f(lowered final self::C #this, core::String b) → void +static extension-member method E|f(lowered final self::C #this, core::String b) → void ; -static method E|get#f(lowered final self::C #this) → (core::String) → void +static extension-member method E|get#f(lowered final self::C #this) → (core::String) → void return (core::String b) → void => self::E|f(#this, b); static method main() → void ; diff --git a/pkg/front_end/testcases/extensions/issue39889.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue39889.dart.weak.transformed.expect index 58e0bae4653..0a199a72c0c 100644 --- a/pkg/front_end/testcases/extensions/issue39889.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue39889.dart.weak.transformed.expect @@ -11,8 +11,8 @@ extension E on self::C { method f = self::E|f; tearoff f = self::E|get#f; } -static method E|f(lowered final self::C #this, core::String b) → void {} -static method E|get#f(lowered final self::C #this) → (core::String) → void +static extension-member method E|f(lowered final self::C #this, core::String b) → void {} +static extension-member method E|get#f(lowered final self::C #this) → (core::String) → void return (core::String b) → void => self::E|f(#this, b); static method main() → void { dynamic b = "456"; diff --git a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.strong.expect b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.strong.expect index 17e789cc1fc..b5cc684db2c 100644 --- a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.strong.expect @@ -27,5 +27,5 @@ import "dart:core" as core; extension Extension on core::bool { operator + = iss::Extension|+; } -static method Extension|+(lowered final core::bool #this, core::bool other) → core::bool +static extension-member method Extension|+(lowered final core::bool #this, core::bool other) → core::bool return #this.{core::bool::|}(other){(core::bool) → core::bool}; diff --git a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.strong.transformed.expect index 17e789cc1fc..b5cc684db2c 100644 --- a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.strong.transformed.expect @@ -27,5 +27,5 @@ import "dart:core" as core; extension Extension on core::bool { operator + = iss::Extension|+; } -static method Extension|+(lowered final core::bool #this, core::bool other) → core::bool +static extension-member method Extension|+(lowered final core::bool #this, core::bool other) → core::bool return #this.{core::bool::|}(other){(core::bool) → core::bool}; diff --git a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.expect b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.expect index 17e789cc1fc..b5cc684db2c 100644 --- a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.expect @@ -27,5 +27,5 @@ import "dart:core" as core; extension Extension on core::bool { operator + = iss::Extension|+; } -static method Extension|+(lowered final core::bool #this, core::bool other) → core::bool +static extension-member method Extension|+(lowered final core::bool #this, core::bool other) → core::bool return #this.{core::bool::|}(other){(core::bool) → core::bool}; diff --git a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.outline.expect index c59592bf9a2..e9004c45cc9 100644 --- a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.outline.expect @@ -15,5 +15,5 @@ import "dart:core" as core; extension Extension on core::bool { operator + = self2::Extension|+; } -static method Extension|+(lowered final core::bool #this, core::bool other) → core::bool +static extension-member method Extension|+(lowered final core::bool #this, core::bool other) → core::bool ; diff --git a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.transformed.expect index 17e789cc1fc..b5cc684db2c 100644 --- a/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue39938/issue39938.dart.weak.transformed.expect @@ -27,5 +27,5 @@ import "dart:core" as core; extension Extension on core::bool { operator + = iss::Extension|+; } -static method Extension|+(lowered final core::bool #this, core::bool other) → core::bool +static extension-member method Extension|+(lowered final core::bool #this, core::bool other) → core::bool return #this.{core::bool::|}(other){(core::bool) → core::bool}; diff --git a/pkg/front_end/testcases/extensions/issue40596.dart.strong.expect b/pkg/front_end/testcases/extensions/issue40596.dart.strong.expect index 58a765551da..87ebe5af4b7 100644 --- a/pkg/front_end/testcases/extensions/issue40596.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue40596.dart.strong.expect @@ -15,10 +15,10 @@ static method main() → void { core::print(s); }); } -static method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { +static extension-member method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { return #this.{asy::Stream::listen}((self::Extension|call::T% d) → void { onData(d); }){((self::Extension|call::T%) →? void, {cancelOnError: core::bool?, onDone: () →? void, onError: core::Function?}) → asy::StreamSubscription}; } -static method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription +static extension-member method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription return (core::Function onData) → asy::StreamSubscription => self::Extension|call(#this, onData); diff --git a/pkg/front_end/testcases/extensions/issue40596.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue40596.dart.strong.transformed.expect index 58a765551da..87ebe5af4b7 100644 --- a/pkg/front_end/testcases/extensions/issue40596.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue40596.dart.strong.transformed.expect @@ -15,10 +15,10 @@ static method main() → void { core::print(s); }); } -static method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { +static extension-member method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { return #this.{asy::Stream::listen}((self::Extension|call::T% d) → void { onData(d); }){((self::Extension|call::T%) →? void, {cancelOnError: core::bool?, onDone: () →? void, onError: core::Function?}) → asy::StreamSubscription}; } -static method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription +static extension-member method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription return (core::Function onData) → asy::StreamSubscription => self::Extension|call(#this, onData); diff --git a/pkg/front_end/testcases/extensions/issue40596.dart.weak.expect b/pkg/front_end/testcases/extensions/issue40596.dart.weak.expect index 58a765551da..87ebe5af4b7 100644 --- a/pkg/front_end/testcases/extensions/issue40596.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue40596.dart.weak.expect @@ -15,10 +15,10 @@ static method main() → void { core::print(s); }); } -static method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { +static extension-member method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { return #this.{asy::Stream::listen}((self::Extension|call::T% d) → void { onData(d); }){((self::Extension|call::T%) →? void, {cancelOnError: core::bool?, onDone: () →? void, onError: core::Function?}) → asy::StreamSubscription}; } -static method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription +static extension-member method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription return (core::Function onData) → asy::StreamSubscription => self::Extension|call(#this, onData); diff --git a/pkg/front_end/testcases/extensions/issue40596.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue40596.dart.weak.modular.expect index 58a765551da..87ebe5af4b7 100644 --- a/pkg/front_end/testcases/extensions/issue40596.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue40596.dart.weak.modular.expect @@ -15,10 +15,10 @@ static method main() → void { core::print(s); }); } -static method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { +static extension-member method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { return #this.{asy::Stream::listen}((self::Extension|call::T% d) → void { onData(d); }){((self::Extension|call::T%) →? void, {cancelOnError: core::bool?, onDone: () →? void, onError: core::Function?}) → asy::StreamSubscription}; } -static method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription +static extension-member method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription return (core::Function onData) → asy::StreamSubscription => self::Extension|call(#this, onData); diff --git a/pkg/front_end/testcases/extensions/issue40596.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue40596.dart.weak.outline.expect index 1b58ca31d70..e4678a94cb3 100644 --- a/pkg/front_end/testcases/extensions/issue40596.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue40596.dart.weak.outline.expect @@ -11,7 +11,7 @@ extension Extension on asy::Stream { } static method main() → void ; -static method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription +static extension-member method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription ; -static method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription +static extension-member method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription return (core::Function onData) → asy::StreamSubscription => self::Extension|call(#this, onData); diff --git a/pkg/front_end/testcases/extensions/issue40596.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue40596.dart.weak.transformed.expect index 58a765551da..87ebe5af4b7 100644 --- a/pkg/front_end/testcases/extensions/issue40596.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue40596.dart.weak.transformed.expect @@ -15,10 +15,10 @@ static method main() → void { core::print(s); }); } -static method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { +static extension-member method Extension|call(lowered final asy::Stream #this, core::Function onData) → asy::StreamSubscription { return #this.{asy::Stream::listen}((self::Extension|call::T% d) → void { onData(d); }){((self::Extension|call::T%) →? void, {cancelOnError: core::bool?, onDone: () →? void, onError: core::Function?}) → asy::StreamSubscription}; } -static method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription +static extension-member method Extension|get#call(lowered final asy::Stream #this) → (core::Function) → asy::StreamSubscription return (core::Function onData) → asy::StreamSubscription => self::Extension|call(#this, onData); diff --git a/pkg/front_end/testcases/extensions/issue40713.dart.strong.expect b/pkg/front_end/testcases/extensions/issue40713.dart.strong.expect index 5ee96498b76..5f58eace317 100644 --- a/pkg/front_end/testcases/extensions/issue40713.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue40713.dart.strong.expect @@ -20,7 +20,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable* { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { return #this.{core::Iterable::isNotEmpty}{core::bool*} ?{self::SafeAccess|get#safeFirst::T*} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T*} : null; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40713.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue40713.dart.strong.transformed.expect index 99dd558213f..4d7a38d60ea 100644 --- a/pkg/front_end/testcases/extensions/issue40713.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue40713.dart.strong.transformed.expect @@ -20,7 +20,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable* { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { return #this.{core::Iterable::isNotEmpty}{core::bool*} ?{self::SafeAccess|get#safeFirst::T*} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T*} : null; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40713.dart.weak.expect b/pkg/front_end/testcases/extensions/issue40713.dart.weak.expect index 069e0ea267f..0dcfebdf22b 100644 --- a/pkg/front_end/testcases/extensions/issue40713.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue40713.dart.weak.expect @@ -16,7 +16,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable* { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { return #this.{core::Iterable::isNotEmpty}{core::bool*} ?{self::SafeAccess|get#safeFirst::T*} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T*} : null; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40713.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue40713.dart.weak.modular.expect index 069e0ea267f..0dcfebdf22b 100644 --- a/pkg/front_end/testcases/extensions/issue40713.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue40713.dart.weak.modular.expect @@ -16,7 +16,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable* { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { return #this.{core::Iterable::isNotEmpty}{core::bool*} ?{self::SafeAccess|get#safeFirst::T*} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T*} : null; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40713.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue40713.dart.weak.outline.expect index a1906195dc7..59727c3fe52 100644 --- a/pkg/front_end/testcases/extensions/issue40713.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue40713.dart.weak.outline.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable* { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/issue40713.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue40713.dart.weak.transformed.expect index dedf240ca84..f7f020ea92e 100644 --- a/pkg/front_end/testcases/extensions/issue40713.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue40713.dart.weak.transformed.expect @@ -16,7 +16,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable* { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable* #this) → self::SafeAccess|get#safeFirst::T* { return #this.{core::Iterable::isNotEmpty}{core::bool*} ?{self::SafeAccess|get#safeFirst::T*} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T*} : null; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40713_2.dart.strong.expect b/pkg/front_end/testcases/extensions/issue40713_2.dart.strong.expect index ab9864e3943..1a96d67e68c 100644 --- a/pkg/front_end/testcases/extensions/issue40713_2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue40713_2.dart.strong.expect @@ -16,7 +16,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { return #this.{core::Iterable::isNotEmpty}{core::bool} ?{self::SafeAccess|get#safeFirst::T%} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T%} : throw ""; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40713_2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue40713_2.dart.strong.transformed.expect index e955e07183c..1ed1929c309 100644 --- a/pkg/front_end/testcases/extensions/issue40713_2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue40713_2.dart.strong.transformed.expect @@ -16,7 +16,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { return #this.{core::Iterable::isNotEmpty}{core::bool} ?{self::SafeAccess|get#safeFirst::T%} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T%} : throw ""; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.expect b/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.expect index ab9864e3943..1a96d67e68c 100644 --- a/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.expect @@ -16,7 +16,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { return #this.{core::Iterable::isNotEmpty}{core::bool} ?{self::SafeAccess|get#safeFirst::T%} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T%} : throw ""; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.modular.expect index ab9864e3943..1a96d67e68c 100644 --- a/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.modular.expect @@ -16,7 +16,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { return #this.{core::Iterable::isNotEmpty}{core::bool} ?{self::SafeAccess|get#safeFirst::T%} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T%} : throw ""; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.outline.expect index 9ae7e5b7d22..cfcc6e19fd6 100644 --- a/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.outline.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.transformed.expect index e955e07183c..1ed1929c309 100644 --- a/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue40713_2.dart.weak.transformed.expect @@ -16,7 +16,7 @@ import "dart:core" as core; extension SafeAccess on core::Iterable { get safeFirst = self::SafeAccess|get#safeFirst; } -static method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { +static extension-member method SafeAccess|get#safeFirst(lowered final core::Iterable #this) → self::SafeAccess|get#safeFirst::T% { return #this.{core::Iterable::isNotEmpty}{core::bool} ?{self::SafeAccess|get#safeFirst::T%} #this.{core::Iterable::first}{self::SafeAccess|get#safeFirst::T%} : throw ""; } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue40816.dart.strong.expect b/pkg/front_end/testcases/extensions/issue40816.dart.strong.expect index 67d4347c9ad..6efb394eb2e 100644 --- a/pkg/front_end/testcases/extensions/issue40816.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue40816.dart.strong.expect @@ -16,8 +16,8 @@ extension /* unnamed */ _extension#0 on self::A { method foo = self::_extension#0|foo; tearoff foo = self::_extension#0|get#foo; } -static method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} -static method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void +static extension-member method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} +static extension-member method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void return (self::A a, self::B b) → void => self::_extension#0|foo(#this, a, b); static method main() → void { dynamic a = new self::A::•(); diff --git a/pkg/front_end/testcases/extensions/issue40816.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue40816.dart.strong.transformed.expect index 67d4347c9ad..6efb394eb2e 100644 --- a/pkg/front_end/testcases/extensions/issue40816.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue40816.dart.strong.transformed.expect @@ -16,8 +16,8 @@ extension /* unnamed */ _extension#0 on self::A { method foo = self::_extension#0|foo; tearoff foo = self::_extension#0|get#foo; } -static method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} -static method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void +static extension-member method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} +static extension-member method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void return (self::A a, self::B b) → void => self::_extension#0|foo(#this, a, b); static method main() → void { dynamic a = new self::A::•(); diff --git a/pkg/front_end/testcases/extensions/issue40816.dart.weak.expect b/pkg/front_end/testcases/extensions/issue40816.dart.weak.expect index 67d4347c9ad..6efb394eb2e 100644 --- a/pkg/front_end/testcases/extensions/issue40816.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue40816.dart.weak.expect @@ -16,8 +16,8 @@ extension /* unnamed */ _extension#0 on self::A { method foo = self::_extension#0|foo; tearoff foo = self::_extension#0|get#foo; } -static method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} -static method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void +static extension-member method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} +static extension-member method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void return (self::A a, self::B b) → void => self::_extension#0|foo(#this, a, b); static method main() → void { dynamic a = new self::A::•(); diff --git a/pkg/front_end/testcases/extensions/issue40816.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue40816.dart.weak.modular.expect index 67d4347c9ad..6efb394eb2e 100644 --- a/pkg/front_end/testcases/extensions/issue40816.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue40816.dart.weak.modular.expect @@ -16,8 +16,8 @@ extension /* unnamed */ _extension#0 on self::A { method foo = self::_extension#0|foo; tearoff foo = self::_extension#0|get#foo; } -static method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} -static method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void +static extension-member method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} +static extension-member method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void return (self::A a, self::B b) → void => self::_extension#0|foo(#this, a, b); static method main() → void { dynamic a = new self::A::•(); diff --git a/pkg/front_end/testcases/extensions/issue40816.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue40816.dart.weak.outline.expect index 10d01daaf74..10e60e982a9 100644 --- a/pkg/front_end/testcases/extensions/issue40816.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue40816.dart.weak.outline.expect @@ -14,9 +14,9 @@ extension /* unnamed */ _extension#0 on self::A { method foo = self::_extension#0|foo; tearoff foo = self::_extension#0|get#foo; } -static method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void +static extension-member method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void ; -static method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void +static extension-member method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void return (self::A a, self::B b) → void => self::_extension#0|foo(#this, a, b); static method main() → void ; diff --git a/pkg/front_end/testcases/extensions/issue40816.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue40816.dart.weak.transformed.expect index 67d4347c9ad..6efb394eb2e 100644 --- a/pkg/front_end/testcases/extensions/issue40816.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue40816.dart.weak.transformed.expect @@ -16,8 +16,8 @@ extension /* unnamed */ _extension#0 on self::A { method foo = self::_extension#0|foo; tearoff foo = self::_extension#0|get#foo; } -static method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} -static method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void +static extension-member method _extension#0|foo(lowered final self::A #this, self::A a, self::B b) → void {} +static extension-member method _extension#0|get#foo(lowered final self::A #this) → (self::A, self::B) → void return (self::A a, self::B b) → void => self::_extension#0|foo(#this, a, b); static method main() → void { dynamic a = new self::A::•(); diff --git a/pkg/front_end/testcases/extensions/issue43218.dart.strong.expect b/pkg/front_end/testcases/extensions/issue43218.dart.strong.expect index 6ca7c9027c6..fdccac1a4f8 100644 --- a/pkg/front_end/testcases/extensions/issue43218.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue43218.dart.strong.expect @@ -26,7 +26,7 @@ class C extends core::Object { extension Ext on self::C { get id = self::Ext|get#id; } -static method Ext|get#id(lowered final self::C #this) → core::int +static extension-member method Ext|get#id(lowered final self::C #this) → core::int return #this.{self::C::value}{core::int}.{core::num::+}(1){(core::num) → core::int}; static method test() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue43218.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue43218.dart.strong.transformed.expect index 6ca7c9027c6..fdccac1a4f8 100644 --- a/pkg/front_end/testcases/extensions/issue43218.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue43218.dart.strong.transformed.expect @@ -26,7 +26,7 @@ class C extends core::Object { extension Ext on self::C { get id = self::Ext|get#id; } -static method Ext|get#id(lowered final self::C #this) → core::int +static extension-member method Ext|get#id(lowered final self::C #this) → core::int return #this.{self::C::value}{core::int}.{core::num::+}(1){(core::num) → core::int}; static method test() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue43218.dart.weak.expect b/pkg/front_end/testcases/extensions/issue43218.dart.weak.expect index 6ca7c9027c6..fdccac1a4f8 100644 --- a/pkg/front_end/testcases/extensions/issue43218.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue43218.dart.weak.expect @@ -26,7 +26,7 @@ class C extends core::Object { extension Ext on self::C { get id = self::Ext|get#id; } -static method Ext|get#id(lowered final self::C #this) → core::int +static extension-member method Ext|get#id(lowered final self::C #this) → core::int return #this.{self::C::value}{core::int}.{core::num::+}(1){(core::num) → core::int}; static method test() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue43218.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue43218.dart.weak.modular.expect index 6ca7c9027c6..fdccac1a4f8 100644 --- a/pkg/front_end/testcases/extensions/issue43218.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue43218.dart.weak.modular.expect @@ -26,7 +26,7 @@ class C extends core::Object { extension Ext on self::C { get id = self::Ext|get#id; } -static method Ext|get#id(lowered final self::C #this) → core::int +static extension-member method Ext|get#id(lowered final self::C #this) → core::int return #this.{self::C::value}{core::int}.{core::num::+}(1){(core::num) → core::int}; static method test() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue43218.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue43218.dart.weak.outline.expect index b693515923e..b831b258e0a 100644 --- a/pkg/front_end/testcases/extensions/issue43218.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue43218.dart.weak.outline.expect @@ -16,7 +16,7 @@ class C extends core::Object { extension Ext on self::C { get id = self::Ext|get#id; } -static method Ext|get#id(lowered final self::C #this) → core::int +static extension-member method Ext|get#id(lowered final self::C #this) → core::int ; static method test() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/issue43218.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue43218.dart.weak.transformed.expect index 6ca7c9027c6..fdccac1a4f8 100644 --- a/pkg/front_end/testcases/extensions/issue43218.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue43218.dart.weak.transformed.expect @@ -26,7 +26,7 @@ class C extends core::Object { extension Ext on self::C { get id = self::Ext|get#id; } -static method Ext|get#id(lowered final self::C #this) → core::int +static extension-member method Ext|get#id(lowered final self::C #this) → core::int return #this.{self::C::value}{core::int}.{core::num::+}(1){(core::num) → core::int}; static method test() → dynamic { self::C c = new self::C::•(); diff --git a/pkg/front_end/testcases/extensions/issue44003.dart.strong.expect b/pkg/front_end/testcases/extensions/issue44003.dart.strong.expect index 534780e64f6..5e45396990a 100644 --- a/pkg/front_end/testcases/extensions/issue44003.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/issue44003.dart.strong.expect @@ -29,9 +29,9 @@ Try correcting the name to the name of an existing method, or defining a method args.foo('1', 2); ^^^" in args{}.foo("1", 2); } -static method _extension#0|foo(lowered final core::List #this, core::String bar) → void { +static extension-member method _extension#0|foo(lowered final core::List #this, core::String bar) → void { core::print(1); } -static method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void +static extension-member method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void return (core::String bar) → void => self::_extension#0|foo(#this, bar); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue44003.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/issue44003.dart.strong.transformed.expect index 534780e64f6..5e45396990a 100644 --- a/pkg/front_end/testcases/extensions/issue44003.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue44003.dart.strong.transformed.expect @@ -29,9 +29,9 @@ Try correcting the name to the name of an existing method, or defining a method args.foo('1', 2); ^^^" in args{}.foo("1", 2); } -static method _extension#0|foo(lowered final core::List #this, core::String bar) → void { +static extension-member method _extension#0|foo(lowered final core::List #this, core::String bar) → void { core::print(1); } -static method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void +static extension-member method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void return (core::String bar) → void => self::_extension#0|foo(#this, bar); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue44003.dart.weak.expect b/pkg/front_end/testcases/extensions/issue44003.dart.weak.expect index 534780e64f6..5e45396990a 100644 --- a/pkg/front_end/testcases/extensions/issue44003.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/issue44003.dart.weak.expect @@ -29,9 +29,9 @@ Try correcting the name to the name of an existing method, or defining a method args.foo('1', 2); ^^^" in args{}.foo("1", 2); } -static method _extension#0|foo(lowered final core::List #this, core::String bar) → void { +static extension-member method _extension#0|foo(lowered final core::List #this, core::String bar) → void { core::print(1); } -static method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void +static extension-member method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void return (core::String bar) → void => self::_extension#0|foo(#this, bar); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue44003.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/issue44003.dart.weak.modular.expect index 534780e64f6..5e45396990a 100644 --- a/pkg/front_end/testcases/extensions/issue44003.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/issue44003.dart.weak.modular.expect @@ -29,9 +29,9 @@ Try correcting the name to the name of an existing method, or defining a method args.foo('1', 2); ^^^" in args{}.foo("1", 2); } -static method _extension#0|foo(lowered final core::List #this, core::String bar) → void { +static extension-member method _extension#0|foo(lowered final core::List #this, core::String bar) → void { core::print(1); } -static method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void +static extension-member method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void return (core::String bar) → void => self::_extension#0|foo(#this, bar); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/issue44003.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/issue44003.dart.weak.outline.expect index bdde702cf6c..dd7cb0149da 100644 --- a/pkg/front_end/testcases/extensions/issue44003.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/issue44003.dart.weak.outline.expect @@ -18,9 +18,9 @@ extension /* unnamed */ _extension#0 on core::List { } static method test(core::List args) → void ; -static method _extension#0|foo(lowered final core::List #this, core::String bar) → void +static extension-member method _extension#0|foo(lowered final core::List #this, core::String bar) → void ; -static method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void +static extension-member method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void return (core::String bar) → void => self::_extension#0|foo(#this, bar); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/issue44003.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/issue44003.dart.weak.transformed.expect index 534780e64f6..5e45396990a 100644 --- a/pkg/front_end/testcases/extensions/issue44003.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/issue44003.dart.weak.transformed.expect @@ -29,9 +29,9 @@ Try correcting the name to the name of an existing method, or defining a method args.foo('1', 2); ^^^" in args{}.foo("1", 2); } -static method _extension#0|foo(lowered final core::List #this, core::String bar) → void { +static extension-member method _extension#0|foo(lowered final core::List #this, core::String bar) → void { core::print(1); } -static method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void +static extension-member method _extension#0|get#foo(lowered final core::List #this) → (core::String) → void return (core::String bar) → void => self::_extension#0|foo(#this, bar); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182.dart.strong.expect b/pkg/front_end/testcases/extensions/language_issue1182.dart.strong.expect index dc068d3b0dc..79659ab7282 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182.dart.strong.expect @@ -36,6 +36,6 @@ class Foo extends core::Object { extension Test on T* { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* +static extension-member method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* return (self::Test|get#test::T* a) → self::Test|get#test::T* => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/language_issue1182.dart.strong.transformed.expect index dc068d3b0dc..79659ab7282 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182.dart.strong.transformed.expect @@ -36,6 +36,6 @@ class Foo extends core::Object { extension Test on T* { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* +static extension-member method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* return (self::Test|get#test::T* a) → self::Test|get#test::T* => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.expect b/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.expect index d56ceedf98b..b0810407d52 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.expect @@ -32,6 +32,6 @@ class Foo extends core::Object { extension Test on T* { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* +static extension-member method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* return (self::Test|get#test::T* a) → self::Test|get#test::T* => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.modular.expect index d56ceedf98b..b0810407d52 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.modular.expect @@ -32,6 +32,6 @@ class Foo extends core::Object { extension Test on T* { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* +static extension-member method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* return (self::Test|get#test::T* a) → self::Test|get#test::T* => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.outline.expect index 5d954b7fa7d..8eceb3f9b82 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.outline.expect @@ -21,7 +21,7 @@ class Foo extends core::Object { extension Test on T* { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* +static extension-member method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* ; static method main() → void ; diff --git a/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.transformed.expect index d56ceedf98b..b0810407d52 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182.dart.weak.transformed.expect @@ -32,6 +32,6 @@ class Foo extends core::Object { extension Test on T* { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* +static extension-member method Test|get#test(lowered final self::Test|get#test::T* #this) → (self::Test|get#test::T*) →* self::Test|get#test::T* return (self::Test|get#test::T* a) → self::Test|get#test::T* => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.strong.expect b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.strong.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.strong.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.strong.transformed.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.strong.transformed.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.expect b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.modular.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.modular.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.outline.expect index 6071eb7658e..6d4cea4be91 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.outline.expect @@ -11,7 +11,7 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% ; static method main() → void ; diff --git a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.transformed.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/language_issue1182_2.dart.weak.transformed.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/extensions/missing_toplevel.dart.strong.expect b/pkg/front_end/testcases/extensions/missing_toplevel.dart.strong.expect index 224eb96111a..8f09934449c 100644 --- a/pkg/front_end/testcases/extensions/missing_toplevel.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/missing_toplevel.dart.strong.expect @@ -25,5 +25,5 @@ static field dynamic missingGetter = let final self::Class #t1 = self::c in let Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'. var missingGetter = c.setter += 42; ^^^^^^" in #t1{}.setter{dynamic}.+(42) as{TypeError,ForDynamic} core::int in let final void #t3 = self::Extension|set#setter(#t1, #t2) in #t2; -static method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/missing_toplevel.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/missing_toplevel.dart.strong.transformed.expect index 1ce59c2383b..3dfee0e1d98 100644 --- a/pkg/front_end/testcases/extensions/missing_toplevel.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/missing_toplevel.dart.strong.transformed.expect @@ -25,5 +25,5 @@ static field dynamic missingGetter = let final self::Class #t1 = self::c in let Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'. var missingGetter = c.setter += 42; ^^^^^^" in #t1{}.setter{dynamic}.+(42) as{TypeError,ForDynamic} core::int in let final void #t3 = self::Extension|set#setter(#t1, #t2) in #t2; -static method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.expect b/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.expect index 224eb96111a..8f09934449c 100644 --- a/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.expect @@ -25,5 +25,5 @@ static field dynamic missingGetter = let final self::Class #t1 = self::c in let Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'. var missingGetter = c.setter += 42; ^^^^^^" in #t1{}.setter{dynamic}.+(42) as{TypeError,ForDynamic} core::int in let final void #t3 = self::Extension|set#setter(#t1, #t2) in #t2; -static method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.modular.expect index 224eb96111a..8f09934449c 100644 --- a/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.modular.expect @@ -25,5 +25,5 @@ static field dynamic missingGetter = let final self::Class #t1 = self::c in let Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'. var missingGetter = c.setter += 42; ^^^^^^" in #t1{}.setter{dynamic}.+(42) as{TypeError,ForDynamic} core::int in let final void #t3 = self::Extension|set#setter(#t1, #t2) in #t2; -static method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.outline.expect index ebb28e3ebf7..9971d7c64e0 100644 --- a/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.outline.expect @@ -20,7 +20,7 @@ extension Extension on self::Class { } static field self::Class c; static field dynamic missingGetter; -static method Extension|set#setter(lowered final self::Class #this, core::int value) → void +static extension-member method Extension|set#setter(lowered final self::Class #this, core::int value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.transformed.expect index 1ce59c2383b..3dfee0e1d98 100644 --- a/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/missing_toplevel.dart.weak.transformed.expect @@ -25,5 +25,5 @@ static field dynamic missingGetter = let final self::Class #t1 = self::c in let Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'. var missingGetter = c.setter += 42; ^^^^^^" in #t1{}.setter{dynamic}.+(42) as{TypeError,ForDynamic} core::int in let final void #t3 = self::Extension|set#setter(#t1, #t2) in #t2; -static method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|set#setter(lowered final self::Class #this, core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/multi_export.dart.strong.expect b/pkg/front_end/testcases/extensions/multi_export.dart.strong.expect index d4cf29f8129..1711241d964 100644 --- a/pkg/front_end/testcases/extensions/multi_export.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/multi_export.dart.strong.expect @@ -93,6 +93,6 @@ extension Extension on T { method method = mul2::Extension|method; tearoff method = mul2::Extension|get#method; } -static method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} -static method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic +static extension-member method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} +static extension-member method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic return () → dynamic => mul2::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/multi_export.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/multi_export.dart.strong.transformed.expect index d4cf29f8129..1711241d964 100644 --- a/pkg/front_end/testcases/extensions/multi_export.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/multi_export.dart.strong.transformed.expect @@ -93,6 +93,6 @@ extension Extension on T { method method = mul2::Extension|method; tearoff method = mul2::Extension|get#method; } -static method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} -static method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic +static extension-member method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} +static extension-member method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic return () → dynamic => mul2::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/multi_export.dart.weak.expect b/pkg/front_end/testcases/extensions/multi_export.dart.weak.expect index d4cf29f8129..1711241d964 100644 --- a/pkg/front_end/testcases/extensions/multi_export.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/multi_export.dart.weak.expect @@ -93,6 +93,6 @@ extension Extension on T { method method = mul2::Extension|method; tearoff method = mul2::Extension|get#method; } -static method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} -static method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic +static extension-member method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} +static extension-member method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic return () → dynamic => mul2::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/multi_export.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/multi_export.dart.weak.modular.expect index d4cf29f8129..1711241d964 100644 --- a/pkg/front_end/testcases/extensions/multi_export.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/multi_export.dart.weak.modular.expect @@ -93,6 +93,6 @@ extension Extension on T { method method = mul2::Extension|method; tearoff method = mul2::Extension|get#method; } -static method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} -static method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic +static extension-member method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} +static extension-member method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic return () → dynamic => mul2::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/multi_export.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/multi_export.dart.weak.outline.expect index 5fe57f11deb..a810bd781a3 100644 --- a/pkg/front_end/testcases/extensions/multi_export.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/multi_export.dart.weak.outline.expect @@ -71,7 +71,7 @@ extension Extension on T { method method = mul::Extension|method; tearoff method = mul::Extension|get#method; } -static method Extension|method(lowered final mul::Extension|method::T #this) → dynamic +static extension-member method Extension|method(lowered final mul::Extension|method::T #this) → dynamic ; -static method Extension|get#method(lowered final mul::Extension|get#method::T #this) → () → dynamic +static extension-member method Extension|get#method(lowered final mul::Extension|get#method::T #this) → () → dynamic return () → dynamic => mul::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/multi_export.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/multi_export.dart.weak.transformed.expect index d4cf29f8129..1711241d964 100644 --- a/pkg/front_end/testcases/extensions/multi_export.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/multi_export.dart.weak.transformed.expect @@ -93,6 +93,6 @@ extension Extension on T { method method = mul2::Extension|method; tearoff method = mul2::Extension|get#method; } -static method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} -static method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic +static extension-member method Extension|method(lowered final mul2::Extension|method::T #this) → dynamic {} +static extension-member method Extension|get#method(lowered final mul2::Extension|get#method::T #this) → () → dynamic return () → dynamic => mul2::Extension|method(#this); diff --git a/pkg/front_end/testcases/extensions/nested_on_types.dart.strong.expect b/pkg/front_end/testcases/extensions/nested_on_types.dart.strong.expect index b9c74d71348..f24cd5200fc 100644 --- a/pkg/front_end/testcases/extensions/nested_on_types.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/nested_on_types.dart.strong.expect @@ -13,10 +13,10 @@ extension Extension on self::A> { method method2 = self::Extension|method2; tearoff method2 = self::Extension|get#method2; } -static method Extension|method1(lowered final self::A> #this) → dynamic {} -static method Extension|get#method1(lowered final self::A> #this) → () → dynamic +static extension-member method Extension|method1(lowered final self::A> #this) → dynamic {} +static extension-member method Extension|get#method1(lowered final self::A> #this) → () → dynamic return () → dynamic => self::Extension|method1(#this); -static method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} -static method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic +static extension-member method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} +static extension-member method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic return (A% a) → dynamic => self::Extension|method2(#this, a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/nested_on_types.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/nested_on_types.dart.strong.transformed.expect index b9c74d71348..f24cd5200fc 100644 --- a/pkg/front_end/testcases/extensions/nested_on_types.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/nested_on_types.dart.strong.transformed.expect @@ -13,10 +13,10 @@ extension Extension on self::A> { method method2 = self::Extension|method2; tearoff method2 = self::Extension|get#method2; } -static method Extension|method1(lowered final self::A> #this) → dynamic {} -static method Extension|get#method1(lowered final self::A> #this) → () → dynamic +static extension-member method Extension|method1(lowered final self::A> #this) → dynamic {} +static extension-member method Extension|get#method1(lowered final self::A> #this) → () → dynamic return () → dynamic => self::Extension|method1(#this); -static method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} -static method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic +static extension-member method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} +static extension-member method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic return (A% a) → dynamic => self::Extension|method2(#this, a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.expect b/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.expect index b9c74d71348..f24cd5200fc 100644 --- a/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.expect @@ -13,10 +13,10 @@ extension Extension on self::A> { method method2 = self::Extension|method2; tearoff method2 = self::Extension|get#method2; } -static method Extension|method1(lowered final self::A> #this) → dynamic {} -static method Extension|get#method1(lowered final self::A> #this) → () → dynamic +static extension-member method Extension|method1(lowered final self::A> #this) → dynamic {} +static extension-member method Extension|get#method1(lowered final self::A> #this) → () → dynamic return () → dynamic => self::Extension|method1(#this); -static method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} -static method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic +static extension-member method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} +static extension-member method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic return (A% a) → dynamic => self::Extension|method2(#this, a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.modular.expect index b9c74d71348..f24cd5200fc 100644 --- a/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.modular.expect @@ -13,10 +13,10 @@ extension Extension on self::A> { method method2 = self::Extension|method2; tearoff method2 = self::Extension|get#method2; } -static method Extension|method1(lowered final self::A> #this) → dynamic {} -static method Extension|get#method1(lowered final self::A> #this) → () → dynamic +static extension-member method Extension|method1(lowered final self::A> #this) → dynamic {} +static extension-member method Extension|get#method1(lowered final self::A> #this) → () → dynamic return () → dynamic => self::Extension|method1(#this); -static method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} -static method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic +static extension-member method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} +static extension-member method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic return (A% a) → dynamic => self::Extension|method2(#this, a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.outline.expect index d62beaf7028..6ee8fee467f 100644 --- a/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.outline.expect @@ -12,13 +12,13 @@ extension Extension on self::A> { method method2 = self::Extension|method2; tearoff method2 = self::Extension|get#method2; } -static method Extension|method1(lowered final self::A> #this) → dynamic +static extension-member method Extension|method1(lowered final self::A> #this) → dynamic ; -static method Extension|get#method1(lowered final self::A> #this) → () → dynamic +static extension-member method Extension|get#method1(lowered final self::A> #this) → () → dynamic return () → dynamic => self::Extension|method1(#this); -static method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic +static extension-member method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic ; -static method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic +static extension-member method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic return (A% a) → dynamic => self::Extension|method2(#this, a); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.transformed.expect index b9c74d71348..f24cd5200fc 100644 --- a/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/nested_on_types.dart.weak.transformed.expect @@ -13,10 +13,10 @@ extension Extension on self::A> { method method2 = self::Extension|method2; tearoff method2 = self::Extension|get#method2; } -static method Extension|method1(lowered final self::A> #this) → dynamic {} -static method Extension|get#method1(lowered final self::A> #this) → () → dynamic +static extension-member method Extension|method1(lowered final self::A> #this) → dynamic {} +static extension-member method Extension|get#method1(lowered final self::A> #this) → () → dynamic return () → dynamic => self::Extension|method1(#this); -static method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} -static method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic +static extension-member method Extension|method2(lowered final self::A> #this, self::Extension|method2::A% a) → dynamic {} +static extension-member method Extension|get#method2(lowered final self::A> #this) → (A%) → dynamic return (A% a) → dynamic => self::Extension|method2(#this, a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/null_aware.dart.strong.expect b/pkg/front_end/testcases/extensions/null_aware.dart.strong.expect index 420d8e2a202..089ea2569dc 100644 --- a/pkg/front_end/testcases/extensions/null_aware.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/null_aware.dart.strong.expect @@ -33,21 +33,21 @@ extension Extension on self::Class* { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int* #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int*} let final core::int* #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1); self::expect(42, let final core::int* #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int*} let final core::int* #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4); } -static method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/null_aware.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/null_aware.dart.strong.transformed.expect index 357bc8b85c6..7d244b08f61 100644 --- a/pkg/front_end/testcases/extensions/null_aware.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/null_aware.dart.strong.transformed.expect @@ -33,21 +33,21 @@ extension Extension on self::Class* { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int* #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int*} let final core::int* #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1); self::expect(42, let final core::int* #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int*} let final core::int* #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4); } -static method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/null_aware.dart.weak.expect b/pkg/front_end/testcases/extensions/null_aware.dart.weak.expect index 72c8da0f556..9684dfb16e7 100644 --- a/pkg/front_end/testcases/extensions/null_aware.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/null_aware.dart.weak.expect @@ -26,21 +26,21 @@ extension Extension on self::Class* { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int* #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int*} let final core::int* #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1); self::expect(42, let final core::int* #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int*} let final core::int* #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4); } -static method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/null_aware.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/null_aware.dart.weak.modular.expect index 72c8da0f556..9684dfb16e7 100644 --- a/pkg/front_end/testcases/extensions/null_aware.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/null_aware.dart.weak.modular.expect @@ -26,21 +26,21 @@ extension Extension on self::Class* { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int* #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int*} let final core::int* #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1); self::expect(42, let final core::int* #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int*} let final core::int* #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4); } -static method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/null_aware.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/null_aware.dart.weak.outline.expect index 0136676a065..9e8a0a6d1be 100644 --- a/pkg/front_end/testcases/extensions/null_aware.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/null_aware.dart.weak.outline.expect @@ -25,17 +25,17 @@ extension Extension on self::Class* { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* ; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void ; -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* ; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic +static extension-member method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic ; -static method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/null_aware.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/null_aware.dart.weak.transformed.expect index 3fb4c93434f..39152fe2b2a 100644 --- a/pkg/front_end/testcases/extensions/null_aware.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/null_aware.dart.weak.transformed.expect @@ -26,21 +26,21 @@ extension Extension on self::Class* { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class* #this) → core::int* +static extension-member method Extension|get#property(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { +static extension-member method Extension|set#property(lowered final self::Class* #this, core::int* value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class* #this) → core::int* +static extension-member method Extension|method(lowered final self::Class* #this) → core::int* return #this.{self::Class::field}{core::int*}; -static method Extension|get#method(lowered final self::Class* #this) → () →* core::int* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* core::int* return () → core::int* => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class* #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int* #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int*} let final core::int* #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1); self::expect(42, let final core::int* #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int*} let final core::int* #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4); } -static method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::Class* c; diff --git a/pkg/front_end/testcases/extensions/null_aware2.dart.strong.expect b/pkg/front_end/testcases/extensions/null_aware2.dart.strong.expect index 3b83f83d8a6..4e58e37d7c0 100644 --- a/pkg/front_end/testcases/extensions/null_aware2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/null_aware2.dart.strong.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class #this) → core::int? +static extension-member method Extension|method(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int? +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int? return () → core::int? => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int? #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int} let final core::int #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1{core::int}); self::expect(42, let final core::int? #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int} let final core::int #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4{core::int}); } -static method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::test1(null); diff --git a/pkg/front_end/testcases/extensions/null_aware2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/null_aware2.dart.strong.transformed.expect index cac4bb1cfc2..6f2067bfdc1 100644 --- a/pkg/front_end/testcases/extensions/null_aware2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/null_aware2.dart.strong.transformed.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class #this) → core::int? +static extension-member method Extension|method(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int? +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int? return () → core::int? => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int? #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int} let final core::int #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1{core::int}); self::expect(42, let final core::int? #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int} let final core::int #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4{core::int}); } -static method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::test1(null); diff --git a/pkg/front_end/testcases/extensions/null_aware2.dart.weak.expect b/pkg/front_end/testcases/extensions/null_aware2.dart.weak.expect index 3b83f83d8a6..4e58e37d7c0 100644 --- a/pkg/front_end/testcases/extensions/null_aware2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/null_aware2.dart.weak.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class #this) → core::int? +static extension-member method Extension|method(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int? +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int? return () → core::int? => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int? #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int} let final core::int #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1{core::int}); self::expect(42, let final core::int? #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int} let final core::int #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4{core::int}); } -static method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::test1(null); diff --git a/pkg/front_end/testcases/extensions/null_aware2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/null_aware2.dart.weak.modular.expect index 3b83f83d8a6..4e58e37d7c0 100644 --- a/pkg/front_end/testcases/extensions/null_aware2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/null_aware2.dart.weak.modular.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class #this) → core::int? +static extension-member method Extension|method(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int? +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int? return () → core::int? => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int? #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int} let final core::int #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1{core::int}); self::expect(42, let final core::int? #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int} let final core::int #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4{core::int}); } -static method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::test1(null); diff --git a/pkg/front_end/testcases/extensions/null_aware2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/null_aware2.dart.weak.outline.expect index f450260b577..fe381f84ffa 100644 --- a/pkg/front_end/testcases/extensions/null_aware2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/null_aware2.dart.weak.outline.expect @@ -15,17 +15,17 @@ extension Extension on self::Class { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int? ; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void ; -static method Extension|method(lowered final self::Class #this) → core::int? +static extension-member method Extension|method(lowered final self::Class #this) → core::int? ; -static method Extension|get#method(lowered final self::Class #this) → () → core::int? +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int? return () → core::int? => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class #this) → dynamic +static extension-member method Extension|testImplicitThis(lowered final self::Class #this) → dynamic ; -static method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/null_aware2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/null_aware2.dart.weak.transformed.expect index cac4bb1cfc2..6f2067bfdc1 100644 --- a/pkg/front_end/testcases/extensions/null_aware2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/null_aware2.dart.weak.transformed.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { tearoff testImplicitThis = self::Extension|get#testImplicitThis; set property = self::Extension|set#property; } -static method Extension|get#property(lowered final self::Class #this) → core::int? +static extension-member method Extension|get#property(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|set#property(lowered final self::Class #this, core::int? value) → void { +static extension-member method Extension|set#property(lowered final self::Class #this, core::int? value) → void { #this.{self::Class::field} = value; } -static method Extension|method(lowered final self::Class #this) → core::int? +static extension-member method Extension|method(lowered final self::Class #this) → core::int? return #this.{self::Class::field}{core::int?}; -static method Extension|get#method(lowered final self::Class #this) → () → core::int? +static extension-member method Extension|get#method(lowered final self::Class #this) → () → core::int? return () → core::int? => self::Extension|method(#this); -static method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { +static extension-member method Extension|testImplicitThis(lowered final self::Class #this) → dynamic { self::expect(null, self::Extension|get#property(#this)); self::expect(42, let final core::int? #t1 = self::Extension|get#property(#this) in #t1 == null ?{core::int} let final core::int #t2 = 42 in let final void #t3 = self::Extension|set#property(#this, #t2) in #t2 : #t1{core::int}); self::expect(42, let final core::int? #t4 = self::Extension|get#property(#this) in #t4 == null ?{core::int} let final core::int #t5 = 87 in let final void #t6 = self::Extension|set#property(#this, #t5) in #t5 : #t4{core::int}); } -static method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#testImplicitThis(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|testImplicitThis(#this); static method main() → dynamic { self::test1(null); diff --git a/pkg/front_end/testcases/extensions/null_aware_set.dart.strong.expect b/pkg/front_end/testcases/extensions/null_aware_set.dart.strong.expect index d5eb5cc1614..8bb8f154283 100644 --- a/pkg/front_end/testcases/extensions/null_aware_set.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/null_aware_set.dart.strong.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension Foo on core::Object { set f = self::Foo|set#f; } -static method Foo|set#f(lowered final core::Object #this, core::int x) → void {} +static extension-member method Foo|set#f(lowered final core::Object #this, core::int x) → void {} static method fun(core::String? s) → void { let final core::String? #t1 = s in #t1 == null ?{void} null : self::Foo|set#f(#t1{core::String}, 1); } diff --git a/pkg/front_end/testcases/extensions/null_aware_set.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/null_aware_set.dart.strong.transformed.expect index d5eb5cc1614..8bb8f154283 100644 --- a/pkg/front_end/testcases/extensions/null_aware_set.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/null_aware_set.dart.strong.transformed.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension Foo on core::Object { set f = self::Foo|set#f; } -static method Foo|set#f(lowered final core::Object #this, core::int x) → void {} +static extension-member method Foo|set#f(lowered final core::Object #this, core::int x) → void {} static method fun(core::String? s) → void { let final core::String? #t1 = s in #t1 == null ?{void} null : self::Foo|set#f(#t1{core::String}, 1); } diff --git a/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.expect b/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.expect index d5eb5cc1614..8bb8f154283 100644 --- a/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension Foo on core::Object { set f = self::Foo|set#f; } -static method Foo|set#f(lowered final core::Object #this, core::int x) → void {} +static extension-member method Foo|set#f(lowered final core::Object #this, core::int x) → void {} static method fun(core::String? s) → void { let final core::String? #t1 = s in #t1 == null ?{void} null : self::Foo|set#f(#t1{core::String}, 1); } diff --git a/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.modular.expect index d5eb5cc1614..8bb8f154283 100644 --- a/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.modular.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension Foo on core::Object { set f = self::Foo|set#f; } -static method Foo|set#f(lowered final core::Object #this, core::int x) → void {} +static extension-member method Foo|set#f(lowered final core::Object #this, core::int x) → void {} static method fun(core::String? s) → void { let final core::String? #t1 = s in #t1 == null ?{void} null : self::Foo|set#f(#t1{core::String}, 1); } diff --git a/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.outline.expect index 0f01278992a..1f0c5928b6c 100644 --- a/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.outline.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension Foo on core::Object { set f = self::Foo|set#f; } -static method Foo|set#f(lowered final core::Object #this, core::int x) → void +static extension-member method Foo|set#f(lowered final core::Object #this, core::int x) → void ; static method fun(core::String? s) → void ; diff --git a/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.transformed.expect index d5eb5cc1614..8bb8f154283 100644 --- a/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/null_aware_set.dart.weak.transformed.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension Foo on core::Object { set f = self::Foo|set#f; } -static method Foo|set#f(lowered final core::Object #this, core::int x) → void {} +static extension-member method Foo|set#f(lowered final core::Object #this, core::int x) → void {} static method fun(core::String? s) → void { let final core::String? #t1 = s in #t1 == null ?{void} null : self::Foo|set#f(#t1{core::String}, 1); } diff --git a/pkg/front_end/testcases/extensions/nullable_access.dart.strong.expect b/pkg/front_end/testcases/extensions/nullable_access.dart.strong.expect index b22ca2d6635..330f1c36442 100644 --- a/pkg/front_end/testcases/extensions/nullable_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/nullable_access.dart.strong.expect @@ -13,7 +13,7 @@ class Class extends core::Object { extension /* unnamed */ _extension#0 on self::Class? { get property = self::_extension#0|get#property; } -static method _extension#0|get#property(lowered final self::Class? #this) → core::int +static extension-member method _extension#0|get#property(lowered final self::Class? #this) → core::int return 42; static method test(self::Class? c) → void { self::_extension#0|get#property(c); diff --git a/pkg/front_end/testcases/extensions/nullable_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/nullable_access.dart.strong.transformed.expect index b22ca2d6635..330f1c36442 100644 --- a/pkg/front_end/testcases/extensions/nullable_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/nullable_access.dart.strong.transformed.expect @@ -13,7 +13,7 @@ class Class extends core::Object { extension /* unnamed */ _extension#0 on self::Class? { get property = self::_extension#0|get#property; } -static method _extension#0|get#property(lowered final self::Class? #this) → core::int +static extension-member method _extension#0|get#property(lowered final self::Class? #this) → core::int return 42; static method test(self::Class? c) → void { self::_extension#0|get#property(c); diff --git a/pkg/front_end/testcases/extensions/nullable_access.dart.weak.expect b/pkg/front_end/testcases/extensions/nullable_access.dart.weak.expect index b22ca2d6635..330f1c36442 100644 --- a/pkg/front_end/testcases/extensions/nullable_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/nullable_access.dart.weak.expect @@ -13,7 +13,7 @@ class Class extends core::Object { extension /* unnamed */ _extension#0 on self::Class? { get property = self::_extension#0|get#property; } -static method _extension#0|get#property(lowered final self::Class? #this) → core::int +static extension-member method _extension#0|get#property(lowered final self::Class? #this) → core::int return 42; static method test(self::Class? c) → void { self::_extension#0|get#property(c); diff --git a/pkg/front_end/testcases/extensions/nullable_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/nullable_access.dart.weak.modular.expect index b22ca2d6635..330f1c36442 100644 --- a/pkg/front_end/testcases/extensions/nullable_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/nullable_access.dart.weak.modular.expect @@ -13,7 +13,7 @@ class Class extends core::Object { extension /* unnamed */ _extension#0 on self::Class? { get property = self::_extension#0|get#property; } -static method _extension#0|get#property(lowered final self::Class? #this) → core::int +static extension-member method _extension#0|get#property(lowered final self::Class? #this) → core::int return 42; static method test(self::Class? c) → void { self::_extension#0|get#property(c); diff --git a/pkg/front_end/testcases/extensions/nullable_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/nullable_access.dart.weak.outline.expect index e62ebdba4f3..3653bfdf3b8 100644 --- a/pkg/front_end/testcases/extensions/nullable_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/nullable_access.dart.weak.outline.expect @@ -13,7 +13,7 @@ class Class extends core::Object { extension /* unnamed */ _extension#0 on self::Class? { get property = self::_extension#0|get#property; } -static method _extension#0|get#property(lowered final self::Class? #this) → core::int +static extension-member method _extension#0|get#property(lowered final self::Class? #this) → core::int ; static method test(self::Class? c) → void ; diff --git a/pkg/front_end/testcases/extensions/nullable_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/nullable_access.dart.weak.transformed.expect index b22ca2d6635..330f1c36442 100644 --- a/pkg/front_end/testcases/extensions/nullable_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/nullable_access.dart.weak.transformed.expect @@ -13,7 +13,7 @@ class Class extends core::Object { extension /* unnamed */ _extension#0 on self::Class? { get property = self::_extension#0|get#property; } -static method _extension#0|get#property(lowered final self::Class? #this) → core::int +static extension-member method _extension#0|get#property(lowered final self::Class? #this) → core::int return 42; static method test(self::Class? c) → void { self::_extension#0|get#property(c); diff --git a/pkg/front_end/testcases/extensions/on_function_type.dart.strong.expect b/pkg/front_end/testcases/extensions/on_function_type.dart.strong.expect index 7b60d1bd62b..d43784c0a3f 100644 --- a/pkg/front_end/testcases/extensions/on_function_type.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/on_function_type.dart.strong.expect @@ -19,11 +19,11 @@ extension /* unnamed */ _extension#0 = self::Class> on (T, S) → dynamic { get parameterType = self::_extension#1|get#parameterType; } -static method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type +static extension-member method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type return self::_extension#0|get#returnType::R%; -static method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type +static extension-member method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type return self::_extension#0|get#parameterType::T%; -static method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type +static extension-member method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type return self::_extension#1|get#parameterType::T; static method main() → dynamic { function local1(core::int i) → core::int diff --git a/pkg/front_end/testcases/extensions/on_function_type.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/on_function_type.dart.strong.transformed.expect index 7b60d1bd62b..d43784c0a3f 100644 --- a/pkg/front_end/testcases/extensions/on_function_type.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_function_type.dart.strong.transformed.expect @@ -19,11 +19,11 @@ extension /* unnamed */ _extension#0 = self::Class> on (T, S) → dynamic { get parameterType = self::_extension#1|get#parameterType; } -static method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type +static extension-member method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type return self::_extension#0|get#returnType::R%; -static method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type +static extension-member method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type return self::_extension#0|get#parameterType::T%; -static method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type +static extension-member method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type return self::_extension#1|get#parameterType::T; static method main() → dynamic { function local1(core::int i) → core::int diff --git a/pkg/front_end/testcases/extensions/on_function_type.dart.weak.expect b/pkg/front_end/testcases/extensions/on_function_type.dart.weak.expect index 7b60d1bd62b..d43784c0a3f 100644 --- a/pkg/front_end/testcases/extensions/on_function_type.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/on_function_type.dart.weak.expect @@ -19,11 +19,11 @@ extension /* unnamed */ _extension#0 = self::Class> on (T, S) → dynamic { get parameterType = self::_extension#1|get#parameterType; } -static method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type +static extension-member method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type return self::_extension#0|get#returnType::R%; -static method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type +static extension-member method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type return self::_extension#0|get#parameterType::T%; -static method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type +static extension-member method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type return self::_extension#1|get#parameterType::T; static method main() → dynamic { function local1(core::int i) → core::int diff --git a/pkg/front_end/testcases/extensions/on_function_type.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/on_function_type.dart.weak.modular.expect index 7b60d1bd62b..d43784c0a3f 100644 --- a/pkg/front_end/testcases/extensions/on_function_type.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/on_function_type.dart.weak.modular.expect @@ -19,11 +19,11 @@ extension /* unnamed */ _extension#0 = self::Class> on (T, S) → dynamic { get parameterType = self::_extension#1|get#parameterType; } -static method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type +static extension-member method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type return self::_extension#0|get#returnType::R%; -static method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type +static extension-member method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type return self::_extension#0|get#parameterType::T%; -static method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type +static extension-member method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type return self::_extension#1|get#parameterType::T; static method main() → dynamic { function local1(core::int i) → core::int diff --git a/pkg/front_end/testcases/extensions/on_function_type.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/on_function_type.dart.weak.outline.expect index 4378b93cf98..96251b25184 100644 --- a/pkg/front_end/testcases/extensions/on_function_type.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/on_function_type.dart.weak.outline.expect @@ -17,11 +17,11 @@ extension /* unnamed */ _extension#0 = self::Class> on (T, S) → dynamic { get parameterType = self::_extension#1|get#parameterType; } -static method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type +static extension-member method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type ; -static method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type +static extension-member method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type ; -static method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type +static extension-member method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/on_function_type.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/on_function_type.dart.weak.transformed.expect index 7b60d1bd62b..d43784c0a3f 100644 --- a/pkg/front_end/testcases/extensions/on_function_type.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_function_type.dart.weak.transformed.expect @@ -19,11 +19,11 @@ extension /* unnamed */ _extension#0 = self::Class> on (T, S) → dynamic { get parameterType = self::_extension#1|get#parameterType; } -static method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type +static extension-member method _extension#0|get#returnType(lowered final (self::_extension#0|get#returnType::T%) → self::_extension#0|get#returnType::R% #this) → core::Type return self::_extension#0|get#returnType::R%; -static method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type +static extension-member method _extension#0|get#parameterType(lowered final (self::_extension#0|get#parameterType::T%) → self::_extension#0|get#parameterType::R% #this) → core::Type return self::_extension#0|get#parameterType::T%; -static method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type +static extension-member method _extension#1|get#parameterType = self::Class>(lowered final (self::_extension#1|get#parameterType::T, S) → dynamic #this) → core::Type return self::_extension#1|get#parameterType::T; static method main() → dynamic { function local1(core::int i) → core::int diff --git a/pkg/front_end/testcases/extensions/on_type_inference.dart.strong.expect b/pkg/front_end/testcases/extensions/on_type_inference.dart.strong.expect index 46f9378ff3c..09c66369153 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference.dart.strong.expect @@ -21,17 +21,17 @@ extension BestSpec on core::List* { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* +static extension-member method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* return null; -static method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* +static extension-member method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* return () → self::BestCom|get#best::T* => self::BestCom|best(#this); -static method BestList|best(lowered final core::List* #this) → self::BestList|best::T* +static extension-member method BestList|best(lowered final core::List* #this) → self::BestList|best::T* return null; -static method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* +static extension-member method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* return () → self::BestList|get#best::T* => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List* #this) → core::num* +static extension-member method BestSpec|best(lowered final core::List* #this) → core::num* return null; -static method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* +static extension-member method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* return () → core::num* => self::BestSpec|best(#this); static method main() → dynamic { core::List* x; diff --git a/pkg/front_end/testcases/extensions/on_type_inference.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/on_type_inference.dart.strong.transformed.expect index 46f9378ff3c..09c66369153 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference.dart.strong.transformed.expect @@ -21,17 +21,17 @@ extension BestSpec on core::List* { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* +static extension-member method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* return null; -static method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* +static extension-member method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* return () → self::BestCom|get#best::T* => self::BestCom|best(#this); -static method BestList|best(lowered final core::List* #this) → self::BestList|best::T* +static extension-member method BestList|best(lowered final core::List* #this) → self::BestList|best::T* return null; -static method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* +static extension-member method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* return () → self::BestList|get#best::T* => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List* #this) → core::num* +static extension-member method BestSpec|best(lowered final core::List* #this) → core::num* return null; -static method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* +static extension-member method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* return () → core::num* => self::BestSpec|best(#this); static method main() → dynamic { core::List* x; diff --git a/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.expect b/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.expect index 07fc3f1e369..aa5030430e1 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List* { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* +static extension-member method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* return null; -static method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* +static extension-member method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* return () → self::BestCom|get#best::T* => self::BestCom|best(#this); -static method BestList|best(lowered final core::List* #this) → self::BestList|best::T* +static extension-member method BestList|best(lowered final core::List* #this) → self::BestList|best::T* return null; -static method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* +static extension-member method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* return () → self::BestList|get#best::T* => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List* #this) → core::num* +static extension-member method BestSpec|best(lowered final core::List* #this) → core::num* return null; -static method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* +static extension-member method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* return () → core::num* => self::BestSpec|best(#this); static method main() → dynamic { core::List* x; diff --git a/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.modular.expect index 07fc3f1e369..aa5030430e1 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.modular.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List* { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* +static extension-member method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* return null; -static method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* +static extension-member method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* return () → self::BestCom|get#best::T* => self::BestCom|best(#this); -static method BestList|best(lowered final core::List* #this) → self::BestList|best::T* +static extension-member method BestList|best(lowered final core::List* #this) → self::BestList|best::T* return null; -static method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* +static extension-member method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* return () → self::BestList|get#best::T* => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List* #this) → core::num* +static extension-member method BestSpec|best(lowered final core::List* #this) → core::num* return null; -static method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* +static extension-member method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* return () → core::num* => self::BestSpec|best(#this); static method main() → dynamic { core::List* x; diff --git a/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.outline.expect index 706787ef1b1..87abc7b8edf 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.outline.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List* { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* +static extension-member method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* ; -static method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* +static extension-member method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* return () → self::BestCom|get#best::T* => self::BestCom|best(#this); -static method BestList|best(lowered final core::List* #this) → self::BestList|best::T* +static extension-member method BestList|best(lowered final core::List* #this) → self::BestList|best::T* ; -static method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* +static extension-member method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* return () → self::BestList|get#best::T* => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List* #this) → core::num* +static extension-member method BestSpec|best(lowered final core::List* #this) → core::num* ; -static method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* +static extension-member method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* return () → core::num* => self::BestSpec|best(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.transformed.expect index 07fc3f1e369..aa5030430e1 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference.dart.weak.transformed.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List* { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* +static extension-member method BestCom|best(lowered final core::Iterable* #this) → self::BestCom|best::T* return null; -static method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* +static extension-member method BestCom|get#best(lowered final core::Iterable* #this) → () →* self::BestCom|get#best::T* return () → self::BestCom|get#best::T* => self::BestCom|best(#this); -static method BestList|best(lowered final core::List* #this) → self::BestList|best::T* +static extension-member method BestList|best(lowered final core::List* #this) → self::BestList|best::T* return null; -static method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* +static extension-member method BestList|get#best(lowered final core::List* #this) → () →* self::BestList|get#best::T* return () → self::BestList|get#best::T* => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List* #this) → core::num* +static extension-member method BestSpec|best(lowered final core::List* #this) → core::num* return null; -static method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* +static extension-member method BestSpec|get#best(lowered final core::List* #this) → () →* core::num* return () → core::num* => self::BestSpec|best(#this); static method main() → dynamic { core::List* x; diff --git a/pkg/front_end/testcases/extensions/on_type_inference2.dart.strong.expect b/pkg/front_end/testcases/extensions/on_type_inference2.dart.strong.expect index 855d7839f06..2819894365d 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference2.dart.strong.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? +static extension-member method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? return null; -static method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? +static extension-member method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? return () → self::BestCom|get#best::T? => self::BestCom|best(#this); -static method BestList|best(lowered final core::List #this) → self::BestList|best::T? +static extension-member method BestList|best(lowered final core::List #this) → self::BestList|best::T? return null; -static method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? +static extension-member method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? return () → self::BestList|get#best::T? => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List #this) → core::num? +static extension-member method BestSpec|best(lowered final core::List #this) → core::num? return null; -static method BestSpec|get#best(lowered final core::List #this) → () → core::num? +static extension-member method BestSpec|get#best(lowered final core::List #this) → () → core::num? return () → core::num? => self::BestSpec|best(#this); static method main() → dynamic { core::List? x; diff --git a/pkg/front_end/testcases/extensions/on_type_inference2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/on_type_inference2.dart.strong.transformed.expect index 855d7839f06..2819894365d 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference2.dart.strong.transformed.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? +static extension-member method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? return null; -static method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? +static extension-member method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? return () → self::BestCom|get#best::T? => self::BestCom|best(#this); -static method BestList|best(lowered final core::List #this) → self::BestList|best::T? +static extension-member method BestList|best(lowered final core::List #this) → self::BestList|best::T? return null; -static method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? +static extension-member method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? return () → self::BestList|get#best::T? => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List #this) → core::num? +static extension-member method BestSpec|best(lowered final core::List #this) → core::num? return null; -static method BestSpec|get#best(lowered final core::List #this) → () → core::num? +static extension-member method BestSpec|get#best(lowered final core::List #this) → () → core::num? return () → core::num? => self::BestSpec|best(#this); static method main() → dynamic { core::List? x; diff --git a/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.expect b/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.expect index 855d7839f06..2819894365d 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? +static extension-member method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? return null; -static method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? +static extension-member method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? return () → self::BestCom|get#best::T? => self::BestCom|best(#this); -static method BestList|best(lowered final core::List #this) → self::BestList|best::T? +static extension-member method BestList|best(lowered final core::List #this) → self::BestList|best::T? return null; -static method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? +static extension-member method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? return () → self::BestList|get#best::T? => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List #this) → core::num? +static extension-member method BestSpec|best(lowered final core::List #this) → core::num? return null; -static method BestSpec|get#best(lowered final core::List #this) → () → core::num? +static extension-member method BestSpec|get#best(lowered final core::List #this) → () → core::num? return () → core::num? => self::BestSpec|best(#this); static method main() → dynamic { core::List? x; diff --git a/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.modular.expect index 855d7839f06..2819894365d 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.modular.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? +static extension-member method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? return null; -static method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? +static extension-member method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? return () → self::BestCom|get#best::T? => self::BestCom|best(#this); -static method BestList|best(lowered final core::List #this) → self::BestList|best::T? +static extension-member method BestList|best(lowered final core::List #this) → self::BestList|best::T? return null; -static method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? +static extension-member method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? return () → self::BestList|get#best::T? => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List #this) → core::num? +static extension-member method BestSpec|best(lowered final core::List #this) → core::num? return null; -static method BestSpec|get#best(lowered final core::List #this) → () → core::num? +static extension-member method BestSpec|get#best(lowered final core::List #this) → () → core::num? return () → core::num? => self::BestSpec|best(#this); static method main() → dynamic { core::List? x; diff --git a/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.outline.expect index a3a70d1772e..0dfd47b3465 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.outline.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? +static extension-member method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? ; -static method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? +static extension-member method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? return () → self::BestCom|get#best::T? => self::BestCom|best(#this); -static method BestList|best(lowered final core::List #this) → self::BestList|best::T? +static extension-member method BestList|best(lowered final core::List #this) → self::BestList|best::T? ; -static method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? +static extension-member method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? return () → self::BestList|get#best::T? => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List #this) → core::num? +static extension-member method BestSpec|best(lowered final core::List #this) → core::num? ; -static method BestSpec|get#best(lowered final core::List #this) → () → core::num? +static extension-member method BestSpec|get#best(lowered final core::List #this) → () → core::num? return () → core::num? => self::BestSpec|best(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.transformed.expect index 855d7839f06..2819894365d 100644 --- a/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_type_inference2.dart.weak.transformed.expect @@ -14,17 +14,17 @@ extension BestSpec on core::List { method best = self::BestSpec|best; tearoff best = self::BestSpec|get#best; } -static method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? +static extension-member method BestCom|best(lowered final core::Iterable? #this) → self::BestCom|best::T? return null; -static method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? +static extension-member method BestCom|get#best(lowered final core::Iterable? #this) → () → self::BestCom|get#best::T? return () → self::BestCom|get#best::T? => self::BestCom|best(#this); -static method BestList|best(lowered final core::List #this) → self::BestList|best::T? +static extension-member method BestList|best(lowered final core::List #this) → self::BestList|best::T? return null; -static method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? +static extension-member method BestList|get#best(lowered final core::List #this) → () → self::BestList|get#best::T? return () → self::BestList|get#best::T? => self::BestList|best(#this); -static method BestSpec|best(lowered final core::List #this) → core::num? +static extension-member method BestSpec|best(lowered final core::List #this) → core::num? return null; -static method BestSpec|get#best(lowered final core::List #this) → () → core::num? +static extension-member method BestSpec|get#best(lowered final core::List #this) → () → core::num? return () → core::num? => self::BestSpec|best(#this); static method main() → dynamic { core::List? x; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.strong.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.strong.expect index 7f87414a886..08d74677ff8 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.strong.expect @@ -91,13 +91,13 @@ extension Extension on T* { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* +static extension-member method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* return () → self::Extension|get#method::T* => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} static method main() → dynamic { self::Struct* struct; self::StructA* structA; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.strong.transformed.expect index 7f87414a886..08d74677ff8 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.strong.transformed.expect @@ -91,13 +91,13 @@ extension Extension on T* { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* +static extension-member method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* return () → self::Extension|get#method::T* => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} static method main() → dynamic { self::Struct* struct; self::StructA* structA; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.expect index 1a7abcbd5e7..5bfd4077d7b 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.expect @@ -87,13 +87,13 @@ extension Extension on T* { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* +static extension-member method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* return () → self::Extension|get#method::T* => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} static method main() → dynamic { self::Struct* struct; self::StructA* structA; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.modular.expect index 1a7abcbd5e7..5bfd4077d7b 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.modular.expect @@ -87,13 +87,13 @@ extension Extension on T* { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* +static extension-member method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* return () → self::Extension|get#method::T* => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} static method main() → dynamic { self::Struct* struct; self::StructA* structA; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.outline.expect index 69ef76ffb7c..f217cefb443 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.outline.expect @@ -44,13 +44,13 @@ extension Extension on T* { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* +static extension-member method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* ; -static method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* return () → self::Extension|get#method::T* => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* ; -static method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.transformed.expect index 1a7abcbd5e7..5bfd4077d7b 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference.dart.weak.transformed.expect @@ -87,13 +87,13 @@ extension Extension on T* { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* +static extension-member method Extension|method(lowered final self::Extension|method::T* #this) → self::Extension|method::T* return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T* #this) → () →* self::Extension|get#method::T* return () → self::Extension|get#method::T* => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T* #this) → self::Extension|get#property::T* return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T* #this, self::Extension|set#property::T* value) → void {} static method main() → dynamic { self::Struct* struct; self::StructA* structA; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.strong.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.strong.expect index e4581b8291f..3db0b2e8bab 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.strong.expect @@ -106,13 +106,13 @@ extension Extension on T% { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% +static extension-member method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% return () → self::Extension|get#method::T% => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} static method main() → dynamic { self::Struct? struct; self::StructA? structA; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.strong.transformed.expect index 2e572a83003..aa39c670ed5 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.strong.transformed.expect @@ -106,13 +106,13 @@ extension Extension on T% { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% +static extension-member method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% return () → self::Extension|get#method::T% => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} static method main() → dynamic { self::Struct? struct; self::StructA? structA; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.expect index e4581b8291f..3db0b2e8bab 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.expect @@ -106,13 +106,13 @@ extension Extension on T% { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% +static extension-member method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% return () → self::Extension|get#method::T% => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} static method main() → dynamic { self::Struct? struct; self::StructA? structA; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.modular.expect index e4581b8291f..3db0b2e8bab 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.modular.expect @@ -106,13 +106,13 @@ extension Extension on T% { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% +static extension-member method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% return () → self::Extension|get#method::T% => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} static method main() → dynamic { self::Struct? struct; self::StructA? structA; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.outline.expect index 22b3904ce02..f9a9cf981f8 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.outline.expect @@ -24,13 +24,13 @@ extension Extension on T% { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% +static extension-member method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% ; -static method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% return () → self::Extension|get#method::T% => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% ; -static method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.transformed.expect index 554471174d6..c81a18b2193 100644 --- a/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/on_type_variable_inference2.dart.weak.transformed.expect @@ -106,13 +106,13 @@ extension Extension on T% { get property = self::Extension|get#property; set property = self::Extension|set#property; } -static method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% +static extension-member method Extension|method(lowered final self::Extension|method::T% #this) → self::Extension|method::T% return #this; -static method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% +static extension-member method Extension|get#method(lowered final self::Extension|get#method::T% #this) → () → self::Extension|get#method::T% return () → self::Extension|get#method::T% => self::Extension|method(#this); -static method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% +static extension-member method Extension|get#property(lowered final self::Extension|get#property::T% #this) → self::Extension|get#property::T% return #this; -static method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} +static extension-member method Extension|set#property(lowered final self::Extension|set#property::T% #this, self::Extension|set#property::T% value) → void {} static method main() → dynamic { self::Struct? struct; self::StructA? structA; diff --git a/pkg/front_end/testcases/extensions/operators.dart.strong.expect b/pkg/front_end/testcases/extensions/operators.dart.strong.expect index 1d74d406678..e0b67487bec 100644 --- a/pkg/front_end/testcases/extensions/operators.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/operators.dart.strong.expect @@ -43,11 +43,11 @@ extension Operators on self::Complex { operator - = self::Operators|-; operator unary- = self::Operators|unary-; } -static method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::add}(other){(self::Complex) → self::Complex}; -static method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::sub}(other){(self::Complex) → self::Complex}; -static method Operators|unary-(lowered final self::Complex #this) → self::Complex +static extension-member method Operators|unary-(lowered final self::Complex #this) → self::Complex return #this.{self::Complex::negate}(){() → self::Complex}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/operators.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/operators.dart.strong.transformed.expect index 1d74d406678..e0b67487bec 100644 --- a/pkg/front_end/testcases/extensions/operators.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/operators.dart.strong.transformed.expect @@ -43,11 +43,11 @@ extension Operators on self::Complex { operator - = self::Operators|-; operator unary- = self::Operators|unary-; } -static method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::add}(other){(self::Complex) → self::Complex}; -static method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::sub}(other){(self::Complex) → self::Complex}; -static method Operators|unary-(lowered final self::Complex #this) → self::Complex +static extension-member method Operators|unary-(lowered final self::Complex #this) → self::Complex return #this.{self::Complex::negate}(){() → self::Complex}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/operators.dart.weak.expect b/pkg/front_end/testcases/extensions/operators.dart.weak.expect index 1d74d406678..e0b67487bec 100644 --- a/pkg/front_end/testcases/extensions/operators.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/operators.dart.weak.expect @@ -43,11 +43,11 @@ extension Operators on self::Complex { operator - = self::Operators|-; operator unary- = self::Operators|unary-; } -static method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::add}(other){(self::Complex) → self::Complex}; -static method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::sub}(other){(self::Complex) → self::Complex}; -static method Operators|unary-(lowered final self::Complex #this) → self::Complex +static extension-member method Operators|unary-(lowered final self::Complex #this) → self::Complex return #this.{self::Complex::negate}(){() → self::Complex}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/operators.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/operators.dart.weak.modular.expect index 1d74d406678..e0b67487bec 100644 --- a/pkg/front_end/testcases/extensions/operators.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/operators.dart.weak.modular.expect @@ -43,11 +43,11 @@ extension Operators on self::Complex { operator - = self::Operators|-; operator unary- = self::Operators|unary-; } -static method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::add}(other){(self::Complex) → self::Complex}; -static method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::sub}(other){(self::Complex) → self::Complex}; -static method Operators|unary-(lowered final self::Complex #this) → self::Complex +static extension-member method Operators|unary-(lowered final self::Complex #this) → self::Complex return #this.{self::Complex::negate}(){() → self::Complex}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/operators.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/operators.dart.weak.outline.expect index 25a387d13d1..29bff4528c4 100644 --- a/pkg/front_end/testcases/extensions/operators.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/operators.dart.weak.outline.expect @@ -26,11 +26,11 @@ extension Operators on self::Complex { operator - = self::Operators|-; operator unary- = self::Operators|unary-; } -static method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex ; -static method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex ; -static method Operators|unary-(lowered final self::Complex #this) → self::Complex +static extension-member method Operators|unary-(lowered final self::Complex #this) → self::Complex ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/operators.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/operators.dart.weak.transformed.expect index 1d74d406678..e0b67487bec 100644 --- a/pkg/front_end/testcases/extensions/operators.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/operators.dart.weak.transformed.expect @@ -43,11 +43,11 @@ extension Operators on self::Complex { operator - = self::Operators|-; operator unary- = self::Operators|unary-; } -static method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|+(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::add}(other){(self::Complex) → self::Complex}; -static method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex +static extension-member method Operators|-(lowered final self::Complex #this, self::Complex other) → self::Complex return #this.{self::Complex::sub}(other){(self::Complex) → self::Complex}; -static method Operators|unary-(lowered final self::Complex #this) → self::Complex +static extension-member method Operators|unary-(lowered final self::Complex #this) → self::Complex return #this.{self::Complex::negate}(){() → self::Complex}; static method main() → dynamic { self::implicit(); diff --git a/pkg/front_end/testcases/extensions/other_kinds.dart.strong.expect b/pkg/front_end/testcases/extensions/other_kinds.dart.strong.expect index aa96585a4e7..d004be7e705 100644 --- a/pkg/front_end/testcases/extensions/other_kinds.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/other_kinds.dart.strong.expect @@ -30,23 +30,23 @@ extension A2 on self::A1 { static set staticProperty = set self::A2|staticProperty; } static field core::int A2|staticField = self::A1::getStaticField(); -static method A2|get#instanceProperty(lowered final self::A1 #this) → core::int +static extension-member method A2|get#instanceProperty(lowered final self::A1 #this) → core::int return #this.{self::A1::getInstanceField}(){() → core::int}; -static method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { +static extension-member method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { #this.{self::A1::setInstanceField}(value){(core::int) → void}; } -static method A2|+(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|+(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::+}(value){(core::num) → core::int}; } -static method A2|-(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|-(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::-}(value){(core::num) → core::int}; } -static method A2|unary-(lowered final self::A1 #this) → core::int { +static extension-member method A2|unary-(lowered final self::A1 #this) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::int::unary-}(){() → core::int}; } -static get A2|staticProperty() → core::int +static extension-member get A2|staticProperty() → core::int return self::A1::getStaticField(); -static set A2|staticProperty(core::int value) → void { +static extension-member set A2|staticProperty(core::int value) → void { self::A1::setStaticField(value); } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/other_kinds.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/other_kinds.dart.strong.transformed.expect index aa96585a4e7..d004be7e705 100644 --- a/pkg/front_end/testcases/extensions/other_kinds.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/other_kinds.dart.strong.transformed.expect @@ -30,23 +30,23 @@ extension A2 on self::A1 { static set staticProperty = set self::A2|staticProperty; } static field core::int A2|staticField = self::A1::getStaticField(); -static method A2|get#instanceProperty(lowered final self::A1 #this) → core::int +static extension-member method A2|get#instanceProperty(lowered final self::A1 #this) → core::int return #this.{self::A1::getInstanceField}(){() → core::int}; -static method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { +static extension-member method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { #this.{self::A1::setInstanceField}(value){(core::int) → void}; } -static method A2|+(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|+(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::+}(value){(core::num) → core::int}; } -static method A2|-(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|-(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::-}(value){(core::num) → core::int}; } -static method A2|unary-(lowered final self::A1 #this) → core::int { +static extension-member method A2|unary-(lowered final self::A1 #this) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::int::unary-}(){() → core::int}; } -static get A2|staticProperty() → core::int +static extension-member get A2|staticProperty() → core::int return self::A1::getStaticField(); -static set A2|staticProperty(core::int value) → void { +static extension-member set A2|staticProperty(core::int value) → void { self::A1::setStaticField(value); } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/other_kinds.dart.weak.expect b/pkg/front_end/testcases/extensions/other_kinds.dart.weak.expect index aa96585a4e7..d004be7e705 100644 --- a/pkg/front_end/testcases/extensions/other_kinds.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/other_kinds.dart.weak.expect @@ -30,23 +30,23 @@ extension A2 on self::A1 { static set staticProperty = set self::A2|staticProperty; } static field core::int A2|staticField = self::A1::getStaticField(); -static method A2|get#instanceProperty(lowered final self::A1 #this) → core::int +static extension-member method A2|get#instanceProperty(lowered final self::A1 #this) → core::int return #this.{self::A1::getInstanceField}(){() → core::int}; -static method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { +static extension-member method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { #this.{self::A1::setInstanceField}(value){(core::int) → void}; } -static method A2|+(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|+(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::+}(value){(core::num) → core::int}; } -static method A2|-(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|-(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::-}(value){(core::num) → core::int}; } -static method A2|unary-(lowered final self::A1 #this) → core::int { +static extension-member method A2|unary-(lowered final self::A1 #this) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::int::unary-}(){() → core::int}; } -static get A2|staticProperty() → core::int +static extension-member get A2|staticProperty() → core::int return self::A1::getStaticField(); -static set A2|staticProperty(core::int value) → void { +static extension-member set A2|staticProperty(core::int value) → void { self::A1::setStaticField(value); } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/other_kinds.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/other_kinds.dart.weak.modular.expect index aa96585a4e7..d004be7e705 100644 --- a/pkg/front_end/testcases/extensions/other_kinds.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/other_kinds.dart.weak.modular.expect @@ -30,23 +30,23 @@ extension A2 on self::A1 { static set staticProperty = set self::A2|staticProperty; } static field core::int A2|staticField = self::A1::getStaticField(); -static method A2|get#instanceProperty(lowered final self::A1 #this) → core::int +static extension-member method A2|get#instanceProperty(lowered final self::A1 #this) → core::int return #this.{self::A1::getInstanceField}(){() → core::int}; -static method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { +static extension-member method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { #this.{self::A1::setInstanceField}(value){(core::int) → void}; } -static method A2|+(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|+(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::+}(value){(core::num) → core::int}; } -static method A2|-(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|-(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::-}(value){(core::num) → core::int}; } -static method A2|unary-(lowered final self::A1 #this) → core::int { +static extension-member method A2|unary-(lowered final self::A1 #this) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::int::unary-}(){() → core::int}; } -static get A2|staticProperty() → core::int +static extension-member get A2|staticProperty() → core::int return self::A1::getStaticField(); -static set A2|staticProperty(core::int value) → void { +static extension-member set A2|staticProperty(core::int value) → void { self::A1::setStaticField(value); } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/other_kinds.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/other_kinds.dart.weak.outline.expect index 9569ce03a38..669f6d6df81 100644 --- a/pkg/front_end/testcases/extensions/other_kinds.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/other_kinds.dart.weak.outline.expect @@ -27,19 +27,19 @@ extension A2 on self::A1 { static set staticProperty = set self::A2|staticProperty; } static field core::int A2|staticField; -static method A2|get#instanceProperty(lowered final self::A1 #this) → core::int +static extension-member method A2|get#instanceProperty(lowered final self::A1 #this) → core::int ; -static method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void +static extension-member method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void ; -static method A2|+(lowered final self::A1 #this, core::int value) → core::int +static extension-member method A2|+(lowered final self::A1 #this, core::int value) → core::int ; -static method A2|-(lowered final self::A1 #this, core::int value) → core::int +static extension-member method A2|-(lowered final self::A1 #this, core::int value) → core::int ; -static method A2|unary-(lowered final self::A1 #this) → core::int +static extension-member method A2|unary-(lowered final self::A1 #this) → core::int ; -static get A2|staticProperty() → core::int +static extension-member get A2|staticProperty() → core::int ; -static set A2|staticProperty(core::int value) → void +static extension-member set A2|staticProperty(core::int value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/other_kinds.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/other_kinds.dart.weak.transformed.expect index aa96585a4e7..d004be7e705 100644 --- a/pkg/front_end/testcases/extensions/other_kinds.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/other_kinds.dart.weak.transformed.expect @@ -30,23 +30,23 @@ extension A2 on self::A1 { static set staticProperty = set self::A2|staticProperty; } static field core::int A2|staticField = self::A1::getStaticField(); -static method A2|get#instanceProperty(lowered final self::A1 #this) → core::int +static extension-member method A2|get#instanceProperty(lowered final self::A1 #this) → core::int return #this.{self::A1::getInstanceField}(){() → core::int}; -static method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { +static extension-member method A2|set#instanceProperty(lowered final self::A1 #this, core::int value) → void { #this.{self::A1::setInstanceField}(value){(core::int) → void}; } -static method A2|+(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|+(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::+}(value){(core::num) → core::int}; } -static method A2|-(lowered final self::A1 #this, core::int value) → core::int { +static extension-member method A2|-(lowered final self::A1 #this, core::int value) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::num::-}(value){(core::num) → core::int}; } -static method A2|unary-(lowered final self::A1 #this) → core::int { +static extension-member method A2|unary-(lowered final self::A1 #this) → core::int { return #this.{self::A1::getInstanceField}(){() → core::int}.{core::int::unary-}(){() → core::int}; } -static get A2|staticProperty() → core::int +static extension-member get A2|staticProperty() → core::int return self::A1::getStaticField(); -static set A2|staticProperty(core::int value) → void { +static extension-member set A2|staticProperty(core::int value) → void { self::A1::setStaticField(value); } static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/post_inc.dart.strong.expect b/pkg/front_end/testcases/extensions/post_inc.dart.strong.expect index a9d88af6ffc..37a90ea5bec 100644 --- a/pkg/front_end/testcases/extensions/post_inc.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/post_inc.dart.strong.expect @@ -22,12 +22,12 @@ static method expect(core::String expect, core::Object value, core::String expec throw "Expected assignment ${expectSet}, actual ${self::setValue}"; } } -static method Ops|+(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|+(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}+${other})"; -static method Ops|-(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|-(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}-${other})"; -static method Ops|get#field(lowered final core::Object #this) → core::Object +static extension-member method Ops|get#field(lowered final core::Object #this) → core::Object return "${#this}.field"; -static method Ops|set#field(lowered final core::Object #this, core::Object other) → void { +static extension-member method Ops|set#field(lowered final core::Object #this, core::Object other) → void { self::setValue = "${#this}.field=${other}"; } diff --git a/pkg/front_end/testcases/extensions/post_inc.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/post_inc.dart.strong.transformed.expect index a9d88af6ffc..37a90ea5bec 100644 --- a/pkg/front_end/testcases/extensions/post_inc.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/post_inc.dart.strong.transformed.expect @@ -22,12 +22,12 @@ static method expect(core::String expect, core::Object value, core::String expec throw "Expected assignment ${expectSet}, actual ${self::setValue}"; } } -static method Ops|+(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|+(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}+${other})"; -static method Ops|-(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|-(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}-${other})"; -static method Ops|get#field(lowered final core::Object #this) → core::Object +static extension-member method Ops|get#field(lowered final core::Object #this) → core::Object return "${#this}.field"; -static method Ops|set#field(lowered final core::Object #this, core::Object other) → void { +static extension-member method Ops|set#field(lowered final core::Object #this, core::Object other) → void { self::setValue = "${#this}.field=${other}"; } diff --git a/pkg/front_end/testcases/extensions/post_inc.dart.weak.expect b/pkg/front_end/testcases/extensions/post_inc.dart.weak.expect index a9d88af6ffc..37a90ea5bec 100644 --- a/pkg/front_end/testcases/extensions/post_inc.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/post_inc.dart.weak.expect @@ -22,12 +22,12 @@ static method expect(core::String expect, core::Object value, core::String expec throw "Expected assignment ${expectSet}, actual ${self::setValue}"; } } -static method Ops|+(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|+(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}+${other})"; -static method Ops|-(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|-(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}-${other})"; -static method Ops|get#field(lowered final core::Object #this) → core::Object +static extension-member method Ops|get#field(lowered final core::Object #this) → core::Object return "${#this}.field"; -static method Ops|set#field(lowered final core::Object #this, core::Object other) → void { +static extension-member method Ops|set#field(lowered final core::Object #this, core::Object other) → void { self::setValue = "${#this}.field=${other}"; } diff --git a/pkg/front_end/testcases/extensions/post_inc.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/post_inc.dart.weak.modular.expect index a9d88af6ffc..37a90ea5bec 100644 --- a/pkg/front_end/testcases/extensions/post_inc.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/post_inc.dart.weak.modular.expect @@ -22,12 +22,12 @@ static method expect(core::String expect, core::Object value, core::String expec throw "Expected assignment ${expectSet}, actual ${self::setValue}"; } } -static method Ops|+(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|+(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}+${other})"; -static method Ops|-(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|-(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}-${other})"; -static method Ops|get#field(lowered final core::Object #this) → core::Object +static extension-member method Ops|get#field(lowered final core::Object #this) → core::Object return "${#this}.field"; -static method Ops|set#field(lowered final core::Object #this, core::Object other) → void { +static extension-member method Ops|set#field(lowered final core::Object #this, core::Object other) → void { self::setValue = "${#this}.field=${other}"; } diff --git a/pkg/front_end/testcases/extensions/post_inc.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/post_inc.dart.weak.outline.expect index 9bc9d6f402f..04b3ea8e1fd 100644 --- a/pkg/front_end/testcases/extensions/post_inc.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/post_inc.dart.weak.outline.expect @@ -13,11 +13,11 @@ static method main() → void ; static method expect(core::String expect, core::Object value, core::String expectSet) → void ; -static method Ops|+(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|+(lowered final core::Object #this, core::Object other) → core::Object ; -static method Ops|-(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|-(lowered final core::Object #this, core::Object other) → core::Object ; -static method Ops|get#field(lowered final core::Object #this) → core::Object +static extension-member method Ops|get#field(lowered final core::Object #this) → core::Object ; -static method Ops|set#field(lowered final core::Object #this, core::Object other) → void +static extension-member method Ops|set#field(lowered final core::Object #this, core::Object other) → void ; diff --git a/pkg/front_end/testcases/extensions/post_inc.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/post_inc.dart.weak.transformed.expect index a9d88af6ffc..37a90ea5bec 100644 --- a/pkg/front_end/testcases/extensions/post_inc.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/post_inc.dart.weak.transformed.expect @@ -22,12 +22,12 @@ static method expect(core::String expect, core::Object value, core::String expec throw "Expected assignment ${expectSet}, actual ${self::setValue}"; } } -static method Ops|+(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|+(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}+${other})"; -static method Ops|-(lowered final core::Object #this, core::Object other) → core::Object +static extension-member method Ops|-(lowered final core::Object #this, core::Object other) → core::Object return "(${#this}-${other})"; -static method Ops|get#field(lowered final core::Object #this) → core::Object +static extension-member method Ops|get#field(lowered final core::Object #this) → core::Object return "${#this}.field"; -static method Ops|set#field(lowered final core::Object #this, core::Object other) → void { +static extension-member method Ops|set#field(lowered final core::Object #this, core::Object other) → void { self::setValue = "${#this}.field=${other}"; } diff --git a/pkg/front_end/testcases/extensions/private_members.dart.strong.expect b/pkg/front_end/testcases/extensions/private_members.dart.strong.expect index e098df48cd8..ac2c7dd3264 100644 --- a/pkg/front_end/testcases/extensions/private_members.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/private_members.dart.strong.expect @@ -137,65 +137,65 @@ extension /* unnamed */ _extension#2 on core::String { method test3 = pri::_extension#2|test3; tearoff test3 = pri::_extension#2|get#test3; } -static method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int return 42; -static method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|publicMethod1(#this); -static method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int return 87; -static method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|_privateMethod1(#this); -static method _PrivateExtension|publicStaticMethod1() → core::int +static extension-member method _PrivateExtension|publicStaticMethod1() → core::int return 24; -static method _PrivateExtension|_privateStaticMethod1() → core::int +static extension-member method _PrivateExtension|_privateStaticMethod1() → core::int return 78; -static method _PrivateExtension|test1(lowered final core::String #this) → dynamic { +static extension-member method _PrivateExtension|test1(lowered final core::String #this) → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1(#this)); pri::expect(87, pri::_PrivateExtension|_privateMethod1(#this)); pri::expect(24, pri::_PrivateExtension|publicStaticMethod1()); pri::expect(78, pri::_PrivateExtension|_privateStaticMethod1()); } -static method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic +static extension-member method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_PrivateExtension|test1(#this); -static method PublicExtension|publicMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|publicMethod2(lowered final core::String #this) → core::int return 123; -static method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|publicMethod2(#this); -static method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int return 237; -static method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|_privateMethod2(#this); -static method PublicExtension|publicStaticMethod2() → core::int +static extension-member method PublicExtension|publicStaticMethod2() → core::int return 321; -static method PublicExtension|_privateStaticMethod2() → core::int +static extension-member method PublicExtension|_privateStaticMethod2() → core::int return 732; -static method PublicExtension|test2(lowered final core::String #this) → dynamic { +static extension-member method PublicExtension|test2(lowered final core::String #this) → dynamic { pri::expect(123, pri::PublicExtension|publicMethod2(#this)); pri::expect(237, pri::PublicExtension|_privateMethod2(#this)); pri::expect(321, pri::PublicExtension|publicStaticMethod2()); pri::expect(732, pri::PublicExtension|_privateStaticMethod2()); } -static method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic +static extension-member method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic return () → dynamic => pri::PublicExtension|test2(#this); -static method _extension#2|publicMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|publicMethod3(lowered final core::String #this) → core::int return 473; -static method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|publicMethod3(#this); -static method _extension#2|_privateMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|_privateMethod3(lowered final core::String #this) → core::int return 586; -static method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|_privateMethod3(#this); -static method _extension#2|publicStaticMethod3() → core::int +static extension-member method _extension#2|publicStaticMethod3() → core::int return 374; -static method _extension#2|_privateStaticMethod3() → core::int +static extension-member method _extension#2|_privateStaticMethod3() → core::int return 685; -static method _extension#2|test3(lowered final core::String #this) → dynamic { +static extension-member method _extension#2|test3(lowered final core::String #this) → dynamic { pri::expect(473, pri::_extension#2|publicMethod3(#this)); pri::expect(586, pri::_extension#2|_privateMethod3(#this)); pri::expect(374, pri::_extension#2|publicStaticMethod3()); pri::expect(685, pri::_extension#2|_privateStaticMethod3()); } -static method _extension#2|get#test3(lowered final core::String #this) → () → dynamic +static extension-member method _extension#2|get#test3(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_extension#2|test3(#this); static method test() → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1("")); diff --git a/pkg/front_end/testcases/extensions/private_members.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/private_members.dart.strong.transformed.expect index e098df48cd8..ac2c7dd3264 100644 --- a/pkg/front_end/testcases/extensions/private_members.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/private_members.dart.strong.transformed.expect @@ -137,65 +137,65 @@ extension /* unnamed */ _extension#2 on core::String { method test3 = pri::_extension#2|test3; tearoff test3 = pri::_extension#2|get#test3; } -static method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int return 42; -static method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|publicMethod1(#this); -static method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int return 87; -static method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|_privateMethod1(#this); -static method _PrivateExtension|publicStaticMethod1() → core::int +static extension-member method _PrivateExtension|publicStaticMethod1() → core::int return 24; -static method _PrivateExtension|_privateStaticMethod1() → core::int +static extension-member method _PrivateExtension|_privateStaticMethod1() → core::int return 78; -static method _PrivateExtension|test1(lowered final core::String #this) → dynamic { +static extension-member method _PrivateExtension|test1(lowered final core::String #this) → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1(#this)); pri::expect(87, pri::_PrivateExtension|_privateMethod1(#this)); pri::expect(24, pri::_PrivateExtension|publicStaticMethod1()); pri::expect(78, pri::_PrivateExtension|_privateStaticMethod1()); } -static method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic +static extension-member method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_PrivateExtension|test1(#this); -static method PublicExtension|publicMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|publicMethod2(lowered final core::String #this) → core::int return 123; -static method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|publicMethod2(#this); -static method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int return 237; -static method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|_privateMethod2(#this); -static method PublicExtension|publicStaticMethod2() → core::int +static extension-member method PublicExtension|publicStaticMethod2() → core::int return 321; -static method PublicExtension|_privateStaticMethod2() → core::int +static extension-member method PublicExtension|_privateStaticMethod2() → core::int return 732; -static method PublicExtension|test2(lowered final core::String #this) → dynamic { +static extension-member method PublicExtension|test2(lowered final core::String #this) → dynamic { pri::expect(123, pri::PublicExtension|publicMethod2(#this)); pri::expect(237, pri::PublicExtension|_privateMethod2(#this)); pri::expect(321, pri::PublicExtension|publicStaticMethod2()); pri::expect(732, pri::PublicExtension|_privateStaticMethod2()); } -static method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic +static extension-member method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic return () → dynamic => pri::PublicExtension|test2(#this); -static method _extension#2|publicMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|publicMethod3(lowered final core::String #this) → core::int return 473; -static method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|publicMethod3(#this); -static method _extension#2|_privateMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|_privateMethod3(lowered final core::String #this) → core::int return 586; -static method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|_privateMethod3(#this); -static method _extension#2|publicStaticMethod3() → core::int +static extension-member method _extension#2|publicStaticMethod3() → core::int return 374; -static method _extension#2|_privateStaticMethod3() → core::int +static extension-member method _extension#2|_privateStaticMethod3() → core::int return 685; -static method _extension#2|test3(lowered final core::String #this) → dynamic { +static extension-member method _extension#2|test3(lowered final core::String #this) → dynamic { pri::expect(473, pri::_extension#2|publicMethod3(#this)); pri::expect(586, pri::_extension#2|_privateMethod3(#this)); pri::expect(374, pri::_extension#2|publicStaticMethod3()); pri::expect(685, pri::_extension#2|_privateStaticMethod3()); } -static method _extension#2|get#test3(lowered final core::String #this) → () → dynamic +static extension-member method _extension#2|get#test3(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_extension#2|test3(#this); static method test() → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1("")); diff --git a/pkg/front_end/testcases/extensions/private_members.dart.weak.expect b/pkg/front_end/testcases/extensions/private_members.dart.weak.expect index e098df48cd8..ac2c7dd3264 100644 --- a/pkg/front_end/testcases/extensions/private_members.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/private_members.dart.weak.expect @@ -137,65 +137,65 @@ extension /* unnamed */ _extension#2 on core::String { method test3 = pri::_extension#2|test3; tearoff test3 = pri::_extension#2|get#test3; } -static method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int return 42; -static method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|publicMethod1(#this); -static method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int return 87; -static method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|_privateMethod1(#this); -static method _PrivateExtension|publicStaticMethod1() → core::int +static extension-member method _PrivateExtension|publicStaticMethod1() → core::int return 24; -static method _PrivateExtension|_privateStaticMethod1() → core::int +static extension-member method _PrivateExtension|_privateStaticMethod1() → core::int return 78; -static method _PrivateExtension|test1(lowered final core::String #this) → dynamic { +static extension-member method _PrivateExtension|test1(lowered final core::String #this) → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1(#this)); pri::expect(87, pri::_PrivateExtension|_privateMethod1(#this)); pri::expect(24, pri::_PrivateExtension|publicStaticMethod1()); pri::expect(78, pri::_PrivateExtension|_privateStaticMethod1()); } -static method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic +static extension-member method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_PrivateExtension|test1(#this); -static method PublicExtension|publicMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|publicMethod2(lowered final core::String #this) → core::int return 123; -static method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|publicMethod2(#this); -static method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int return 237; -static method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|_privateMethod2(#this); -static method PublicExtension|publicStaticMethod2() → core::int +static extension-member method PublicExtension|publicStaticMethod2() → core::int return 321; -static method PublicExtension|_privateStaticMethod2() → core::int +static extension-member method PublicExtension|_privateStaticMethod2() → core::int return 732; -static method PublicExtension|test2(lowered final core::String #this) → dynamic { +static extension-member method PublicExtension|test2(lowered final core::String #this) → dynamic { pri::expect(123, pri::PublicExtension|publicMethod2(#this)); pri::expect(237, pri::PublicExtension|_privateMethod2(#this)); pri::expect(321, pri::PublicExtension|publicStaticMethod2()); pri::expect(732, pri::PublicExtension|_privateStaticMethod2()); } -static method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic +static extension-member method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic return () → dynamic => pri::PublicExtension|test2(#this); -static method _extension#2|publicMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|publicMethod3(lowered final core::String #this) → core::int return 473; -static method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|publicMethod3(#this); -static method _extension#2|_privateMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|_privateMethod3(lowered final core::String #this) → core::int return 586; -static method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|_privateMethod3(#this); -static method _extension#2|publicStaticMethod3() → core::int +static extension-member method _extension#2|publicStaticMethod3() → core::int return 374; -static method _extension#2|_privateStaticMethod3() → core::int +static extension-member method _extension#2|_privateStaticMethod3() → core::int return 685; -static method _extension#2|test3(lowered final core::String #this) → dynamic { +static extension-member method _extension#2|test3(lowered final core::String #this) → dynamic { pri::expect(473, pri::_extension#2|publicMethod3(#this)); pri::expect(586, pri::_extension#2|_privateMethod3(#this)); pri::expect(374, pri::_extension#2|publicStaticMethod3()); pri::expect(685, pri::_extension#2|_privateStaticMethod3()); } -static method _extension#2|get#test3(lowered final core::String #this) → () → dynamic +static extension-member method _extension#2|get#test3(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_extension#2|test3(#this); static method test() → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1("")); diff --git a/pkg/front_end/testcases/extensions/private_members.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/private_members.dart.weak.modular.expect index e098df48cd8..ac2c7dd3264 100644 --- a/pkg/front_end/testcases/extensions/private_members.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/private_members.dart.weak.modular.expect @@ -137,65 +137,65 @@ extension /* unnamed */ _extension#2 on core::String { method test3 = pri::_extension#2|test3; tearoff test3 = pri::_extension#2|get#test3; } -static method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int return 42; -static method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|publicMethod1(#this); -static method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int return 87; -static method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|_privateMethod1(#this); -static method _PrivateExtension|publicStaticMethod1() → core::int +static extension-member method _PrivateExtension|publicStaticMethod1() → core::int return 24; -static method _PrivateExtension|_privateStaticMethod1() → core::int +static extension-member method _PrivateExtension|_privateStaticMethod1() → core::int return 78; -static method _PrivateExtension|test1(lowered final core::String #this) → dynamic { +static extension-member method _PrivateExtension|test1(lowered final core::String #this) → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1(#this)); pri::expect(87, pri::_PrivateExtension|_privateMethod1(#this)); pri::expect(24, pri::_PrivateExtension|publicStaticMethod1()); pri::expect(78, pri::_PrivateExtension|_privateStaticMethod1()); } -static method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic +static extension-member method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_PrivateExtension|test1(#this); -static method PublicExtension|publicMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|publicMethod2(lowered final core::String #this) → core::int return 123; -static method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|publicMethod2(#this); -static method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int return 237; -static method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|_privateMethod2(#this); -static method PublicExtension|publicStaticMethod2() → core::int +static extension-member method PublicExtension|publicStaticMethod2() → core::int return 321; -static method PublicExtension|_privateStaticMethod2() → core::int +static extension-member method PublicExtension|_privateStaticMethod2() → core::int return 732; -static method PublicExtension|test2(lowered final core::String #this) → dynamic { +static extension-member method PublicExtension|test2(lowered final core::String #this) → dynamic { pri::expect(123, pri::PublicExtension|publicMethod2(#this)); pri::expect(237, pri::PublicExtension|_privateMethod2(#this)); pri::expect(321, pri::PublicExtension|publicStaticMethod2()); pri::expect(732, pri::PublicExtension|_privateStaticMethod2()); } -static method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic +static extension-member method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic return () → dynamic => pri::PublicExtension|test2(#this); -static method _extension#2|publicMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|publicMethod3(lowered final core::String #this) → core::int return 473; -static method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|publicMethod3(#this); -static method _extension#2|_privateMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|_privateMethod3(lowered final core::String #this) → core::int return 586; -static method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|_privateMethod3(#this); -static method _extension#2|publicStaticMethod3() → core::int +static extension-member method _extension#2|publicStaticMethod3() → core::int return 374; -static method _extension#2|_privateStaticMethod3() → core::int +static extension-member method _extension#2|_privateStaticMethod3() → core::int return 685; -static method _extension#2|test3(lowered final core::String #this) → dynamic { +static extension-member method _extension#2|test3(lowered final core::String #this) → dynamic { pri::expect(473, pri::_extension#2|publicMethod3(#this)); pri::expect(586, pri::_extension#2|_privateMethod3(#this)); pri::expect(374, pri::_extension#2|publicStaticMethod3()); pri::expect(685, pri::_extension#2|_privateStaticMethod3()); } -static method _extension#2|get#test3(lowered final core::String #this) → () → dynamic +static extension-member method _extension#2|get#test3(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_extension#2|test3(#this); static method test() → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1("")); diff --git a/pkg/front_end/testcases/extensions/private_members.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/private_members.dart.weak.outline.expect index 4c90f93a12e..4d24bc57751 100644 --- a/pkg/front_end/testcases/extensions/private_members.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/private_members.dart.weak.outline.expect @@ -42,53 +42,53 @@ extension /* unnamed */ _extension#2 on core::String { method test3 = self2::_extension#2|test3; tearoff test3 = self2::_extension#2|get#test3; } -static method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int ; -static method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int return () → core::int => self2::_PrivateExtension|publicMethod1(#this); -static method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int ; -static method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int return () → core::int => self2::_PrivateExtension|_privateMethod1(#this); -static method _PrivateExtension|publicStaticMethod1() → core::int +static extension-member method _PrivateExtension|publicStaticMethod1() → core::int ; -static method _PrivateExtension|_privateStaticMethod1() → core::int +static extension-member method _PrivateExtension|_privateStaticMethod1() → core::int ; -static method _PrivateExtension|test1(lowered final core::String #this) → dynamic +static extension-member method _PrivateExtension|test1(lowered final core::String #this) → dynamic ; -static method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic +static extension-member method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic return () → dynamic => self2::_PrivateExtension|test1(#this); -static method PublicExtension|publicMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|publicMethod2(lowered final core::String #this) → core::int ; -static method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int return () → core::int => self2::PublicExtension|publicMethod2(#this); -static method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int ; -static method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int return () → core::int => self2::PublicExtension|_privateMethod2(#this); -static method PublicExtension|publicStaticMethod2() → core::int +static extension-member method PublicExtension|publicStaticMethod2() → core::int ; -static method PublicExtension|_privateStaticMethod2() → core::int +static extension-member method PublicExtension|_privateStaticMethod2() → core::int ; -static method PublicExtension|test2(lowered final core::String #this) → dynamic +static extension-member method PublicExtension|test2(lowered final core::String #this) → dynamic ; -static method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic +static extension-member method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic return () → dynamic => self2::PublicExtension|test2(#this); -static method _extension#2|publicMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|publicMethod3(lowered final core::String #this) → core::int ; -static method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int return () → core::int => self2::_extension#2|publicMethod3(#this); -static method _extension#2|_privateMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|_privateMethod3(lowered final core::String #this) → core::int ; -static method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int return () → core::int => self2::_extension#2|_privateMethod3(#this); -static method _extension#2|publicStaticMethod3() → core::int +static extension-member method _extension#2|publicStaticMethod3() → core::int ; -static method _extension#2|_privateStaticMethod3() → core::int +static extension-member method _extension#2|_privateStaticMethod3() → core::int ; -static method _extension#2|test3(lowered final core::String #this) → dynamic +static extension-member method _extension#2|test3(lowered final core::String #this) → dynamic ; -static method _extension#2|get#test3(lowered final core::String #this) → () → dynamic +static extension-member method _extension#2|get#test3(lowered final core::String #this) → () → dynamic return () → dynamic => self2::_extension#2|test3(#this); static method test() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/private_members.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/private_members.dart.weak.transformed.expect index e098df48cd8..ac2c7dd3264 100644 --- a/pkg/front_end/testcases/extensions/private_members.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/private_members.dart.weak.transformed.expect @@ -137,65 +137,65 @@ extension /* unnamed */ _extension#2 on core::String { method test3 = pri::_extension#2|test3; tearoff test3 = pri::_extension#2|get#test3; } -static method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|publicMethod1(lowered final core::String #this) → core::int return 42; -static method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#publicMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|publicMethod1(#this); -static method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int +static extension-member method _PrivateExtension|_privateMethod1(lowered final core::String #this) → core::int return 87; -static method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int +static extension-member method _PrivateExtension|get#_privateMethod1(lowered final core::String #this) → () → core::int return () → core::int => pri::_PrivateExtension|_privateMethod1(#this); -static method _PrivateExtension|publicStaticMethod1() → core::int +static extension-member method _PrivateExtension|publicStaticMethod1() → core::int return 24; -static method _PrivateExtension|_privateStaticMethod1() → core::int +static extension-member method _PrivateExtension|_privateStaticMethod1() → core::int return 78; -static method _PrivateExtension|test1(lowered final core::String #this) → dynamic { +static extension-member method _PrivateExtension|test1(lowered final core::String #this) → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1(#this)); pri::expect(87, pri::_PrivateExtension|_privateMethod1(#this)); pri::expect(24, pri::_PrivateExtension|publicStaticMethod1()); pri::expect(78, pri::_PrivateExtension|_privateStaticMethod1()); } -static method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic +static extension-member method _PrivateExtension|get#test1(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_PrivateExtension|test1(#this); -static method PublicExtension|publicMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|publicMethod2(lowered final core::String #this) → core::int return 123; -static method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#publicMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|publicMethod2(#this); -static method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int +static extension-member method PublicExtension|_privateMethod2(lowered final core::String #this) → core::int return 237; -static method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int +static extension-member method PublicExtension|get#_privateMethod2(lowered final core::String #this) → () → core::int return () → core::int => pri::PublicExtension|_privateMethod2(#this); -static method PublicExtension|publicStaticMethod2() → core::int +static extension-member method PublicExtension|publicStaticMethod2() → core::int return 321; -static method PublicExtension|_privateStaticMethod2() → core::int +static extension-member method PublicExtension|_privateStaticMethod2() → core::int return 732; -static method PublicExtension|test2(lowered final core::String #this) → dynamic { +static extension-member method PublicExtension|test2(lowered final core::String #this) → dynamic { pri::expect(123, pri::PublicExtension|publicMethod2(#this)); pri::expect(237, pri::PublicExtension|_privateMethod2(#this)); pri::expect(321, pri::PublicExtension|publicStaticMethod2()); pri::expect(732, pri::PublicExtension|_privateStaticMethod2()); } -static method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic +static extension-member method PublicExtension|get#test2(lowered final core::String #this) → () → dynamic return () → dynamic => pri::PublicExtension|test2(#this); -static method _extension#2|publicMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|publicMethod3(lowered final core::String #this) → core::int return 473; -static method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#publicMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|publicMethod3(#this); -static method _extension#2|_privateMethod3(lowered final core::String #this) → core::int +static extension-member method _extension#2|_privateMethod3(lowered final core::String #this) → core::int return 586; -static method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int +static extension-member method _extension#2|get#_privateMethod3(lowered final core::String #this) → () → core::int return () → core::int => pri::_extension#2|_privateMethod3(#this); -static method _extension#2|publicStaticMethod3() → core::int +static extension-member method _extension#2|publicStaticMethod3() → core::int return 374; -static method _extension#2|_privateStaticMethod3() → core::int +static extension-member method _extension#2|_privateStaticMethod3() → core::int return 685; -static method _extension#2|test3(lowered final core::String #this) → dynamic { +static extension-member method _extension#2|test3(lowered final core::String #this) → dynamic { pri::expect(473, pri::_extension#2|publicMethod3(#this)); pri::expect(586, pri::_extension#2|_privateMethod3(#this)); pri::expect(374, pri::_extension#2|publicStaticMethod3()); pri::expect(685, pri::_extension#2|_privateStaticMethod3()); } -static method _extension#2|get#test3(lowered final core::String #this) → () → dynamic +static extension-member method _extension#2|get#test3(lowered final core::String #this) → () → dynamic return () → dynamic => pri::_extension#2|test3(#this); static method test() → dynamic { pri::expect(42, pri::_PrivateExtension|publicMethod1("")); diff --git a/pkg/front_end/testcases/extensions/shadowing.dart.strong.expect b/pkg/front_end/testcases/extensions/shadowing.dart.strong.expect index ea274cd2cdf..472394460d1 100644 --- a/pkg/front_end/testcases/extensions/shadowing.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/shadowing.dart.strong.expect @@ -21,10 +21,10 @@ extension /* unnamed */ _extension#0 on core::int { } static field core::int getter = 42; static field core::int setter = 42; -static method _extension#0|get#getter(lowered final core::int #this) → dynamic +static extension-member method _extension#0|get#getter(lowered final core::int #this) → dynamic return 42; -static method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} -static method _extension#0|method(lowered final core::int #this) → dynamic { +static extension-member method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} +static extension-member method _extension#0|method(lowered final core::int #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/shadowing.dart:13:5: Error: Setter not found: 'getter'. getter = getter; ^^^^^^"; @@ -32,5 +32,5 @@ static method _extension#0|method(lowered final core::int #this) → dynamic { setter = setter; ^^^^^^"); } -static method _extension#0|get#method(lowered final core::int #this) → () → dynamic +static extension-member method _extension#0|get#method(lowered final core::int #this) → () → dynamic return () → dynamic => self::_extension#0|method(#this); diff --git a/pkg/front_end/testcases/extensions/shadowing.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/shadowing.dart.strong.transformed.expect index ea274cd2cdf..472394460d1 100644 --- a/pkg/front_end/testcases/extensions/shadowing.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/shadowing.dart.strong.transformed.expect @@ -21,10 +21,10 @@ extension /* unnamed */ _extension#0 on core::int { } static field core::int getter = 42; static field core::int setter = 42; -static method _extension#0|get#getter(lowered final core::int #this) → dynamic +static extension-member method _extension#0|get#getter(lowered final core::int #this) → dynamic return 42; -static method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} -static method _extension#0|method(lowered final core::int #this) → dynamic { +static extension-member method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} +static extension-member method _extension#0|method(lowered final core::int #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/shadowing.dart:13:5: Error: Setter not found: 'getter'. getter = getter; ^^^^^^"; @@ -32,5 +32,5 @@ static method _extension#0|method(lowered final core::int #this) → dynamic { setter = setter; ^^^^^^"); } -static method _extension#0|get#method(lowered final core::int #this) → () → dynamic +static extension-member method _extension#0|get#method(lowered final core::int #this) → () → dynamic return () → dynamic => self::_extension#0|method(#this); diff --git a/pkg/front_end/testcases/extensions/shadowing.dart.weak.expect b/pkg/front_end/testcases/extensions/shadowing.dart.weak.expect index ea274cd2cdf..472394460d1 100644 --- a/pkg/front_end/testcases/extensions/shadowing.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/shadowing.dart.weak.expect @@ -21,10 +21,10 @@ extension /* unnamed */ _extension#0 on core::int { } static field core::int getter = 42; static field core::int setter = 42; -static method _extension#0|get#getter(lowered final core::int #this) → dynamic +static extension-member method _extension#0|get#getter(lowered final core::int #this) → dynamic return 42; -static method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} -static method _extension#0|method(lowered final core::int #this) → dynamic { +static extension-member method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} +static extension-member method _extension#0|method(lowered final core::int #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/shadowing.dart:13:5: Error: Setter not found: 'getter'. getter = getter; ^^^^^^"; @@ -32,5 +32,5 @@ static method _extension#0|method(lowered final core::int #this) → dynamic { setter = setter; ^^^^^^"); } -static method _extension#0|get#method(lowered final core::int #this) → () → dynamic +static extension-member method _extension#0|get#method(lowered final core::int #this) → () → dynamic return () → dynamic => self::_extension#0|method(#this); diff --git a/pkg/front_end/testcases/extensions/shadowing.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/shadowing.dart.weak.modular.expect index ea274cd2cdf..472394460d1 100644 --- a/pkg/front_end/testcases/extensions/shadowing.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/shadowing.dart.weak.modular.expect @@ -21,10 +21,10 @@ extension /* unnamed */ _extension#0 on core::int { } static field core::int getter = 42; static field core::int setter = 42; -static method _extension#0|get#getter(lowered final core::int #this) → dynamic +static extension-member method _extension#0|get#getter(lowered final core::int #this) → dynamic return 42; -static method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} -static method _extension#0|method(lowered final core::int #this) → dynamic { +static extension-member method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} +static extension-member method _extension#0|method(lowered final core::int #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/shadowing.dart:13:5: Error: Setter not found: 'getter'. getter = getter; ^^^^^^"; @@ -32,5 +32,5 @@ static method _extension#0|method(lowered final core::int #this) → dynamic { setter = setter; ^^^^^^"); } -static method _extension#0|get#method(lowered final core::int #this) → () → dynamic +static extension-member method _extension#0|get#method(lowered final core::int #this) → () → dynamic return () → dynamic => self::_extension#0|method(#this); diff --git a/pkg/front_end/testcases/extensions/shadowing.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/shadowing.dart.weak.outline.expect index 3b88c2b45ec..740e29a1fad 100644 --- a/pkg/front_end/testcases/extensions/shadowing.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/shadowing.dart.weak.outline.expect @@ -10,11 +10,11 @@ extension /* unnamed */ _extension#0 on core::int { } static field core::int getter; static field core::int setter; -static method _extension#0|get#getter(lowered final core::int #this) → dynamic +static extension-member method _extension#0|get#getter(lowered final core::int #this) → dynamic ; -static method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void +static extension-member method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void ; -static method _extension#0|method(lowered final core::int #this) → dynamic +static extension-member method _extension#0|method(lowered final core::int #this) → dynamic ; -static method _extension#0|get#method(lowered final core::int #this) → () → dynamic +static extension-member method _extension#0|get#method(lowered final core::int #this) → () → dynamic return () → dynamic => self::_extension#0|method(#this); diff --git a/pkg/front_end/testcases/extensions/shadowing.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/shadowing.dart.weak.transformed.expect index ea274cd2cdf..472394460d1 100644 --- a/pkg/front_end/testcases/extensions/shadowing.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/shadowing.dart.weak.transformed.expect @@ -21,10 +21,10 @@ extension /* unnamed */ _extension#0 on core::int { } static field core::int getter = 42; static field core::int setter = 42; -static method _extension#0|get#getter(lowered final core::int #this) → dynamic +static extension-member method _extension#0|get#getter(lowered final core::int #this) → dynamic return 42; -static method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} -static method _extension#0|method(lowered final core::int #this) → dynamic { +static extension-member method _extension#0|set#setter(lowered final core::int #this, dynamic _) → void {} +static extension-member method _extension#0|method(lowered final core::int #this) → dynamic { invalid-expression "pkg/front_end/testcases/extensions/shadowing.dart:13:5: Error: Setter not found: 'getter'. getter = getter; ^^^^^^"; @@ -32,5 +32,5 @@ static method _extension#0|method(lowered final core::int #this) → dynamic { setter = setter; ^^^^^^"); } -static method _extension#0|get#method(lowered final core::int #this) → () → dynamic +static extension-member method _extension#0|get#method(lowered final core::int #this) → () → dynamic return () → dynamic => self::_extension#0|method(#this); diff --git a/pkg/front_end/testcases/extensions/static_access.dart.strong.expect b/pkg/front_end/testcases/extensions/static_access.dart.strong.expect index 7119c439bef..181f325a08d 100644 --- a/pkg/front_end/testcases/extensions/static_access.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/static_access.dart.strong.expect @@ -19,17 +19,17 @@ extension Extension on self::Class { set instanceProperty = self::Extension|set#instanceProperty; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} -static get Extension|property() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} +static extension-member get Extension|property() → dynamic return 42; -static set Extension|property(dynamic value) → void {} -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member set Extension|property(dynamic value) → void {} +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { self::Extension|method(); self::Extension|genericMethod(42); diff --git a/pkg/front_end/testcases/extensions/static_access.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/static_access.dart.strong.transformed.expect index 7119c439bef..181f325a08d 100644 --- a/pkg/front_end/testcases/extensions/static_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/static_access.dart.strong.transformed.expect @@ -19,17 +19,17 @@ extension Extension on self::Class { set instanceProperty = self::Extension|set#instanceProperty; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} -static get Extension|property() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} +static extension-member get Extension|property() → dynamic return 42; -static set Extension|property(dynamic value) → void {} -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member set Extension|property(dynamic value) → void {} +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { self::Extension|method(); self::Extension|genericMethod(42); diff --git a/pkg/front_end/testcases/extensions/static_access.dart.weak.expect b/pkg/front_end/testcases/extensions/static_access.dart.weak.expect index 7119c439bef..181f325a08d 100644 --- a/pkg/front_end/testcases/extensions/static_access.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/static_access.dart.weak.expect @@ -19,17 +19,17 @@ extension Extension on self::Class { set instanceProperty = self::Extension|set#instanceProperty; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} -static get Extension|property() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} +static extension-member get Extension|property() → dynamic return 42; -static set Extension|property(dynamic value) → void {} -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member set Extension|property(dynamic value) → void {} +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { self::Extension|method(); self::Extension|genericMethod(42); diff --git a/pkg/front_end/testcases/extensions/static_access.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/static_access.dart.weak.modular.expect index 7119c439bef..181f325a08d 100644 --- a/pkg/front_end/testcases/extensions/static_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/static_access.dart.weak.modular.expect @@ -19,17 +19,17 @@ extension Extension on self::Class { set instanceProperty = self::Extension|set#instanceProperty; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} -static get Extension|property() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} +static extension-member get Extension|property() → dynamic return 42; -static set Extension|property(dynamic value) → void {} -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member set Extension|property(dynamic value) → void {} +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { self::Extension|method(); self::Extension|genericMethod(42); diff --git a/pkg/front_end/testcases/extensions/static_access.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/static_access.dart.weak.outline.expect index 7262dca94a1..8a528512838 100644 --- a/pkg/front_end/testcases/extensions/static_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/static_access.dart.weak.outline.expect @@ -18,21 +18,21 @@ extension Extension on self::Class { set instanceProperty = self::Extension|set#instanceProperty; } static field dynamic Extension|field; -static method Extension|method() → dynamic +static extension-member method Extension|method() → dynamic ; -static method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic +static extension-member method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic ; -static get Extension|property() → dynamic +static extension-member get Extension|property() → dynamic ; -static set Extension|property(dynamic value) → void +static extension-member set Extension|property(dynamic value) → void ; -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic ; -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic ; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/static_access.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/static_access.dart.weak.transformed.expect index 7119c439bef..181f325a08d 100644 --- a/pkg/front_end/testcases/extensions/static_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/static_access.dart.weak.transformed.expect @@ -19,17 +19,17 @@ extension Extension on self::Class { set instanceProperty = self::Extension|set#instanceProperty; } static field dynamic Extension|field; -static method Extension|method() → dynamic {} -static method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} -static get Extension|property() → dynamic +static extension-member method Extension|method() → dynamic {} +static extension-member method Extension|genericMethod(self::Extension|genericMethod::T% t) → dynamic {} +static extension-member get Extension|property() → dynamic return 42; -static set Extension|property(dynamic value) → void {} -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member set Extension|property(dynamic value) → void {} +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { self::Extension|method(); self::Extension|genericMethod(42); diff --git a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.strong.expect b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.strong.expect index 7f89731093c..bd53c6b3941 100644 --- a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.strong.expect @@ -32,12 +32,12 @@ extension Extension on self::Class { get instanceProperty = self::Extension|get#instanceProperty; set instanceProperty = self::Extension|set#instanceProperty; } -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { invalid-expression "pkg/front_end/testcases/extensions/static_access_of_instance.dart:14:13: Error: Member not found: 'Extension.instanceMethod'. Extension.instanceMethod(); diff --git a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.strong.transformed.expect index 7f89731093c..bd53c6b3941 100644 --- a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.strong.transformed.expect @@ -32,12 +32,12 @@ extension Extension on self::Class { get instanceProperty = self::Extension|get#instanceProperty; set instanceProperty = self::Extension|set#instanceProperty; } -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { invalid-expression "pkg/front_end/testcases/extensions/static_access_of_instance.dart:14:13: Error: Member not found: 'Extension.instanceMethod'. Extension.instanceMethod(); diff --git a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.expect b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.expect index 7f89731093c..bd53c6b3941 100644 --- a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.expect @@ -32,12 +32,12 @@ extension Extension on self::Class { get instanceProperty = self::Extension|get#instanceProperty; set instanceProperty = self::Extension|set#instanceProperty; } -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { invalid-expression "pkg/front_end/testcases/extensions/static_access_of_instance.dart:14:13: Error: Member not found: 'Extension.instanceMethod'. Extension.instanceMethod(); diff --git a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.modular.expect index 7f89731093c..bd53c6b3941 100644 --- a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.modular.expect @@ -32,12 +32,12 @@ extension Extension on self::Class { get instanceProperty = self::Extension|get#instanceProperty; set instanceProperty = self::Extension|set#instanceProperty; } -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { invalid-expression "pkg/front_end/testcases/extensions/static_access_of_instance.dart:14:13: Error: Member not found: 'Extension.instanceMethod'. Extension.instanceMethod(); diff --git a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.outline.expect index f07a15b79a9..ae5a229aa56 100644 --- a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.outline.expect @@ -12,13 +12,13 @@ extension Extension on self::Class { get instanceProperty = self::Extension|get#instanceProperty; set instanceProperty = self::Extension|set#instanceProperty; } -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic ; -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic ; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.transformed.expect index 7f89731093c..bd53c6b3941 100644 --- a/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/static_access_of_instance.dart.weak.transformed.expect @@ -32,12 +32,12 @@ extension Extension on self::Class { get instanceProperty = self::Extension|get#instanceProperty; set instanceProperty = self::Extension|set#instanceProperty; } -static method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} -static method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|instanceMethod(lowered final self::Class #this) → dynamic {} +static extension-member method Extension|get#instanceMethod(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|instanceMethod(#this); -static method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic +static extension-member method Extension|get#instanceProperty(lowered final self::Class #this) → dynamic return 42; -static method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} +static extension-member method Extension|set#instanceProperty(lowered final self::Class #this, dynamic value) → void {} static method main() → dynamic { invalid-expression "pkg/front_end/testcases/extensions/static_access_of_instance.dart:14:13: Error: Member not found: 'Extension.instanceMethod'. Extension.instanceMethod(); diff --git a/pkg/front_end/testcases/extensions/tear_offs.dart.strong.expect b/pkg/front_end/testcases/extensions/tear_offs.dart.strong.expect index 1572ffa3eec..c5560b2dfcb 100644 --- a/pkg/front_end/testcases/extensions/tear_offs.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/tear_offs.dart.strong.expect @@ -45,23 +45,23 @@ extension Extension on self::Class* { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* +static extension-member method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* return t; -static method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* return (T* t) → T* => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class* #this) → dynamic { (core::String*) →* core::String* stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class* #this) → dynamic { (core::int*) →* core::int* intId = invalid-expression "pkg/front_end/testcases/extensions/tear_offs.dart:19:31: Error: A value of type 'T Function(T)' can't be assigned to a variable of type 'int Function(int)'. int Function(int) intId = getter; ^" in self::Extension|get#getter(#this) as{TypeError,ForLegacy} (core::int*) →* core::int*; } -static method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class* c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/tear_offs.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/tear_offs.dart.strong.transformed.expect index 1572ffa3eec..c5560b2dfcb 100644 --- a/pkg/front_end/testcases/extensions/tear_offs.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/tear_offs.dart.strong.transformed.expect @@ -45,23 +45,23 @@ extension Extension on self::Class* { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* +static extension-member method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* return t; -static method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* return (T* t) → T* => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class* #this) → dynamic { (core::String*) →* core::String* stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class* #this) → dynamic { (core::int*) →* core::int* intId = invalid-expression "pkg/front_end/testcases/extensions/tear_offs.dart:19:31: Error: A value of type 'T Function(T)' can't be assigned to a variable of type 'int Function(int)'. int Function(int) intId = getter; ^" in self::Extension|get#getter(#this) as{TypeError,ForLegacy} (core::int*) →* core::int*; } -static method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class* c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/tear_offs.dart.weak.expect b/pkg/front_end/testcases/extensions/tear_offs.dart.weak.expect index e6d5c724b48..730f2edb000 100644 --- a/pkg/front_end/testcases/extensions/tear_offs.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/tear_offs.dart.weak.expect @@ -41,23 +41,23 @@ extension Extension on self::Class* { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* +static extension-member method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* return t; -static method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* return (T* t) → T* => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class* #this) → dynamic { (core::String*) →* core::String* stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class* #this) → dynamic { (core::int*) →* core::int* intId = invalid-expression "pkg/front_end/testcases/extensions/tear_offs.dart:19:31: Error: A value of type 'T Function(T)' can't be assigned to a variable of type 'int Function(int)'. int Function(int) intId = getter; ^" in self::Extension|get#getter(#this) as{TypeError,ForLegacy} (core::int*) →* core::int*; } -static method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class* c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/tear_offs.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/tear_offs.dart.weak.modular.expect index e6d5c724b48..730f2edb000 100644 --- a/pkg/front_end/testcases/extensions/tear_offs.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/tear_offs.dart.weak.modular.expect @@ -41,23 +41,23 @@ extension Extension on self::Class* { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* +static extension-member method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* return t; -static method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* return (T* t) → T* => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class* #this) → dynamic { (core::String*) →* core::String* stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class* #this) → dynamic { (core::int*) →* core::int* intId = invalid-expression "pkg/front_end/testcases/extensions/tear_offs.dart:19:31: Error: A value of type 'T Function(T)' can't be assigned to a variable of type 'int Function(int)'. int Function(int) intId = getter; ^" in self::Extension|get#getter(#this) as{TypeError,ForLegacy} (core::int*) →* core::int*; } -static method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class* c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/tear_offs.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/tear_offs.dart.weak.outline.expect index 3381ee19c74..2f2631e8a06 100644 --- a/pkg/front_end/testcases/extensions/tear_offs.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/tear_offs.dart.weak.outline.expect @@ -25,19 +25,19 @@ extension Extension on self::Class* { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* +static extension-member method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* ; -static method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* return (T* t) → T* => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* ; -static method Extension|method(lowered final self::Class* #this) → dynamic +static extension-member method Extension|method(lowered final self::Class* #this) → dynamic ; -static method Extension|get#method(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class* #this) → dynamic +static extension-member method Extension|errors(lowered final self::Class* #this) → dynamic ; -static method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/tear_offs.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/tear_offs.dart.weak.transformed.expect index e6d5c724b48..730f2edb000 100644 --- a/pkg/front_end/testcases/extensions/tear_offs.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/tear_offs.dart.weak.transformed.expect @@ -41,23 +41,23 @@ extension Extension on self::Class* { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* +static extension-member method Extension|id(lowered final self::Class* #this, self::Extension|id::T* t) → self::Extension|id::T* return t; -static method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#id(lowered final self::Class* #this) → (T*) →* T* return (T* t) → T* => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* +static extension-member method Extension|get#getter(lowered final self::Class* #this) → (T*) →* T* return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class* #this) → dynamic { (core::String*) →* core::String* stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class* #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class* #this) → dynamic { (core::int*) →* core::int* intId = invalid-expression "pkg/front_end/testcases/extensions/tear_offs.dart:19:31: Error: A value of type 'T Function(T)' can't be assigned to a variable of type 'int Function(int)'. int Function(int) intId = getter; ^" in self::Extension|get#getter(#this) as{TypeError,ForLegacy} (core::int*) →* core::int*; } -static method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic +static extension-member method Extension|get#errors(lowered final self::Class* #this) → () →* dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class* c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/tear_offs2.dart.strong.expect b/pkg/front_end/testcases/extensions/tear_offs2.dart.strong.expect index 8cdb3799d58..55ca742f889 100644 --- a/pkg/front_end/testcases/extensions/tear_offs2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/tear_offs2.dart.strong.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% +static extension-member method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% return t; -static method Extension|get#id(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#id(lowered final self::Class #this) → (T%) → T% return (T% t) → T% => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#getter(lowered final self::Class #this) → (T%) → T% return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class #this) → dynamic { (core::String) → core::String stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class #this) → dynamic { (core::int) → core::int intId = self::Extension|get#getter(#this); } -static method Extension|get#errors(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#errors(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/tear_offs2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/tear_offs2.dart.strong.transformed.expect index 8cdb3799d58..55ca742f889 100644 --- a/pkg/front_end/testcases/extensions/tear_offs2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/tear_offs2.dart.strong.transformed.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% +static extension-member method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% return t; -static method Extension|get#id(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#id(lowered final self::Class #this) → (T%) → T% return (T% t) → T% => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#getter(lowered final self::Class #this) → (T%) → T% return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class #this) → dynamic { (core::String) → core::String stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class #this) → dynamic { (core::int) → core::int intId = self::Extension|get#getter(#this); } -static method Extension|get#errors(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#errors(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.expect b/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.expect index 8cdb3799d58..55ca742f889 100644 --- a/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% +static extension-member method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% return t; -static method Extension|get#id(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#id(lowered final self::Class #this) → (T%) → T% return (T% t) → T% => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#getter(lowered final self::Class #this) → (T%) → T% return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class #this) → dynamic { (core::String) → core::String stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class #this) → dynamic { (core::int) → core::int intId = self::Extension|get#getter(#this); } -static method Extension|get#errors(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#errors(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.modular.expect index 8cdb3799d58..55ca742f889 100644 --- a/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.modular.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% +static extension-member method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% return t; -static method Extension|get#id(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#id(lowered final self::Class #this) → (T%) → T% return (T% t) → T% => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#getter(lowered final self::Class #this) → (T%) → T% return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class #this) → dynamic { (core::String) → core::String stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class #this) → dynamic { (core::int) → core::int intId = self::Extension|get#getter(#this); } -static method Extension|get#errors(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#errors(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.outline.expect index b7b60fa9532..86c78cc1957 100644 --- a/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.outline.expect @@ -15,19 +15,19 @@ extension Extension on self::Class { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% +static extension-member method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% ; -static method Extension|get#id(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#id(lowered final self::Class #this) → (T%) → T% return (T% t) → T% => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#getter(lowered final self::Class #this) → (T%) → T% ; -static method Extension|method(lowered final self::Class #this) → dynamic +static extension-member method Extension|method(lowered final self::Class #this) → dynamic ; -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class #this) → dynamic +static extension-member method Extension|errors(lowered final self::Class #this) → dynamic ; -static method Extension|get#errors(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#errors(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.transformed.expect index 8cdb3799d58..55ca742f889 100644 --- a/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/tear_offs2.dart.weak.transformed.expect @@ -16,21 +16,21 @@ extension Extension on self::Class { method errors = self::Extension|errors; tearoff errors = self::Extension|get#errors; } -static method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% +static extension-member method Extension|id(lowered final self::Class #this, self::Extension|id::T% t) → self::Extension|id::T% return t; -static method Extension|get#id(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#id(lowered final self::Class #this) → (T%) → T% return (T% t) → T% => self::Extension|id(#this, t); -static method Extension|get#getter(lowered final self::Class #this) → (T%) → T% +static extension-member method Extension|get#getter(lowered final self::Class #this) → (T%) → T% return self::Extension|get#id(#this); -static method Extension|method(lowered final self::Class #this) → dynamic { +static extension-member method Extension|method(lowered final self::Class #this) → dynamic { (core::String) → core::String stringId = self::Extension|get#id(#this); } -static method Extension|get#method(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#method(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|method(#this); -static method Extension|errors(lowered final self::Class #this) → dynamic { +static extension-member method Extension|errors(lowered final self::Class #this) → dynamic { (core::int) → core::int intId = self::Extension|get#getter(#this); } -static method Extension|get#errors(lowered final self::Class #this) → () → dynamic +static extension-member method Extension|get#errors(lowered final self::Class #this) → () → dynamic return () → dynamic => self::Extension|errors(#this); static method main() → dynamic { self::Class c = new self::Class::•(); diff --git a/pkg/front_end/testcases/extensions/type_variable_bound.dart.strong.expect b/pkg/front_end/testcases/extensions/type_variable_bound.dart.strong.expect index e2b255767f3..7a7de4b5f28 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound.dart.strong.expect @@ -37,13 +37,13 @@ extension BoundExtension on T* { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* +static extension-member method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* return () → self::Extension|get#method1::T* => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* return () → self::BoundExtension|get#method2::T* => self::BoundExtension|method2(#this); static method test1(self::test1::T* t1) → self::Class* { if(t1 is{ForLegacy} self::SubClass*) { diff --git a/pkg/front_end/testcases/extensions/type_variable_bound.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/type_variable_bound.dart.strong.transformed.expect index e2b255767f3..7a7de4b5f28 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound.dart.strong.transformed.expect @@ -37,13 +37,13 @@ extension BoundExtension on T* { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* +static extension-member method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* return () → self::Extension|get#method1::T* => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* return () → self::BoundExtension|get#method2::T* => self::BoundExtension|method2(#this); static method test1(self::test1::T* t1) → self::Class* { if(t1 is{ForLegacy} self::SubClass*) { diff --git a/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.expect b/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.expect index ff0230a6288..ad3ed6cc599 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.expect @@ -30,13 +30,13 @@ extension BoundExtension on T* { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* +static extension-member method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* return () → self::Extension|get#method1::T* => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* return () → self::BoundExtension|get#method2::T* => self::BoundExtension|method2(#this); static method test1(self::test1::T* t1) → self::Class* { if(t1 is{ForLegacy} self::SubClass*) { diff --git a/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.modular.expect index ff0230a6288..ad3ed6cc599 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.modular.expect @@ -30,13 +30,13 @@ extension BoundExtension on T* { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* +static extension-member method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* return () → self::Extension|get#method1::T* => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* return () → self::BoundExtension|get#method2::T* => self::BoundExtension|method2(#this); static method test1(self::test1::T* t1) → self::Class* { if(t1 is{ForLegacy} self::SubClass*) { diff --git a/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.outline.expect index 55e0c367455..c3186b09f47 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.outline.expect @@ -28,13 +28,13 @@ extension BoundExtension on T* { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* +static extension-member method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* ; -static method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* return () → self::Extension|get#method1::T* => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* ; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* return () → self::BoundExtension|get#method2::T* => self::BoundExtension|method2(#this); static method test1(self::test1::T* t1) → self::Class* ; diff --git a/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.transformed.expect index ff0230a6288..ad3ed6cc599 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound.dart.weak.transformed.expect @@ -30,13 +30,13 @@ extension BoundExtension on T* { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* +static extension-member method Extension|method1(lowered final self::Extension|method1::T* #this) → self::Extension|method1::T* return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T* #this) → () →* self::Extension|get#method1::T* return () → self::Extension|get#method1::T* => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T* #this) → self::BoundExtension|method2::T* return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T* #this) → () →* self::BoundExtension|get#method2::T* return () → self::BoundExtension|get#method2::T* => self::BoundExtension|method2(#this); static method test1(self::test1::T* t1) → self::Class* { if(t1 is{ForLegacy} self::SubClass*) { diff --git a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.strong.expect b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.strong.expect index dc682c372c2..d161c22b73c 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.strong.expect @@ -29,13 +29,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.strong.transformed.expect index 8874737fa63..50cd3322be6 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.strong.transformed.expect @@ -29,13 +29,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.expect b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.expect index 772cfcdeddd..c13a0b06736 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.expect @@ -29,13 +29,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.modular.expect index 772cfcdeddd..c13a0b06736 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.modular.expect @@ -29,13 +29,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.outline.expect index 8591fd7ea93..0c6430dbdfa 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.outline.expect @@ -18,13 +18,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% ; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T ; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class ; diff --git a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.transformed.expect index e684422c666..1bafa43849b 100644 --- a/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/type_variable_bound2.dart.weak.transformed.expect @@ -29,13 +29,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/extensions/type_variables.dart.strong.expect b/pkg/front_end/testcases/extensions/type_variables.dart.strong.expect index 19ecc488d2c..f551454afcf 100644 --- a/pkg/front_end/testcases/extensions/type_variables.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/type_variables.dart.strong.expect @@ -19,20 +19,20 @@ extension A4 on self::A1 { method method = self::A4|method; tearoff method = self::A4|get#method; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { +static extension-member method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { core::print(o); core::print(self::A2|method2::T%); core::print(self::A2|method2::S); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 return = self::A1>(S o) → self::A1 => self::A2|method2(#this, o); -static method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} -static method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic +static extension-member method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} +static extension-member method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic return () → dynamic => self::A4|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/type_variables.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/type_variables.dart.strong.transformed.expect index 19ecc488d2c..f551454afcf 100644 --- a/pkg/front_end/testcases/extensions/type_variables.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/type_variables.dart.strong.transformed.expect @@ -19,20 +19,20 @@ extension A4 on self::A1 { method method = self::A4|method; tearoff method = self::A4|get#method; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { +static extension-member method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { core::print(o); core::print(self::A2|method2::T%); core::print(self::A2|method2::S); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 return = self::A1>(S o) → self::A1 => self::A2|method2(#this, o); -static method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} -static method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic +static extension-member method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} +static extension-member method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic return () → dynamic => self::A4|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/type_variables.dart.weak.expect b/pkg/front_end/testcases/extensions/type_variables.dart.weak.expect index 19ecc488d2c..f551454afcf 100644 --- a/pkg/front_end/testcases/extensions/type_variables.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/type_variables.dart.weak.expect @@ -19,20 +19,20 @@ extension A4 on self::A1 { method method = self::A4|method; tearoff method = self::A4|get#method; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { +static extension-member method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { core::print(o); core::print(self::A2|method2::T%); core::print(self::A2|method2::S); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 return = self::A1>(S o) → self::A1 => self::A2|method2(#this, o); -static method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} -static method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic +static extension-member method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} +static extension-member method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic return () → dynamic => self::A4|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/type_variables.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/type_variables.dart.weak.modular.expect index 19ecc488d2c..f551454afcf 100644 --- a/pkg/front_end/testcases/extensions/type_variables.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/type_variables.dart.weak.modular.expect @@ -19,20 +19,20 @@ extension A4 on self::A1 { method method = self::A4|method; tearoff method = self::A4|get#method; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { +static extension-member method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { core::print(o); core::print(self::A2|method2::T%); core::print(self::A2|method2::S); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 return = self::A1>(S o) → self::A1 => self::A2|method2(#this, o); -static method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} -static method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic +static extension-member method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} +static extension-member method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic return () → dynamic => self::A4|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/type_variables.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/type_variables.dart.weak.outline.expect index 99b5e2d7df9..9c467c16db4 100644 --- a/pkg/front_end/testcases/extensions/type_variables.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/type_variables.dart.weak.outline.expect @@ -18,17 +18,17 @@ extension A4 on self::A1 { method method = self::A4|method; tearoff method = self::A4|get#method; } -static method A2|method1(lowered final self::A1 #this) → self::A1 +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 ; -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 +static extension-member method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 ; -static method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 return = self::A1>(S o) → self::A1 => self::A2|method2(#this, o); -static method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic +static extension-member method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic ; -static method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic +static extension-member method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic return () → dynamic => self::A4|method(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/type_variables.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/type_variables.dart.weak.transformed.expect index 19ecc488d2c..f551454afcf 100644 --- a/pkg/front_end/testcases/extensions/type_variables.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/type_variables.dart.weak.transformed.expect @@ -19,20 +19,20 @@ extension A4 on self::A1 { method method = self::A4|method; tearoff method = self::A4|get#method; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { +static extension-member method A2|method2 = self::A1>(lowered final self::A1 #this, self::A2|method2::S o) → self::A1 { core::print(o); core::print(self::A2|method2::T%); core::print(self::A2|method2::S); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → = self::A1>(S) → self::A1 return = self::A1>(S o) → self::A1 => self::A2|method2(#this, o); -static method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} -static method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic +static extension-member method A4|method<#T extends core::Object? = dynamic, T extends core::Object? = dynamic>(lowered final self::A1 #this) → dynamic {} +static extension-member method A4|get#method<#T extends core::Object? = dynamic>(lowered final self::A1 #this) → () → dynamic return () → dynamic => self::A4|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.strong.expect b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.strong.expect index b04a12ffda9..064f5a18379 100644 --- a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.strong.expect @@ -34,44 +34,44 @@ extension /* unnamed */ _extension#1 on self::Class2 { get property = self::_extension#1|get#property; set property = self::_extension#1|set#property; } -static method _extension#0|method(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::_extension#0|method(#this); -static method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { +static extension-member method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::_extension#0|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::_extension#0|genericMethod(#this, t); -static method _extension#0|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method _extension#1|method(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::_extension#1|method(#this); -static method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { +static extension-member method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::_extension#1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::_extension#1|genericMethod(#this, t); -static method _extension#1|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.strong.transformed.expect index 0da871ee446..de49f11f770 100644 --- a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.strong.transformed.expect @@ -34,44 +34,44 @@ extension /* unnamed */ _extension#1 on self::Class2 { get property = self::_extension#1|get#property; set property = self::_extension#1|set#property; } -static method _extension#0|method(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::_extension#0|method(#this); -static method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { +static extension-member method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::_extension#0|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::_extension#0|genericMethod(#this, t); -static method _extension#0|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method _extension#1|method(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::_extension#1|method(#this); -static method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { +static extension-member method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::_extension#1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::_extension#1|genericMethod(#this, t); -static method _extension#1|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.expect b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.expect index b04a12ffda9..064f5a18379 100644 --- a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.expect @@ -34,44 +34,44 @@ extension /* unnamed */ _extension#1 on self::Class2 { get property = self::_extension#1|get#property; set property = self::_extension#1|set#property; } -static method _extension#0|method(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::_extension#0|method(#this); -static method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { +static extension-member method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::_extension#0|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::_extension#0|genericMethod(#this, t); -static method _extension#0|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method _extension#1|method(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::_extension#1|method(#this); -static method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { +static extension-member method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::_extension#1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::_extension#1|genericMethod(#this, t); -static method _extension#1|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.modular.expect index b04a12ffda9..064f5a18379 100644 --- a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.modular.expect @@ -34,44 +34,44 @@ extension /* unnamed */ _extension#1 on self::Class2 { get property = self::_extension#1|get#property; set property = self::_extension#1|set#property; } -static method _extension#0|method(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::_extension#0|method(#this); -static method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { +static extension-member method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::_extension#0|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::_extension#0|genericMethod(#this, t); -static method _extension#0|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method _extension#1|method(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::_extension#1|method(#this); -static method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { +static extension-member method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::_extension#1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::_extension#1|genericMethod(#this, t); -static method _extension#1|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.outline.expect index bd10376fbd8..fc64a10c50c 100644 --- a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.outline.expect @@ -32,29 +32,29 @@ extension /* unnamed */ _extension#1 on self::Class2 { get property = self::_extension#1|get#property; set property = self::_extension#1|set#property; } -static method _extension#0|method(lowered final self::Class1 #this) → core::int +static extension-member method _extension#0|method(lowered final self::Class1 #this) → core::int ; -static method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::_extension#0|method(#this); -static method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num +static extension-member method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num ; -static method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::_extension#0|genericMethod(#this, t); -static method _extension#0|get#property(lowered final self::Class1 #this) → core::int +static extension-member method _extension#0|get#property(lowered final self::Class1 #this) → core::int ; -static method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void +static extension-member method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void ; -static method _extension#1|method(lowered final self::Class2 #this) → core::int +static extension-member method _extension#1|method(lowered final self::Class2 #this) → core::int ; -static method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::_extension#1|method(#this); -static method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num +static extension-member method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num ; -static method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::_extension#1|genericMethod(#this, t); -static method _extension#1|get#property(lowered final self::Class2 #this) → core::int +static extension-member method _extension#1|get#property(lowered final self::Class2 #this) → core::int ; -static method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void +static extension-member method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.transformed.expect index 0da871ee446..de49f11f770 100644 --- a/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/unnamed_extensions.dart.weak.transformed.expect @@ -34,44 +34,44 @@ extension /* unnamed */ _extension#1 on self::Class2 { get property = self::_extension#1|get#property; set property = self::_extension#1|set#property; } -static method _extension#0|method(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|method(lowered final self::Class1 #this) → core::int { core::print("Extension1.method on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int +static extension-member method _extension#0|get#method(lowered final self::Class1 #this) → () → core::int return () → core::int => self::_extension#0|method(#this); -static method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { +static extension-member method _extension#0|genericMethod(lowered final self::Class1 #this, self::_extension#0|genericMethod::T t) → core::num { core::print("Extension1.genericMethod<${self::_extension#0|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class1::field}{core::int}.{core::num::+}(t){(core::num) → core::num}; } -static method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num +static extension-member method _extension#0|get#genericMethod(lowered final self::Class1 #this) → (T) → core::num return (T t) → core::num => self::_extension#0|genericMethod(#this, t); -static method _extension#0|get#property(lowered final self::Class1 #this) → core::int { +static extension-member method _extension#0|get#property(lowered final self::Class1 #this) → core::int { core::print("Extension1.property get on ${#this}"); return #this.{self::Class1::field}{core::int}; } -static method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { +static extension-member method _extension#0|set#property(lowered final self::Class1 #this, core::int value) → void { #this.{self::Class1::field} = value; core::print("Extension1.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; } -static method _extension#1|method(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|method(lowered final self::Class2 #this) → core::int { core::print("Extension2.method on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(3){(core::num) → core::int}; } -static method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int +static extension-member method _extension#1|get#method(lowered final self::Class2 #this) → () → core::int return () → core::int => self::_extension#1|method(#this); -static method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { +static extension-member method _extension#1|genericMethod(lowered final self::Class2 #this, self::_extension#1|genericMethod::T t) → core::num { core::print("Extension2.genericMethod<${self::_extension#1|genericMethod::T}>(${t}) on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(t){(core::num) → core::num}.{core::num::+}(4){(core::num) → core::num}; } -static method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num +static extension-member method _extension#1|get#genericMethod(lowered final self::Class2 #this) → (T) → core::num return (T t) → core::num => self::_extension#1|genericMethod(#this, t); -static method _extension#1|get#property(lowered final self::Class2 #this) → core::int { +static extension-member method _extension#1|get#property(lowered final self::Class2 #this) → core::int { core::print("Extension2.property get on ${#this}"); return #this.{self::Class2::field}{core::int}.{core::num::+}(5){(core::num) → core::int}; } -static method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { +static extension-member method _extension#1|set#property(lowered final self::Class2 #this, core::int value) → void { core::print("Extension2.property set(${value}) on ${#this}"); value = value.{core::num::+}(1){(core::num) → core::int}; #this.{self::Class2::field} = value; diff --git a/pkg/front_end/testcases/extensions/use_this.dart.strong.expect b/pkg/front_end/testcases/extensions/use_this.dart.strong.expect index 2b102c25690..865fb8bf4c7 100644 --- a/pkg/front_end/testcases/extensions/use_this.dart.strong.expect +++ b/pkg/front_end/testcases/extensions/use_this.dart.strong.expect @@ -24,26 +24,26 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/use_this.dart.strong.transformed.expect b/pkg/front_end/testcases/extensions/use_this.dart.strong.transformed.expect index 2b102c25690..865fb8bf4c7 100644 --- a/pkg/front_end/testcases/extensions/use_this.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/extensions/use_this.dart.strong.transformed.expect @@ -24,26 +24,26 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/use_this.dart.weak.expect b/pkg/front_end/testcases/extensions/use_this.dart.weak.expect index 2b102c25690..865fb8bf4c7 100644 --- a/pkg/front_end/testcases/extensions/use_this.dart.weak.expect +++ b/pkg/front_end/testcases/extensions/use_this.dart.weak.expect @@ -24,26 +24,26 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/use_this.dart.weak.modular.expect b/pkg/front_end/testcases/extensions/use_this.dart.weak.modular.expect index 2b102c25690..865fb8bf4c7 100644 --- a/pkg/front_end/testcases/extensions/use_this.dart.weak.modular.expect +++ b/pkg/front_end/testcases/extensions/use_this.dart.weak.modular.expect @@ -24,26 +24,26 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/extensions/use_this.dart.weak.outline.expect b/pkg/front_end/testcases/extensions/use_this.dart.weak.outline.expect index bbf115f1431..9c239602780 100644 --- a/pkg/front_end/testcases/extensions/use_this.dart.weak.outline.expect +++ b/pkg/front_end/testcases/extensions/use_this.dart.weak.outline.expect @@ -22,21 +22,21 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 ; -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 ; -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method B2|method1(lowered final self::B1 #this) → self::B1 +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 ; -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 ; -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/extensions/use_this.dart.weak.transformed.expect b/pkg/front_end/testcases/extensions/use_this.dart.weak.transformed.expect index 2b102c25690..865fb8bf4c7 100644 --- a/pkg/front_end/testcases/extensions/use_this.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/extensions/use_this.dart.weak.transformed.expect @@ -24,26 +24,26 @@ extension B2 on self::B1 { method method2 = self::B2|method2; tearoff method2 = self::B2|get#method2; } -static method A2|method1(lowered final self::A1 #this) → self::A1 { +static extension-member method A2|method1(lowered final self::A1 #this) → self::A1 { return #this; } -static method A2|get#method1(lowered final self::A1 #this) → () → self::A1 +static extension-member method A2|get#method1(lowered final self::A1 #this) → () → self::A1 return () → self::A1 => self::A2|method1(#this); -static method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { +static extension-member method A2|method2(lowered final self::A1 #this, self::A2|method2::T% o) → self::A1 { core::print(o); return #this; } -static method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 +static extension-member method A2|get#method2(lowered final self::A1 #this) → (T%) → self::A1 return (T% o) → self::A1 => self::A2|method2(#this, o); -static method B2|method1(lowered final self::B1 #this) → self::B1 { +static extension-member method B2|method1(lowered final self::B1 #this) → self::B1 { return #this; } -static method B2|get#method1(lowered final self::B1 #this) → () → self::B1 +static extension-member method B2|get#method1(lowered final self::B1 #this) → () → self::B1 return () → self::B1 => self::B2|method1(#this); -static method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { +static extension-member method B2|method2(lowered final self::B1 #this, self::B2|method2::S% o) → self::B1 { core::print(o); return #this; } -static method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 +static extension-member method B2|get#method2(lowered final self::B1 #this) → (S%) → self::B1 return (S% o) → self::B1 => self::B2|method2(#this, o); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_parameters.dart.strong.expect b/pkg/front_end/testcases/general/bounds_parameters.dart.strong.expect index 8b563dfb7ba..35f11e27ee2 100644 --- a/pkg/front_end/testcases/general/bounds_parameters.dart.strong.expect +++ b/pkg/front_end/testcases/general/bounds_parameters.dart.strong.expect @@ -263,8 +263,8 @@ static method method1(self::Class t1, dynamic t2, self::Class function local(self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → Null {}; } -static method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} -static method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void +static extension-member method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} +static extension-member method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void return (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {self::G> s1 = #C1, self::G s2 = #C1, self::G> s3 = #C1, self::G> s4 = #C1, self::G s5 = #C1, self::G> s6 = #C1, self::G s7 = #C1, self::G s8 = #C1}) → void => self::Extension1|method3(#this, t1, t2, t3, t4, t5, t6, t7, t8, s1: s1, s2: s2, s3: s3, s4: s4, s5: s5, s6: s6, s7: s7, s8: s8); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_parameters.dart.strong.transformed.expect b/pkg/front_end/testcases/general/bounds_parameters.dart.strong.transformed.expect index 8b563dfb7ba..35f11e27ee2 100644 --- a/pkg/front_end/testcases/general/bounds_parameters.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/bounds_parameters.dart.strong.transformed.expect @@ -263,8 +263,8 @@ static method method1(self::Class t1, dynamic t2, self::Class function local(self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → Null {}; } -static method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} -static method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void +static extension-member method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} +static extension-member method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void return (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {self::G> s1 = #C1, self::G s2 = #C1, self::G> s3 = #C1, self::G> s4 = #C1, self::G s5 = #C1, self::G> s6 = #C1, self::G s7 = #C1, self::G s8 = #C1}) → void => self::Extension1|method3(#this, t1, t2, t3, t4, t5, t6, t7, t8, s1: s1, s2: s2, s3: s3, s4: s4, s5: s5, s6: s6, s7: s7, s8: s8); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_parameters.dart.weak.expect b/pkg/front_end/testcases/general/bounds_parameters.dart.weak.expect index 8b563dfb7ba..35f11e27ee2 100644 --- a/pkg/front_end/testcases/general/bounds_parameters.dart.weak.expect +++ b/pkg/front_end/testcases/general/bounds_parameters.dart.weak.expect @@ -263,8 +263,8 @@ static method method1(self::Class t1, dynamic t2, self::Class function local(self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → Null {}; } -static method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} -static method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void +static extension-member method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} +static extension-member method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void return (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {self::G> s1 = #C1, self::G s2 = #C1, self::G> s3 = #C1, self::G> s4 = #C1, self::G s5 = #C1, self::G> s6 = #C1, self::G s7 = #C1, self::G s8 = #C1}) → void => self::Extension1|method3(#this, t1, t2, t3, t4, t5, t6, t7, t8, s1: s1, s2: s2, s3: s3, s4: s4, s5: s5, s6: s6, s7: s7, s8: s8); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_parameters.dart.weak.modular.expect b/pkg/front_end/testcases/general/bounds_parameters.dart.weak.modular.expect index 8b563dfb7ba..35f11e27ee2 100644 --- a/pkg/front_end/testcases/general/bounds_parameters.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/bounds_parameters.dart.weak.modular.expect @@ -263,8 +263,8 @@ static method method1(self::Class t1, dynamic t2, self::Class function local(self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → Null {}; } -static method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} -static method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void +static extension-member method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} +static extension-member method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void return (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {self::G> s1 = #C1, self::G s2 = #C1, self::G> s3 = #C1, self::G> s4 = #C1, self::G s5 = #C1, self::G> s6 = #C1, self::G s7 = #C1, self::G s8 = #C1}) → void => self::Extension1|method3(#this, t1, t2, t3, t4, t5, t6, t7, t8, s1: s1, s2: s2, s3: s3, s4: s4, s5: s5, s6: s6, s7: s7, s8: s8); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_parameters.dart.weak.outline.expect b/pkg/front_end/testcases/general/bounds_parameters.dart.weak.outline.expect index dfc7b27ffd8..db77efc01ed 100644 --- a/pkg/front_end/testcases/general/bounds_parameters.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/bounds_parameters.dart.weak.outline.expect @@ -182,9 +182,9 @@ extension Extension1 on core::int { } static method method1(self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1, required self::G s2, required self::G> s3, required self::G> s4, required self::G s5, required self::G> s6, required self::G s7, required self::G s8}) → void ; -static method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1, required self::G s2, required self::G> s3, required self::G> s4, required self::G s5, required self::G> s6, required self::G s7, required self::G s8}) → void +static extension-member method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1, required self::G s2, required self::G> s3, required self::G> s4, required self::G s5, required self::G> s6, required self::G s7, required self::G s8}) → void ; -static method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void +static extension-member method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void return (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {self::G> s1, self::G s2, self::G> s3, self::G> s4, self::G s5, self::G> s6, self::G s7, self::G s8}) → void => self::Extension1|method3(#this, t1, t2, t3, t4, t5, t6, t7, t8, s1: s1, s2: s2, s3: s3, s4: s4, s5: s5, s6: s6, s7: s7, s8: s8); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/bounds_parameters.dart.weak.transformed.expect b/pkg/front_end/testcases/general/bounds_parameters.dart.weak.transformed.expect index 8b563dfb7ba..35f11e27ee2 100644 --- a/pkg/front_end/testcases/general/bounds_parameters.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/bounds_parameters.dart.weak.transformed.expect @@ -263,8 +263,8 @@ static method method1(self::Class t1, dynamic t2, self::Class function local(self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → Null {}; } -static method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} -static method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void +static extension-member method Extension1|method3(lowered final core::int #this, self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {required self::G> s1 = #C1, required self::G s2 = #C1, required self::G> s3 = #C1, required self::G> s4 = #C1, required self::G s5 = #C1, required self::G> s6 = #C1, required self::G s7 = #C1, required self::G s8 = #C1}) → void {} +static extension-member method Extension1|get#method3(lowered final core::int #this) → (self::Class, dynamic, self::Class, self::Class, self::ConcreteClass, self::Class, core::Object, core::int, {s1: self::G>, s2: self::G, s3: self::G>, s4: self::G>, s5: self::G, s6: self::G>, s7: self::G, s8: self::G}) → void return (self::Class t1, dynamic t2, self::Class t3, self::Class t4, self::ConcreteClass t5, self::Class t6, core::Object t7, core::int t8, {self::G> s1 = #C1, self::G s2 = #C1, self::G> s3 = #C1, self::G> s4 = #C1, self::G s5 = #C1, self::G> s6 = #C1, self::G s7 = #C1, self::G s8 = #C1}) → void => self::Extension1|method3(#this, t1, t2, t3, t4, t5, t6, t7, t8, s1: s1, s2: s2, s3: s3, s4: s4, s5: s5, s6: s6, s7: s7, s8: s8); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_return_types.dart.strong.expect b/pkg/front_end/testcases/general/bounds_return_types.dart.strong.expect index 8e36d63f2db..a1ce6531bb5 100644 --- a/pkg/front_end/testcases/general/bounds_return_types.dart.strong.expect +++ b/pkg/front_end/testcases/general/bounds_return_types.dart.strong.expect @@ -310,68 +310,68 @@ static method method1() → dynamic { function s8() → self::G return throw ""; } -static method Extension1|t1(lowered final core::int #this) → self::Class +static extension-member method Extension1|t1(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t1(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t1(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t1(#this); -static method Extension1|t2(lowered final core::int #this) → dynamic +static extension-member method Extension1|t2(lowered final core::int #this) → dynamic return throw ""; -static method Extension1|get#t2(lowered final core::int #this) → () → dynamic +static extension-member method Extension1|get#t2(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension1|t2(#this); -static method Extension1|t3(lowered final core::int #this) → self::Class +static extension-member method Extension1|t3(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t3(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t3(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t3(#this); -static method Extension1|t4(lowered final core::int #this) → self::Class +static extension-member method Extension1|t4(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t4(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t4(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t4(#this); -static method Extension1|t5(lowered final core::int #this) → self::ConcreteClass +static extension-member method Extension1|t5(lowered final core::int #this) → self::ConcreteClass return throw ""; -static method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass +static extension-member method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass return () → self::ConcreteClass => self::Extension1|t5(#this); -static method Extension1|t6(lowered final core::int #this) → self::Class +static extension-member method Extension1|t6(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t6(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t6(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t6(#this); -static method Extension1|t7(lowered final core::int #this) → core::Object +static extension-member method Extension1|t7(lowered final core::int #this) → core::Object return throw ""; -static method Extension1|get#t7(lowered final core::int #this) → () → core::Object +static extension-member method Extension1|get#t7(lowered final core::int #this) → () → core::Object return () → core::Object => self::Extension1|t7(#this); -static method Extension1|t8(lowered final core::int #this) → core::int +static extension-member method Extension1|t8(lowered final core::int #this) → core::int return throw ""; -static method Extension1|get#t8(lowered final core::int #this) → () → core::int +static extension-member method Extension1|get#t8(lowered final core::int #this) → () → core::int return () → core::int => self::Extension1|t8(#this); -static method Extension1|s1(lowered final core::int #this) → self::G> +static extension-member method Extension1|s1(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s1(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s1(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s1(#this); -static method Extension1|s2(lowered final core::int #this) → self::G +static extension-member method Extension1|s2(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s2(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s2(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s2(#this); -static method Extension1|s3(lowered final core::int #this) → self::G> +static extension-member method Extension1|s3(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s3(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s3(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s3(#this); -static method Extension1|s4(lowered final core::int #this) → self::G> +static extension-member method Extension1|s4(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s4(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s4(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s4(#this); -static method Extension1|s5(lowered final core::int #this) → self::G +static extension-member method Extension1|s5(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s5(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s5(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s5(#this); -static method Extension1|s6(lowered final core::int #this) → self::G> +static extension-member method Extension1|s6(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s6(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s6(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s6(#this); -static method Extension1|s7(lowered final core::int #this) → self::G +static extension-member method Extension1|s7(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s7(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s7(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s7(#this); -static method Extension1|s8(lowered final core::int #this) → self::G +static extension-member method Extension1|s8(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s8(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s8(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s8(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_return_types.dart.strong.transformed.expect b/pkg/front_end/testcases/general/bounds_return_types.dart.strong.transformed.expect index 8e36d63f2db..a1ce6531bb5 100644 --- a/pkg/front_end/testcases/general/bounds_return_types.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/bounds_return_types.dart.strong.transformed.expect @@ -310,68 +310,68 @@ static method method1() → dynamic { function s8() → self::G return throw ""; } -static method Extension1|t1(lowered final core::int #this) → self::Class +static extension-member method Extension1|t1(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t1(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t1(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t1(#this); -static method Extension1|t2(lowered final core::int #this) → dynamic +static extension-member method Extension1|t2(lowered final core::int #this) → dynamic return throw ""; -static method Extension1|get#t2(lowered final core::int #this) → () → dynamic +static extension-member method Extension1|get#t2(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension1|t2(#this); -static method Extension1|t3(lowered final core::int #this) → self::Class +static extension-member method Extension1|t3(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t3(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t3(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t3(#this); -static method Extension1|t4(lowered final core::int #this) → self::Class +static extension-member method Extension1|t4(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t4(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t4(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t4(#this); -static method Extension1|t5(lowered final core::int #this) → self::ConcreteClass +static extension-member method Extension1|t5(lowered final core::int #this) → self::ConcreteClass return throw ""; -static method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass +static extension-member method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass return () → self::ConcreteClass => self::Extension1|t5(#this); -static method Extension1|t6(lowered final core::int #this) → self::Class +static extension-member method Extension1|t6(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t6(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t6(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t6(#this); -static method Extension1|t7(lowered final core::int #this) → core::Object +static extension-member method Extension1|t7(lowered final core::int #this) → core::Object return throw ""; -static method Extension1|get#t7(lowered final core::int #this) → () → core::Object +static extension-member method Extension1|get#t7(lowered final core::int #this) → () → core::Object return () → core::Object => self::Extension1|t7(#this); -static method Extension1|t8(lowered final core::int #this) → core::int +static extension-member method Extension1|t8(lowered final core::int #this) → core::int return throw ""; -static method Extension1|get#t8(lowered final core::int #this) → () → core::int +static extension-member method Extension1|get#t8(lowered final core::int #this) → () → core::int return () → core::int => self::Extension1|t8(#this); -static method Extension1|s1(lowered final core::int #this) → self::G> +static extension-member method Extension1|s1(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s1(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s1(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s1(#this); -static method Extension1|s2(lowered final core::int #this) → self::G +static extension-member method Extension1|s2(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s2(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s2(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s2(#this); -static method Extension1|s3(lowered final core::int #this) → self::G> +static extension-member method Extension1|s3(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s3(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s3(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s3(#this); -static method Extension1|s4(lowered final core::int #this) → self::G> +static extension-member method Extension1|s4(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s4(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s4(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s4(#this); -static method Extension1|s5(lowered final core::int #this) → self::G +static extension-member method Extension1|s5(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s5(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s5(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s5(#this); -static method Extension1|s6(lowered final core::int #this) → self::G> +static extension-member method Extension1|s6(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s6(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s6(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s6(#this); -static method Extension1|s7(lowered final core::int #this) → self::G +static extension-member method Extension1|s7(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s7(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s7(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s7(#this); -static method Extension1|s8(lowered final core::int #this) → self::G +static extension-member method Extension1|s8(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s8(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s8(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s8(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_return_types.dart.weak.expect b/pkg/front_end/testcases/general/bounds_return_types.dart.weak.expect index 8e36d63f2db..a1ce6531bb5 100644 --- a/pkg/front_end/testcases/general/bounds_return_types.dart.weak.expect +++ b/pkg/front_end/testcases/general/bounds_return_types.dart.weak.expect @@ -310,68 +310,68 @@ static method method1() → dynamic { function s8() → self::G return throw ""; } -static method Extension1|t1(lowered final core::int #this) → self::Class +static extension-member method Extension1|t1(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t1(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t1(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t1(#this); -static method Extension1|t2(lowered final core::int #this) → dynamic +static extension-member method Extension1|t2(lowered final core::int #this) → dynamic return throw ""; -static method Extension1|get#t2(lowered final core::int #this) → () → dynamic +static extension-member method Extension1|get#t2(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension1|t2(#this); -static method Extension1|t3(lowered final core::int #this) → self::Class +static extension-member method Extension1|t3(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t3(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t3(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t3(#this); -static method Extension1|t4(lowered final core::int #this) → self::Class +static extension-member method Extension1|t4(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t4(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t4(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t4(#this); -static method Extension1|t5(lowered final core::int #this) → self::ConcreteClass +static extension-member method Extension1|t5(lowered final core::int #this) → self::ConcreteClass return throw ""; -static method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass +static extension-member method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass return () → self::ConcreteClass => self::Extension1|t5(#this); -static method Extension1|t6(lowered final core::int #this) → self::Class +static extension-member method Extension1|t6(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t6(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t6(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t6(#this); -static method Extension1|t7(lowered final core::int #this) → core::Object +static extension-member method Extension1|t7(lowered final core::int #this) → core::Object return throw ""; -static method Extension1|get#t7(lowered final core::int #this) → () → core::Object +static extension-member method Extension1|get#t7(lowered final core::int #this) → () → core::Object return () → core::Object => self::Extension1|t7(#this); -static method Extension1|t8(lowered final core::int #this) → core::int +static extension-member method Extension1|t8(lowered final core::int #this) → core::int return throw ""; -static method Extension1|get#t8(lowered final core::int #this) → () → core::int +static extension-member method Extension1|get#t8(lowered final core::int #this) → () → core::int return () → core::int => self::Extension1|t8(#this); -static method Extension1|s1(lowered final core::int #this) → self::G> +static extension-member method Extension1|s1(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s1(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s1(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s1(#this); -static method Extension1|s2(lowered final core::int #this) → self::G +static extension-member method Extension1|s2(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s2(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s2(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s2(#this); -static method Extension1|s3(lowered final core::int #this) → self::G> +static extension-member method Extension1|s3(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s3(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s3(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s3(#this); -static method Extension1|s4(lowered final core::int #this) → self::G> +static extension-member method Extension1|s4(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s4(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s4(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s4(#this); -static method Extension1|s5(lowered final core::int #this) → self::G +static extension-member method Extension1|s5(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s5(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s5(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s5(#this); -static method Extension1|s6(lowered final core::int #this) → self::G> +static extension-member method Extension1|s6(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s6(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s6(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s6(#this); -static method Extension1|s7(lowered final core::int #this) → self::G +static extension-member method Extension1|s7(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s7(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s7(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s7(#this); -static method Extension1|s8(lowered final core::int #this) → self::G +static extension-member method Extension1|s8(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s8(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s8(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s8(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_return_types.dart.weak.modular.expect b/pkg/front_end/testcases/general/bounds_return_types.dart.weak.modular.expect index 8e36d63f2db..a1ce6531bb5 100644 --- a/pkg/front_end/testcases/general/bounds_return_types.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/bounds_return_types.dart.weak.modular.expect @@ -310,68 +310,68 @@ static method method1() → dynamic { function s8() → self::G return throw ""; } -static method Extension1|t1(lowered final core::int #this) → self::Class +static extension-member method Extension1|t1(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t1(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t1(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t1(#this); -static method Extension1|t2(lowered final core::int #this) → dynamic +static extension-member method Extension1|t2(lowered final core::int #this) → dynamic return throw ""; -static method Extension1|get#t2(lowered final core::int #this) → () → dynamic +static extension-member method Extension1|get#t2(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension1|t2(#this); -static method Extension1|t3(lowered final core::int #this) → self::Class +static extension-member method Extension1|t3(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t3(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t3(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t3(#this); -static method Extension1|t4(lowered final core::int #this) → self::Class +static extension-member method Extension1|t4(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t4(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t4(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t4(#this); -static method Extension1|t5(lowered final core::int #this) → self::ConcreteClass +static extension-member method Extension1|t5(lowered final core::int #this) → self::ConcreteClass return throw ""; -static method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass +static extension-member method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass return () → self::ConcreteClass => self::Extension1|t5(#this); -static method Extension1|t6(lowered final core::int #this) → self::Class +static extension-member method Extension1|t6(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t6(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t6(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t6(#this); -static method Extension1|t7(lowered final core::int #this) → core::Object +static extension-member method Extension1|t7(lowered final core::int #this) → core::Object return throw ""; -static method Extension1|get#t7(lowered final core::int #this) → () → core::Object +static extension-member method Extension1|get#t7(lowered final core::int #this) → () → core::Object return () → core::Object => self::Extension1|t7(#this); -static method Extension1|t8(lowered final core::int #this) → core::int +static extension-member method Extension1|t8(lowered final core::int #this) → core::int return throw ""; -static method Extension1|get#t8(lowered final core::int #this) → () → core::int +static extension-member method Extension1|get#t8(lowered final core::int #this) → () → core::int return () → core::int => self::Extension1|t8(#this); -static method Extension1|s1(lowered final core::int #this) → self::G> +static extension-member method Extension1|s1(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s1(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s1(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s1(#this); -static method Extension1|s2(lowered final core::int #this) → self::G +static extension-member method Extension1|s2(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s2(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s2(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s2(#this); -static method Extension1|s3(lowered final core::int #this) → self::G> +static extension-member method Extension1|s3(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s3(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s3(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s3(#this); -static method Extension1|s4(lowered final core::int #this) → self::G> +static extension-member method Extension1|s4(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s4(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s4(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s4(#this); -static method Extension1|s5(lowered final core::int #this) → self::G +static extension-member method Extension1|s5(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s5(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s5(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s5(#this); -static method Extension1|s6(lowered final core::int #this) → self::G> +static extension-member method Extension1|s6(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s6(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s6(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s6(#this); -static method Extension1|s7(lowered final core::int #this) → self::G +static extension-member method Extension1|s7(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s7(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s7(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s7(#this); -static method Extension1|s8(lowered final core::int #this) → self::G +static extension-member method Extension1|s8(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s8(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s8(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s8(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/bounds_return_types.dart.weak.outline.expect b/pkg/front_end/testcases/general/bounds_return_types.dart.weak.outline.expect index f2f13b639c5..0f3b4dc9f63 100644 --- a/pkg/front_end/testcases/general/bounds_return_types.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/bounds_return_types.dart.weak.outline.expect @@ -236,69 +236,69 @@ static method s8() → self::G ; static method method1() → dynamic ; -static method Extension1|t1(lowered final core::int #this) → self::Class +static extension-member method Extension1|t1(lowered final core::int #this) → self::Class ; -static method Extension1|get#t1(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t1(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t1(#this); -static method Extension1|t2(lowered final core::int #this) → dynamic +static extension-member method Extension1|t2(lowered final core::int #this) → dynamic ; -static method Extension1|get#t2(lowered final core::int #this) → () → dynamic +static extension-member method Extension1|get#t2(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension1|t2(#this); -static method Extension1|t3(lowered final core::int #this) → self::Class +static extension-member method Extension1|t3(lowered final core::int #this) → self::Class ; -static method Extension1|get#t3(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t3(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t3(#this); -static method Extension1|t4(lowered final core::int #this) → self::Class +static extension-member method Extension1|t4(lowered final core::int #this) → self::Class ; -static method Extension1|get#t4(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t4(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t4(#this); -static method Extension1|t5(lowered final core::int #this) → self::ConcreteClass +static extension-member method Extension1|t5(lowered final core::int #this) → self::ConcreteClass ; -static method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass +static extension-member method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass return () → self::ConcreteClass => self::Extension1|t5(#this); -static method Extension1|t6(lowered final core::int #this) → self::Class +static extension-member method Extension1|t6(lowered final core::int #this) → self::Class ; -static method Extension1|get#t6(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t6(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t6(#this); -static method Extension1|t7(lowered final core::int #this) → core::Object +static extension-member method Extension1|t7(lowered final core::int #this) → core::Object ; -static method Extension1|get#t7(lowered final core::int #this) → () → core::Object +static extension-member method Extension1|get#t7(lowered final core::int #this) → () → core::Object return () → core::Object => self::Extension1|t7(#this); -static method Extension1|t8(lowered final core::int #this) → core::int +static extension-member method Extension1|t8(lowered final core::int #this) → core::int ; -static method Extension1|get#t8(lowered final core::int #this) → () → core::int +static extension-member method Extension1|get#t8(lowered final core::int #this) → () → core::int return () → core::int => self::Extension1|t8(#this); -static method Extension1|s1(lowered final core::int #this) → self::G> +static extension-member method Extension1|s1(lowered final core::int #this) → self::G> ; -static method Extension1|get#s1(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s1(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s1(#this); -static method Extension1|s2(lowered final core::int #this) → self::G +static extension-member method Extension1|s2(lowered final core::int #this) → self::G ; -static method Extension1|get#s2(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s2(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s2(#this); -static method Extension1|s3(lowered final core::int #this) → self::G> +static extension-member method Extension1|s3(lowered final core::int #this) → self::G> ; -static method Extension1|get#s3(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s3(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s3(#this); -static method Extension1|s4(lowered final core::int #this) → self::G> +static extension-member method Extension1|s4(lowered final core::int #this) → self::G> ; -static method Extension1|get#s4(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s4(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s4(#this); -static method Extension1|s5(lowered final core::int #this) → self::G +static extension-member method Extension1|s5(lowered final core::int #this) → self::G ; -static method Extension1|get#s5(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s5(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s5(#this); -static method Extension1|s6(lowered final core::int #this) → self::G> +static extension-member method Extension1|s6(lowered final core::int #this) → self::G> ; -static method Extension1|get#s6(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s6(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s6(#this); -static method Extension1|s7(lowered final core::int #this) → self::G +static extension-member method Extension1|s7(lowered final core::int #this) → self::G ; -static method Extension1|get#s7(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s7(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s7(#this); -static method Extension1|s8(lowered final core::int #this) → self::G +static extension-member method Extension1|s8(lowered final core::int #this) → self::G ; -static method Extension1|get#s8(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s8(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s8(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/bounds_return_types.dart.weak.transformed.expect b/pkg/front_end/testcases/general/bounds_return_types.dart.weak.transformed.expect index 8e36d63f2db..a1ce6531bb5 100644 --- a/pkg/front_end/testcases/general/bounds_return_types.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/bounds_return_types.dart.weak.transformed.expect @@ -310,68 +310,68 @@ static method method1() → dynamic { function s8() → self::G return throw ""; } -static method Extension1|t1(lowered final core::int #this) → self::Class +static extension-member method Extension1|t1(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t1(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t1(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t1(#this); -static method Extension1|t2(lowered final core::int #this) → dynamic +static extension-member method Extension1|t2(lowered final core::int #this) → dynamic return throw ""; -static method Extension1|get#t2(lowered final core::int #this) → () → dynamic +static extension-member method Extension1|get#t2(lowered final core::int #this) → () → dynamic return () → dynamic => self::Extension1|t2(#this); -static method Extension1|t3(lowered final core::int #this) → self::Class +static extension-member method Extension1|t3(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t3(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t3(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t3(#this); -static method Extension1|t4(lowered final core::int #this) → self::Class +static extension-member method Extension1|t4(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t4(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t4(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t4(#this); -static method Extension1|t5(lowered final core::int #this) → self::ConcreteClass +static extension-member method Extension1|t5(lowered final core::int #this) → self::ConcreteClass return throw ""; -static method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass +static extension-member method Extension1|get#t5(lowered final core::int #this) → () → self::ConcreteClass return () → self::ConcreteClass => self::Extension1|t5(#this); -static method Extension1|t6(lowered final core::int #this) → self::Class +static extension-member method Extension1|t6(lowered final core::int #this) → self::Class return throw ""; -static method Extension1|get#t6(lowered final core::int #this) → () → self::Class +static extension-member method Extension1|get#t6(lowered final core::int #this) → () → self::Class return () → self::Class => self::Extension1|t6(#this); -static method Extension1|t7(lowered final core::int #this) → core::Object +static extension-member method Extension1|t7(lowered final core::int #this) → core::Object return throw ""; -static method Extension1|get#t7(lowered final core::int #this) → () → core::Object +static extension-member method Extension1|get#t7(lowered final core::int #this) → () → core::Object return () → core::Object => self::Extension1|t7(#this); -static method Extension1|t8(lowered final core::int #this) → core::int +static extension-member method Extension1|t8(lowered final core::int #this) → core::int return throw ""; -static method Extension1|get#t8(lowered final core::int #this) → () → core::int +static extension-member method Extension1|get#t8(lowered final core::int #this) → () → core::int return () → core::int => self::Extension1|t8(#this); -static method Extension1|s1(lowered final core::int #this) → self::G> +static extension-member method Extension1|s1(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s1(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s1(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s1(#this); -static method Extension1|s2(lowered final core::int #this) → self::G +static extension-member method Extension1|s2(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s2(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s2(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s2(#this); -static method Extension1|s3(lowered final core::int #this) → self::G> +static extension-member method Extension1|s3(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s3(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s3(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s3(#this); -static method Extension1|s4(lowered final core::int #this) → self::G> +static extension-member method Extension1|s4(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s4(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s4(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s4(#this); -static method Extension1|s5(lowered final core::int #this) → self::G +static extension-member method Extension1|s5(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s5(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s5(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s5(#this); -static method Extension1|s6(lowered final core::int #this) → self::G> +static extension-member method Extension1|s6(lowered final core::int #this) → self::G> return throw ""; -static method Extension1|get#s6(lowered final core::int #this) → () → self::G> +static extension-member method Extension1|get#s6(lowered final core::int #this) → () → self::G> return () → self::G> => self::Extension1|s6(#this); -static method Extension1|s7(lowered final core::int #this) → self::G +static extension-member method Extension1|s7(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s7(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s7(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s7(#this); -static method Extension1|s8(lowered final core::int #this) → self::G +static extension-member method Extension1|s8(lowered final core::int #this) → self::G return throw ""; -static method Extension1|get#s8(lowered final core::int #this) → () → self::G +static extension-member method Extension1|get#s8(lowered final core::int #this) → () → self::G return () → self::G => self::Extension1|s8(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.strong.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.strong.expect index f43147c62f4..0c6cff9a50c 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.strong.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.strong.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.strong.transformed.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.strong.transformed.expect index f43147c62f4..0c6cff9a50c 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.strong.transformed.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.expect index f43147c62f4..0c6cff9a50c 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.modular.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.modular.expect index f43147c62f4..0c6cff9a50c 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.modular.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.outline.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.outline.expect index 815a6b61728..2cac0d288d5 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.outline.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a}) → void ; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.transformed.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.transformed.expect index f43147c62f4..0c6cff9a50c 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure.dart.weak.transformed.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.strong.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.strong.expect index 26d5b4e3c2b..2184a767c24 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.strong.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.strong.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.strong.transformed.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.strong.transformed.expect index 26d5b4e3c2b..2184a767c24 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.strong.transformed.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.expect index 26d5b4e3c2b..2184a767c24 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.modular.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.modular.expect index 26d5b4e3c2b..2184a767c24 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.modular.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.outline.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.outline.expect index 83d44de7c11..04e175d2c71 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.outline.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a}) → void ; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.transformed.expect b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.transformed.expect index 26d5b4e3c2b..2184a767c24 100644 --- a/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/error_recovery/weekly_bot_91_failure_variation_1.dart.weak.transformed.expect @@ -8,9 +8,9 @@ extension /* unnamed */ _extension#0 on core::int { method _foo = self::_extension#0|_foo; tearoff _foo = self::_extension#0|get#_foo; } -static method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void +static extension-member method _extension#0|_foo(lowered final core::int #this, (self::_extension#0|_foo::T%) → void x, {required self::_extension#0|_foo::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_foo(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_foo(#this, x, a: a); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/getter_vs_setter_type.dart.strong.expect b/pkg/front_end/testcases/general/getter_vs_setter_type.dart.strong.expect index 455a7feab7d..d69a71b4a84 100644 --- a/pkg/front_end/testcases/general/getter_vs_setter_type.dart.strong.expect +++ b/pkg/front_end/testcases/general/getter_vs_setter_type.dart.strong.expect @@ -382,46 +382,46 @@ extension Extension on core::in static set property8b = set self::Extension|property8b; static set property9 = set self::Extension|property9; } -static method Extension|get#property1(lowered final core::int* #this) → core::int* +static extension-member method Extension|get#property1(lowered final core::int* #this) → core::int* return 0; -static method Extension|set#property1(lowered final core::int* #this, core::int* i) → void {} -static method Extension|get#property2a(lowered final core::int* #this) → core::num* +static extension-member method Extension|set#property1(lowered final core::int* #this, core::int* i) → void {} +static extension-member method Extension|get#property2a(lowered final core::int* #this) → core::num* return 0; -static method Extension|set#property2a(lowered final core::int* #this, core::int* i) → void {} -static method Extension|get#property2b(lowered final core::int* #this) → core::int* +static extension-member method Extension|set#property2a(lowered final core::int* #this, core::int* i) → void {} +static extension-member method Extension|get#property2b(lowered final core::int* #this) → core::int* return 0; -static method Extension|set#property2b(lowered final core::int* #this, core::num* i) → void {} -static method Extension|get#property3(lowered final core::int* #this) → core::String* +static extension-member method Extension|set#property2b(lowered final core::int* #this, core::num* i) → void {} +static extension-member method Extension|get#property3(lowered final core::int* #this) → core::String* return ""; -static method Extension|set#property3(lowered final core::int* #this, core::int* i) → void {} -static method Extension|get#property4(lowered final core::int* #this) → self::Extension|get#property4::S* +static extension-member method Extension|set#property3(lowered final core::int* #this, core::int* i) → void {} +static extension-member method Extension|get#property4(lowered final core::int* #this) → self::Extension|get#property4::S* return invalid-expression "pkg/front_end/testcases/general/getter_vs_setter_type.dart:135:22: Error: A value of type 'int' can't be assigned to a variable of type 'S'. S get property4 => 0; // ok ^" in 0 as{TypeError,ForLegacy} Never; -static method Extension|set#property4(lowered final core::int* #this, self::Extension|set#property4::S* i) → void {} -static method Extension|get#property5a(lowered final core::int* #this) → self::Extension|get#property5a::S* +static extension-member method Extension|set#property4(lowered final core::int* #this, self::Extension|set#property4::S* i) → void {} +static extension-member method Extension|get#property5a(lowered final core::int* #this) → self::Extension|get#property5a::S* return invalid-expression "pkg/front_end/testcases/general/getter_vs_setter_type.dart:138:23: Error: A value of type 'int' can't be assigned to a variable of type 'S'. S get property5a => 0; // ok ^" in 0 as{TypeError,ForLegacy} Never; -static method Extension|set#property5a(lowered final core::int* #this, self::Extension|set#property5a::T* i) → void {} -static method Extension|get#property5b(lowered final core::int* #this) → self::Extension|get#property5b::T* +static extension-member method Extension|set#property5a(lowered final core::int* #this, self::Extension|set#property5a::T* i) → void {} +static extension-member method Extension|get#property5b(lowered final core::int* #this) → self::Extension|get#property5b::T* return invalid-expression "pkg/front_end/testcases/general/getter_vs_setter_type.dart:141:23: Error: A value of type 'int' can't be assigned to a variable of type 'T'. T get property5b => 0; // ok ^" in 0 as{TypeError,ForLegacy} Never; -static method Extension|set#property5b(lowered final core::int* #this, self::Extension|set#property5b::S* i) → void {} -static method Extension|get#property6(lowered final core::int* #this) → core::String* +static extension-member method Extension|set#property5b(lowered final core::int* #this, self::Extension|set#property5b::S* i) → void {} +static extension-member method Extension|get#property6(lowered final core::int* #this) → core::String* return ""; -static method Extension|set#property6(lowered final core::int* #this, self::Extension|set#property6::S* i) → void {} -static get Extension|property7() → core::int* +static extension-member method Extension|set#property6(lowered final core::int* #this, self::Extension|set#property6::S* i) → void {} +static extension-member get Extension|property7() → core::int* return 0; -static set Extension|property7(core::int* value) → void {} -static get Extension|property8a() → core::int* +static extension-member set Extension|property7(core::int* value) → void {} +static extension-member get Extension|property8a() → core::int* return 0; -static set Extension|property8a(core::num* value) → void {} -static get Extension|property8b() → core::num* +static extension-member set Extension|property8a(core::num* value) → void {} +static extension-member get Extension|property8b() → core::num* return 0; -static set Extension|property8b(core::int* value) → void {} -static get Extension|property9() → core::num* +static extension-member set Extension|property8b(core::int* value) → void {} +static extension-member get Extension|property9() → core::num* return 0; -static set Extension|property9(core::String* value) → void {} +static extension-member set Extension|property9(core::String* value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.expect b/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.expect index 8d7ec547a4e..3efa453a008 100644 --- a/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.expect +++ b/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.expect @@ -378,46 +378,46 @@ extension Extension on core::in static set property8b = set self::Extension|property8b; static set property9 = set self::Extension|property9; } -static method Extension|get#property1(lowered final core::int* #this) → core::int* +static extension-member method Extension|get#property1(lowered final core::int* #this) → core::int* return 0; -static method Extension|set#property1(lowered final core::int* #this, core::int* i) → void {} -static method Extension|get#property2a(lowered final core::int* #this) → core::num* +static extension-member method Extension|set#property1(lowered final core::int* #this, core::int* i) → void {} +static extension-member method Extension|get#property2a(lowered final core::int* #this) → core::num* return 0; -static method Extension|set#property2a(lowered final core::int* #this, core::int* i) → void {} -static method Extension|get#property2b(lowered final core::int* #this) → core::int* +static extension-member method Extension|set#property2a(lowered final core::int* #this, core::int* i) → void {} +static extension-member method Extension|get#property2b(lowered final core::int* #this) → core::int* return 0; -static method Extension|set#property2b(lowered final core::int* #this, core::num* i) → void {} -static method Extension|get#property3(lowered final core::int* #this) → core::String* +static extension-member method Extension|set#property2b(lowered final core::int* #this, core::num* i) → void {} +static extension-member method Extension|get#property3(lowered final core::int* #this) → core::String* return ""; -static method Extension|set#property3(lowered final core::int* #this, core::int* i) → void {} -static method Extension|get#property4(lowered final core::int* #this) → self::Extension|get#property4::S* +static extension-member method Extension|set#property3(lowered final core::int* #this, core::int* i) → void {} +static extension-member method Extension|get#property4(lowered final core::int* #this) → self::Extension|get#property4::S* return invalid-expression "pkg/front_end/testcases/general/getter_vs_setter_type.dart:135:22: Error: A value of type 'int' can't be assigned to a variable of type 'S'. S get property4 => 0; // ok ^" in 0 as{TypeError,ForLegacy} Never; -static method Extension|set#property4(lowered final core::int* #this, self::Extension|set#property4::S* i) → void {} -static method Extension|get#property5a(lowered final core::int* #this) → self::Extension|get#property5a::S* +static extension-member method Extension|set#property4(lowered final core::int* #this, self::Extension|set#property4::S* i) → void {} +static extension-member method Extension|get#property5a(lowered final core::int* #this) → self::Extension|get#property5a::S* return invalid-expression "pkg/front_end/testcases/general/getter_vs_setter_type.dart:138:23: Error: A value of type 'int' can't be assigned to a variable of type 'S'. S get property5a => 0; // ok ^" in 0 as{TypeError,ForLegacy} Never; -static method Extension|set#property5a(lowered final core::int* #this, self::Extension|set#property5a::T* i) → void {} -static method Extension|get#property5b(lowered final core::int* #this) → self::Extension|get#property5b::T* +static extension-member method Extension|set#property5a(lowered final core::int* #this, self::Extension|set#property5a::T* i) → void {} +static extension-member method Extension|get#property5b(lowered final core::int* #this) → self::Extension|get#property5b::T* return invalid-expression "pkg/front_end/testcases/general/getter_vs_setter_type.dart:141:23: Error: A value of type 'int' can't be assigned to a variable of type 'T'. T get property5b => 0; // ok ^" in 0 as{TypeError,ForLegacy} Never; -static method Extension|set#property5b(lowered final core::int* #this, self::Extension|set#property5b::S* i) → void {} -static method Extension|get#property6(lowered final core::int* #this) → core::String* +static extension-member method Extension|set#property5b(lowered final core::int* #this, self::Extension|set#property5b::S* i) → void {} +static extension-member method Extension|get#property6(lowered final core::int* #this) → core::String* return ""; -static method Extension|set#property6(lowered final core::int* #this, self::Extension|set#property6::S* i) → void {} -static get Extension|property7() → core::int* +static extension-member method Extension|set#property6(lowered final core::int* #this, self::Extension|set#property6::S* i) → void {} +static extension-member get Extension|property7() → core::int* return 0; -static set Extension|property7(core::int* value) → void {} -static get Extension|property8a() → core::int* +static extension-member set Extension|property7(core::int* value) → void {} +static extension-member get Extension|property8a() → core::int* return 0; -static set Extension|property8a(core::num* value) → void {} -static get Extension|property8b() → core::num* +static extension-member set Extension|property8a(core::num* value) → void {} +static extension-member get Extension|property8b() → core::num* return 0; -static set Extension|property8b(core::int* value) → void {} -static get Extension|property9() → core::num* +static extension-member set Extension|property8b(core::int* value) → void {} +static extension-member get Extension|property9() → core::num* return 0; -static set Extension|property9(core::String* value) → void {} +static extension-member set Extension|property9(core::String* value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.modular.expect b/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.modular.expect index 8d7ec547a4e..3efa453a008 100644 --- a/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.modular.expect @@ -378,46 +378,46 @@ extension Extension on core::in static set property8b = set self::Extension|property8b; static set property9 = set self::Extension|property9; } -static method Extension|get#property1(lowered final core::int* #this) → core::int* +static extension-member method Extension|get#property1(lowered final core::int* #this) → core::int* return 0; -static method Extension|set#property1(lowered final core::int* #this, core::int* i) → void {} -static method Extension|get#property2a(lowered final core::int* #this) → core::num* +static extension-member method Extension|set#property1(lowered final core::int* #this, core::int* i) → void {} +static extension-member method Extension|get#property2a(lowered final core::int* #this) → core::num* return 0; -static method Extension|set#property2a(lowered final core::int* #this, core::int* i) → void {} -static method Extension|get#property2b(lowered final core::int* #this) → core::int* +static extension-member method Extension|set#property2a(lowered final core::int* #this, core::int* i) → void {} +static extension-member method Extension|get#property2b(lowered final core::int* #this) → core::int* return 0; -static method Extension|set#property2b(lowered final core::int* #this, core::num* i) → void {} -static method Extension|get#property3(lowered final core::int* #this) → core::String* +static extension-member method Extension|set#property2b(lowered final core::int* #this, core::num* i) → void {} +static extension-member method Extension|get#property3(lowered final core::int* #this) → core::String* return ""; -static method Extension|set#property3(lowered final core::int* #this, core::int* i) → void {} -static method Extension|get#property4(lowered final core::int* #this) → self::Extension|get#property4::S* +static extension-member method Extension|set#property3(lowered final core::int* #this, core::int* i) → void {} +static extension-member method Extension|get#property4(lowered final core::int* #this) → self::Extension|get#property4::S* return invalid-expression "pkg/front_end/testcases/general/getter_vs_setter_type.dart:135:22: Error: A value of type 'int' can't be assigned to a variable of type 'S'. S get property4 => 0; // ok ^" in 0 as{TypeError,ForLegacy} Never; -static method Extension|set#property4(lowered final core::int* #this, self::Extension|set#property4::S* i) → void {} -static method Extension|get#property5a(lowered final core::int* #this) → self::Extension|get#property5a::S* +static extension-member method Extension|set#property4(lowered final core::int* #this, self::Extension|set#property4::S* i) → void {} +static extension-member method Extension|get#property5a(lowered final core::int* #this) → self::Extension|get#property5a::S* return invalid-expression "pkg/front_end/testcases/general/getter_vs_setter_type.dart:138:23: Error: A value of type 'int' can't be assigned to a variable of type 'S'. S get property5a => 0; // ok ^" in 0 as{TypeError,ForLegacy} Never; -static method Extension|set#property5a(lowered final core::int* #this, self::Extension|set#property5a::T* i) → void {} -static method Extension|get#property5b(lowered final core::int* #this) → self::Extension|get#property5b::T* +static extension-member method Extension|set#property5a(lowered final core::int* #this, self::Extension|set#property5a::T* i) → void {} +static extension-member method Extension|get#property5b(lowered final core::int* #this) → self::Extension|get#property5b::T* return invalid-expression "pkg/front_end/testcases/general/getter_vs_setter_type.dart:141:23: Error: A value of type 'int' can't be assigned to a variable of type 'T'. T get property5b => 0; // ok ^" in 0 as{TypeError,ForLegacy} Never; -static method Extension|set#property5b(lowered final core::int* #this, self::Extension|set#property5b::S* i) → void {} -static method Extension|get#property6(lowered final core::int* #this) → core::String* +static extension-member method Extension|set#property5b(lowered final core::int* #this, self::Extension|set#property5b::S* i) → void {} +static extension-member method Extension|get#property6(lowered final core::int* #this) → core::String* return ""; -static method Extension|set#property6(lowered final core::int* #this, self::Extension|set#property6::S* i) → void {} -static get Extension|property7() → core::int* +static extension-member method Extension|set#property6(lowered final core::int* #this, self::Extension|set#property6::S* i) → void {} +static extension-member get Extension|property7() → core::int* return 0; -static set Extension|property7(core::int* value) → void {} -static get Extension|property8a() → core::int* +static extension-member set Extension|property7(core::int* value) → void {} +static extension-member get Extension|property8a() → core::int* return 0; -static set Extension|property8a(core::num* value) → void {} -static get Extension|property8b() → core::num* +static extension-member set Extension|property8a(core::num* value) → void {} +static extension-member get Extension|property8b() → core::num* return 0; -static set Extension|property8b(core::int* value) → void {} -static get Extension|property9() → core::num* +static extension-member set Extension|property8b(core::int* value) → void {} +static extension-member get Extension|property9() → core::num* return 0; -static set Extension|property9(core::String* value) → void {} +static extension-member set Extension|property9(core::String* value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.outline.expect b/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.outline.expect index 0dccb6ec869..ffb53d2cdc6 100644 --- a/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/getter_vs_setter_type.dart.weak.outline.expect @@ -361,53 +361,53 @@ extension Extension on core::in static set property8b = set self::Extension|property8b; static set property9 = set self::Extension|property9; } -static method Extension|get#property1(lowered final core::int* #this) → core::int* +static extension-member method Extension|get#property1(lowered final core::int* #this) → core::int* ; -static method Extension|set#property1(lowered final core::int* #this, core::int* i) → void +static extension-member method Extension|set#property1(lowered final core::int* #this, core::int* i) → void ; -static method Extension|get#property2a(lowered final core::int* #this) → core::num* +static extension-member method Extension|get#property2a(lowered final core::int* #this) → core::num* ; -static method Extension|set#property2a(lowered final core::int* #this, core::int* i) → void +static extension-member method Extension|set#property2a(lowered final core::int* #this, core::int* i) → void ; -static method Extension|get#property2b(lowered final core::int* #this) → core::int* +static extension-member method Extension|get#property2b(lowered final core::int* #this) → core::int* ; -static method Extension|set#property2b(lowered final core::int* #this, core::num* i) → void +static extension-member method Extension|set#property2b(lowered final core::int* #this, core::num* i) → void ; -static method Extension|get#property3(lowered final core::int* #this) → core::String* +static extension-member method Extension|get#property3(lowered final core::int* #this) → core::String* ; -static method Extension|set#property3(lowered final core::int* #this, core::int* i) → void +static extension-member method Extension|set#property3(lowered final core::int* #this, core::int* i) → void ; -static method Extension|get#property4(lowered final core::int* #this) → self::Extension|get#property4::S* +static extension-member method Extension|get#property4(lowered final core::int* #this) → self::Extension|get#property4::S* ; -static method Extension|set#property4(lowered final core::int* #this, self::Extension|set#property4::S* i) → void +static extension-member method Extension|set#property4(lowered final core::int* #this, self::Extension|set#property4::S* i) → void ; -static method Extension|get#property5a(lowered final core::int* #this) → self::Extension|get#property5a::S* +static extension-member method Extension|get#property5a(lowered final core::int* #this) → self::Extension|get#property5a::S* ; -static method Extension|set#property5a(lowered final core::int* #this, self::Extension|set#property5a::T* i) → void +static extension-member method Extension|set#property5a(lowered final core::int* #this, self::Extension|set#property5a::T* i) → void ; -static method Extension|get#property5b(lowered final core::int* #this) → self::Extension|get#property5b::T* +static extension-member method Extension|get#property5b(lowered final core::int* #this) → self::Extension|get#property5b::T* ; -static method Extension|set#property5b(lowered final core::int* #this, self::Extension|set#property5b::S* i) → void +static extension-member method Extension|set#property5b(lowered final core::int* #this, self::Extension|set#property5b::S* i) → void ; -static method Extension|get#property6(lowered final core::int* #this) → core::String* +static extension-member method Extension|get#property6(lowered final core::int* #this) → core::String* ; -static method Extension|set#property6(lowered final core::int* #this, self::Extension|set#property6::S* i) → void +static extension-member method Extension|set#property6(lowered final core::int* #this, self::Extension|set#property6::S* i) → void ; -static get Extension|property7() → core::int* +static extension-member get Extension|property7() → core::int* ; -static set Extension|property7(core::int* value) → void +static extension-member set Extension|property7(core::int* value) → void ; -static get Extension|property8a() → core::int* +static extension-member get Extension|property8a() → core::int* ; -static set Extension|property8a(core::num* value) → void +static extension-member set Extension|property8a(core::num* value) → void ; -static get Extension|property8b() → core::num* +static extension-member get Extension|property8b() → core::num* ; -static set Extension|property8b(core::int* value) → void +static extension-member set Extension|property8b(core::int* value) → void ; -static get Extension|property9() → core::num* +static extension-member get Extension|property9() → core::num* ; -static set Extension|property9(core::String* value) → void +static extension-member set Extension|property9(core::String* value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/issue40242.dart.strong.expect b/pkg/front_end/testcases/general/issue40242.dart.strong.expect index 41ed414c331..a85096eaa42 100644 --- a/pkg/front_end/testcases/general/issue40242.dart.strong.expect +++ b/pkg/front_end/testcases/general/issue40242.dart.strong.expect @@ -30,12 +30,12 @@ extension E on self::C { method errors = self::E|errors; tearoff errors = self::E|get#errors; } -static method E|errors(lowered final self::C #this) → dynamic { +static extension-member method E|errors(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/general/issue40242.dart:9:5: Error: Can't assign to 'this'. this = new C(); ^^^^"; } -static method E|get#errors(lowered final self::C #this) → () → dynamic +static extension-member method E|get#errors(lowered final self::C #this) → () → dynamic return () → dynamic => self::E|errors(#this); static method errors() → dynamic { final self::C c1 = new self::C::•(); diff --git a/pkg/front_end/testcases/general/issue40242.dart.strong.transformed.expect b/pkg/front_end/testcases/general/issue40242.dart.strong.transformed.expect index 704bba4922b..daaf984e672 100644 --- a/pkg/front_end/testcases/general/issue40242.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/issue40242.dart.strong.transformed.expect @@ -30,12 +30,12 @@ extension E on self::C { method errors = self::E|errors; tearoff errors = self::E|get#errors; } -static method E|errors(lowered final self::C #this) → dynamic { +static extension-member method E|errors(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/general/issue40242.dart:9:5: Error: Can't assign to 'this'. this = new C(); ^^^^"; } -static method E|get#errors(lowered final self::C #this) → () → dynamic +static extension-member method E|get#errors(lowered final self::C #this) → () → dynamic return () → dynamic => self::E|errors(#this); static method errors() → dynamic { final self::C c1 = new self::C::•(); diff --git a/pkg/front_end/testcases/general/issue40242.dart.weak.expect b/pkg/front_end/testcases/general/issue40242.dart.weak.expect index 41ed414c331..a85096eaa42 100644 --- a/pkg/front_end/testcases/general/issue40242.dart.weak.expect +++ b/pkg/front_end/testcases/general/issue40242.dart.weak.expect @@ -30,12 +30,12 @@ extension E on self::C { method errors = self::E|errors; tearoff errors = self::E|get#errors; } -static method E|errors(lowered final self::C #this) → dynamic { +static extension-member method E|errors(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/general/issue40242.dart:9:5: Error: Can't assign to 'this'. this = new C(); ^^^^"; } -static method E|get#errors(lowered final self::C #this) → () → dynamic +static extension-member method E|get#errors(lowered final self::C #this) → () → dynamic return () → dynamic => self::E|errors(#this); static method errors() → dynamic { final self::C c1 = new self::C::•(); diff --git a/pkg/front_end/testcases/general/issue40242.dart.weak.modular.expect b/pkg/front_end/testcases/general/issue40242.dart.weak.modular.expect index 41ed414c331..a85096eaa42 100644 --- a/pkg/front_end/testcases/general/issue40242.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/issue40242.dart.weak.modular.expect @@ -30,12 +30,12 @@ extension E on self::C { method errors = self::E|errors; tearoff errors = self::E|get#errors; } -static method E|errors(lowered final self::C #this) → dynamic { +static extension-member method E|errors(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/general/issue40242.dart:9:5: Error: Can't assign to 'this'. this = new C(); ^^^^"; } -static method E|get#errors(lowered final self::C #this) → () → dynamic +static extension-member method E|get#errors(lowered final self::C #this) → () → dynamic return () → dynamic => self::E|errors(#this); static method errors() → dynamic { final self::C c1 = new self::C::•(); diff --git a/pkg/front_end/testcases/general/issue40242.dart.weak.outline.expect b/pkg/front_end/testcases/general/issue40242.dart.weak.outline.expect index 1885efd7cf3..4e124bc2fbe 100644 --- a/pkg/front_end/testcases/general/issue40242.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/issue40242.dart.weak.outline.expect @@ -10,9 +10,9 @@ extension E on self::C { method errors = self::E|errors; tearoff errors = self::E|get#errors; } -static method E|errors(lowered final self::C #this) → dynamic +static extension-member method E|errors(lowered final self::C #this) → dynamic ; -static method E|get#errors(lowered final self::C #this) → () → dynamic +static extension-member method E|get#errors(lowered final self::C #this) → () → dynamic return () → dynamic => self::E|errors(#this); static method errors() → dynamic ; diff --git a/pkg/front_end/testcases/general/issue40242.dart.weak.transformed.expect b/pkg/front_end/testcases/general/issue40242.dart.weak.transformed.expect index 704bba4922b..daaf984e672 100644 --- a/pkg/front_end/testcases/general/issue40242.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/issue40242.dart.weak.transformed.expect @@ -30,12 +30,12 @@ extension E on self::C { method errors = self::E|errors; tearoff errors = self::E|get#errors; } -static method E|errors(lowered final self::C #this) → dynamic { +static extension-member method E|errors(lowered final self::C #this) → dynamic { invalid-expression "pkg/front_end/testcases/general/issue40242.dart:9:5: Error: Can't assign to 'this'. this = new C(); ^^^^"; } -static method E|get#errors(lowered final self::C #this) → () → dynamic +static extension-member method E|get#errors(lowered final self::C #this) → () → dynamic return () → dynamic => self::E|errors(#this); static method errors() → dynamic { final self::C c1 = new self::C::•(); diff --git a/pkg/front_end/testcases/general/issue42435.dart.strong.expect b/pkg/front_end/testcases/general/issue42435.dart.strong.expect index 21067d89c96..202ecb2e5b3 100644 --- a/pkg/front_end/testcases/general/issue42435.dart.strong.expect +++ b/pkg/front_end/testcases/general/issue42435.dart.strong.expect @@ -186,14 +186,14 @@ static method bar3() → > = dynamic>() → d static get bar4() → > = dynamic>() → dynamic return throw 42; static set bar5(> = dynamic>() → dynamic a) → void {} -static method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} -static method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic +static extension-member method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} +static extension-member method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic return (> = dynamic>() → dynamic a) → dynamic => self::E|baz2(#this, a); -static method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic +static extension-member method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic return () → > = dynamic>() → dynamic => self::E|baz3(#this); -static method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} +static extension-member method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue42435.dart.strong.transformed.expect b/pkg/front_end/testcases/general/issue42435.dart.strong.transformed.expect index 21067d89c96..202ecb2e5b3 100644 --- a/pkg/front_end/testcases/general/issue42435.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/issue42435.dart.strong.transformed.expect @@ -186,14 +186,14 @@ static method bar3() → > = dynamic>() → d static get bar4() → > = dynamic>() → dynamic return throw 42; static set bar5(> = dynamic>() → dynamic a) → void {} -static method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} -static method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic +static extension-member method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} +static extension-member method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic return (> = dynamic>() → dynamic a) → dynamic => self::E|baz2(#this, a); -static method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic +static extension-member method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic return () → > = dynamic>() → dynamic => self::E|baz3(#this); -static method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} +static extension-member method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue42435.dart.weak.expect b/pkg/front_end/testcases/general/issue42435.dart.weak.expect index 07aa54ed311..4c29e25c8a8 100644 --- a/pkg/front_end/testcases/general/issue42435.dart.weak.expect +++ b/pkg/front_end/testcases/general/issue42435.dart.weak.expect @@ -187,14 +187,14 @@ static method bar3() → > = dynamic>() → d static get bar4() → > = dynamic>() → dynamic return throw 42; static set bar5(> = dynamic>() → dynamic a) → void {} -static method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} -static method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic +static extension-member method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} +static extension-member method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic return (> = dynamic>() → dynamic a) → dynamic => self::E|baz2(#this, a); -static method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic +static extension-member method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic return () → > = dynamic>() → dynamic => self::E|baz3(#this); -static method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} +static extension-member method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue42435.dart.weak.modular.expect b/pkg/front_end/testcases/general/issue42435.dart.weak.modular.expect index 07aa54ed311..4c29e25c8a8 100644 --- a/pkg/front_end/testcases/general/issue42435.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/issue42435.dart.weak.modular.expect @@ -187,14 +187,14 @@ static method bar3() → > = dynamic>() → d static get bar4() → > = dynamic>() → dynamic return throw 42; static set bar5(> = dynamic>() → dynamic a) → void {} -static method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} -static method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic +static extension-member method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} +static extension-member method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic return (> = dynamic>() → dynamic a) → dynamic => self::E|baz2(#this, a); -static method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic +static extension-member method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic return () → > = dynamic>() → dynamic => self::E|baz3(#this); -static method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} +static extension-member method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue42435.dart.weak.outline.expect b/pkg/front_end/testcases/general/issue42435.dart.weak.outline.expect index 116a0e0c202..6081ffef765 100644 --- a/pkg/front_end/testcases/general/issue42435.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/issue42435.dart.weak.outline.expect @@ -188,17 +188,17 @@ static get bar4() → > = dynamic>() → dyna ; static set bar5(> = dynamic>() → dynamic a) → void ; -static method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic +static extension-member method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic ; -static method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic +static extension-member method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic return (> = dynamic>() → dynamic a) → dynamic => self::E|baz2(#this, a); -static method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic ; -static method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic +static extension-member method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic return () → > = dynamic>() → dynamic => self::E|baz3(#this); -static method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic ; -static method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void +static extension-member method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/issue42435.dart.weak.transformed.expect b/pkg/front_end/testcases/general/issue42435.dart.weak.transformed.expect index 07aa54ed311..4c29e25c8a8 100644 --- a/pkg/front_end/testcases/general/issue42435.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/issue42435.dart.weak.transformed.expect @@ -187,14 +187,14 @@ static method bar3() → > = dynamic>() → d static get bar4() → > = dynamic>() → dynamic return throw 42; static set bar5(> = dynamic>() → dynamic a) → void {} -static method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} -static method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic +static extension-member method E|baz2(lowered final core::int #this, > = dynamic>() → dynamic a) → dynamic {} +static extension-member method E|get#baz2(lowered final core::int #this) → (> = dynamic>() → dynamic) → dynamic return (> = dynamic>() → dynamic a) → dynamic => self::E|baz2(#this, a); -static method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|baz3(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic +static extension-member method E|get#baz3(lowered final core::int #this) → () → > = dynamic>() → dynamic return () → > = dynamic>() → dynamic => self::E|baz3(#this); -static method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic +static extension-member method E|get#baz4(lowered final core::int #this) → > = dynamic>() → dynamic return throw 42; -static method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} +static extension-member method E|set#baz5(lowered final core::int #this, > = dynamic>() → dynamic a) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue43401.dart.strong.expect b/pkg/front_end/testcases/general/issue43401.dart.strong.expect index 206a343472f..fd300131c44 100644 --- a/pkg/front_end/testcases/general/issue43401.dart.strong.expect +++ b/pkg/front_end/testcases/general/issue43401.dart.strong.expect @@ -22,7 +22,7 @@ import "dart:core" as core; extension Test on S% { operator >> = self::Test|>>; } -static method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% +static extension-member method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% return f(#this){(self::Test|>>::S%) → self::Test|>>::T%}; static method test() → void { core::Object o = new core::Object::•(); diff --git a/pkg/front_end/testcases/general/issue43401.dart.strong.transformed.expect b/pkg/front_end/testcases/general/issue43401.dart.strong.transformed.expect index 206a343472f..fd300131c44 100644 --- a/pkg/front_end/testcases/general/issue43401.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/issue43401.dart.strong.transformed.expect @@ -22,7 +22,7 @@ import "dart:core" as core; extension Test on S% { operator >> = self::Test|>>; } -static method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% +static extension-member method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% return f(#this){(self::Test|>>::S%) → self::Test|>>::T%}; static method test() → void { core::Object o = new core::Object::•(); diff --git a/pkg/front_end/testcases/general/issue43401.dart.weak.expect b/pkg/front_end/testcases/general/issue43401.dart.weak.expect index 206a343472f..fd300131c44 100644 --- a/pkg/front_end/testcases/general/issue43401.dart.weak.expect +++ b/pkg/front_end/testcases/general/issue43401.dart.weak.expect @@ -22,7 +22,7 @@ import "dart:core" as core; extension Test on S% { operator >> = self::Test|>>; } -static method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% +static extension-member method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% return f(#this){(self::Test|>>::S%) → self::Test|>>::T%}; static method test() → void { core::Object o = new core::Object::•(); diff --git a/pkg/front_end/testcases/general/issue43401.dart.weak.modular.expect b/pkg/front_end/testcases/general/issue43401.dart.weak.modular.expect index 206a343472f..fd300131c44 100644 --- a/pkg/front_end/testcases/general/issue43401.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/issue43401.dart.weak.modular.expect @@ -22,7 +22,7 @@ import "dart:core" as core; extension Test on S% { operator >> = self::Test|>>; } -static method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% +static extension-member method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% return f(#this){(self::Test|>>::S%) → self::Test|>>::T%}; static method test() → void { core::Object o = new core::Object::•(); diff --git a/pkg/front_end/testcases/general/issue43401.dart.weak.outline.expect b/pkg/front_end/testcases/general/issue43401.dart.weak.outline.expect index 7c2910e9fc5..92314aec65c 100644 --- a/pkg/front_end/testcases/general/issue43401.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/issue43401.dart.weak.outline.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension Test on S% { operator >> = self::Test|>>; } -static method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% +static extension-member method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% ; static method test() → void ; diff --git a/pkg/front_end/testcases/general/issue43401.dart.weak.transformed.expect b/pkg/front_end/testcases/general/issue43401.dart.weak.transformed.expect index 206a343472f..fd300131c44 100644 --- a/pkg/front_end/testcases/general/issue43401.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/issue43401.dart.weak.transformed.expect @@ -22,7 +22,7 @@ import "dart:core" as core; extension Test on S% { operator >> = self::Test|>>; } -static method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% +static extension-member method Test|>>(lowered final self::Test|>>::S% #this, (self::Test|>>::S%) → self::Test|>>::T% f) → self::Test|>>::T% return f(#this){(self::Test|>>::S%) → self::Test|>>::T%}; static method test() → void { core::Object o = new core::Object::•(); diff --git a/pkg/front_end/testcases/general/issue45204.dart.strong.expect b/pkg/front_end/testcases/general/issue45204.dart.strong.expect index 0a7b98afa7e..e6633be6c90 100644 --- a/pkg/front_end/testcases/general/issue45204.dart.strong.expect +++ b/pkg/front_end/testcases/general/issue45204.dart.strong.expect @@ -131,14 +131,14 @@ extension S2 on core::int { method test3 = self::S2|test3; tearoff test3 = self::S2|get#test3; } -static method S|test(lowered final core::int #this, core::int x) → void {} -static method S|get#test(lowered final core::int #this) → (core::int) → void +static extension-member method S|test(lowered final core::int #this, core::int x) → void {} +static extension-member method S|get#test(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S|test(#this, x); -static method S2|test2(lowered final core::int #this, core::int x) → void {} -static method S2|get#test2(lowered final core::int #this) → (core::int) → void +static extension-member method S2|test2(lowered final core::int #this, core::int x) → void {} +static extension-member method S2|get#test2(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S2|test2(#this, x); -static method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} -static method S2|get#test3(lowered final core::int #this) → (Y%) → void +static extension-member method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} +static extension-member method S2|get#test3(lowered final core::int #this) → (Y%) → void return (Y% y) → void => self::S2|test3(#this, y); static method foo() → dynamic { invalid-expression "pkg/front_end/testcases/general/issue45204.dart:15:9: Error: Too few positional arguments: 1 required, 0 given. diff --git a/pkg/front_end/testcases/general/issue45204.dart.strong.transformed.expect b/pkg/front_end/testcases/general/issue45204.dart.strong.transformed.expect index 0a7b98afa7e..e6633be6c90 100644 --- a/pkg/front_end/testcases/general/issue45204.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/issue45204.dart.strong.transformed.expect @@ -131,14 +131,14 @@ extension S2 on core::int { method test3 = self::S2|test3; tearoff test3 = self::S2|get#test3; } -static method S|test(lowered final core::int #this, core::int x) → void {} -static method S|get#test(lowered final core::int #this) → (core::int) → void +static extension-member method S|test(lowered final core::int #this, core::int x) → void {} +static extension-member method S|get#test(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S|test(#this, x); -static method S2|test2(lowered final core::int #this, core::int x) → void {} -static method S2|get#test2(lowered final core::int #this) → (core::int) → void +static extension-member method S2|test2(lowered final core::int #this, core::int x) → void {} +static extension-member method S2|get#test2(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S2|test2(#this, x); -static method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} -static method S2|get#test3(lowered final core::int #this) → (Y%) → void +static extension-member method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} +static extension-member method S2|get#test3(lowered final core::int #this) → (Y%) → void return (Y% y) → void => self::S2|test3(#this, y); static method foo() → dynamic { invalid-expression "pkg/front_end/testcases/general/issue45204.dart:15:9: Error: Too few positional arguments: 1 required, 0 given. diff --git a/pkg/front_end/testcases/general/issue45204.dart.weak.expect b/pkg/front_end/testcases/general/issue45204.dart.weak.expect index 0a7b98afa7e..e6633be6c90 100644 --- a/pkg/front_end/testcases/general/issue45204.dart.weak.expect +++ b/pkg/front_end/testcases/general/issue45204.dart.weak.expect @@ -131,14 +131,14 @@ extension S2 on core::int { method test3 = self::S2|test3; tearoff test3 = self::S2|get#test3; } -static method S|test(lowered final core::int #this, core::int x) → void {} -static method S|get#test(lowered final core::int #this) → (core::int) → void +static extension-member method S|test(lowered final core::int #this, core::int x) → void {} +static extension-member method S|get#test(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S|test(#this, x); -static method S2|test2(lowered final core::int #this, core::int x) → void {} -static method S2|get#test2(lowered final core::int #this) → (core::int) → void +static extension-member method S2|test2(lowered final core::int #this, core::int x) → void {} +static extension-member method S2|get#test2(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S2|test2(#this, x); -static method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} -static method S2|get#test3(lowered final core::int #this) → (Y%) → void +static extension-member method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} +static extension-member method S2|get#test3(lowered final core::int #this) → (Y%) → void return (Y% y) → void => self::S2|test3(#this, y); static method foo() → dynamic { invalid-expression "pkg/front_end/testcases/general/issue45204.dart:15:9: Error: Too few positional arguments: 1 required, 0 given. diff --git a/pkg/front_end/testcases/general/issue45204.dart.weak.modular.expect b/pkg/front_end/testcases/general/issue45204.dart.weak.modular.expect index 0a7b98afa7e..e6633be6c90 100644 --- a/pkg/front_end/testcases/general/issue45204.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/issue45204.dart.weak.modular.expect @@ -131,14 +131,14 @@ extension S2 on core::int { method test3 = self::S2|test3; tearoff test3 = self::S2|get#test3; } -static method S|test(lowered final core::int #this, core::int x) → void {} -static method S|get#test(lowered final core::int #this) → (core::int) → void +static extension-member method S|test(lowered final core::int #this, core::int x) → void {} +static extension-member method S|get#test(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S|test(#this, x); -static method S2|test2(lowered final core::int #this, core::int x) → void {} -static method S2|get#test2(lowered final core::int #this) → (core::int) → void +static extension-member method S2|test2(lowered final core::int #this, core::int x) → void {} +static extension-member method S2|get#test2(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S2|test2(#this, x); -static method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} -static method S2|get#test3(lowered final core::int #this) → (Y%) → void +static extension-member method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} +static extension-member method S2|get#test3(lowered final core::int #this) → (Y%) → void return (Y% y) → void => self::S2|test3(#this, y); static method foo() → dynamic { invalid-expression "pkg/front_end/testcases/general/issue45204.dart:15:9: Error: Too few positional arguments: 1 required, 0 given. diff --git a/pkg/front_end/testcases/general/issue45204.dart.weak.outline.expect b/pkg/front_end/testcases/general/issue45204.dart.weak.outline.expect index 55935fa19c6..beeae6f75a0 100644 --- a/pkg/front_end/testcases/general/issue45204.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/issue45204.dart.weak.outline.expect @@ -12,17 +12,17 @@ extension S2 on core::int { method test3 = self::S2|test3; tearoff test3 = self::S2|get#test3; } -static method S|test(lowered final core::int #this, core::int x) → void +static extension-member method S|test(lowered final core::int #this, core::int x) → void ; -static method S|get#test(lowered final core::int #this) → (core::int) → void +static extension-member method S|get#test(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S|test(#this, x); -static method S2|test2(lowered final core::int #this, core::int x) → void +static extension-member method S2|test2(lowered final core::int #this, core::int x) → void ; -static method S2|get#test2(lowered final core::int #this) → (core::int) → void +static extension-member method S2|get#test2(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S2|test2(#this, x); -static method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void +static extension-member method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void ; -static method S2|get#test3(lowered final core::int #this) → (Y%) → void +static extension-member method S2|get#test3(lowered final core::int #this) → (Y%) → void return (Y% y) → void => self::S2|test3(#this, y); static method foo() → dynamic ; diff --git a/pkg/front_end/testcases/general/issue45204.dart.weak.transformed.expect b/pkg/front_end/testcases/general/issue45204.dart.weak.transformed.expect index 0a7b98afa7e..e6633be6c90 100644 --- a/pkg/front_end/testcases/general/issue45204.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/issue45204.dart.weak.transformed.expect @@ -131,14 +131,14 @@ extension S2 on core::int { method test3 = self::S2|test3; tearoff test3 = self::S2|get#test3; } -static method S|test(lowered final core::int #this, core::int x) → void {} -static method S|get#test(lowered final core::int #this) → (core::int) → void +static extension-member method S|test(lowered final core::int #this, core::int x) → void {} +static extension-member method S|get#test(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S|test(#this, x); -static method S2|test2(lowered final core::int #this, core::int x) → void {} -static method S2|get#test2(lowered final core::int #this) → (core::int) → void +static extension-member method S2|test2(lowered final core::int #this, core::int x) → void {} +static extension-member method S2|get#test2(lowered final core::int #this) → (core::int) → void return (core::int x) → void => self::S2|test2(#this, x); -static method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} -static method S2|get#test3(lowered final core::int #this) → (Y%) → void +static extension-member method S2|test3(lowered final core::int #this, self::S2|test3::Y% y) → void {} +static extension-member method S2|get#test3(lowered final core::int #this) → (Y%) → void return (Y% y) → void => self::S2|test3(#this, y); static method foo() → dynamic { invalid-expression "pkg/front_end/testcases/general/issue45204.dart:15:9: Error: Too few positional arguments: 1 required, 0 given. diff --git a/pkg/front_end/testcases/general/issue45834.dart.strong.expect b/pkg/front_end/testcases/general/issue45834.dart.strong.expect index eace4a77c4e..474d6d991bc 100644 --- a/pkg/front_end/testcases/general/issue45834.dart.strong.expect +++ b/pkg/front_end/testcases/general/issue45834.dart.strong.expect @@ -202,14 +202,14 @@ static method foo4() → () →* static get corge1() → () →* dynamic = dynamic>() →* dynamic return throw 42; static set grault1(() →* dynamic = dynamic>() →* dynamic value) → void {} -static method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} -static method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic +static extension-member method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} +static extension-member method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic return (() →* dynamic = dynamic>() →* dynamic f) → dynamic => self::E1|bar3(#this, f); -static method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic return () → () →* dynamic = dynamic>() →* dynamic => self::E1|bar4(#this); -static method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} +static extension-member method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue45834.dart.strong.transformed.expect b/pkg/front_end/testcases/general/issue45834.dart.strong.transformed.expect index eace4a77c4e..474d6d991bc 100644 --- a/pkg/front_end/testcases/general/issue45834.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/issue45834.dart.strong.transformed.expect @@ -202,14 +202,14 @@ static method foo4() → () →* static get corge1() → () →* dynamic = dynamic>() →* dynamic return throw 42; static set grault1(() →* dynamic = dynamic>() →* dynamic value) → void {} -static method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} -static method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic +static extension-member method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} +static extension-member method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic return (() →* dynamic = dynamic>() →* dynamic f) → dynamic => self::E1|bar3(#this, f); -static method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic return () → () →* dynamic = dynamic>() →* dynamic => self::E1|bar4(#this); -static method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} +static extension-member method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue45834.dart.weak.expect b/pkg/front_end/testcases/general/issue45834.dart.weak.expect index f6c8f8a9458..6fd18fb4838 100644 --- a/pkg/front_end/testcases/general/issue45834.dart.weak.expect +++ b/pkg/front_end/testcases/general/issue45834.dart.weak.expect @@ -198,14 +198,14 @@ static method foo4() → () →* static get corge1() → () →* dynamic = dynamic>() →* dynamic return throw 42; static set grault1(() →* dynamic = dynamic>() →* dynamic value) → void {} -static method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} -static method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic +static extension-member method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} +static extension-member method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic return (() →* dynamic = dynamic>() →* dynamic f) → dynamic => self::E1|bar3(#this, f); -static method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic return () → () →* dynamic = dynamic>() →* dynamic => self::E1|bar4(#this); -static method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} +static extension-member method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue45834.dart.weak.modular.expect b/pkg/front_end/testcases/general/issue45834.dart.weak.modular.expect index f6c8f8a9458..6fd18fb4838 100644 --- a/pkg/front_end/testcases/general/issue45834.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/issue45834.dart.weak.modular.expect @@ -198,14 +198,14 @@ static method foo4() → () →* static get corge1() → () →* dynamic = dynamic>() →* dynamic return throw 42; static set grault1(() →* dynamic = dynamic>() →* dynamic value) → void {} -static method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} -static method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic +static extension-member method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} +static extension-member method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic return (() →* dynamic = dynamic>() →* dynamic f) → dynamic => self::E1|bar3(#this, f); -static method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic return () → () →* dynamic = dynamic>() →* dynamic => self::E1|bar4(#this); -static method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} +static extension-member method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue45834.dart.weak.outline.expect b/pkg/front_end/testcases/general/issue45834.dart.weak.outline.expect index f272ccf6319..9036206ea4e 100644 --- a/pkg/front_end/testcases/general/issue45834.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/issue45834.dart.weak.outline.expect @@ -199,17 +199,17 @@ static get corge1() → () →* dy ; static set grault1(() →* dynamic = dynamic>() →* dynamic value) → void ; -static method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic +static extension-member method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic ; -static method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic +static extension-member method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic return (() →* dynamic = dynamic>() →* dynamic f) → dynamic => self::E1|bar3(#this, f); -static method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic ; -static method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic return () → () →* dynamic = dynamic>() →* dynamic => self::E1|bar4(#this); -static method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic ; -static method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void +static extension-member method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/issue45834.dart.weak.transformed.expect b/pkg/front_end/testcases/general/issue45834.dart.weak.transformed.expect index f6c8f8a9458..6fd18fb4838 100644 --- a/pkg/front_end/testcases/general/issue45834.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/issue45834.dart.weak.transformed.expect @@ -198,14 +198,14 @@ static method foo4() → () →* static get corge1() → () →* dynamic = dynamic>() →* dynamic return throw 42; static set grault1(() →* dynamic = dynamic>() →* dynamic value) → void {} -static method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} -static method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic +static extension-member method E1|bar3() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic f) → dynamic {} +static extension-member method E1|get#bar3() →* dynamic = dynamic>(lowered final self::B1* #this) → (() →* dynamic = dynamic>() →* dynamic) →* dynamic return (() →* dynamic = dynamic>() →* dynamic f) → dynamic => self::E1|bar3(#this, f); -static method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#bar4() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* () →* dynamic = dynamic>() →* dynamic return () → () →* dynamic = dynamic>() →* dynamic => self::E1|bar4(#this); -static method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic +static extension-member method E1|get#baz2() →* dynamic = dynamic>(lowered final self::B1* #this) → () →* dynamic = dynamic>() →* dynamic return throw 42; -static method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} +static extension-member method E1|set#qux2() →* dynamic = dynamic>(lowered final self::B1* #this, () →* dynamic = dynamic>() →* dynamic value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/issue46719.dart.strong.expect b/pkg/front_end/testcases/general/issue46719.dart.strong.expect index d59062ea2f3..6c81026eff0 100644 --- a/pkg/front_end/testcases/general/issue46719.dart.strong.expect +++ b/pkg/front_end/testcases/general/issue46719.dart.strong.expect @@ -85,9 +85,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return [x]; -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/general/issue46719.dart.strong.transformed.expect b/pkg/front_end/testcases/general/issue46719.dart.strong.transformed.expect index 766aca04c65..a8c23637e72 100644 --- a/pkg/front_end/testcases/general/issue46719.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/issue46719.dart.strong.transformed.expect @@ -85,9 +85,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return core::_GrowableList::_literal1(x); -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/general/issue46719.dart.weak.expect b/pkg/front_end/testcases/general/issue46719.dart.weak.expect index 8929f086f7d..a18f12b2dca 100644 --- a/pkg/front_end/testcases/general/issue46719.dart.weak.expect +++ b/pkg/front_end/testcases/general/issue46719.dart.weak.expect @@ -85,9 +85,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return [x]; -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/general/issue46719.dart.weak.modular.expect b/pkg/front_end/testcases/general/issue46719.dart.weak.modular.expect index 8929f086f7d..a18f12b2dca 100644 --- a/pkg/front_end/testcases/general/issue46719.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/issue46719.dart.weak.modular.expect @@ -85,9 +85,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return [x]; -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/general/issue46719.dart.weak.outline.expect b/pkg/front_end/testcases/general/issue46719.dart.weak.outline.expect index 4c8e7ba6c96..bf702b14b0c 100644 --- a/pkg/front_end/testcases/general/issue46719.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/issue46719.dart.weak.outline.expect @@ -20,9 +20,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List ; -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void ; -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic ; diff --git a/pkg/front_end/testcases/general/issue46719.dart.weak.transformed.expect b/pkg/front_end/testcases/general/issue46719.dart.weak.transformed.expect index c0872f3e1ec..e319efb70e3 100644 --- a/pkg/front_end/testcases/general/issue46719.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/issue46719.dart.weak.transformed.expect @@ -85,9 +85,9 @@ extension FunctionApplier on core::Function { } static method m(self::m::X% x) → core::List return core::_GrowableList::_literal1(x); -static method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void +static extension-member method FunctionApplier|applyAndPrint(lowered final core::Function #this, core::List positionalArguments) → void return core::print(core::Function::apply(#this, positionalArguments, #C1)); -static method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void +static extension-member method FunctionApplier|get#applyAndPrint(lowered final core::Function #this) → (core::List) → void return (core::List positionalArguments) → void => self::FunctionApplier|applyAndPrint(#this, positionalArguments); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/general/issue48765.dart.strong.expect b/pkg/front_end/testcases/general/issue48765.dart.strong.expect index 61f4218947c..4847d31f04a 100644 --- a/pkg/front_end/testcases/general/issue48765.dart.strong.expect +++ b/pkg/front_end/testcases/general/issue48765.dart.strong.expect @@ -40,13 +40,13 @@ static method main() → void { self::_extension#0|method(new self::_Ac::•()); self::_extension#1|method(new self::_Bc::•()); } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { self::_extension#0|field = self::_extension#0|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void return () → void => self::_extension#0|method(#this); -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { self::_extension#1|field = self::_extension#1|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void return () → void => self::_extension#1|method(#this); diff --git a/pkg/front_end/testcases/general/issue48765.dart.strong.transformed.expect b/pkg/front_end/testcases/general/issue48765.dart.strong.transformed.expect index 61f4218947c..4847d31f04a 100644 --- a/pkg/front_end/testcases/general/issue48765.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/issue48765.dart.strong.transformed.expect @@ -40,13 +40,13 @@ static method main() → void { self::_extension#0|method(new self::_Ac::•()); self::_extension#1|method(new self::_Bc::•()); } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { self::_extension#0|field = self::_extension#0|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void return () → void => self::_extension#0|method(#this); -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { self::_extension#1|field = self::_extension#1|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void return () → void => self::_extension#1|method(#this); diff --git a/pkg/front_end/testcases/general/issue48765.dart.weak.expect b/pkg/front_end/testcases/general/issue48765.dart.weak.expect index 61f4218947c..4847d31f04a 100644 --- a/pkg/front_end/testcases/general/issue48765.dart.weak.expect +++ b/pkg/front_end/testcases/general/issue48765.dart.weak.expect @@ -40,13 +40,13 @@ static method main() → void { self::_extension#0|method(new self::_Ac::•()); self::_extension#1|method(new self::_Bc::•()); } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { self::_extension#0|field = self::_extension#0|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void return () → void => self::_extension#0|method(#this); -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { self::_extension#1|field = self::_extension#1|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void return () → void => self::_extension#1|method(#this); diff --git a/pkg/front_end/testcases/general/issue48765.dart.weak.modular.expect b/pkg/front_end/testcases/general/issue48765.dart.weak.modular.expect index 61f4218947c..4847d31f04a 100644 --- a/pkg/front_end/testcases/general/issue48765.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/issue48765.dart.weak.modular.expect @@ -40,13 +40,13 @@ static method main() → void { self::_extension#0|method(new self::_Ac::•()); self::_extension#1|method(new self::_Bc::•()); } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { self::_extension#0|field = self::_extension#0|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void return () → void => self::_extension#0|method(#this); -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { self::_extension#1|field = self::_extension#1|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void return () → void => self::_extension#1|method(#this); diff --git a/pkg/front_end/testcases/general/issue48765.dart.weak.outline.expect b/pkg/front_end/testcases/general/issue48765.dart.weak.outline.expect index 72098161b24..91c674db670 100644 --- a/pkg/front_end/testcases/general/issue48765.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/issue48765.dart.weak.outline.expect @@ -34,11 +34,11 @@ static field core::int _extension#0|field /* from org-dartlang-testcase:///issue static field core::int _extension#1|field /* from org-dartlang-testcase:///issue48765_part2.dart */; static method main() → void ; -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void ; -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void return () → void => self::_extension#0|method(#this); -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void ; -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void return () → void => self::_extension#1|method(#this); diff --git a/pkg/front_end/testcases/general/issue48765.dart.weak.transformed.expect b/pkg/front_end/testcases/general/issue48765.dart.weak.transformed.expect index 61f4218947c..4847d31f04a 100644 --- a/pkg/front_end/testcases/general/issue48765.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/issue48765.dart.weak.transformed.expect @@ -40,13 +40,13 @@ static method main() → void { self::_extension#0|method(new self::_Ac::•()); self::_extension#1|method(new self::_Bc::•()); } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|method(lowered final self::_A #this) → void { self::_extension#0|field = self::_extension#0|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part1.dart */ _extension#0|get#method(lowered final self::_A #this) → () → void return () → void => self::_extension#0|method(#this); -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|method(lowered final self::_B #this) → void { self::_extension#1|field = self::_extension#1|field.{core::num::+}(1){(core::num) → core::int}; } -static method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void +static extension-member method /* from org-dartlang-testcase:///issue48765_part2.dart */ _extension#1|get#method(lowered final self::_B #this) → () → void return () → void => self::_extension#1|method(#this); diff --git a/pkg/front_end/testcases/general/issue48834.dart.strong.expect b/pkg/front_end/testcases/general/issue48834.dart.strong.expect index f7ececbb970..c51abfc080a 100644 --- a/pkg/front_end/testcases/general/issue48834.dart.strong.expect +++ b/pkg/front_end/testcases/general/issue48834.dart.strong.expect @@ -10,13 +10,13 @@ extension HashAllList on core::List { method hashAll = self::HashAllList|hashAll; tearoff hashAll = self::HashAllList|get#hashAll; } -static method HashAll|hashAll(lowered final core::Iterable #this) → core::int +static extension-member method HashAll|hashAll(lowered final core::Iterable #this) → core::int return 0; -static method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int +static extension-member method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int return () → core::int => self::HashAll|hashAll(#this); -static method HashAllList|hashAll(lowered final core::List #this) → core::int +static extension-member method HashAllList|hashAll(lowered final core::List #this) → core::int return 1; -static method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int +static extension-member method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int return () → core::int => self::HashAllList|hashAll(#this); static method main() → void { core::List l = []; diff --git a/pkg/front_end/testcases/general/issue48834.dart.strong.transformed.expect b/pkg/front_end/testcases/general/issue48834.dart.strong.transformed.expect index edf924ee0aa..4393f62ba9a 100644 --- a/pkg/front_end/testcases/general/issue48834.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/issue48834.dart.strong.transformed.expect @@ -10,13 +10,13 @@ extension HashAllList on core::List { method hashAll = self::HashAllList|hashAll; tearoff hashAll = self::HashAllList|get#hashAll; } -static method HashAll|hashAll(lowered final core::Iterable #this) → core::int +static extension-member method HashAll|hashAll(lowered final core::Iterable #this) → core::int return 0; -static method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int +static extension-member method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int return () → core::int => self::HashAll|hashAll(#this); -static method HashAllList|hashAll(lowered final core::List #this) → core::int +static extension-member method HashAllList|hashAll(lowered final core::List #this) → core::int return 1; -static method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int +static extension-member method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int return () → core::int => self::HashAllList|hashAll(#this); static method main() → void { core::List l = core::_GrowableList::•(0); diff --git a/pkg/front_end/testcases/general/issue48834.dart.weak.expect b/pkg/front_end/testcases/general/issue48834.dart.weak.expect index f7ececbb970..c51abfc080a 100644 --- a/pkg/front_end/testcases/general/issue48834.dart.weak.expect +++ b/pkg/front_end/testcases/general/issue48834.dart.weak.expect @@ -10,13 +10,13 @@ extension HashAllList on core::List { method hashAll = self::HashAllList|hashAll; tearoff hashAll = self::HashAllList|get#hashAll; } -static method HashAll|hashAll(lowered final core::Iterable #this) → core::int +static extension-member method HashAll|hashAll(lowered final core::Iterable #this) → core::int return 0; -static method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int +static extension-member method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int return () → core::int => self::HashAll|hashAll(#this); -static method HashAllList|hashAll(lowered final core::List #this) → core::int +static extension-member method HashAllList|hashAll(lowered final core::List #this) → core::int return 1; -static method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int +static extension-member method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int return () → core::int => self::HashAllList|hashAll(#this); static method main() → void { core::List l = []; diff --git a/pkg/front_end/testcases/general/issue48834.dart.weak.modular.expect b/pkg/front_end/testcases/general/issue48834.dart.weak.modular.expect index f7ececbb970..c51abfc080a 100644 --- a/pkg/front_end/testcases/general/issue48834.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/issue48834.dart.weak.modular.expect @@ -10,13 +10,13 @@ extension HashAllList on core::List { method hashAll = self::HashAllList|hashAll; tearoff hashAll = self::HashAllList|get#hashAll; } -static method HashAll|hashAll(lowered final core::Iterable #this) → core::int +static extension-member method HashAll|hashAll(lowered final core::Iterable #this) → core::int return 0; -static method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int +static extension-member method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int return () → core::int => self::HashAll|hashAll(#this); -static method HashAllList|hashAll(lowered final core::List #this) → core::int +static extension-member method HashAllList|hashAll(lowered final core::List #this) → core::int return 1; -static method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int +static extension-member method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int return () → core::int => self::HashAllList|hashAll(#this); static method main() → void { core::List l = []; diff --git a/pkg/front_end/testcases/general/issue48834.dart.weak.outline.expect b/pkg/front_end/testcases/general/issue48834.dart.weak.outline.expect index 8f27259a54d..21926ac17ce 100644 --- a/pkg/front_end/testcases/general/issue48834.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/issue48834.dart.weak.outline.expect @@ -10,13 +10,13 @@ extension HashAllList on core::List { method hashAll = self::HashAllList|hashAll; tearoff hashAll = self::HashAllList|get#hashAll; } -static method HashAll|hashAll(lowered final core::Iterable #this) → core::int +static extension-member method HashAll|hashAll(lowered final core::Iterable #this) → core::int ; -static method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int +static extension-member method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int return () → core::int => self::HashAll|hashAll(#this); -static method HashAllList|hashAll(lowered final core::List #this) → core::int +static extension-member method HashAllList|hashAll(lowered final core::List #this) → core::int ; -static method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int +static extension-member method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int return () → core::int => self::HashAllList|hashAll(#this); static method main() → void ; diff --git a/pkg/front_end/testcases/general/issue48834.dart.weak.transformed.expect b/pkg/front_end/testcases/general/issue48834.dart.weak.transformed.expect index edf924ee0aa..4393f62ba9a 100644 --- a/pkg/front_end/testcases/general/issue48834.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/issue48834.dart.weak.transformed.expect @@ -10,13 +10,13 @@ extension HashAllList on core::List { method hashAll = self::HashAllList|hashAll; tearoff hashAll = self::HashAllList|get#hashAll; } -static method HashAll|hashAll(lowered final core::Iterable #this) → core::int +static extension-member method HashAll|hashAll(lowered final core::Iterable #this) → core::int return 0; -static method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int +static extension-member method HashAll|get#hashAll(lowered final core::Iterable #this) → () → core::int return () → core::int => self::HashAll|hashAll(#this); -static method HashAllList|hashAll(lowered final core::List #this) → core::int +static extension-member method HashAllList|hashAll(lowered final core::List #this) → core::int return 1; -static method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int +static extension-member method HashAllList|get#hashAll(lowered final core::List #this) → () → core::int return () → core::int => self::HashAllList|hashAll(#this); static method main() → void { core::List l = core::_GrowableList::•(0); diff --git a/pkg/front_end/testcases/general/issue_46886.dart.strong.expect b/pkg/front_end/testcases/general/issue_46886.dart.strong.expect index 6b531785be4..66806512511 100644 --- a/pkg/front_end/testcases/general/issue_46886.dart.strong.expect +++ b/pkg/front_end/testcases/general/issue_46886.dart.strong.expect @@ -75,11 +75,11 @@ extension /* unnamed */ _extension#0 on core::Symbol { method call = self::_extension#0|call; tearoff call = self::_extension#0|get#call; } -static method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String return "Greater Than used"; -static method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String return "Called"; -static method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String +static extension-member method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String return (dynamic _) → core::String => self::_extension#0|call(#this, _); static method main() → dynamic { self::Foo foo = new self::Foo::•(); diff --git a/pkg/front_end/testcases/general/issue_46886.dart.strong.transformed.expect b/pkg/front_end/testcases/general/issue_46886.dart.strong.transformed.expect index 2de810d4fa8..8a3eea707bb 100644 --- a/pkg/front_end/testcases/general/issue_46886.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/issue_46886.dart.strong.transformed.expect @@ -75,11 +75,11 @@ extension /* unnamed */ _extension#0 on core::Symbol { method call = self::_extension#0|call; tearoff call = self::_extension#0|get#call; } -static method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String return "Greater Than used"; -static method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String return "Called"; -static method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String +static extension-member method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String return (dynamic _) → core::String => self::_extension#0|call(#this, _); static method main() → dynamic { self::Foo foo = new self::Foo::•(); diff --git a/pkg/front_end/testcases/general/issue_46886.dart.weak.expect b/pkg/front_end/testcases/general/issue_46886.dart.weak.expect index 6b531785be4..66806512511 100644 --- a/pkg/front_end/testcases/general/issue_46886.dart.weak.expect +++ b/pkg/front_end/testcases/general/issue_46886.dart.weak.expect @@ -75,11 +75,11 @@ extension /* unnamed */ _extension#0 on core::Symbol { method call = self::_extension#0|call; tearoff call = self::_extension#0|get#call; } -static method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String return "Greater Than used"; -static method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String return "Called"; -static method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String +static extension-member method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String return (dynamic _) → core::String => self::_extension#0|call(#this, _); static method main() → dynamic { self::Foo foo = new self::Foo::•(); diff --git a/pkg/front_end/testcases/general/issue_46886.dart.weak.modular.expect b/pkg/front_end/testcases/general/issue_46886.dart.weak.modular.expect index 6b531785be4..66806512511 100644 --- a/pkg/front_end/testcases/general/issue_46886.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/issue_46886.dart.weak.modular.expect @@ -75,11 +75,11 @@ extension /* unnamed */ _extension#0 on core::Symbol { method call = self::_extension#0|call; tearoff call = self::_extension#0|get#call; } -static method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String return "Greater Than used"; -static method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String return "Called"; -static method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String +static extension-member method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String return (dynamic _) → core::String => self::_extension#0|call(#this, _); static method main() → dynamic { self::Foo foo = new self::Foo::•(); diff --git a/pkg/front_end/testcases/general/issue_46886.dart.weak.outline.expect b/pkg/front_end/testcases/general/issue_46886.dart.weak.outline.expect index 128c826fc62..b6b659df658 100644 --- a/pkg/front_end/testcases/general/issue_46886.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/issue_46886.dart.weak.outline.expect @@ -28,11 +28,11 @@ extension /* unnamed */ _extension#0 on core::Symbol { method call = self::_extension#0|call; tearoff call = self::_extension#0|get#call; } -static method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String ; -static method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String ; -static method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String +static extension-member method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String return (dynamic _) → core::String => self::_extension#0|call(#this, _); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/issue_46886.dart.weak.transformed.expect b/pkg/front_end/testcases/general/issue_46886.dart.weak.transformed.expect index 2de810d4fa8..8a3eea707bb 100644 --- a/pkg/front_end/testcases/general/issue_46886.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/issue_46886.dart.weak.transformed.expect @@ -75,11 +75,11 @@ extension /* unnamed */ _extension#0 on core::Symbol { method call = self::_extension#0|call; tearoff call = self::_extension#0|get#call; } -static method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|>(lowered final core::Symbol #this, dynamic _) → core::String return "Greater Than used"; -static method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String +static extension-member method _extension#0|call(lowered final core::Symbol #this, dynamic _) → core::String return "Called"; -static method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String +static extension-member method _extension#0|get#call(lowered final core::Symbol #this) → (dynamic) → core::String return (dynamic _) → core::String => self::_extension#0|call(#this, _); static method main() → dynamic { self::Foo foo = new self::Foo::•(); diff --git a/pkg/front_end/testcases/general/new_as_selector.dart.strong.expect b/pkg/front_end/testcases/general/new_as_selector.dart.strong.expect index 2c634a23298..edfefbe758f 100644 --- a/pkg/front_end/testcases/general/new_as_selector.dart.strong.expect +++ b/pkg/front_end/testcases/general/new_as_selector.dart.strong.expect @@ -363,10 +363,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/general/new_as_selector.dart.strong.transformed.expect b/pkg/front_end/testcases/general/new_as_selector.dart.strong.transformed.expect index 8e7949253b7..a675ca4c868 100644 --- a/pkg/front_end/testcases/general/new_as_selector.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/new_as_selector.dart.strong.transformed.expect @@ -363,10 +363,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/general/new_as_selector.dart.weak.expect b/pkg/front_end/testcases/general/new_as_selector.dart.weak.expect index 2c634a23298..edfefbe758f 100644 --- a/pkg/front_end/testcases/general/new_as_selector.dart.weak.expect +++ b/pkg/front_end/testcases/general/new_as_selector.dart.weak.expect @@ -363,10 +363,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/general/new_as_selector.dart.weak.modular.expect b/pkg/front_end/testcases/general/new_as_selector.dart.weak.modular.expect index 2c634a23298..edfefbe758f 100644 --- a/pkg/front_end/testcases/general/new_as_selector.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/new_as_selector.dart.weak.modular.expect @@ -363,10 +363,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/general/new_as_selector.dart.weak.outline.expect b/pkg/front_end/testcases/general/new_as_selector.dart.weak.outline.expect index ac35850831e..da1892102d9 100644 --- a/pkg/front_end/testcases/general/new_as_selector.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/new_as_selector.dart.weak.outline.expect @@ -60,11 +60,11 @@ extension E on core::int { } static field core::int new; static field self::C c; -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic ; -static method E|get#call(lowered final core::int #this) → () → dynamic +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic ; diff --git a/pkg/front_end/testcases/general/new_as_selector.dart.weak.transformed.expect b/pkg/front_end/testcases/general/new_as_selector.dart.weak.transformed.expect index 8e7949253b7..a675ca4c868 100644 --- a/pkg/front_end/testcases/general/new_as_selector.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/new_as_selector.dart.weak.transformed.expect @@ -363,10 +363,10 @@ extension E on core::int { } static field core::int new = 87; static field self::C c = new self::C::•(); -external static method E|get#new(lowered core::int #this) → core::int; -external static method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; -static method E|call(lowered final core::int #this) → dynamic {} -static method E|get#call(lowered final core::int #this) → () → dynamic +external static extension-member method E|get#new(lowered core::int #this) → core::int; +external static extension-member method E|set#new(lowered core::int #this, core::int #externalFieldValue) → void; +static extension-member method E|call(lowered final core::int #this) → dynamic {} +static extension-member method E|get#call(lowered final core::int #this) → () → dynamic return () → dynamic => self::E|call(#this); static method method(dynamic d) → dynamic return d{dynamic}.new; diff --git a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.strong.expect b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.strong.expect index ab9ec97b672..0112b2d54b8 100644 --- a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.strong.expect +++ b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.strong.expect @@ -237,17 +237,17 @@ static method _method(test::Class c) → void { test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -263,17 +263,17 @@ static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -289,17 +289,17 @@ static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); constants { diff --git a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.strong.transformed.expect b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.strong.transformed.expect index ab9ec97b672..0112b2d54b8 100644 --- a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.strong.transformed.expect @@ -237,17 +237,17 @@ static method _method(test::Class c) → void { test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -263,17 +263,17 @@ static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -289,17 +289,17 @@ static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); constants { diff --git a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.expect b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.expect index ab9ec97b672..0112b2d54b8 100644 --- a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.expect +++ b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.expect @@ -237,17 +237,17 @@ static method _method(test::Class c) → void { test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -263,17 +263,17 @@ static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -289,17 +289,17 @@ static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); constants { diff --git a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.modular.expect b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.modular.expect index ab9ec97b672..0112b2d54b8 100644 --- a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.modular.expect @@ -237,17 +237,17 @@ static method _method(test::Class c) → void { test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -263,17 +263,17 @@ static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -289,17 +289,17 @@ static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); constants { diff --git a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.outline.expect b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.outline.expect index 918b83bdadb..563f88ef766 100644 --- a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.outline.expect @@ -82,57 +82,57 @@ extension /* unnamed */ _extension#5 on test::Class { } static method _method(test::Class c) → void ; -static method Extension|namedExtensionMethod(lowered final test::Class #this) → void +static extension-member method Extension|namedExtensionMethod(lowered final test::Class #this) → void ; -static method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void ; -static method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void ; -static method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void ; -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test::Class c) → void ; -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void ; -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void ; -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void ; -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void ; -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test::Class c) → void ; -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void ; -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void ; -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void ; -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void ; -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); diff --git a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.transformed.expect b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.transformed.expect index ab9ec97b672..0112b2d54b8 100644 --- a/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/patch_extension_scope/main.dart.weak.transformed.expect @@ -237,17 +237,17 @@ static method _method(test::Class c) → void { test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final test::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final test::Class #this) → () → void return () → void => test::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -263,17 +263,17 @@ static method /* from org-dartlang-testcase:///patch_lib1.dart */ _method1(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final test::Class #this) → () → void return () → void => test::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test::Class c) → void { test::Extension|namedExtensionMethod(c); @@ -289,17 +289,17 @@ static method /* from org-dartlang-testcase:///patch_lib2.dart */ _method2(test: test::_extension#3|unnamedInjectedExtensionMethod2(c); test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} -static method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///patch_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final test::Class #this) → () → void return () → void => test::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); constants { diff --git a/pkg/front_end/testcases/general/private_members.dart.strong.expect b/pkg/front_end/testcases/general/private_members.dart.strong.expect index b205b11d5fa..88810ebcef5 100644 --- a/pkg/front_end/testcases/general/private_members.dart.strong.expect +++ b/pkg/front_end/testcases/general/private_members.dart.strong.expect @@ -50,12 +50,12 @@ static method main() → dynamic { self::_Extension|_privateField = self::_Extension|_privateField; self::_Extension|_privateFinalField; } -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void return () → void => self::_Extension|_privateMethod(#this); -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int return 42; -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} constants { #C1 = constructor-tearoff self::_Class::_privateRedirectingFactory diff --git a/pkg/front_end/testcases/general/private_members.dart.strong.transformed.expect b/pkg/front_end/testcases/general/private_members.dart.strong.transformed.expect index b205b11d5fa..88810ebcef5 100644 --- a/pkg/front_end/testcases/general/private_members.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/private_members.dart.strong.transformed.expect @@ -50,12 +50,12 @@ static method main() → dynamic { self::_Extension|_privateField = self::_Extension|_privateField; self::_Extension|_privateFinalField; } -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void return () → void => self::_Extension|_privateMethod(#this); -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int return 42; -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} constants { #C1 = constructor-tearoff self::_Class::_privateRedirectingFactory diff --git a/pkg/front_end/testcases/general/private_members.dart.weak.expect b/pkg/front_end/testcases/general/private_members.dart.weak.expect index b205b11d5fa..88810ebcef5 100644 --- a/pkg/front_end/testcases/general/private_members.dart.weak.expect +++ b/pkg/front_end/testcases/general/private_members.dart.weak.expect @@ -50,12 +50,12 @@ static method main() → dynamic { self::_Extension|_privateField = self::_Extension|_privateField; self::_Extension|_privateFinalField; } -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void return () → void => self::_Extension|_privateMethod(#this); -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int return 42; -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} constants { #C1 = constructor-tearoff self::_Class::_privateRedirectingFactory diff --git a/pkg/front_end/testcases/general/private_members.dart.weak.modular.expect b/pkg/front_end/testcases/general/private_members.dart.weak.modular.expect index b205b11d5fa..88810ebcef5 100644 --- a/pkg/front_end/testcases/general/private_members.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/private_members.dart.weak.modular.expect @@ -50,12 +50,12 @@ static method main() → dynamic { self::_Extension|_privateField = self::_Extension|_privateField; self::_Extension|_privateFinalField; } -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void return () → void => self::_Extension|_privateMethod(#this); -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int return 42; -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} constants { #C1 = constructor-tearoff self::_Class::_privateRedirectingFactory diff --git a/pkg/front_end/testcases/general/private_members.dart.weak.outline.expect b/pkg/front_end/testcases/general/private_members.dart.weak.outline.expect index 0a36beb9012..db316e8a1c8 100644 --- a/pkg/front_end/testcases/general/private_members.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/private_members.dart.weak.outline.expect @@ -38,13 +38,13 @@ static method test(self::_AbstractClass c) → dynamic ; static method main() → dynamic ; -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void ; -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void return () → void => self::_Extension|_privateMethod(#this); -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int ; -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void ; diff --git a/pkg/front_end/testcases/general/private_members.dart.weak.transformed.expect b/pkg/front_end/testcases/general/private_members.dart.weak.transformed.expect index b205b11d5fa..88810ebcef5 100644 --- a/pkg/front_end/testcases/general/private_members.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/private_members.dart.weak.transformed.expect @@ -50,12 +50,12 @@ static method main() → dynamic { self::_Extension|_privateField = self::_Extension|_privateField; self::_Extension|_privateFinalField; } -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateMethod(lowered final core::int #this) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateMethod(lowered final core::int #this) → () → void return () → void => self::_Extension|_privateMethod(#this); -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|get#_privateGetter(lowered final core::int #this) → core::int return 42; -static method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} +static extension-member method /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|set#_privateSetter(lowered final core::int #this, core::int value) → void {} constants { #C1 = constructor-tearoff self::_Class::_privateRedirectingFactory diff --git a/pkg/front_end/testcases/general/pure_index_expressions.dart.strong.expect b/pkg/front_end/testcases/general/pure_index_expressions.dart.strong.expect index 669204ef0e5..32dca941ffa 100644 --- a/pkg/front_end/testcases/general/pure_index_expressions.dart.strong.expect +++ b/pkg/front_end/testcases/general/pure_index_expressions.dart.strong.expect @@ -197,10 +197,10 @@ extension Extension2 on self::Class2* { operator [] = self::Extension2|[]; operator []= = self::Extension2|[]=; } -static method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* +static extension-member method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* return new self::Class::•(); -static method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} -static method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* +static extension-member method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} +static extension-member method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/pure_index_expressions.dart.strong.transformed.expect b/pkg/front_end/testcases/general/pure_index_expressions.dart.strong.transformed.expect index 669204ef0e5..32dca941ffa 100644 --- a/pkg/front_end/testcases/general/pure_index_expressions.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/pure_index_expressions.dart.strong.transformed.expect @@ -197,10 +197,10 @@ extension Extension2 on self::Class2* { operator [] = self::Extension2|[]; operator []= = self::Extension2|[]=; } -static method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* +static extension-member method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* return new self::Class::•(); -static method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} -static method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* +static extension-member method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} +static extension-member method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.expect b/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.expect index 38c5cec3d3c..72c27c8c999 100644 --- a/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.expect +++ b/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.expect @@ -190,10 +190,10 @@ extension Extension2 on self::Class2* { operator [] = self::Extension2|[]; operator []= = self::Extension2|[]=; } -static method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* +static extension-member method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* return new self::Class::•(); -static method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} -static method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* +static extension-member method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} +static extension-member method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.modular.expect b/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.modular.expect index 38c5cec3d3c..72c27c8c999 100644 --- a/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.modular.expect @@ -190,10 +190,10 @@ extension Extension2 on self::Class2* { operator [] = self::Extension2|[]; operator []= = self::Extension2|[]=; } -static method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* +static extension-member method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* return new self::Class::•(); -static method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} -static method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* +static extension-member method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} +static extension-member method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.outline.expect b/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.outline.expect index 0775bcd55e3..48138a2743b 100644 --- a/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.outline.expect @@ -74,13 +74,13 @@ extension Extension2 on self::Class2* { operator [] = self::Extension2|[]; operator []= = self::Extension2|[]=; } -static method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* +static extension-member method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* ; -static method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void +static extension-member method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void ; -static method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* +static extension-member method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* ; -static method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void +static extension-member method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.transformed.expect b/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.transformed.expect index 38c5cec3d3c..72c27c8c999 100644 --- a/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/pure_index_expressions.dart.weak.transformed.expect @@ -190,10 +190,10 @@ extension Extension2 on self::Class2* { operator [] = self::Extension2|[]; operator []= = self::Extension2|[]=; } -static method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* +static extension-member method Extension|[](lowered final core::int* #this, self::Class* cls) → self::Class* return new self::Class::•(); -static method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} -static method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* +static extension-member method Extension|[]=(lowered final core::int* #this, self::Class* cls, self::Class* value) → void {} +static extension-member method Extension2|[](lowered final self::Class2* #this, self::Class2* cls) → self::Class2* return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2* #this, self::Class2* cls, self::Class2* value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.strong.expect b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.strong.expect index b97446d261f..b15b0563eb0 100644 --- a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.strong.expect +++ b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.strong.expect @@ -80,18 +80,18 @@ static method method2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } @#C1 -static method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { +static extension-member method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { @#C1 dynamic l1; @#C1 function l2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → Null {} } -static method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic +static extension-member method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic return (dynamic o1, [dynamic o2 = #C3]) → dynamic => self::Extension|method1(#this, o1, o2); @#C1 -static method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { +static extension-member method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } -static method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic +static extension-member method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic return (dynamic o1, {dynamic o2 = #C3}) → dynamic => self::Extension|method2(#this, o1, o2: o2); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.strong.transformed.expect b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.strong.transformed.expect index b97446d261f..b15b0563eb0 100644 --- a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.strong.transformed.expect @@ -80,18 +80,18 @@ static method method2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } @#C1 -static method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { +static extension-member method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { @#C1 dynamic l1; @#C1 function l2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → Null {} } -static method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic +static extension-member method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic return (dynamic o1, [dynamic o2 = #C3]) → dynamic => self::Extension|method1(#this, o1, o2); @#C1 -static method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { +static extension-member method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } -static method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic +static extension-member method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic return (dynamic o1, {dynamic o2 = #C3}) → dynamic => self::Extension|method2(#this, o1, o2: o2); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.expect b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.expect index b97446d261f..b15b0563eb0 100644 --- a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.expect +++ b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.expect @@ -80,18 +80,18 @@ static method method2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } @#C1 -static method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { +static extension-member method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { @#C1 dynamic l1; @#C1 function l2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → Null {} } -static method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic +static extension-member method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic return (dynamic o1, [dynamic o2 = #C3]) → dynamic => self::Extension|method1(#this, o1, o2); @#C1 -static method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { +static extension-member method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } -static method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic +static extension-member method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic return (dynamic o1, {dynamic o2 = #C3}) → dynamic => self::Extension|method2(#this, o1, o2: o2); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.modular.expect b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.modular.expect index b97446d261f..b15b0563eb0 100644 --- a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.modular.expect @@ -80,18 +80,18 @@ static method method2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } @#C1 -static method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { +static extension-member method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { @#C1 dynamic l1; @#C1 function l2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → Null {} } -static method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic +static extension-member method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic return (dynamic o1, [dynamic o2 = #C3]) → dynamic => self::Extension|method1(#this, o1, o2); @#C1 -static method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { +static extension-member method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } -static method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic +static extension-member method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic return (dynamic o1, {dynamic o2 = #C3}) → dynamic => self::Extension|method2(#this, o1, o2: o2); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.outline.expect b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.outline.expect index 9bb0143d72e..b22c12bfce5 100644 --- a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.outline.expect @@ -56,14 +56,14 @@ static method method1<@self::Const::internal() T extends core::Object? = dynamic static method method2<@self::Const::internal() T extends core::Object? = dynamic>(dynamic o1, {dynamic o2}) → dynamic ; @self::Const::internal() -static method Extension|method1<#T extends core::Object? = dynamic, @self::Const::internal() T extends core::Object? = dynamic>(lowered final self::Class #this, dynamic o1, [dynamic o2]) → dynamic +static extension-member method Extension|method1<#T extends core::Object? = dynamic, @self::Const::internal() T extends core::Object? = dynamic>(lowered final self::Class #this, dynamic o1, [dynamic o2]) → dynamic ; -static method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic +static extension-member method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic return (dynamic o1, [dynamic o2]) → dynamic => self::Extension|method1(#this, o1, o2); @self::Const::internal() -static method Extension|method2<#T extends core::Object? = dynamic, @self::Const::internal() T extends core::Object? = dynamic>(lowered final self::Class #this, dynamic o1, {dynamic o2}) → dynamic +static extension-member method Extension|method2<#T extends core::Object? = dynamic, @self::Const::internal() T extends core::Object? = dynamic>(lowered final self::Class #this, dynamic o1, {dynamic o2}) → dynamic ; -static method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic +static extension-member method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic return (dynamic o1, {dynamic o2}) → dynamic => self::Extension|method2(#this, o1, o2: o2); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.transformed.expect b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.transformed.expect index b97446d261f..b15b0563eb0 100644 --- a/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/redirecting_factory_invocation_metadata.dart.weak.transformed.expect @@ -80,18 +80,18 @@ static method method2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } @#C1 -static method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { +static extension-member method Extension|method1<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → dynamic { @#C1 dynamic l1; @#C1 function l2<@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, [@#C1 dynamic o2 = #C3]) → Null {} } -static method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic +static extension-member method Extension|get#method1<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, [dynamic]) → dynamic return (dynamic o1, [dynamic o2 = #C3]) → dynamic => self::Extension|method1(#this, o1, o2); @#C1 -static method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { +static extension-member method Extension|method2<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Class #this, @#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → dynamic { <@#C1 T extends core::Object? = dynamic>(@#C1 dynamic o1, {@#C1 dynamic o2 = #C3}) → Null {}; } -static method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic +static extension-member method Extension|get#method2<#T extends core::Object? = dynamic>(lowered final self::Class #this) → (dynamic, {o2: dynamic}) → dynamic return (dynamic o1, {dynamic o2 = #C3}) → dynamic => self::Extension|method2(#this, o1, o2: o2); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/top_level_promotion.dart.strong.expect b/pkg/front_end/testcases/general/top_level_promotion.dart.strong.expect index b4ef3833c86..82d914cb971 100644 --- a/pkg/front_end/testcases/general/top_level_promotion.dart.strong.expect +++ b/pkg/front_end/testcases/general/top_level_promotion.dart.strong.expect @@ -42,8 +42,8 @@ extension Extension1 on self::Class2 { method method1 = self::Extension1|method1; tearoff method1 = self::Extension1|get#method1; } -static method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { +static extension-member method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { throw ""; } -static method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 +static extension-member method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 return ((self::Extension1|get#method1::V%) → self::Class2? f) → self::Class3 => self::Extension1|method1(#this, f); diff --git a/pkg/front_end/testcases/general/top_level_promotion.dart.strong.transformed.expect b/pkg/front_end/testcases/general/top_level_promotion.dart.strong.transformed.expect index 9a441ba462a..9c0f8d9cced 100644 --- a/pkg/front_end/testcases/general/top_level_promotion.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/top_level_promotion.dart.strong.transformed.expect @@ -44,8 +44,8 @@ extension Extension1 on self::Class2 { method method1 = self::Extension1|method1; tearoff method1 = self::Extension1|get#method1; } -static method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { +static extension-member method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { throw ""; } -static method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 +static extension-member method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 return ((self::Extension1|get#method1::V%) → self::Class2? f) → self::Class3 => self::Extension1|method1(#this, f); diff --git a/pkg/front_end/testcases/general/top_level_promotion.dart.weak.expect b/pkg/front_end/testcases/general/top_level_promotion.dart.weak.expect index b4ef3833c86..82d914cb971 100644 --- a/pkg/front_end/testcases/general/top_level_promotion.dart.weak.expect +++ b/pkg/front_end/testcases/general/top_level_promotion.dart.weak.expect @@ -42,8 +42,8 @@ extension Extension1 on self::Class2 { method method1 = self::Extension1|method1; tearoff method1 = self::Extension1|get#method1; } -static method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { +static extension-member method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { throw ""; } -static method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 +static extension-member method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 return ((self::Extension1|get#method1::V%) → self::Class2? f) → self::Class3 => self::Extension1|method1(#this, f); diff --git a/pkg/front_end/testcases/general/top_level_promotion.dart.weak.modular.expect b/pkg/front_end/testcases/general/top_level_promotion.dart.weak.modular.expect index b4ef3833c86..82d914cb971 100644 --- a/pkg/front_end/testcases/general/top_level_promotion.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/top_level_promotion.dart.weak.modular.expect @@ -42,8 +42,8 @@ extension Extension1 on self::Class2 { method method1 = self::Extension1|method1; tearoff method1 = self::Extension1|get#method1; } -static method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { +static extension-member method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { throw ""; } -static method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 +static extension-member method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 return ((self::Extension1|get#method1::V%) → self::Class2? f) → self::Class3 => self::Extension1|method1(#this, f); diff --git a/pkg/front_end/testcases/general/top_level_promotion.dart.weak.outline.expect b/pkg/front_end/testcases/general/top_level_promotion.dart.weak.outline.expect index b5906ef18eb..5600712efd2 100644 --- a/pkg/front_end/testcases/general/top_level_promotion.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/top_level_promotion.dart.weak.outline.expect @@ -36,7 +36,7 @@ extension Extension1 on self::Class2 { method method1 = self::Extension1|method1; tearoff method1 = self::Extension1|get#method1; } -static method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 +static extension-member method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 ; -static method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 +static extension-member method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 return ((self::Extension1|get#method1::V%) → self::Class2? f) → self::Class3 => self::Extension1|method1(#this, f); diff --git a/pkg/front_end/testcases/general/top_level_promotion.dart.weak.transformed.expect b/pkg/front_end/testcases/general/top_level_promotion.dart.weak.transformed.expect index 9a441ba462a..9c0f8d9cced 100644 --- a/pkg/front_end/testcases/general/top_level_promotion.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/top_level_promotion.dart.weak.transformed.expect @@ -44,8 +44,8 @@ extension Extension1 on self::Class2 { method method1 = self::Extension1|method1; tearoff method1 = self::Extension1|get#method1; } -static method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { +static extension-member method Extension1|method1(lowered final self::Class2 #this, (self::Extension1|method1::V%) → self::Class2? f) → self::Class3 { throw ""; } -static method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 +static extension-member method Extension1|get#method1(lowered final self::Class2 #this) → ((self::Extension1|get#method1::V%) → self::Class2?) → self::Class3 return ((self::Extension1|get#method1::V%) → self::Class2? f) → self::Class3 => self::Extension1|method1(#this, f); diff --git a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.strong.expect b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.strong.expect index e15e9913afa..f4d1d74bf9c 100644 --- a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.strong.expect +++ b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.strong.expect @@ -151,15 +151,15 @@ late static field invalid-type Foo|foo14; late static field core::List Foo|foo14Prime; late static field (invalid-type) → invalid-type Foo|foo15; late static field (core::List) → core::List Foo|foo15Prime; -static method Foo|foo1() → invalid-type { +static extension-member method Foo|foo1() → invalid-type { throw ""; } -static method Foo|foo1Prime() → core::List { +static extension-member method Foo|foo1Prime() → core::List { throw ""; } -static method Foo|foo2(invalid-type x) → void {} -static method Foo|foo2Prime(core::List x) → void {} -static method Foo|foo3() → void { +static extension-member method Foo|foo2(invalid-type x) → void {} +static extension-member method Foo|foo2Prime(core::List x) → void {} +static extension-member method Foo|foo3() → void { invalid-type foo4; core::List foo4Prime; function foo5(invalid-type y) → void @@ -173,19 +173,19 @@ static method Foo|foo3() → void { (invalid-type) → void foo7 = (invalid-type y) → void => y; (core::List) → void foo7Prime = (core::List y) → void => y; } -static method Foo|foo8() → () → invalid-type { +static extension-member method Foo|foo8() → () → invalid-type { throw ""; } -static method Foo|foo8Prime() → () → core::List { +static extension-member method Foo|foo8Prime() → () → core::List { throw ""; } -static method Foo|foo9() → (invalid-type) → void {} -static method Foo|foo9Prime() → (core::List) → void {} -static method Foo|foo10(() → invalid-type Function) → void {} -static method Foo|foo10Prime(() → core::List Function) → void {} -static method Foo|foo11((dynamic) → void Function) → void {} -static method Foo|foo12((invalid-type) → void b) → void {} -static method Foo|foo12Prime((core::List) → void b) → void {} -static method Foo|foo13((invalid-type) → void Function) → void {} -static method Foo|foo13Prime((core::List) → void Function) → void {} +static extension-member method Foo|foo9() → (invalid-type) → void {} +static extension-member method Foo|foo9Prime() → (core::List) → void {} +static extension-member method Foo|foo10(() → invalid-type Function) → void {} +static extension-member method Foo|foo10Prime(() → core::List Function) → void {} +static extension-member method Foo|foo11((dynamic) → void Function) → void {} +static extension-member method Foo|foo12((invalid-type) → void b) → void {} +static extension-member method Foo|foo12Prime((core::List) → void b) → void {} +static extension-member method Foo|foo13((invalid-type) → void Function) → void {} +static extension-member method Foo|foo13Prime((core::List) → void Function) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.strong.transformed.expect b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.strong.transformed.expect index e15e9913afa..f4d1d74bf9c 100644 --- a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.strong.transformed.expect @@ -151,15 +151,15 @@ late static field invalid-type Foo|foo14; late static field core::List Foo|foo14Prime; late static field (invalid-type) → invalid-type Foo|foo15; late static field (core::List) → core::List Foo|foo15Prime; -static method Foo|foo1() → invalid-type { +static extension-member method Foo|foo1() → invalid-type { throw ""; } -static method Foo|foo1Prime() → core::List { +static extension-member method Foo|foo1Prime() → core::List { throw ""; } -static method Foo|foo2(invalid-type x) → void {} -static method Foo|foo2Prime(core::List x) → void {} -static method Foo|foo3() → void { +static extension-member method Foo|foo2(invalid-type x) → void {} +static extension-member method Foo|foo2Prime(core::List x) → void {} +static extension-member method Foo|foo3() → void { invalid-type foo4; core::List foo4Prime; function foo5(invalid-type y) → void @@ -173,19 +173,19 @@ static method Foo|foo3() → void { (invalid-type) → void foo7 = (invalid-type y) → void => y; (core::List) → void foo7Prime = (core::List y) → void => y; } -static method Foo|foo8() → () → invalid-type { +static extension-member method Foo|foo8() → () → invalid-type { throw ""; } -static method Foo|foo8Prime() → () → core::List { +static extension-member method Foo|foo8Prime() → () → core::List { throw ""; } -static method Foo|foo9() → (invalid-type) → void {} -static method Foo|foo9Prime() → (core::List) → void {} -static method Foo|foo10(() → invalid-type Function) → void {} -static method Foo|foo10Prime(() → core::List Function) → void {} -static method Foo|foo11((dynamic) → void Function) → void {} -static method Foo|foo12((invalid-type) → void b) → void {} -static method Foo|foo12Prime((core::List) → void b) → void {} -static method Foo|foo13((invalid-type) → void Function) → void {} -static method Foo|foo13Prime((core::List) → void Function) → void {} +static extension-member method Foo|foo9() → (invalid-type) → void {} +static extension-member method Foo|foo9Prime() → (core::List) → void {} +static extension-member method Foo|foo10(() → invalid-type Function) → void {} +static extension-member method Foo|foo10Prime(() → core::List Function) → void {} +static extension-member method Foo|foo11((dynamic) → void Function) → void {} +static extension-member method Foo|foo12((invalid-type) → void b) → void {} +static extension-member method Foo|foo12Prime((core::List) → void b) → void {} +static extension-member method Foo|foo13((invalid-type) → void Function) → void {} +static extension-member method Foo|foo13Prime((core::List) → void Function) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.expect b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.expect index e15e9913afa..f4d1d74bf9c 100644 --- a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.expect +++ b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.expect @@ -151,15 +151,15 @@ late static field invalid-type Foo|foo14; late static field core::List Foo|foo14Prime; late static field (invalid-type) → invalid-type Foo|foo15; late static field (core::List) → core::List Foo|foo15Prime; -static method Foo|foo1() → invalid-type { +static extension-member method Foo|foo1() → invalid-type { throw ""; } -static method Foo|foo1Prime() → core::List { +static extension-member method Foo|foo1Prime() → core::List { throw ""; } -static method Foo|foo2(invalid-type x) → void {} -static method Foo|foo2Prime(core::List x) → void {} -static method Foo|foo3() → void { +static extension-member method Foo|foo2(invalid-type x) → void {} +static extension-member method Foo|foo2Prime(core::List x) → void {} +static extension-member method Foo|foo3() → void { invalid-type foo4; core::List foo4Prime; function foo5(invalid-type y) → void @@ -173,19 +173,19 @@ static method Foo|foo3() → void { (invalid-type) → void foo7 = (invalid-type y) → void => y; (core::List) → void foo7Prime = (core::List y) → void => y; } -static method Foo|foo8() → () → invalid-type { +static extension-member method Foo|foo8() → () → invalid-type { throw ""; } -static method Foo|foo8Prime() → () → core::List { +static extension-member method Foo|foo8Prime() → () → core::List { throw ""; } -static method Foo|foo9() → (invalid-type) → void {} -static method Foo|foo9Prime() → (core::List) → void {} -static method Foo|foo10(() → invalid-type Function) → void {} -static method Foo|foo10Prime(() → core::List Function) → void {} -static method Foo|foo11((dynamic) → void Function) → void {} -static method Foo|foo12((invalid-type) → void b) → void {} -static method Foo|foo12Prime((core::List) → void b) → void {} -static method Foo|foo13((invalid-type) → void Function) → void {} -static method Foo|foo13Prime((core::List) → void Function) → void {} +static extension-member method Foo|foo9() → (invalid-type) → void {} +static extension-member method Foo|foo9Prime() → (core::List) → void {} +static extension-member method Foo|foo10(() → invalid-type Function) → void {} +static extension-member method Foo|foo10Prime(() → core::List Function) → void {} +static extension-member method Foo|foo11((dynamic) → void Function) → void {} +static extension-member method Foo|foo12((invalid-type) → void b) → void {} +static extension-member method Foo|foo12Prime((core::List) → void b) → void {} +static extension-member method Foo|foo13((invalid-type) → void Function) → void {} +static extension-member method Foo|foo13Prime((core::List) → void Function) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.modular.expect b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.modular.expect index e15e9913afa..f4d1d74bf9c 100644 --- a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.modular.expect @@ -151,15 +151,15 @@ late static field invalid-type Foo|foo14; late static field core::List Foo|foo14Prime; late static field (invalid-type) → invalid-type Foo|foo15; late static field (core::List) → core::List Foo|foo15Prime; -static method Foo|foo1() → invalid-type { +static extension-member method Foo|foo1() → invalid-type { throw ""; } -static method Foo|foo1Prime() → core::List { +static extension-member method Foo|foo1Prime() → core::List { throw ""; } -static method Foo|foo2(invalid-type x) → void {} -static method Foo|foo2Prime(core::List x) → void {} -static method Foo|foo3() → void { +static extension-member method Foo|foo2(invalid-type x) → void {} +static extension-member method Foo|foo2Prime(core::List x) → void {} +static extension-member method Foo|foo3() → void { invalid-type foo4; core::List foo4Prime; function foo5(invalid-type y) → void @@ -173,19 +173,19 @@ static method Foo|foo3() → void { (invalid-type) → void foo7 = (invalid-type y) → void => y; (core::List) → void foo7Prime = (core::List y) → void => y; } -static method Foo|foo8() → () → invalid-type { +static extension-member method Foo|foo8() → () → invalid-type { throw ""; } -static method Foo|foo8Prime() → () → core::List { +static extension-member method Foo|foo8Prime() → () → core::List { throw ""; } -static method Foo|foo9() → (invalid-type) → void {} -static method Foo|foo9Prime() → (core::List) → void {} -static method Foo|foo10(() → invalid-type Function) → void {} -static method Foo|foo10Prime(() → core::List Function) → void {} -static method Foo|foo11((dynamic) → void Function) → void {} -static method Foo|foo12((invalid-type) → void b) → void {} -static method Foo|foo12Prime((core::List) → void b) → void {} -static method Foo|foo13((invalid-type) → void Function) → void {} -static method Foo|foo13Prime((core::List) → void Function) → void {} +static extension-member method Foo|foo9() → (invalid-type) → void {} +static extension-member method Foo|foo9Prime() → (core::List) → void {} +static extension-member method Foo|foo10(() → invalid-type Function) → void {} +static extension-member method Foo|foo10Prime(() → core::List Function) → void {} +static extension-member method Foo|foo11((dynamic) → void Function) → void {} +static extension-member method Foo|foo12((invalid-type) → void b) → void {} +static extension-member method Foo|foo12Prime((core::List) → void b) → void {} +static extension-member method Foo|foo13((invalid-type) → void Function) → void {} +static extension-member method Foo|foo13Prime((core::List) → void Function) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.outline.expect b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.outline.expect index a67088bc711..0515a074700 100644 --- a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.outline.expect @@ -111,37 +111,37 @@ late static field invalid-type Foo|foo14; late static field core::List Foo|foo14Prime; late static field (invalid-type) → invalid-type Foo|foo15; late static field (core::List) → core::List Foo|foo15Prime; -static method Foo|foo1() → invalid-type +static extension-member method Foo|foo1() → invalid-type ; -static method Foo|foo1Prime() → core::List +static extension-member method Foo|foo1Prime() → core::List ; -static method Foo|foo2(invalid-type x) → void +static extension-member method Foo|foo2(invalid-type x) → void ; -static method Foo|foo2Prime(core::List x) → void +static extension-member method Foo|foo2Prime(core::List x) → void ; -static method Foo|foo3() → void +static extension-member method Foo|foo3() → void ; -static method Foo|foo8() → () → invalid-type +static extension-member method Foo|foo8() → () → invalid-type ; -static method Foo|foo8Prime() → () → core::List +static extension-member method Foo|foo8Prime() → () → core::List ; -static method Foo|foo9() → (invalid-type) → void +static extension-member method Foo|foo9() → (invalid-type) → void ; -static method Foo|foo9Prime() → (core::List) → void +static extension-member method Foo|foo9Prime() → (core::List) → void ; -static method Foo|foo10(() → invalid-type Function) → void +static extension-member method Foo|foo10(() → invalid-type Function) → void ; -static method Foo|foo10Prime(() → core::List Function) → void +static extension-member method Foo|foo10Prime(() → core::List Function) → void ; -static method Foo|foo11((dynamic) → void Function) → void +static extension-member method Foo|foo11((dynamic) → void Function) → void ; -static method Foo|foo12((invalid-type) → void b) → void +static extension-member method Foo|foo12((invalid-type) → void b) → void ; -static method Foo|foo12Prime((core::List) → void b) → void +static extension-member method Foo|foo12Prime((core::List) → void b) → void ; -static method Foo|foo13((invalid-type) → void Function) → void +static extension-member method Foo|foo13((invalid-type) → void Function) → void ; -static method Foo|foo13Prime((core::List) → void Function) → void +static extension-member method Foo|foo13Prime((core::List) → void Function) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.transformed.expect index e15e9913afa..f4d1d74bf9c 100644 --- a/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/type_parameter_usage_in_static_method_in_extension.dart.weak.transformed.expect @@ -151,15 +151,15 @@ late static field invalid-type Foo|foo14; late static field core::List Foo|foo14Prime; late static field (invalid-type) → invalid-type Foo|foo15; late static field (core::List) → core::List Foo|foo15Prime; -static method Foo|foo1() → invalid-type { +static extension-member method Foo|foo1() → invalid-type { throw ""; } -static method Foo|foo1Prime() → core::List { +static extension-member method Foo|foo1Prime() → core::List { throw ""; } -static method Foo|foo2(invalid-type x) → void {} -static method Foo|foo2Prime(core::List x) → void {} -static method Foo|foo3() → void { +static extension-member method Foo|foo2(invalid-type x) → void {} +static extension-member method Foo|foo2Prime(core::List x) → void {} +static extension-member method Foo|foo3() → void { invalid-type foo4; core::List foo4Prime; function foo5(invalid-type y) → void @@ -173,19 +173,19 @@ static method Foo|foo3() → void { (invalid-type) → void foo7 = (invalid-type y) → void => y; (core::List) → void foo7Prime = (core::List y) → void => y; } -static method Foo|foo8() → () → invalid-type { +static extension-member method Foo|foo8() → () → invalid-type { throw ""; } -static method Foo|foo8Prime() → () → core::List { +static extension-member method Foo|foo8Prime() → () → core::List { throw ""; } -static method Foo|foo9() → (invalid-type) → void {} -static method Foo|foo9Prime() → (core::List) → void {} -static method Foo|foo10(() → invalid-type Function) → void {} -static method Foo|foo10Prime(() → core::List Function) → void {} -static method Foo|foo11((dynamic) → void Function) → void {} -static method Foo|foo12((invalid-type) → void b) → void {} -static method Foo|foo12Prime((core::List) → void b) → void {} -static method Foo|foo13((invalid-type) → void Function) → void {} -static method Foo|foo13Prime((core::List) → void Function) → void {} +static extension-member method Foo|foo9() → (invalid-type) → void {} +static extension-member method Foo|foo9Prime() → (core::List) → void {} +static extension-member method Foo|foo10(() → invalid-type Function) → void {} +static extension-member method Foo|foo10Prime(() → core::List Function) → void {} +static extension-member method Foo|foo11((dynamic) → void Function) → void {} +static extension-member method Foo|foo12((invalid-type) → void b) → void {} +static extension-member method Foo|foo12Prime((core::List) → void b) → void {} +static extension-member method Foo|foo13((invalid-type) → void Function) → void {} +static extension-member method Foo|foo13Prime((core::List) → void Function) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_variable_annotations.dart.strong.expect b/pkg/front_end/testcases/general/type_variable_annotations.dart.strong.expect index 9fbfb197a57..4ff0977cd68 100644 --- a/pkg/front_end/testcases/general/type_variable_annotations.dart.strong.expect +++ b/pkg/front_end/testcases/general/type_variable_annotations.dart.strong.expect @@ -21,8 +21,8 @@ extension Extension<@#C1 T extends core::Object? = dynamic> on T% { tearoff method = self::Extension|get#method; } static method method<@#C1 T extends core::Object? = dynamic>() → void {} -static method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} -static method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void +static extension-member method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} +static extension-member method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void return () → void => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_variable_annotations.dart.strong.transformed.expect b/pkg/front_end/testcases/general/type_variable_annotations.dart.strong.transformed.expect index 9fbfb197a57..4ff0977cd68 100644 --- a/pkg/front_end/testcases/general/type_variable_annotations.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/type_variable_annotations.dart.strong.transformed.expect @@ -21,8 +21,8 @@ extension Extension<@#C1 T extends core::Object? = dynamic> on T% { tearoff method = self::Extension|get#method; } static method method<@#C1 T extends core::Object? = dynamic>() → void {} -static method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} -static method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void +static extension-member method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} +static extension-member method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void return () → void => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.expect b/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.expect index 9fbfb197a57..4ff0977cd68 100644 --- a/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.expect +++ b/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.expect @@ -21,8 +21,8 @@ extension Extension<@#C1 T extends core::Object? = dynamic> on T% { tearoff method = self::Extension|get#method; } static method method<@#C1 T extends core::Object? = dynamic>() → void {} -static method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} -static method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void +static extension-member method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} +static extension-member method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void return () → void => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.modular.expect b/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.modular.expect index 9fbfb197a57..4ff0977cd68 100644 --- a/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.modular.expect @@ -21,8 +21,8 @@ extension Extension<@#C1 T extends core::Object? = dynamic> on T% { tearoff method = self::Extension|get#method; } static method method<@#C1 T extends core::Object? = dynamic>() → void {} -static method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} -static method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void +static extension-member method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} +static extension-member method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void return () → void => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.outline.expect b/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.outline.expect index b193453b66d..8bc67b5fe13 100644 --- a/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.outline.expect @@ -20,9 +20,9 @@ extension Extension<@self::A::•() T extends core::Object? = dynamic> on T% { } static method method<@self::A::•() T extends core::Object? = dynamic>() → void ; -static method Extension|method<#T extends core::Object? = dynamic, @self::A::•() T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void +static extension-member method Extension|method<#T extends core::Object? = dynamic, @self::A::•() T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void ; -static method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void +static extension-member method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void return () → void => self::Extension|method(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.transformed.expect b/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.transformed.expect index 9fbfb197a57..4ff0977cd68 100644 --- a/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/type_variable_annotations.dart.weak.transformed.expect @@ -21,8 +21,8 @@ extension Extension<@#C1 T extends core::Object? = dynamic> on T% { tearoff method = self::Extension|get#method; } static method method<@#C1 T extends core::Object? = dynamic>() → void {} -static method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} -static method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void +static extension-member method Extension|method<#T extends core::Object? = dynamic, @#C1 T extends core::Object? = dynamic>(lowered final self::Extension|method::#T% #this) → void {} +static extension-member method Extension|get#method<#T extends core::Object? = dynamic>(lowered final self::Extension|get#method::#T% #this) → () → void return () → void => self::Extension|method(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.strong.expect b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.strong.expect index 612f7488fd8..a87d42d5aa2 100644 --- a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.strong.expect +++ b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.strong.expect @@ -588,7 +588,7 @@ static field invalid-type Extension|field1; @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:115:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|staticMethod(invalid-type arg) → invalid-type { +static extension-member method Extension|staticMethod(invalid-type arg) → invalid-type { invalid-type local; #C4; function fun() → void {} @@ -596,11 +596,11 @@ static method Extension|staticMethod(invalid-type arg) @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:122:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { +static extension-member method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { self::Extension|instanceMethod::T%; return t; } -static method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% +static extension-member method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% return (self::Extension|get#instanceMethod::T% t) → self::Extension|get#instanceMethod::T% => self::Extension|instanceMethod(#this, t); static method main() → dynamic {} static method _#B#new#tearOff() → self::Class diff --git a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.strong.transformed.expect b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.strong.transformed.expect index fe78fde00c2..503c1782a09 100644 --- a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.strong.transformed.expect @@ -588,7 +588,7 @@ static field invalid-type Extension|field1; @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:115:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|staticMethod(invalid-type arg) → invalid-type { +static extension-member method Extension|staticMethod(invalid-type arg) → invalid-type { invalid-type local; #C4; function fun() → void {} @@ -596,11 +596,11 @@ static method Extension|staticMethod(invalid-type arg) @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:122:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { +static extension-member method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { self::Extension|instanceMethod::T%; return t; } -static method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% +static extension-member method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% return (self::Extension|get#instanceMethod::T% t) → self::Extension|get#instanceMethod::T% => self::Extension|instanceMethod(#this, t); static method main() → dynamic {} static method _#B#new#tearOff() → self::Class diff --git a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.expect b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.expect index 3f282e2bc4e..40e5c8cee38 100644 --- a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.expect +++ b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.expect @@ -588,7 +588,7 @@ static field invalid-type Extension|field1; @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:115:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|staticMethod(invalid-type arg) → invalid-type { +static extension-member method Extension|staticMethod(invalid-type arg) → invalid-type { invalid-type local; #C4; function fun() → void {} @@ -596,11 +596,11 @@ static method Extension|staticMethod(invalid-type arg) @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:122:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { +static extension-member method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { self::Extension|instanceMethod::T%; return t; } -static method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% +static extension-member method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% return (self::Extension|get#instanceMethod::T% t) → self::Extension|get#instanceMethod::T% => self::Extension|instanceMethod(#this, t); static method main() → dynamic {} static method _#B#new#tearOff() → self::Class diff --git a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.modular.expect b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.modular.expect index 3f282e2bc4e..40e5c8cee38 100644 --- a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.modular.expect @@ -588,7 +588,7 @@ static field invalid-type Extension|field1; @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:115:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|staticMethod(invalid-type arg) → invalid-type { +static extension-member method Extension|staticMethod(invalid-type arg) → invalid-type { invalid-type local; #C4; function fun() → void {} @@ -596,11 +596,11 @@ static method Extension|staticMethod(invalid-type arg) @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:122:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { +static extension-member method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { self::Extension|instanceMethod::T%; return t; } -static method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% +static extension-member method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% return (self::Extension|get#instanceMethod::T% t) → self::Extension|get#instanceMethod::T% => self::Extension|instanceMethod(#this, t); static method main() → dynamic {} static method _#B#new#tearOff() → self::Class diff --git a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.outline.expect b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.outline.expect index 1e15d96afa6..c71ffb396f3 100644 --- a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.outline.expect @@ -360,14 +360,14 @@ static field invalid-type Extension|field1; @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:115:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|staticMethod(invalid-type arg) → invalid-type +static extension-member method Extension|staticMethod(invalid-type arg) → invalid-type ; @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:122:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% +static extension-member method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% ; -static method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% +static extension-member method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% return (self::Extension|get#instanceMethod::T% t) → self::Extension|get#instanceMethod::T% => self::Extension|instanceMethod(#this, t); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.transformed.expect b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.transformed.expect index 5c7afde60f9..673e4230194 100644 --- a/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/type_variable_in_static_context.dart.weak.transformed.expect @@ -588,7 +588,7 @@ static field invalid-type Extension|field1; @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:115:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|staticMethod(invalid-type arg) → invalid-type { +static extension-member method Extension|staticMethod(invalid-type arg) → invalid-type { invalid-type local; #C4; function fun() → void {} @@ -596,11 +596,11 @@ static method Extension|staticMethod(invalid-type arg) @invalid-expression "pkg/front_end/testcases/general/type_variable_in_static_context.dart:122:4: Error: Couldn't find constructor 'T'. @T() ^" -static method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { +static extension-member method Extension|instanceMethod(lowered final self::Extension|instanceMethod::T% #this, self::Extension|instanceMethod::T% t) → self::Extension|instanceMethod::T% { self::Extension|instanceMethod::T%; return t; } -static method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% +static extension-member method Extension|get#instanceMethod(lowered final self::Extension|get#instanceMethod::T% #this) → (self::Extension|get#instanceMethod::T%) → self::Extension|get#instanceMethod::T% return (self::Extension|get#instanceMethod::T% t) → self::Extension|get#instanceMethod::T% => self::Extension|instanceMethod(#this, t); static method main() → dynamic {} static method _#B#new#tearOff() → self::Class diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.strong.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.strong.expect index dc0be3c9ad4..0176282c6a6 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.strong.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.strong.expect @@ -107,14 +107,14 @@ extension E*> on self::A* { tearoff bazOfE = self::E|get#bazOfE; } static field self::A* E|fieldOfE; -static method E|fooOfE*>(lowered final self::A* #this) → self::A* +static extension-member method E|fooOfE*>(lowered final self::A* #this) → self::A* return null; -static method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* +static extension-member method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* return () → self::A* => self::E|fooOfE(#this); -static method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} -static method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void +static extension-member method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} +static extension-member method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void return (self::A* a) → void => self::E|barOfE(#this, a); -static method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} -static method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void +static extension-member method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} +static extension-member method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void return *>() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.strong.transformed.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.strong.transformed.expect index dc0be3c9ad4..0176282c6a6 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.strong.transformed.expect @@ -107,14 +107,14 @@ extension E*> on self::A* { tearoff bazOfE = self::E|get#bazOfE; } static field self::A* E|fieldOfE; -static method E|fooOfE*>(lowered final self::A* #this) → self::A* +static extension-member method E|fooOfE*>(lowered final self::A* #this) → self::A* return null; -static method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* +static extension-member method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* return () → self::A* => self::E|fooOfE(#this); -static method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} -static method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void +static extension-member method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} +static extension-member method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void return (self::A* a) → void => self::E|barOfE(#this, a); -static method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} -static method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void +static extension-member method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} +static extension-member method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void return *>() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.expect index 612fe6279fa..98d609dbd53 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.expect @@ -103,14 +103,14 @@ extension E*> on self::A* { tearoff bazOfE = self::E|get#bazOfE; } static field self::A* E|fieldOfE; -static method E|fooOfE*>(lowered final self::A* #this) → self::A* +static extension-member method E|fooOfE*>(lowered final self::A* #this) → self::A* return null; -static method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* +static extension-member method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* return () → self::A* => self::E|fooOfE(#this); -static method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} -static method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void +static extension-member method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} +static extension-member method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void return (self::A* a) → void => self::E|barOfE(#this, a); -static method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} -static method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void +static extension-member method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} +static extension-member method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void return *>() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.modular.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.modular.expect index 612fe6279fa..98d609dbd53 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.modular.expect @@ -103,14 +103,14 @@ extension E*> on self::A* { tearoff bazOfE = self::E|get#bazOfE; } static field self::A* E|fieldOfE; -static method E|fooOfE*>(lowered final self::A* #this) → self::A* +static extension-member method E|fooOfE*>(lowered final self::A* #this) → self::A* return null; -static method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* +static extension-member method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* return () → self::A* => self::E|fooOfE(#this); -static method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} -static method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void +static extension-member method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} +static extension-member method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void return (self::A* a) → void => self::E|barOfE(#this, a); -static method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} -static method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void +static extension-member method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} +static extension-member method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void return *>() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.outline.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.outline.expect index 5e98f62388f..6fb32b92c91 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.outline.expect @@ -101,17 +101,17 @@ extension E*> on self::A* { tearoff bazOfE = self::E|get#bazOfE; } static field self::A* E|fieldOfE; -static method E|fooOfE*>(lowered final self::A* #this) → self::A* +static extension-member method E|fooOfE*>(lowered final self::A* #this) → self::A* ; -static method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* +static extension-member method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* return () → self::A* => self::E|fooOfE(#this); -static method E|barOfE*>(lowered final self::A* #this, self::A* a) → void +static extension-member method E|barOfE*>(lowered final self::A* #this, self::A* a) → void ; -static method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void +static extension-member method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void return (self::A* a) → void => self::E|barOfE(#this, a); -static method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void +static extension-member method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void ; -static method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void +static extension-member method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void return *>() → void => self::E|bazOfE(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.transformed.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.transformed.expect index 612fe6279fa..98d609dbd53 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline.dart.weak.transformed.expect @@ -103,14 +103,14 @@ extension E*> on self::A* { tearoff bazOfE = self::E|get#bazOfE; } static field self::A* E|fieldOfE; -static method E|fooOfE*>(lowered final self::A* #this) → self::A* +static extension-member method E|fooOfE*>(lowered final self::A* #this) → self::A* return null; -static method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* +static extension-member method E|get#fooOfE*>(lowered final self::A* #this) → () →* self::A* return () → self::A* => self::E|fooOfE(#this); -static method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} -static method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void +static extension-member method E|barOfE*>(lowered final self::A* #this, self::A* a) → void {} +static extension-member method E|get#barOfE*>(lowered final self::A* #this) → (self::A*) →* void return (self::A* a) → void => self::E|barOfE(#this, a); -static method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} -static method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void +static extension-member method E|bazOfE*, Y extends self::A*>(lowered final self::A* #this) → void {} +static extension-member method E|get#bazOfE*>(lowered final self::A* #this) → *>() →* void return *>() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.strong.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.strong.expect index 9bd06ab747e..060554dbe35 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.strong.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.strong.expect @@ -83,14 +83,14 @@ extension E> on self::A { tearoff bazOfE = self::E|get#bazOfE; } static field self::A? E|fieldOfE; -static method E|fooOfE>(lowered final self::A #this) → self::A? +static extension-member method E|fooOfE>(lowered final self::A #this) → self::A? return null; -static method E|get#fooOfE>(lowered final self::A #this) → () → self::A? +static extension-member method E|get#fooOfE>(lowered final self::A #this) → () → self::A? return () → self::A? => self::E|fooOfE(#this); -static method E|barOfE>(lowered final self::A #this, self::A a) → void {} -static method E|get#barOfE>(lowered final self::A #this) → (self::A) → void +static extension-member method E|barOfE>(lowered final self::A #this, self::A a) → void {} +static extension-member method E|get#barOfE>(lowered final self::A #this) → (self::A) → void return (self::A a) → void => self::E|barOfE(#this, a); -static method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} -static method E|get#bazOfE>(lowered final self::A #this) → >() → void +static extension-member method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} +static extension-member method E|get#bazOfE>(lowered final self::A #this) → >() → void return >() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.strong.transformed.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.strong.transformed.expect index 9bd06ab747e..060554dbe35 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.strong.transformed.expect @@ -83,14 +83,14 @@ extension E> on self::A { tearoff bazOfE = self::E|get#bazOfE; } static field self::A? E|fieldOfE; -static method E|fooOfE>(lowered final self::A #this) → self::A? +static extension-member method E|fooOfE>(lowered final self::A #this) → self::A? return null; -static method E|get#fooOfE>(lowered final self::A #this) → () → self::A? +static extension-member method E|get#fooOfE>(lowered final self::A #this) → () → self::A? return () → self::A? => self::E|fooOfE(#this); -static method E|barOfE>(lowered final self::A #this, self::A a) → void {} -static method E|get#barOfE>(lowered final self::A #this) → (self::A) → void +static extension-member method E|barOfE>(lowered final self::A #this, self::A a) → void {} +static extension-member method E|get#barOfE>(lowered final self::A #this) → (self::A) → void return (self::A a) → void => self::E|barOfE(#this, a); -static method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} -static method E|get#bazOfE>(lowered final self::A #this) → >() → void +static extension-member method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} +static extension-member method E|get#bazOfE>(lowered final self::A #this) → >() → void return >() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.expect index 9bd06ab747e..060554dbe35 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.expect @@ -83,14 +83,14 @@ extension E> on self::A { tearoff bazOfE = self::E|get#bazOfE; } static field self::A? E|fieldOfE; -static method E|fooOfE>(lowered final self::A #this) → self::A? +static extension-member method E|fooOfE>(lowered final self::A #this) → self::A? return null; -static method E|get#fooOfE>(lowered final self::A #this) → () → self::A? +static extension-member method E|get#fooOfE>(lowered final self::A #this) → () → self::A? return () → self::A? => self::E|fooOfE(#this); -static method E|barOfE>(lowered final self::A #this, self::A a) → void {} -static method E|get#barOfE>(lowered final self::A #this) → (self::A) → void +static extension-member method E|barOfE>(lowered final self::A #this, self::A a) → void {} +static extension-member method E|get#barOfE>(lowered final self::A #this) → (self::A) → void return (self::A a) → void => self::E|barOfE(#this, a); -static method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} -static method E|get#bazOfE>(lowered final self::A #this) → >() → void +static extension-member method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} +static extension-member method E|get#bazOfE>(lowered final self::A #this) → >() → void return >() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.modular.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.modular.expect index 9bd06ab747e..060554dbe35 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.modular.expect @@ -83,14 +83,14 @@ extension E> on self::A { tearoff bazOfE = self::E|get#bazOfE; } static field self::A? E|fieldOfE; -static method E|fooOfE>(lowered final self::A #this) → self::A? +static extension-member method E|fooOfE>(lowered final self::A #this) → self::A? return null; -static method E|get#fooOfE>(lowered final self::A #this) → () → self::A? +static extension-member method E|get#fooOfE>(lowered final self::A #this) → () → self::A? return () → self::A? => self::E|fooOfE(#this); -static method E|barOfE>(lowered final self::A #this, self::A a) → void {} -static method E|get#barOfE>(lowered final self::A #this) → (self::A) → void +static extension-member method E|barOfE>(lowered final self::A #this, self::A a) → void {} +static extension-member method E|get#barOfE>(lowered final self::A #this) → (self::A) → void return (self::A a) → void => self::E|barOfE(#this, a); -static method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} -static method E|get#bazOfE>(lowered final self::A #this) → >() → void +static extension-member method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} +static extension-member method E|get#bazOfE>(lowered final self::A #this) → >() → void return >() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.outline.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.outline.expect index 2f7894c565d..1bf9afefe38 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.outline.expect @@ -81,17 +81,17 @@ extension E> on self::A { tearoff bazOfE = self::E|get#bazOfE; } static field self::A? E|fieldOfE; -static method E|fooOfE>(lowered final self::A #this) → self::A? +static extension-member method E|fooOfE>(lowered final self::A #this) → self::A? ; -static method E|get#fooOfE>(lowered final self::A #this) → () → self::A? +static extension-member method E|get#fooOfE>(lowered final self::A #this) → () → self::A? return () → self::A? => self::E|fooOfE(#this); -static method E|barOfE>(lowered final self::A #this, self::A a) → void +static extension-member method E|barOfE>(lowered final self::A #this, self::A a) → void ; -static method E|get#barOfE>(lowered final self::A #this) → (self::A) → void +static extension-member method E|get#barOfE>(lowered final self::A #this) → (self::A) → void return (self::A a) → void => self::E|barOfE(#this, a); -static method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void +static extension-member method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void ; -static method E|get#bazOfE>(lowered final self::A #this) → >() → void +static extension-member method E|get#bazOfE>(lowered final self::A #this) → >() → void return >() → void => self::E|bazOfE(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.transformed.expect b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.transformed.expect index 9bd06ab747e..060554dbe35 100644 --- a/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/well_boundness_checks_in_outline2.dart.weak.transformed.expect @@ -83,14 +83,14 @@ extension E> on self::A { tearoff bazOfE = self::E|get#bazOfE; } static field self::A? E|fieldOfE; -static method E|fooOfE>(lowered final self::A #this) → self::A? +static extension-member method E|fooOfE>(lowered final self::A #this) → self::A? return null; -static method E|get#fooOfE>(lowered final self::A #this) → () → self::A? +static extension-member method E|get#fooOfE>(lowered final self::A #this) → () → self::A? return () → self::A? => self::E|fooOfE(#this); -static method E|barOfE>(lowered final self::A #this, self::A a) → void {} -static method E|get#barOfE>(lowered final self::A #this) → (self::A) → void +static extension-member method E|barOfE>(lowered final self::A #this, self::A a) → void {} +static extension-member method E|get#barOfE>(lowered final self::A #this) → (self::A) → void return (self::A a) → void => self::E|barOfE(#this, a); -static method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} -static method E|get#bazOfE>(lowered final self::A #this) → >() → void +static extension-member method E|bazOfE, Y extends self::A>(lowered final self::A #this) → void {} +static extension-member method E|get#bazOfE>(lowered final self::A #this) → >() → void return >() → void => self::E|bazOfE(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.strong.expect b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.strong.expect index 2d7ed13e938..11ea33f3ca3 100644 --- a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.strong.expect +++ b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.strong.expect @@ -24,7 +24,7 @@ extension Extension on core::String { method foo = ext::Extension|foo; tearoff foo = ext::Extension|get#foo; } -static method Extension|foo(lowered final core::String #this) → dynamic +static extension-member method Extension|foo(lowered final core::String #this) → dynamic return 42; -static method Extension|get#foo(lowered final core::String #this) → () → dynamic +static extension-member method Extension|get#foo(lowered final core::String #this) → () → dynamic return () → dynamic => ext::Extension|foo(#this); diff --git a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.strong.transformed.expect b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.strong.transformed.expect index 2d7ed13e938..11ea33f3ca3 100644 --- a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.strong.transformed.expect @@ -24,7 +24,7 @@ extension Extension on core::String { method foo = ext::Extension|foo; tearoff foo = ext::Extension|get#foo; } -static method Extension|foo(lowered final core::String #this) → dynamic +static extension-member method Extension|foo(lowered final core::String #this) → dynamic return 42; -static method Extension|get#foo(lowered final core::String #this) → () → dynamic +static extension-member method Extension|get#foo(lowered final core::String #this) → () → dynamic return () → dynamic => ext::Extension|foo(#this); diff --git a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.expect b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.expect index 2d7ed13e938..11ea33f3ca3 100644 --- a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.expect +++ b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.expect @@ -24,7 +24,7 @@ extension Extension on core::String { method foo = ext::Extension|foo; tearoff foo = ext::Extension|get#foo; } -static method Extension|foo(lowered final core::String #this) → dynamic +static extension-member method Extension|foo(lowered final core::String #this) → dynamic return 42; -static method Extension|get#foo(lowered final core::String #this) → () → dynamic +static extension-member method Extension|get#foo(lowered final core::String #this) → () → dynamic return () → dynamic => ext::Extension|foo(#this); diff --git a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.outline.expect b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.outline.expect index 5e25cef7c9b..806bb1111c6 100644 --- a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.outline.expect @@ -22,7 +22,7 @@ extension Extension on core::String { method foo = ext::Extension|foo; tearoff foo = ext::Extension|get#foo; } -static method Extension|foo(lowered final core::String #this) → dynamic +static extension-member method Extension|foo(lowered final core::String #this) → dynamic ; -static method Extension|get#foo(lowered final core::String #this) → () → dynamic +static extension-member method Extension|get#foo(lowered final core::String #this) → () → dynamic return () → dynamic => ext::Extension|foo(#this); diff --git a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.transformed.expect b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.transformed.expect index 2d7ed13e938..11ea33f3ca3 100644 --- a/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/with_dependencies/extension_from_dill/extension_from_dill.dart.weak.transformed.expect @@ -24,7 +24,7 @@ extension Extension on core::String { method foo = ext::Extension|foo; tearoff foo = ext::Extension|get#foo; } -static method Extension|foo(lowered final core::String #this) → dynamic +static extension-member method Extension|foo(lowered final core::String #this) → dynamic return 42; -static method Extension|get#foo(lowered final core::String #this) → () → dynamic +static extension-member method Extension|get#foo(lowered final core::String #this) → () → dynamic return () → dynamic => ext::Extension|foo(#this); diff --git a/pkg/front_end/testcases/incremental/extension_expression_compilation_usage.yaml.world.1.expect b/pkg/front_end/testcases/incremental/extension_expression_compilation_usage.yaml.world.1.expect index 02d4ea6e076..ff3c2565919 100644 --- a/pkg/front_end/testcases/incremental/extension_expression_compilation_usage.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/extension_expression_compilation_usage.yaml.world.1.expect @@ -5,9 +5,9 @@ library from "org-dartlang-test:///main.dart" as main { method parseInt = main::NumberParsing|parseInt; tearoff parseInt = main::NumberParsing|get#parseInt; } - static method NumberParsing|parseInt(lowered final dart.core::String #this) → dart.core::int { + static extension-member method NumberParsing|parseInt(lowered final dart.core::String #this) → dart.core::int { return dart.core::int::parse(#this); } - static method NumberParsing|get#parseInt(lowered final dart.core::String #this) → () → dart.core::int + static extension-member method NumberParsing|get#parseInt(lowered final dart.core::String #this) → () → dart.core::int return () → dart.core::int => main::NumberParsing|parseInt(#this); } diff --git a/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.1.expect b/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.1.expect index 9dde03dcfcf..e7ff789c603 100644 --- a/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.1.expect @@ -4,7 +4,7 @@ library from "org-dartlang-test:///lib1.dart" as lib1 { extension OnObject on dart.core::Object { get onObject = lib1::OnObject|get#onObject; } - static method OnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String + static extension-member method OnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String return "object #1"; } library from "org-dartlang-test:///lib2.dart" as lib2 { @@ -12,7 +12,7 @@ library from "org-dartlang-test:///lib2.dart" as lib2 { extension AlsoOnObject on dart.core::Object { get onObject = lib2::AlsoOnObject|get#onObject; } - static method AlsoOnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String + static extension-member method AlsoOnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String return "object #2"; } library from "org-dartlang-test:///main.dart" as main { diff --git a/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.2.expect b/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.2.expect index 49f8dfb615c..db7230ecbb0 100644 --- a/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.2.expect @@ -4,7 +4,7 @@ library from "org-dartlang-test:///lib1.dart" as lib1 { extension OnObject on dart.core::Object { get onObject = lib1::OnObject|get#onObject; } - static method OnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String + static extension-member method OnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String return "object #1"; } library from "org-dartlang-test:///main.dart" as main { diff --git a/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.3.expect b/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.3.expect index 9dde03dcfcf..e7ff789c603 100644 --- a/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.3.expect +++ b/pkg/front_end/testcases/incremental/extension_prefix_double_import_then_conflict.yaml.world.3.expect @@ -4,7 +4,7 @@ library from "org-dartlang-test:///lib1.dart" as lib1 { extension OnObject on dart.core::Object { get onObject = lib1::OnObject|get#onObject; } - static method OnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String + static extension-member method OnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String return "object #1"; } library from "org-dartlang-test:///lib2.dart" as lib2 { @@ -12,7 +12,7 @@ library from "org-dartlang-test:///lib2.dart" as lib2 { extension AlsoOnObject on dart.core::Object { get onObject = lib2::AlsoOnObject|get#onObject; } - static method AlsoOnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String + static extension-member method AlsoOnObject|get#onObject(lowered final dart.core::Object #this) → dart.core::String return "object #2"; } library from "org-dartlang-test:///main.dart" as main { diff --git a/pkg/front_end/testcases/incremental/extension_usage_from_dill.yaml.world.1.expect b/pkg/front_end/testcases/incremental/extension_usage_from_dill.yaml.world.1.expect index 0e3563219aa..e6b88d0a4ed 100644 --- a/pkg/front_end/testcases/incremental/extension_usage_from_dill.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/extension_usage_from_dill.yaml.world.1.expect @@ -5,10 +5,10 @@ library from "org-dartlang-test:///lib1.dart" as lib1 { method parseInt = lib1::NumberParsing|parseInt; tearoff parseInt = lib1::NumberParsing|get#parseInt; } - static method NumberParsing|parseInt(lowered final dart.core::String #this) → dart.core::int { + static extension-member method NumberParsing|parseInt(lowered final dart.core::String #this) → dart.core::int { return dart.core::int::parse(#this); } - static method NumberParsing|get#parseInt(lowered final dart.core::String #this) → () → dart.core::int + static extension-member method NumberParsing|get#parseInt(lowered final dart.core::String #this) → () → dart.core::int return () → dart.core::int => lib1::NumberParsing|parseInt(#this); } library from "org-dartlang-test:///lib2.dart" as lib2 { @@ -17,10 +17,10 @@ library from "org-dartlang-test:///lib2.dart" as lib2 { method fooMe1 = lib2::DuplicateName|fooMe1; tearoff fooMe1 = lib2::DuplicateName|get#fooMe1; } - static method DuplicateName|fooMe1(lowered final dart.core::String #this) → dart.core::String { + static extension-member method DuplicateName|fooMe1(lowered final dart.core::String #this) → dart.core::String { return "Foo1"; } - static method DuplicateName|get#fooMe1(lowered final dart.core::String #this) → () → dart.core::String + static extension-member method DuplicateName|get#fooMe1(lowered final dart.core::String #this) → () → dart.core::String return () → dart.core::String => lib2::DuplicateName|fooMe1(#this); } library from "org-dartlang-test:///lib3.dart" as lib3 { @@ -29,10 +29,10 @@ library from "org-dartlang-test:///lib3.dart" as lib3 { method fooMe2 = lib3::DuplicateName|fooMe2; tearoff fooMe2 = lib3::DuplicateName|get#fooMe2; } - static method DuplicateName|fooMe2(lowered final dart.core::String #this) → dart.core::String { + static extension-member method DuplicateName|fooMe2(lowered final dart.core::String #this) → dart.core::String { return "Foo2"; } - static method DuplicateName|get#fooMe2(lowered final dart.core::String #this) → () → dart.core::String + static extension-member method DuplicateName|get#fooMe2(lowered final dart.core::String #this) → () → dart.core::String return () → dart.core::String => lib3::DuplicateName|fooMe2(#this); } library from "org-dartlang-test:///main.dart" as main { diff --git a/pkg/front_end/testcases/incremental/extension_usage_from_dill.yaml.world.2.expect b/pkg/front_end/testcases/incremental/extension_usage_from_dill.yaml.world.2.expect index 0e3563219aa..e6b88d0a4ed 100644 --- a/pkg/front_end/testcases/incremental/extension_usage_from_dill.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/extension_usage_from_dill.yaml.world.2.expect @@ -5,10 +5,10 @@ library from "org-dartlang-test:///lib1.dart" as lib1 { method parseInt = lib1::NumberParsing|parseInt; tearoff parseInt = lib1::NumberParsing|get#parseInt; } - static method NumberParsing|parseInt(lowered final dart.core::String #this) → dart.core::int { + static extension-member method NumberParsing|parseInt(lowered final dart.core::String #this) → dart.core::int { return dart.core::int::parse(#this); } - static method NumberParsing|get#parseInt(lowered final dart.core::String #this) → () → dart.core::int + static extension-member method NumberParsing|get#parseInt(lowered final dart.core::String #this) → () → dart.core::int return () → dart.core::int => lib1::NumberParsing|parseInt(#this); } library from "org-dartlang-test:///lib2.dart" as lib2 { @@ -17,10 +17,10 @@ library from "org-dartlang-test:///lib2.dart" as lib2 { method fooMe1 = lib2::DuplicateName|fooMe1; tearoff fooMe1 = lib2::DuplicateName|get#fooMe1; } - static method DuplicateName|fooMe1(lowered final dart.core::String #this) → dart.core::String { + static extension-member method DuplicateName|fooMe1(lowered final dart.core::String #this) → dart.core::String { return "Foo1"; } - static method DuplicateName|get#fooMe1(lowered final dart.core::String #this) → () → dart.core::String + static extension-member method DuplicateName|get#fooMe1(lowered final dart.core::String #this) → () → dart.core::String return () → dart.core::String => lib2::DuplicateName|fooMe1(#this); } library from "org-dartlang-test:///lib3.dart" as lib3 { @@ -29,10 +29,10 @@ library from "org-dartlang-test:///lib3.dart" as lib3 { method fooMe2 = lib3::DuplicateName|fooMe2; tearoff fooMe2 = lib3::DuplicateName|get#fooMe2; } - static method DuplicateName|fooMe2(lowered final dart.core::String #this) → dart.core::String { + static extension-member method DuplicateName|fooMe2(lowered final dart.core::String #this) → dart.core::String { return "Foo2"; } - static method DuplicateName|get#fooMe2(lowered final dart.core::String #this) → () → dart.core::String + static extension-member method DuplicateName|get#fooMe2(lowered final dart.core::String #this) → () → dart.core::String return () → dart.core::String => lib3::DuplicateName|fooMe2(#this); } library from "org-dartlang-test:///main.dart" as main { diff --git a/pkg/front_end/testcases/incremental/external_extension_field.yaml.world.1.expect b/pkg/front_end/testcases/incremental/external_extension_field.yaml.world.1.expect index 69dd3d42662..8cd2e726a2f 100644 --- a/pkg/front_end/testcases/incremental/external_extension_field.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/external_extension_field.yaml.world.1.expect @@ -5,8 +5,8 @@ library from "org-dartlang-test:///main.dart" as main { get field = main::E|get#field; set field = main::E|set#field; } - external static method E|get#field(lowered dart.core::String #this) → dart.core::int; - external static method E|set#field(lowered dart.core::String #this, dart.core::int #externalFieldValue) → void; + external static extension-member method E|get#field(lowered dart.core::String #this) → dart.core::int; + external static extension-member method E|set#field(lowered dart.core::String #this, dart.core::int #externalFieldValue) → void; static method main() → dynamic { main::E|set#field("foo", main::E|get#field("bar")); } diff --git a/pkg/front_end/testcases/incremental/external_extension_field.yaml.world.2.expect b/pkg/front_end/testcases/incremental/external_extension_field.yaml.world.2.expect index 69dd3d42662..8cd2e726a2f 100644 --- a/pkg/front_end/testcases/incremental/external_extension_field.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/external_extension_field.yaml.world.2.expect @@ -5,8 +5,8 @@ library from "org-dartlang-test:///main.dart" as main { get field = main::E|get#field; set field = main::E|set#field; } - external static method E|get#field(lowered dart.core::String #this) → dart.core::int; - external static method E|set#field(lowered dart.core::String #this, dart.core::int #externalFieldValue) → void; + external static extension-member method E|get#field(lowered dart.core::String #this) → dart.core::int; + external static extension-member method E|set#field(lowered dart.core::String #this, dart.core::int #externalFieldValue) → void; static method main() → dynamic { main::E|set#field("foo", main::E|get#field("bar")); } diff --git a/pkg/front_end/testcases/incremental/flutter_widget_factory.yaml.world.1.expect b/pkg/front_end/testcases/incremental/flutter_widget_factory.yaml.world.1.expect index 0f30faab532..8d87880b07c 100644 --- a/pkg/front_end/testcases/incremental/flutter_widget_factory.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/flutter_widget_factory.yaml.world.1.expect @@ -80,41 +80,41 @@ library from "org-dartlang-test:///foo.dart" as foo { static const field wid::_WidgetFactory? nullableAlias = #C1; static const field wid::_WidgetFactory nonNullableAlias = #C2; @#C2 - static method FooExtension|foo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|foo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#foo(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#foo(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|foo(#this, $creationLocationd_0dea112b090073317d4: #C17); @#C2 - static method FooExtension|bar(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|bar(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#bar(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#bar(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|bar(#this, $creationLocationd_0dea112b090073317d4: #C20); @#C1 - static method FooExtension|baz(lowered final dart.core::Object? #this) → foo::Foo + static extension-member method FooExtension|baz(lowered final dart.core::Object? #this) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: #C23); - static method FooExtension|get#baz(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#baz(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|baz(#this); @#C2 - static method FooExtension|boz(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|boz(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#boz(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#boz(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|boz(#this, $creationLocationd_0dea112b090073317d4: #C26); @#C2 - static method FooExtension|constFoo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|constFoo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return #C29; - static method FooExtension|get#constFoo(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#constFoo(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|constFoo(#this, $creationLocationd_0dea112b090073317d4: #C31); @#C2 - static method FooExtension|get#getterFoo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|get#getterFoo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); @#C2 - static method FooExtension|set#setterFoo(lowered final dart.core::Object? #this, dynamic _, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → void + static extension-member method FooExtension|set#setterFoo(lowered final dart.core::Object? #this, dynamic _, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → void return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); @#C2 - static method FooExtension|unary-(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|unary-(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); @#C2 - static method FooExtension|staticFoo() → foo::Foo + static extension-member method FooExtension|staticFoo() → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: #C34); } library from "org-dartlang-test:///main.dart" as main { diff --git a/pkg/front_end/testcases/incremental/flutter_widget_factory.yaml.world.2.expect b/pkg/front_end/testcases/incremental/flutter_widget_factory.yaml.world.2.expect index 77e8b035636..935ff3cc1e1 100644 --- a/pkg/front_end/testcases/incremental/flutter_widget_factory.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/flutter_widget_factory.yaml.world.2.expect @@ -80,41 +80,41 @@ library from "org-dartlang-test:///foo.dart" as foo { static const field wid::_WidgetFactory? nullableAlias = #C1; static const field wid::_WidgetFactory nonNullableAlias = #C2; @#C2 - static method FooExtension|foo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|foo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#foo(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#foo(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|foo(#this, $creationLocationd_0dea112b090073317d4: #C17); @#C2 - static method FooExtension|bar(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|bar(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#bar(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#bar(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|bar(#this, $creationLocationd_0dea112b090073317d4: #C20); @#C1 - static method FooExtension|baz(lowered final dart.core::Object? #this) → foo::Foo + static extension-member method FooExtension|baz(lowered final dart.core::Object? #this) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: #C23); - static method FooExtension|get#baz(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#baz(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|baz(#this); @#C2 - static method FooExtension|boz(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|boz(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#boz(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#boz(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|boz(#this, $creationLocationd_0dea112b090073317d4: #C26); @#C2 - static method FooExtension|constFoo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|constFoo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return #C29; - static method FooExtension|get#constFoo(lowered final dart.core::Object? #this) → () → foo::Foo + static extension-member method FooExtension|get#constFoo(lowered final dart.core::Object? #this) → () → foo::Foo return () → foo::Foo => foo::FooExtension|constFoo(#this, $creationLocationd_0dea112b090073317d4: #C31); @#C2 - static method FooExtension|get#getterFoo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|get#getterFoo(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); @#C2 - static method FooExtension|set#setterFoo(lowered final dart.core::Object? #this, dynamic _, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → void + static extension-member method FooExtension|set#setterFoo(lowered final dart.core::Object? #this, dynamic _, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → void return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); @#C2 - static method FooExtension|unary-(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo + static extension-member method FooExtension|unary-(lowered final dart.core::Object? #this, {wid::_Location? $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); @#C2 - static method FooExtension|staticFoo() → foo::Foo + static extension-member method FooExtension|staticFoo() → foo::Foo return new foo::Foo::_($creationLocationd_0dea112b090073317d4: #C34); } library from "org-dartlang-test:///main.dart" as main { diff --git a/pkg/front_end/testcases/incremental/flutter_widget_factory_legacy.yaml.world.1.expect b/pkg/front_end/testcases/incremental/flutter_widget_factory_legacy.yaml.world.1.expect index b99d086bc15..cbf3780dbfc 100644 --- a/pkg/front_end/testcases/incremental/flutter_widget_factory_legacy.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/flutter_widget_factory_legacy.yaml.world.1.expect @@ -81,29 +81,29 @@ library from "org-dartlang-test:///foo.dart" as foo { static const field wid::_WidgetFactory* nullableAlias = #C1; static const field wid::_WidgetFactory* nonNullableAlias = #C2; @#C2 - static method FooExtension|foo(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|foo(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#foo(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#foo(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|foo(#this, $creationLocationd_0dea112b090073317d4: #C15); @#C2 - static method FooExtension|bar(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|bar(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#bar(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#bar(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|bar(#this, $creationLocationd_0dea112b090073317d4: #C18); @#C1 - static method FooExtension|baz(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|baz(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#baz(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#baz(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|baz(#this, $creationLocationd_0dea112b090073317d4: #C21); @#C2 - static method FooExtension|boz(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|boz(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#boz(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#boz(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|boz(#this, $creationLocationd_0dea112b090073317d4: #C24); @#C2 - static method FooExtension|constFoo(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|constFoo(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return #C28; - static method FooExtension|get#constFoo(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#constFoo(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|constFoo(#this, $creationLocationd_0dea112b090073317d4: #C30); } library from "org-dartlang-test:///main.dart" as main { diff --git a/pkg/front_end/testcases/incremental/flutter_widget_factory_legacy.yaml.world.2.expect b/pkg/front_end/testcases/incremental/flutter_widget_factory_legacy.yaml.world.2.expect index b722a36a32b..7c6d3c703a3 100644 --- a/pkg/front_end/testcases/incremental/flutter_widget_factory_legacy.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/flutter_widget_factory_legacy.yaml.world.2.expect @@ -81,29 +81,29 @@ library from "org-dartlang-test:///foo.dart" as foo { static const field wid::_WidgetFactory* nullableAlias = #C1; static const field wid::_WidgetFactory* nonNullableAlias = #C2; @#C2 - static method FooExtension|foo(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|foo(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#foo(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#foo(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|foo(#this, $creationLocationd_0dea112b090073317d4: #C15); @#C2 - static method FooExtension|bar(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|bar(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#bar(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#bar(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|bar(#this, $creationLocationd_0dea112b090073317d4: #C18); @#C1 - static method FooExtension|baz(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|baz(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#baz(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#baz(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|baz(#this, $creationLocationd_0dea112b090073317d4: #C21); @#C2 - static method FooExtension|boz(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|boz(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return new foo::Foo::_($creationLocationd_0dea112b090073317d4: $creationLocationd_0dea112b090073317d4); - static method FooExtension|get#boz(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#boz(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|boz(#this, $creationLocationd_0dea112b090073317d4: #C24); @#C2 - static method FooExtension|constFoo(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* + static extension-member method FooExtension|constFoo(lowered final dart.core::Object* #this, {wid::_Location* $creationLocationd_0dea112b090073317d4 = #C1}) → foo::Foo* return #C28; - static method FooExtension|get#constFoo(lowered final dart.core::Object* #this) → () →* foo::Foo* + static extension-member method FooExtension|get#constFoo(lowered final dart.core::Object* #this) → () →* foo::Foo* return () → foo::Foo* => foo::FooExtension|constFoo(#this, $creationLocationd_0dea112b090073317d4: #C30); } library from "org-dartlang-test:///main.dart" as main { diff --git a/pkg/front_end/testcases/incremental/no_outline_change_19.yaml.world.1.expect b/pkg/front_end/testcases/incremental/no_outline_change_19.yaml.world.1.expect index d6e61ce1d44..b9b1b743447 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_19.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_19.yaml.world.1.expect @@ -19,18 +19,18 @@ library from "org-dartlang-test:///main.dart" as main { } static field dart.core::int A2|staticField = 42; static final field dart.core::int A2|staticFinalField = 42; - static method A2|method1(lowered final main::A1 #this) → main::A1 { + static extension-member method A2|method1(lowered final main::A1 #this) → main::A1 { return #this; } - static method A2|get#method1(lowered final main::A1 #this) → () → main::A1 + static extension-member method A2|get#method1(lowered final main::A1 #this) → () → main::A1 return () → main::A1 => main::A2|method1(#this); - static method A2|get#getter1(lowered final main::A1 #this) → dart.core::String + static extension-member method A2|get#getter1(lowered final main::A1 #this) → dart.core::String return "42!"; - static method A2|set#setter1(lowered final main::A1 #this, dart.core::String s) → void {} - static method A2|method2() → main::A1 { + static extension-member method A2|set#setter1(lowered final main::A1 #this, dart.core::String s) → void {} + static extension-member method A2|method2() → main::A1 { throw ""; } - static get A2|getter2() → dart.core::String + static extension-member get A2|getter2() → dart.core::String return "42!"; - static set A2|setter2(dart.core::String s) → void {} + static extension-member set A2|setter2(dart.core::String s) → void {} } diff --git a/pkg/front_end/testcases/incremental/no_outline_change_19.yaml.world.2.expect b/pkg/front_end/testcases/incremental/no_outline_change_19.yaml.world.2.expect index d6e61ce1d44..b9b1b743447 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_19.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_19.yaml.world.2.expect @@ -19,18 +19,18 @@ library from "org-dartlang-test:///main.dart" as main { } static field dart.core::int A2|staticField = 42; static final field dart.core::int A2|staticFinalField = 42; - static method A2|method1(lowered final main::A1 #this) → main::A1 { + static extension-member method A2|method1(lowered final main::A1 #this) → main::A1 { return #this; } - static method A2|get#method1(lowered final main::A1 #this) → () → main::A1 + static extension-member method A2|get#method1(lowered final main::A1 #this) → () → main::A1 return () → main::A1 => main::A2|method1(#this); - static method A2|get#getter1(lowered final main::A1 #this) → dart.core::String + static extension-member method A2|get#getter1(lowered final main::A1 #this) → dart.core::String return "42!"; - static method A2|set#setter1(lowered final main::A1 #this, dart.core::String s) → void {} - static method A2|method2() → main::A1 { + static extension-member method A2|set#setter1(lowered final main::A1 #this, dart.core::String s) → void {} + static extension-member method A2|method2() → main::A1 { throw ""; } - static get A2|getter2() → dart.core::String + static extension-member get A2|getter2() → dart.core::String return "42!"; - static set A2|setter2(dart.core::String s) → void {} + static extension-member set A2|setter2(dart.core::String s) → void {} } diff --git a/pkg/front_end/testcases/incremental/no_outline_change_20.yaml.world.1.expect b/pkg/front_end/testcases/incremental/no_outline_change_20.yaml.world.1.expect index cb4f3b163a8..85a43704f30 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_20.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_20.yaml.world.1.expect @@ -17,18 +17,18 @@ library from "org-dartlang-test:///main.dart" as main { static set setter2 = set main::_extension#0|setter2; } static field dart.core::int _extension#0|field = 42; - static method _extension#0|method1(lowered final main::A1 #this) → main::A1 { + static extension-member method _extension#0|method1(lowered final main::A1 #this) → main::A1 { return #this; } - static method _extension#0|get#method1(lowered final main::A1 #this) → () → main::A1 + static extension-member method _extension#0|get#method1(lowered final main::A1 #this) → () → main::A1 return () → main::A1 => main::_extension#0|method1(#this); - static method _extension#0|get#getter1(lowered final main::A1 #this) → dart.core::String + static extension-member method _extension#0|get#getter1(lowered final main::A1 #this) → dart.core::String return "42!"; - static method _extension#0|set#setter1(lowered final main::A1 #this, dart.core::String s) → void {} - static method _extension#0|method2() → main::A1 { + static extension-member method _extension#0|set#setter1(lowered final main::A1 #this, dart.core::String s) → void {} + static extension-member method _extension#0|method2() → main::A1 { throw ""; } - static get _extension#0|getter2() → dart.core::String + static extension-member get _extension#0|getter2() → dart.core::String return "42!"; - static set _extension#0|setter2(dart.core::String s) → void {} + static extension-member set _extension#0|setter2(dart.core::String s) → void {} } diff --git a/pkg/front_end/testcases/incremental/no_outline_change_20.yaml.world.2.expect b/pkg/front_end/testcases/incremental/no_outline_change_20.yaml.world.2.expect index cb4f3b163a8..85a43704f30 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_20.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_20.yaml.world.2.expect @@ -17,18 +17,18 @@ library from "org-dartlang-test:///main.dart" as main { static set setter2 = set main::_extension#0|setter2; } static field dart.core::int _extension#0|field = 42; - static method _extension#0|method1(lowered final main::A1 #this) → main::A1 { + static extension-member method _extension#0|method1(lowered final main::A1 #this) → main::A1 { return #this; } - static method _extension#0|get#method1(lowered final main::A1 #this) → () → main::A1 + static extension-member method _extension#0|get#method1(lowered final main::A1 #this) → () → main::A1 return () → main::A1 => main::_extension#0|method1(#this); - static method _extension#0|get#getter1(lowered final main::A1 #this) → dart.core::String + static extension-member method _extension#0|get#getter1(lowered final main::A1 #this) → dart.core::String return "42!"; - static method _extension#0|set#setter1(lowered final main::A1 #this, dart.core::String s) → void {} - static method _extension#0|method2() → main::A1 { + static extension-member method _extension#0|set#setter1(lowered final main::A1 #this, dart.core::String s) → void {} + static extension-member method _extension#0|method2() → main::A1 { throw ""; } - static get _extension#0|getter2() → dart.core::String + static extension-member get _extension#0|getter2() → dart.core::String return "42!"; - static set _extension#0|setter2(dart.core::String s) → void {} + static extension-member set _extension#0|setter2(dart.core::String s) → void {} } diff --git a/pkg/front_end/testcases/incremental/no_outline_change_31.yaml.world.1.expect b/pkg/front_end/testcases/incremental/no_outline_change_31.yaml.world.1.expect index 85a31ea08ec..fba9ea7aea9 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_31.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_31.yaml.world.1.expect @@ -75,24 +75,24 @@ library from "org-dartlang-test:///main.dart" as main { main::_#field4#isSet = true; main::_#field4 = field4#param; } - static get _extension#0|field5() → dart.core::int? { + static extension-member get _extension#0|field5() → dart.core::int? { if(!main::_#_extension#0|field5#isSet) { main::_#_extension#0|field5 = 42; main::_#_extension#0|field5#isSet = true; } return main::_#_extension#0|field5; } - static set _extension#0|field5(dart.core::int? field5#param) → void { + static extension-member set _extension#0|field5(dart.core::int? field5#param) → void { main::_#_extension#0|field5#isSet = true; main::_#_extension#0|field5 = field5#param; } - static get _extension#0|field6() → dart.core::int? + static extension-member get _extension#0|field6() → dart.core::int? return main::_#_extension#0|field6#isSet ?{dart.core::int?} main::_#_extension#0|field6 : throw new dart._internal::LateError::fieldNI("field6"); - static set _extension#0|field6(dart.core::int? field6#param) → void { + static extension-member set _extension#0|field6(dart.core::int? field6#param) → void { main::_#_extension#0|field6#isSet = true; main::_#_extension#0|field6 = field6#param; } - static get _extension#0|field7() → dart.core::int? { + static extension-member get _extension#0|field7() → dart.core::int? { if(!main::_#_extension#0|field7#isSet) { final dart.core::int? #t2 = 42; if(main::_#_extension#0|field7#isSet) @@ -102,9 +102,9 @@ library from "org-dartlang-test:///main.dart" as main { } return main::_#_extension#0|field7; } - static get _extension#0|field8() → dart.core::int? + static extension-member get _extension#0|field8() → dart.core::int? return main::_#_extension#0|field8#isSet ?{dart.core::int?} main::_#_extension#0|field8 : throw new dart._internal::LateError::fieldNI("field8"); - static set _extension#0|field8(dart.core::int? field8#param) → void + static extension-member set _extension#0|field8(dart.core::int? field8#param) → void if(main::_#_extension#0|field8#isSet) throw new dart._internal::LateError::fieldAI("field8"); else { diff --git a/pkg/front_end/testcases/incremental/no_outline_change_31.yaml.world.2.expect b/pkg/front_end/testcases/incremental/no_outline_change_31.yaml.world.2.expect index dd9557c034f..95d2b395bec 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_31.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_31.yaml.world.2.expect @@ -75,24 +75,24 @@ library from "org-dartlang-test:///main.dart" as main { main::_#field4#isSet = true; main::_#field4 = field4#param; } - static get _extension#0|field5() → dart.core::int? { + static extension-member get _extension#0|field5() → dart.core::int? { if(!main::_#_extension#0|field5#isSet) { main::_#_extension#0|field5 = 42; main::_#_extension#0|field5#isSet = true; } return main::_#_extension#0|field5; } - static set _extension#0|field5(dart.core::int? field5#param) → void { + static extension-member set _extension#0|field5(dart.core::int? field5#param) → void { main::_#_extension#0|field5#isSet = true; main::_#_extension#0|field5 = field5#param; } - static get _extension#0|field6() → dart.core::int? + static extension-member get _extension#0|field6() → dart.core::int? return main::_#_extension#0|field6#isSet ?{dart.core::int?} main::_#_extension#0|field6 : throw new dart._internal::LateError::fieldNI("field6"); - static set _extension#0|field6(dart.core::int? field6#param) → void { + static extension-member set _extension#0|field6(dart.core::int? field6#param) → void { main::_#_extension#0|field6#isSet = true; main::_#_extension#0|field6 = field6#param; } - static get _extension#0|field7() → dart.core::int? { + static extension-member get _extension#0|field7() → dart.core::int? { if(!main::_#_extension#0|field7#isSet) { final dart.core::int? #t2 = 42; if(main::_#_extension#0|field7#isSet) @@ -102,9 +102,9 @@ library from "org-dartlang-test:///main.dart" as main { } return main::_#_extension#0|field7; } - static get _extension#0|field8() → dart.core::int? + static extension-member get _extension#0|field8() → dart.core::int? return main::_#_extension#0|field8#isSet ?{dart.core::int?} main::_#_extension#0|field8 : throw new dart._internal::LateError::fieldNI("field8"); - static set _extension#0|field8(dart.core::int? field8#param) → void + static extension-member set _extension#0|field8(dart.core::int? field8#param) → void if(main::_#_extension#0|field8#isSet) throw new dart._internal::LateError::fieldAI("field8"); else { diff --git a/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.1.expect b/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.1.expect index fe03bc94f13..12bdf638101 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.1.expect @@ -12,8 +12,8 @@ additionalExports = (main::main, method method2 = lib1::Extension2|method2; tearoff method2 = lib1::Extension2|get#method2; } - static method Extension2|method2(lowered final main::Class #this) → void {} - static method Extension2|get#method2(lowered final main::Class #this) → () → void + static extension-member method Extension2|method2(lowered final main::Class #this) → void {} + static extension-member method Extension2|get#method2(lowered final main::Class #this) → () → void return () → void => lib1::Extension2|method2(#this); static method lib1() → dynamic { main::Class a = new main::Class::•(); @@ -30,8 +30,8 @@ library from "org-dartlang-test:///lib2.dart" as lib2 { method method3 = lib2::Extension3|method3; tearoff method3 = lib2::Extension3|get#method3; } - static method Extension3|method3(lowered final main::Class #this) → void {} - static method Extension3|get#method3(lowered final main::Class #this) → () → void + static extension-member method Extension3|method3(lowered final main::Class #this) → void {} + static extension-member method Extension3|get#method3(lowered final main::Class #this) → () → void return () → void => lib2::Extension3|method3(#this); static method lib2() → dynamic { main::Class a = new main::Class::•(); @@ -55,8 +55,8 @@ library from "org-dartlang-test:///main.dart" as main { method method = main::Extension|method; tearoff method = main::Extension|get#method; } - static method Extension|method(lowered final main::Class #this) → void {} - static method Extension|get#method(lowered final main::Class #this) → () → void + static extension-member method Extension|method(lowered final main::Class #this) → void {} + static extension-member method Extension|get#method(lowered final main::Class #this) → () → void return () → void => main::Extension|method(#this); static method main() → dynamic { main::Class a = new main::Class::•(); diff --git a/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.2.expect b/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.2.expect index 530efd6057e..a39ee9c841c 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.2.expect @@ -12,8 +12,8 @@ additionalExports = (main::main, method method2 = lib1::Extension2|method2; tearoff method2 = lib1::Extension2|get#method2; } - static method Extension2|method2(lowered final main::Class #this) → void {} - static method Extension2|get#method2(lowered final main::Class #this) → () → void + static extension-member method Extension2|method2(lowered final main::Class #this) → void {} + static extension-member method Extension2|get#method2(lowered final main::Class #this) → () → void return () → void => lib1::Extension2|method2(#this); static method lib1() → dynamic { main::Class a = new main::Class::•(); @@ -30,8 +30,8 @@ library from "org-dartlang-test:///lib2.dart" as lib2 { method method3 = lib2::Extension3|method3; tearoff method3 = lib2::Extension3|get#method3; } - static method Extension3|method3(lowered final main::Class #this) → void {} - static method Extension3|get#method3(lowered final main::Class #this) → () → void + static extension-member method Extension3|method3(lowered final main::Class #this) → void {} + static extension-member method Extension3|get#method3(lowered final main::Class #this) → () → void return () → void => lib2::Extension3|method3(#this); static method lib2() → dynamic { main::Class a = new main::Class::•(); @@ -55,8 +55,8 @@ library from "org-dartlang-test:///main.dart" as main { method method = main::Extension|method; tearoff method = main::Extension|get#method; } - static method Extension|method(lowered final main::Class #this) → void {} - static method Extension|get#method(lowered final main::Class #this) → () → void + static extension-member method Extension|method(lowered final main::Class #this) → void {} + static extension-member method Extension|get#method(lowered final main::Class #this) → () → void return () → void => main::Extension|method(#this); static method main() → dynamic { main::Class a = new main::Class::•(); diff --git a/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.3.expect b/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.3.expect index ad214103b2a..9304aae2119 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.3.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.3.expect @@ -12,8 +12,8 @@ additionalExports = (main::main, method method2 = lib1::Extension2|method2; tearoff method2 = lib1::Extension2|get#method2; } - static method Extension2|method2(lowered final main::Class #this) → void {} - static method Extension2|get#method2(lowered final main::Class #this) → () → void + static extension-member method Extension2|method2(lowered final main::Class #this) → void {} + static extension-member method Extension2|get#method2(lowered final main::Class #this) → () → void return () → void => lib1::Extension2|method2(#this); static method lib1() → dynamic { main::Class a = new main::Class::•(); @@ -30,8 +30,8 @@ library from "org-dartlang-test:///lib2.dart" as lib2 { method method3 = lib2::Extension3|method3; tearoff method3 = lib2::Extension3|get#method3; } - static method Extension3|method3(lowered final main::Class #this) → void {} - static method Extension3|get#method3(lowered final main::Class #this) → () → void + static extension-member method Extension3|method3(lowered final main::Class #this) → void {} + static extension-member method Extension3|get#method3(lowered final main::Class #this) → () → void return () → void => lib2::Extension3|method3(#this); static method lib2() → dynamic { main::Class a = new main::Class::•(); @@ -56,8 +56,8 @@ library from "org-dartlang-test:///main.dart" as main { method method = main::Extension|method; tearoff method = main::Extension|get#method; } - static method Extension|method(lowered final main::Class #this) → void {} - static method Extension|get#method(lowered final main::Class #this) → () → void + static extension-member method Extension|method(lowered final main::Class #this) → void {} + static extension-member method Extension|get#method(lowered final main::Class #this) → () → void return () → void => main::Extension|method(#this); static method main() → dynamic { main::Class a = new main::Class::•(); diff --git a/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.4.expect b/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.4.expect index 908cbff4001..a24b1ea37b3 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.4.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_34.yaml.world.4.expect @@ -12,8 +12,8 @@ additionalExports = (main::main, method method2 = lib1::Extension2|method2; tearoff method2 = lib1::Extension2|get#method2; } - static method Extension2|method2(lowered final main::Class #this) → void {} - static method Extension2|get#method2(lowered final main::Class #this) → () → void + static extension-member method Extension2|method2(lowered final main::Class #this) → void {} + static extension-member method Extension2|get#method2(lowered final main::Class #this) → () → void return () → void => lib1::Extension2|method2(#this); static method lib1() → dynamic { main::Class a = new main::Class::•(); @@ -31,8 +31,8 @@ library from "org-dartlang-test:///lib2.dart" as lib2 { method method3 = lib2::Extension3|method3; tearoff method3 = lib2::Extension3|get#method3; } - static method Extension3|method3(lowered final main::Class #this) → void {} - static method Extension3|get#method3(lowered final main::Class #this) → () → void + static extension-member method Extension3|method3(lowered final main::Class #this) → void {} + static extension-member method Extension3|get#method3(lowered final main::Class #this) → () → void return () → void => lib2::Extension3|method3(#this); static method lib2() → dynamic { main::Class a = new main::Class::•(); @@ -57,8 +57,8 @@ library from "org-dartlang-test:///main.dart" as main { method method = main::Extension|method; tearoff method = main::Extension|get#method; } - static method Extension|method(lowered final main::Class #this) → void {} - static method Extension|get#method(lowered final main::Class #this) → () → void + static extension-member method Extension|method(lowered final main::Class #this) → void {} + static extension-member method Extension|get#method(lowered final main::Class #this) → () → void return () → void => main::Extension|method(#this); static method main() → dynamic { main::Class a = new main::Class::•(); diff --git a/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.1.expect b/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.1.expect index 5b3c74f870d..0ecd2f2df94 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.1.expect @@ -7,9 +7,9 @@ library from "org-dartlang-test:///lib1.dart" as lib1 { method baz = lib1::Extension1|baz; tearoff baz = lib1::Extension1|get#baz; } - static method Extension1|baz(lowered final main::A #this) → dynamic + static extension-member method Extension1|baz(lowered final main::A #this) → dynamic return 42; - static method Extension1|get#baz(lowered final main::A #this) → () → dynamic + static extension-member method Extension1|get#baz(lowered final main::A #this) → () → dynamic return () → dynamic => lib1::Extension1|baz(#this); } library from "org-dartlang-test:///lib2.dart" as lib2 { @@ -46,9 +46,9 @@ library from "org-dartlang-test:///main.dart" as main { static method main() → dynamic { lib2::method(new main::A::•()); } - static method Extension2|boz(lowered final main::A #this) → dynamic { + static extension-member method Extension2|boz(lowered final main::A #this) → dynamic { return 87; } - static method Extension2|get#boz(lowered final main::A #this) → () → dynamic + static extension-member method Extension2|get#boz(lowered final main::A #this) → () → dynamic return () → dynamic => main::Extension2|boz(#this); } diff --git a/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.2.expect b/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.2.expect index ce2d9af7a86..d982a50673b 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.2.expect @@ -7,9 +7,9 @@ library from "org-dartlang-test:///lib1.dart" as lib1 { method baz = lib1::Extension1|baz; tearoff baz = lib1::Extension1|get#baz; } - static method Extension1|baz(lowered final main::A #this) → dynamic + static extension-member method Extension1|baz(lowered final main::A #this) → dynamic return 42; - static method Extension1|get#baz(lowered final main::A #this) → () → dynamic + static extension-member method Extension1|get#baz(lowered final main::A #this) → () → dynamic return () → dynamic => lib1::Extension1|baz(#this); } library from "org-dartlang-test:///lib2.dart" as lib2 { @@ -47,9 +47,9 @@ library from "org-dartlang-test:///main.dart" as main { static method main() → dynamic { lib2::method(new main::A::•()); } - static method Extension2|boz(lowered final main::A #this) → dynamic { + static extension-member method Extension2|boz(lowered final main::A #this) → dynamic { return 87; } - static method Extension2|get#boz(lowered final main::A #this) → () → dynamic + static extension-member method Extension2|get#boz(lowered final main::A #this) → () → dynamic return () → dynamic => main::Extension2|boz(#this); } diff --git a/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.3.expect b/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.3.expect index e66dc79569e..4be26762964 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.3.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_40.yaml.world.3.expect @@ -7,9 +7,9 @@ library from "org-dartlang-test:///lib1.dart" as lib1 { method baz = lib1::Extension1|baz; tearoff baz = lib1::Extension1|get#baz; } - static method Extension1|baz(lowered final main::A #this) → dynamic + static extension-member method Extension1|baz(lowered final main::A #this) → dynamic return 42; - static method Extension1|get#baz(lowered final main::A #this) → () → dynamic + static extension-member method Extension1|get#baz(lowered final main::A #this) → () → dynamic return () → dynamic => lib1::Extension1|baz(#this); } library from "org-dartlang-test:///lib2.dart" as lib2 { @@ -47,9 +47,9 @@ library from "org-dartlang-test:///main.dart" as main { static method main() → dynamic { lib2::method(new main::A::•()); } - static method Extension2|boz(lowered final main::A #this) → dynamic { + static extension-member method Extension2|boz(lowered final main::A #this) → dynamic { return 123; } - static method Extension2|get#boz(lowered final main::A #this) → () → dynamic + static extension-member method Extension2|get#boz(lowered final main::A #this) → () → dynamic return () → dynamic => main::Extension2|boz(#this); } diff --git a/pkg/front_end/testcases/incremental/no_outline_change_47.yaml.world.1.expect b/pkg/front_end/testcases/incremental/no_outline_change_47.yaml.world.1.expect index 931579ab59e..35f58483999 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_47.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_47.yaml.world.1.expect @@ -6,7 +6,7 @@ library from "org-dartlang-test:///main.dart" as main { tearoff x = main::Foo|get#x; } late static final field dart.core::int x = 42; - static method Foo|x(lowered final dart.core::int #this) → void {} - static method Foo|get#x(lowered final dart.core::int #this) → () → void + static extension-member method Foo|x(lowered final dart.core::int #this) → void {} + static extension-member method Foo|get#x(lowered final dart.core::int #this) → () → void return () → void => main::Foo|x(#this); } diff --git a/pkg/front_end/testcases/incremental/no_outline_change_47.yaml.world.2.expect b/pkg/front_end/testcases/incremental/no_outline_change_47.yaml.world.2.expect index 931579ab59e..35f58483999 100644 --- a/pkg/front_end/testcases/incremental/no_outline_change_47.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/no_outline_change_47.yaml.world.2.expect @@ -6,7 +6,7 @@ library from "org-dartlang-test:///main.dart" as main { tearoff x = main::Foo|get#x; } late static final field dart.core::int x = 42; - static method Foo|x(lowered final dart.core::int #this) → void {} - static method Foo|get#x(lowered final dart.core::int #this) → () → void + static extension-member method Foo|x(lowered final dart.core::int #this) → void {} + static extension-member method Foo|get#x(lowered final dart.core::int #this) → () → void return () → void => main::Foo|x(#this); } diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.strong.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.strong.expect index dae5b374724..8b30c3c0b69 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.strong.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.strong.expect @@ -141,89 +141,89 @@ static method testParenthesizedTwiceNamed(core::int i) → dynamic { x; }); } -static method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% +static extension-member method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% return throw ""; -static method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% +static extension-member method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% return (T% x, (T%) → void y) → T% => self::_extension#0|_laterUnnamedParameter(#this, x, y); -static method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void +static extension-member method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter(#this, x, a: a); -static method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void +static extension-member method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void return throw ""; -static method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void +static extension-member method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void return ((T%) → void x, T% y) → void => self::_extension#0|_earlierUnnamedParameter(#this, x, y); -static method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_laterNamedParameter(#this, a: a, b: b); -static method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void +static extension-member method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void +static extension-member method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void return ({(T%) → void a = #C1, T% b = #C1}) → void => self::_extension#0|_earlierNamedParameter(#this, a: a, b: b); -static method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void return throw ""; -static method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void +static extension-member method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void return (T% b, {(T%) → void a = #C1}) → void => self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter(#this, b, a: a); -static method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% +static extension-member method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% return throw ""; -static method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToReturnType(#this, x, y); -static method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% +static extension-member method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% return throw ""; -static method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_closureAsParameterType(#this, x, y); -static method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% +static extension-member method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% return throw ""; -static method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% +static extension-member method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% return ((T%) → U% x, () → T% y) → U% => self::_extension#0|_propagateToEarlierClosure(#this, x, y); -static method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% return (() → T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToLaterClosure(#this, x, y); -static method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% +static extension-member method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% return throw ""; -static method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% +static extension-member method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% return throw ""; -static method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% +static extension-member method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% return (() → T% x, (T%) → U% y, (U%) → V% z) → V% => self::_extension#0|_longDependencyChain(#this, x, y, z); -static method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map +static extension-member method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map return throw ""; -static method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map +static extension-member method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map return ((U%) → T% x, (T%) → U% y) → core::Map => self::_extension#0|_dependencyCycle(#this, x, y); -static method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% +static extension-member method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% return throw ""; -static method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% return (() → (T%) → void x, (T%) → U% y) → U% => self::_extension#0|_propagateFromContravariantReturnType(#this, x, y); -static method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% +static extension-member method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% return throw ""; -static method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% +static extension-member method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% return (() → T% x, ((T%) → void) → U% y) → U% => self::_extension#0|_propagateToContravariantParameterType(#this, x, y); -static method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void +static extension-member method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void return throw ""; -static method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void +static extension-member method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void return (() → core::Map x, (T%) → void y, (U%) → void z) → void => self::_extension#0|_returnTypeRefersToMultipleTypeVars(#this, x, y, z); -static method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% +static extension-member method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% return (() → T% x, T% y) → T% => self::_extension#0|_unnecessaryDueToNoDependency(#this, x, y); -static method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% +static extension-member method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% return (T% x, ({required x: T%, required y: core::int}) → T% y) → T% => self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed(#this, x, y); -static method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void +static extension-member method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesized(#this, x, y); -static method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedNamed(#this, a: a, b: b); -static method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void +static extension-member method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesizedTwice(#this, x, y); -static method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedTwiceNamed(#this, a: a, b: b); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.strong.transformed.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.strong.transformed.expect index 1928a9c9f8e..cac240d6f9c 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.strong.transformed.expect @@ -141,89 +141,89 @@ static method testParenthesizedTwiceNamed(core::int i) → dynamic { x; }); } -static method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% +static extension-member method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% return throw ""; -static method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% +static extension-member method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% return (T% x, (T%) → void y) → T% => self::_extension#0|_laterUnnamedParameter(#this, x, y); -static method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void +static extension-member method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter(#this, x, a: a); -static method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void +static extension-member method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void return throw ""; -static method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void +static extension-member method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void return ((T%) → void x, T% y) → void => self::_extension#0|_earlierUnnamedParameter(#this, x, y); -static method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_laterNamedParameter(#this, a: a, b: b); -static method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void +static extension-member method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void +static extension-member method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void return ({(T%) → void a = #C1, T% b = #C1}) → void => self::_extension#0|_earlierNamedParameter(#this, a: a, b: b); -static method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void return throw ""; -static method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void +static extension-member method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void return (T% b, {(T%) → void a = #C1}) → void => self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter(#this, b, a: a); -static method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% +static extension-member method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% return throw ""; -static method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToReturnType(#this, x, y); -static method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% +static extension-member method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% return throw ""; -static method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_closureAsParameterType(#this, x, y); -static method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% +static extension-member method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% return throw ""; -static method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% +static extension-member method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% return ((T%) → U% x, () → T% y) → U% => self::_extension#0|_propagateToEarlierClosure(#this, x, y); -static method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% return (() → T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToLaterClosure(#this, x, y); -static method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% +static extension-member method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% return throw ""; -static method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% +static extension-member method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% return throw ""; -static method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% +static extension-member method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% return (() → T% x, (T%) → U% y, (U%) → V% z) → V% => self::_extension#0|_longDependencyChain(#this, x, y, z); -static method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map +static extension-member method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map return throw ""; -static method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map +static extension-member method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map return ((U%) → T% x, (T%) → U% y) → core::Map => self::_extension#0|_dependencyCycle(#this, x, y); -static method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% +static extension-member method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% return throw ""; -static method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% return (() → (T%) → void x, (T%) → U% y) → U% => self::_extension#0|_propagateFromContravariantReturnType(#this, x, y); -static method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% +static extension-member method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% return throw ""; -static method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% +static extension-member method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% return (() → T% x, ((T%) → void) → U% y) → U% => self::_extension#0|_propagateToContravariantParameterType(#this, x, y); -static method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void +static extension-member method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void return throw ""; -static method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void +static extension-member method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void return (() → core::Map x, (T%) → void y, (U%) → void z) → void => self::_extension#0|_returnTypeRefersToMultipleTypeVars(#this, x, y, z); -static method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% +static extension-member method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% return (() → T% x, T% y) → T% => self::_extension#0|_unnecessaryDueToNoDependency(#this, x, y); -static method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% +static extension-member method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% return (T% x, ({required x: T%, required y: core::int}) → T% y) → T% => self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed(#this, x, y); -static method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void +static extension-member method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesized(#this, x, y); -static method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedNamed(#this, a: a, b: b); -static method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void +static extension-member method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesizedTwice(#this, x, y); -static method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedTwiceNamed(#this, a: a, b: b); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.expect index dae5b374724..8b30c3c0b69 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.expect @@ -141,89 +141,89 @@ static method testParenthesizedTwiceNamed(core::int i) → dynamic { x; }); } -static method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% +static extension-member method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% return throw ""; -static method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% +static extension-member method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% return (T% x, (T%) → void y) → T% => self::_extension#0|_laterUnnamedParameter(#this, x, y); -static method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void +static extension-member method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter(#this, x, a: a); -static method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void +static extension-member method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void return throw ""; -static method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void +static extension-member method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void return ((T%) → void x, T% y) → void => self::_extension#0|_earlierUnnamedParameter(#this, x, y); -static method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_laterNamedParameter(#this, a: a, b: b); -static method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void +static extension-member method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void +static extension-member method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void return ({(T%) → void a = #C1, T% b = #C1}) → void => self::_extension#0|_earlierNamedParameter(#this, a: a, b: b); -static method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void return throw ""; -static method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void +static extension-member method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void return (T% b, {(T%) → void a = #C1}) → void => self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter(#this, b, a: a); -static method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% +static extension-member method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% return throw ""; -static method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToReturnType(#this, x, y); -static method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% +static extension-member method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% return throw ""; -static method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_closureAsParameterType(#this, x, y); -static method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% +static extension-member method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% return throw ""; -static method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% +static extension-member method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% return ((T%) → U% x, () → T% y) → U% => self::_extension#0|_propagateToEarlierClosure(#this, x, y); -static method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% return (() → T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToLaterClosure(#this, x, y); -static method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% +static extension-member method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% return throw ""; -static method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% +static extension-member method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% return throw ""; -static method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% +static extension-member method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% return (() → T% x, (T%) → U% y, (U%) → V% z) → V% => self::_extension#0|_longDependencyChain(#this, x, y, z); -static method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map +static extension-member method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map return throw ""; -static method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map +static extension-member method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map return ((U%) → T% x, (T%) → U% y) → core::Map => self::_extension#0|_dependencyCycle(#this, x, y); -static method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% +static extension-member method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% return throw ""; -static method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% return (() → (T%) → void x, (T%) → U% y) → U% => self::_extension#0|_propagateFromContravariantReturnType(#this, x, y); -static method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% +static extension-member method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% return throw ""; -static method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% +static extension-member method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% return (() → T% x, ((T%) → void) → U% y) → U% => self::_extension#0|_propagateToContravariantParameterType(#this, x, y); -static method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void +static extension-member method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void return throw ""; -static method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void +static extension-member method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void return (() → core::Map x, (T%) → void y, (U%) → void z) → void => self::_extension#0|_returnTypeRefersToMultipleTypeVars(#this, x, y, z); -static method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% +static extension-member method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% return (() → T% x, T% y) → T% => self::_extension#0|_unnecessaryDueToNoDependency(#this, x, y); -static method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% +static extension-member method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% return (T% x, ({required x: T%, required y: core::int}) → T% y) → T% => self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed(#this, x, y); -static method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void +static extension-member method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesized(#this, x, y); -static method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedNamed(#this, a: a, b: b); -static method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void +static extension-member method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesizedTwice(#this, x, y); -static method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedTwiceNamed(#this, a: a, b: b); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.modular.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.modular.expect index dae5b374724..8b30c3c0b69 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.modular.expect @@ -141,89 +141,89 @@ static method testParenthesizedTwiceNamed(core::int i) → dynamic { x; }); } -static method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% +static extension-member method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% return throw ""; -static method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% +static extension-member method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% return (T% x, (T%) → void y) → T% => self::_extension#0|_laterUnnamedParameter(#this, x, y); -static method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void +static extension-member method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter(#this, x, a: a); -static method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void +static extension-member method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void return throw ""; -static method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void +static extension-member method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void return ((T%) → void x, T% y) → void => self::_extension#0|_earlierUnnamedParameter(#this, x, y); -static method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_laterNamedParameter(#this, a: a, b: b); -static method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void +static extension-member method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void +static extension-member method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void return ({(T%) → void a = #C1, T% b = #C1}) → void => self::_extension#0|_earlierNamedParameter(#this, a: a, b: b); -static method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void return throw ""; -static method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void +static extension-member method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void return (T% b, {(T%) → void a = #C1}) → void => self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter(#this, b, a: a); -static method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% +static extension-member method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% return throw ""; -static method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToReturnType(#this, x, y); -static method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% +static extension-member method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% return throw ""; -static method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_closureAsParameterType(#this, x, y); -static method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% +static extension-member method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% return throw ""; -static method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% +static extension-member method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% return ((T%) → U% x, () → T% y) → U% => self::_extension#0|_propagateToEarlierClosure(#this, x, y); -static method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% return (() → T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToLaterClosure(#this, x, y); -static method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% +static extension-member method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% return throw ""; -static method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% +static extension-member method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% return throw ""; -static method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% +static extension-member method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% return (() → T% x, (T%) → U% y, (U%) → V% z) → V% => self::_extension#0|_longDependencyChain(#this, x, y, z); -static method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map +static extension-member method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map return throw ""; -static method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map +static extension-member method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map return ((U%) → T% x, (T%) → U% y) → core::Map => self::_extension#0|_dependencyCycle(#this, x, y); -static method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% +static extension-member method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% return throw ""; -static method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% return (() → (T%) → void x, (T%) → U% y) → U% => self::_extension#0|_propagateFromContravariantReturnType(#this, x, y); -static method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% +static extension-member method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% return throw ""; -static method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% +static extension-member method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% return (() → T% x, ((T%) → void) → U% y) → U% => self::_extension#0|_propagateToContravariantParameterType(#this, x, y); -static method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void +static extension-member method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void return throw ""; -static method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void +static extension-member method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void return (() → core::Map x, (T%) → void y, (U%) → void z) → void => self::_extension#0|_returnTypeRefersToMultipleTypeVars(#this, x, y, z); -static method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% +static extension-member method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% return (() → T% x, T% y) → T% => self::_extension#0|_unnecessaryDueToNoDependency(#this, x, y); -static method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% +static extension-member method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% return (T% x, ({required x: T%, required y: core::int}) → T% y) → T% => self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed(#this, x, y); -static method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void +static extension-member method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesized(#this, x, y); -static method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedNamed(#this, a: a, b: b); -static method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void +static extension-member method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesizedTwice(#this, x, y); -static method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedTwiceNamed(#this, a: a, b: b); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.outline.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.outline.expect index d6b8ef8f7cb..fe49df9c52c 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.outline.expect @@ -88,89 +88,89 @@ static method testParenthesizedTwice(core::int i) → dynamic ; static method testParenthesizedTwiceNamed(core::int i) → dynamic ; -static method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% +static extension-member method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% ; -static method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% +static extension-member method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% return (T% x, (T%) → void y) → T% => self::_extension#0|_laterUnnamedParameter(#this, x, y); -static method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a}) → void +static extension-member method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a}) → void ; -static method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a}) → void => self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter(#this, x, a: a); -static method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void +static extension-member method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void ; -static method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void +static extension-member method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void return ((T%) → void x, T% y) → void => self::_extension#0|_earlierUnnamedParameter(#this, x, y); -static method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a, (T%) → void b}) → void => self::_extension#0|_laterNamedParameter(#this, a: a, b: b); -static method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a, required (self::_extension#0|_laterNamedParameter::T%) → void b}) → void +static extension-member method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a, required (self::_extension#0|_laterNamedParameter::T%) → void b}) → void ; -static method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void +static extension-member method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void return ({(T%) → void a, T% b}) → void => self::_extension#0|_earlierNamedParameter(#this, a: a, b: b); -static method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a, required self::_extension#0|_earlierNamedParameter::T% b}) → void +static extension-member method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a, required self::_extension#0|_earlierNamedParameter::T% b}) → void ; -static method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a}) → void +static extension-member method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a}) → void ; -static method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void +static extension-member method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void return (T% b, {(T%) → void a}) → void => self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter(#this, b, a: a); -static method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% +static extension-member method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% ; -static method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToReturnType(#this, x, y); -static method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% +static extension-member method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% ; -static method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_closureAsParameterType(#this, x, y); -static method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% +static extension-member method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% ; -static method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% +static extension-member method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% return ((T%) → U% x, () → T% y) → U% => self::_extension#0|_propagateToEarlierClosure(#this, x, y); -static method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% return (() → T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToLaterClosure(#this, x, y); -static method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% +static extension-member method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% ; -static method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% +static extension-member method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% ; -static method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% +static extension-member method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% return (() → T% x, (T%) → U% y, (U%) → V% z) → V% => self::_extension#0|_longDependencyChain(#this, x, y, z); -static method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map +static extension-member method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map ; -static method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map +static extension-member method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map return ((U%) → T% x, (T%) → U% y) → core::Map => self::_extension#0|_dependencyCycle(#this, x, y); -static method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% +static extension-member method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% ; -static method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% return (() → (T%) → void x, (T%) → U% y) → U% => self::_extension#0|_propagateFromContravariantReturnType(#this, x, y); -static method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% +static extension-member method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% ; -static method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% +static extension-member method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% return (() → T% x, ((T%) → void) → U% y) → U% => self::_extension#0|_propagateToContravariantParameterType(#this, x, y); -static method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void +static extension-member method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void ; -static method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void +static extension-member method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void return (() → core::Map x, (T%) → void y, (U%) → void z) → void => self::_extension#0|_returnTypeRefersToMultipleTypeVars(#this, x, y, z); -static method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% +static extension-member method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% ; -static method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% return (() → T% x, T% y) → T% => self::_extension#0|_unnecessaryDueToNoDependency(#this, x, y); -static method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% +static extension-member method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% ; -static method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% return (T% x, ({required x: T%, required y: core::int}) → T% y) → T% => self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed(#this, x, y); -static method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void +static extension-member method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void ; -static method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesized(#this, x, y); -static method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a, required (self::_extension#0|_parenthesizedNamed::T%) → void b}) → void +static extension-member method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a, required (self::_extension#0|_parenthesizedNamed::T%) → void b}) → void ; -static method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a, (T%) → void b}) → void => self::_extension#0|_parenthesizedNamed(#this, a: a, b: b); -static method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void +static extension-member method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void ; -static method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesizedTwice(#this, x, y); -static method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b}) → void +static extension-member method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b}) → void ; -static method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a, (T%) → void b}) → void => self::_extension#0|_parenthesizedTwiceNamed(#this, a: a, b: b); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.transformed.expect b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.transformed.expect index 1928a9c9f8e..cac240d6f9c 100644 --- a/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inference_update_1/horizontal_inference_extension_method.dart.weak.transformed.expect @@ -141,89 +141,89 @@ static method testParenthesizedTwiceNamed(core::int i) → dynamic { x; }); } -static method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% +static extension-member method _extension#0|_laterUnnamedParameter(lowered final core::int #this, self::_extension#0|_laterUnnamedParameter::T% x, (self::_extension#0|_laterUnnamedParameter::T%) → void y) → self::_extension#0|_laterUnnamedParameter::T% return throw ""; -static method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% +static extension-member method _extension#0|get#_laterUnnamedParameter(lowered final core::int #this) → (T%, (T%) → void) → T% return (T% x, (T%) → void y) → T% => self::_extension#0|_laterUnnamedParameter(#this, x, y); -static method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void +static extension-member method _extension#0|_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this, (self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T%) → void x, {required self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter::T% a = #C1}) → void return throw ""; -static method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void +static extension-member method _extension#0|get#_laterUnnamedParameterDependsOnNamedParameter(lowered final core::int #this) → ((T%) → void, {a: T%}) → void return ((T%) → void x, {T% a = #C1}) → void => self::_extension#0|_laterUnnamedParameterDependsOnNamedParameter(#this, x, a: a); -static method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void +static extension-member method _extension#0|_earlierUnnamedParameter(lowered final core::int #this, (self::_extension#0|_earlierUnnamedParameter::T%) → void x, self::_extension#0|_earlierUnnamedParameter::T% y) → void return throw ""; -static method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void +static extension-member method _extension#0|get#_earlierUnnamedParameter(lowered final core::int #this) → ((T%) → void, T%) → void return ((T%) → void x, T% y) → void => self::_extension#0|_earlierUnnamedParameter(#this, x, y); -static method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_laterNamedParameter(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_laterNamedParameter(#this, a: a, b: b); -static method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void +static extension-member method _extension#0|_laterNamedParameter(lowered final core::int #this, {required self::_extension#0|_laterNamedParameter::T% a = #C1, required (self::_extension#0|_laterNamedParameter::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void +static extension-member method _extension#0|get#_earlierNamedParameter(lowered final core::int #this) → ({a: (T%) → void, b: T%}) → void return ({(T%) → void a = #C1, T% b = #C1}) → void => self::_extension#0|_earlierNamedParameter(#this, a: a, b: b); -static method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameter(lowered final core::int #this, {required (self::_extension#0|_earlierNamedParameter::T%) → void a = #C1, required self::_extension#0|_earlierNamedParameter::T% b = #C1}) → void return throw ""; -static method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void +static extension-member method _extension#0|_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this, self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T% b, {required (self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter::T%) → void a = #C1}) → void return throw ""; -static method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void +static extension-member method _extension#0|get#_earlierNamedParameterDependsOnUnnamedParameter(lowered final core::int #this) → (T%, {a: (T%) → void}) → void return (T% b, {(T%) → void a = #C1}) → void => self::_extension#0|_earlierNamedParameterDependsOnUnnamedParameter(#this, b, a: a); -static method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% +static extension-member method _extension#0|_propagateToReturnType(lowered final core::int #this, self::_extension#0|_propagateToReturnType::T% x, (self::_extension#0|_propagateToReturnType::T%) → self::_extension#0|_propagateToReturnType::U% y) → self::_extension#0|_propagateToReturnType::U% return throw ""; -static method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToReturnType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToReturnType(#this, x, y); -static method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% +static extension-member method _extension#0|_closureAsParameterType(lowered final core::int #this, self::_extension#0|_closureAsParameterType::T% x, (self::_extension#0|_closureAsParameterType::T%) → self::_extension#0|_closureAsParameterType::U% y) → self::_extension#0|_closureAsParameterType::U% return throw ""; -static method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_closureAsParameterType(lowered final core::int #this) → (T%, (T%) → U%) → U% return (T% x, (T%) → U% y) → U% => self::_extension#0|_closureAsParameterType(#this, x, y); -static method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% +static extension-member method _extension#0|_propagateToEarlierClosure(lowered final core::int #this, (self::_extension#0|_propagateToEarlierClosure::T%) → self::_extension#0|_propagateToEarlierClosure::U% x, () → self::_extension#0|_propagateToEarlierClosure::T% y) → self::_extension#0|_propagateToEarlierClosure::U% return throw ""; -static method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% +static extension-member method _extension#0|get#_propagateToEarlierClosure(lowered final core::int #this) → ((T%) → U%, () → T%) → U% return ((T%) → U% x, () → T% y) → U% => self::_extension#0|_propagateToEarlierClosure(#this, x, y); -static method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateToLaterClosure(lowered final core::int #this) → (() → T%, (T%) → U%) → U% return (() → T% x, (T%) → U% y) → U% => self::_extension#0|_propagateToLaterClosure(#this, x, y); -static method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% +static extension-member method _extension#0|_propagateToLaterClosure(lowered final core::int #this, () → self::_extension#0|_propagateToLaterClosure::T% x, (self::_extension#0|_propagateToLaterClosure::T%) → self::_extension#0|_propagateToLaterClosure::U% y) → self::_extension#0|_propagateToLaterClosure::U% return throw ""; -static method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% +static extension-member method _extension#0|_longDependencyChain(lowered final core::int #this, () → self::_extension#0|_longDependencyChain::T% x, (self::_extension#0|_longDependencyChain::T%) → self::_extension#0|_longDependencyChain::U% y, (self::_extension#0|_longDependencyChain::U%) → self::_extension#0|_longDependencyChain::V% z) → self::_extension#0|_longDependencyChain::V% return throw ""; -static method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% +static extension-member method _extension#0|get#_longDependencyChain(lowered final core::int #this) → (() → T%, (T%) → U%, (U%) → V%) → V% return (() → T% x, (T%) → U% y, (U%) → V% z) → V% => self::_extension#0|_longDependencyChain(#this, x, y, z); -static method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map +static extension-member method _extension#0|_dependencyCycle(lowered final core::int #this, (self::_extension#0|_dependencyCycle::U%) → self::_extension#0|_dependencyCycle::T% x, (self::_extension#0|_dependencyCycle::T%) → self::_extension#0|_dependencyCycle::U% y) → core::Map return throw ""; -static method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map +static extension-member method _extension#0|get#_dependencyCycle(lowered final core::int #this) → ((U%) → T%, (T%) → U%) → core::Map return ((U%) → T% x, (T%) → U% y) → core::Map => self::_extension#0|_dependencyCycle(#this, x, y); -static method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% +static extension-member method _extension#0|_propagateFromContravariantReturnType(lowered final core::int #this, () → (self::_extension#0|_propagateFromContravariantReturnType::T%) → void x, (self::_extension#0|_propagateFromContravariantReturnType::T%) → self::_extension#0|_propagateFromContravariantReturnType::U% y) → self::_extension#0|_propagateFromContravariantReturnType::U% return throw ""; -static method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% +static extension-member method _extension#0|get#_propagateFromContravariantReturnType(lowered final core::int #this) → (() → (T%) → void, (T%) → U%) → U% return (() → (T%) → void x, (T%) → U% y) → U% => self::_extension#0|_propagateFromContravariantReturnType(#this, x, y); -static method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% +static extension-member method _extension#0|_propagateToContravariantParameterType(lowered final core::int #this, () → self::_extension#0|_propagateToContravariantParameterType::T% x, ((self::_extension#0|_propagateToContravariantParameterType::T%) → void) → self::_extension#0|_propagateToContravariantParameterType::U% y) → self::_extension#0|_propagateToContravariantParameterType::U% return throw ""; -static method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% +static extension-member method _extension#0|get#_propagateToContravariantParameterType(lowered final core::int #this) → (() → T%, ((T%) → void) → U%) → U% return (() → T% x, ((T%) → void) → U% y) → U% => self::_extension#0|_propagateToContravariantParameterType(#this, x, y); -static method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void +static extension-member method _extension#0|_returnTypeRefersToMultipleTypeVars(lowered final core::int #this, () → core::Map x, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::T%) → void y, (self::_extension#0|_returnTypeRefersToMultipleTypeVars::U%) → void z) → void return throw ""; -static method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void +static extension-member method _extension#0|get#_returnTypeRefersToMultipleTypeVars(lowered final core::int #this) → (() → core::Map, (T%) → void, (U%) → void) → void return (() → core::Map x, (T%) → void y, (U%) → void z) → void => self::_extension#0|_returnTypeRefersToMultipleTypeVars(#this, x, y, z); -static method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% +static extension-member method _extension#0|_unnecessaryDueToNoDependency(lowered final core::int #this, () → self::_extension#0|_unnecessaryDueToNoDependency::T% x, self::_extension#0|_unnecessaryDueToNoDependency::T% y) → self::_extension#0|_unnecessaryDueToNoDependency::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToNoDependency(lowered final core::int #this) → (() → T%, T%) → T% return (() → T% x, T% y) → T% => self::_extension#0|_unnecessaryDueToNoDependency(#this, x, y); -static method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% +static extension-member method _extension#0|_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this, self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% x, ({required x: self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T%, required y: core::int}) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% y) → self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed::T% return throw ""; -static method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% +static extension-member method _extension#0|get#_unnecessaryDueToExplicitParameterTypeNamed(lowered final core::int #this) → (T%, ({required x: T%, required y: core::int}) → T%) → T% return (T% x, ({required x: T%, required y: core::int}) → T% y) → T% => self::_extension#0|_unnecessaryDueToExplicitParameterTypeNamed(#this, x, y); -static method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void +static extension-member method _extension#0|_parenthesized(lowered final core::int #this, self::_extension#0|_parenthesized::T% x, (self::_extension#0|_parenthesized::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesized(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesized(#this, x, y); -static method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedNamed::T% a = #C1, required (self::_extension#0|_parenthesizedNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedNamed(#this, a: a, b: b); -static method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void +static extension-member method _extension#0|_parenthesizedTwice(lowered final core::int #this, self::_extension#0|_parenthesizedTwice::T% x, (self::_extension#0|_parenthesizedTwice::T%) → void y) → void return throw ""; -static method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void +static extension-member method _extension#0|get#_parenthesizedTwice(lowered final core::int #this) → (T%, (T%) → void) → void return (T% x, (T%) → void y) → void => self::_extension#0|_parenthesizedTwice(#this, x, y); -static method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void +static extension-member method _extension#0|_parenthesizedTwiceNamed(lowered final core::int #this, {required self::_extension#0|_parenthesizedTwiceNamed::T% a = #C1, required (self::_extension#0|_parenthesizedTwiceNamed::T%) → void b = #C1}) → void return throw ""; -static method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void +static extension-member method _extension#0|get#_parenthesizedTwiceNamed(lowered final core::int #this) → ({a: T%, b: (T%) → void}) → void return ({T% a = #C1, (T%) → void b = #C1}) → void => self::_extension#0|_parenthesizedTwiceNamed(#this, a: a, b: b); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/inference_update_2/external_field.dart.strong.expect b/pkg/front_end/testcases/inference_update_2/external_field.dart.strong.expect index 1b20e91fb72..e455e382913 100644 --- a/pkg/front_end/testcases/inference_update_2/external_field.dart.strong.expect +++ b/pkg/front_end/testcases/inference_update_2/external_field.dart.strong.expect @@ -11,7 +11,7 @@ abstract class C extends core::Object { extension /* unnamed */ _extension#0 on self::C { get _f2 = self::_extension#0|get#_f2; } -external static method _extension#0|get#_f2(lowered self::C #this) → core::int?; +external static extension-member method _extension#0|get#_f2(lowered self::C #this) → core::int?; static method testExternalFieldInClass(self::C c) → void { if(!(c.{self::C::_f1}{core::int?} == null)) { core::int? x = c.{self::C::_f1}{core::int?}; diff --git a/pkg/front_end/testcases/inference_update_2/external_field.dart.strong.transformed.expect b/pkg/front_end/testcases/inference_update_2/external_field.dart.strong.transformed.expect index 1b20e91fb72..e455e382913 100644 --- a/pkg/front_end/testcases/inference_update_2/external_field.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference_update_2/external_field.dart.strong.transformed.expect @@ -11,7 +11,7 @@ abstract class C extends core::Object { extension /* unnamed */ _extension#0 on self::C { get _f2 = self::_extension#0|get#_f2; } -external static method _extension#0|get#_f2(lowered self::C #this) → core::int?; +external static extension-member method _extension#0|get#_f2(lowered self::C #this) → core::int?; static method testExternalFieldInClass(self::C c) → void { if(!(c.{self::C::_f1}{core::int?} == null)) { core::int? x = c.{self::C::_f1}{core::int?}; diff --git a/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.expect b/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.expect index 1b20e91fb72..e455e382913 100644 --- a/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.expect +++ b/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.expect @@ -11,7 +11,7 @@ abstract class C extends core::Object { extension /* unnamed */ _extension#0 on self::C { get _f2 = self::_extension#0|get#_f2; } -external static method _extension#0|get#_f2(lowered self::C #this) → core::int?; +external static extension-member method _extension#0|get#_f2(lowered self::C #this) → core::int?; static method testExternalFieldInClass(self::C c) → void { if(!(c.{self::C::_f1}{core::int?} == null)) { core::int? x = c.{self::C::_f1}{core::int?}; diff --git a/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.modular.expect b/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.modular.expect index 1b20e91fb72..e455e382913 100644 --- a/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.modular.expect @@ -11,7 +11,7 @@ abstract class C extends core::Object { extension /* unnamed */ _extension#0 on self::C { get _f2 = self::_extension#0|get#_f2; } -external static method _extension#0|get#_f2(lowered self::C #this) → core::int?; +external static extension-member method _extension#0|get#_f2(lowered self::C #this) → core::int?; static method testExternalFieldInClass(self::C c) → void { if(!(c.{self::C::_f1}{core::int?} == null)) { core::int? x = c.{self::C::_f1}{core::int?}; diff --git a/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.outline.expect b/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.outline.expect index 45a2a1a8c2b..2da049c2703 100644 --- a/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.outline.expect @@ -10,7 +10,7 @@ abstract class C extends core::Object { extension /* unnamed */ _extension#0 on self::C { get _f2 = self::_extension#0|get#_f2; } -external static method _extension#0|get#_f2(lowered self::C #this) → core::int?; +external static extension-member method _extension#0|get#_f2(lowered self::C #this) → core::int?; static method testExternalFieldInClass(self::C c) → void ; static method testExternalFieldInExtension(self::C c) → void diff --git a/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.transformed.expect b/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.transformed.expect index 1b20e91fb72..e455e382913 100644 --- a/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inference_update_2/external_field.dart.weak.transformed.expect @@ -11,7 +11,7 @@ abstract class C extends core::Object { extension /* unnamed */ _extension#0 on self::C { get _f2 = self::_extension#0|get#_f2; } -external static method _extension#0|get#_f2(lowered self::C #this) → core::int?; +external static extension-member method _extension#0|get#_f2(lowered self::C #this) → core::int?; static method testExternalFieldInClass(self::C c) → void { if(!(c.{self::C::_f1}{core::int?} == null)) { core::int? x = c.{self::C::_f1}{core::int?}; diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.strong.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.strong.expect index c2ddb8e0edc..78d4bdb37b0 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.strong.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.strong.expect @@ -53,7 +53,7 @@ extension /* unnamed */ _extension#0 on core::String { static field core::int? _f8; static get _f9() → core::int? return 0; -static method _extension#0|get#_f10(lowered final core::String #this) → core::int? +static extension-member method _extension#0|get#_f10(lowered final core::String #this) → core::int? return 0; static method acceptsInt(core::int x) → void {} static method testFinalField(self::C c) → void { diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.strong.transformed.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.strong.transformed.expect index c2ddb8e0edc..78d4bdb37b0 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.strong.transformed.expect @@ -53,7 +53,7 @@ extension /* unnamed */ _extension#0 on core::String { static field core::int? _f8; static get _f9() → core::int? return 0; -static method _extension#0|get#_f10(lowered final core::String #this) → core::int? +static extension-member method _extension#0|get#_f10(lowered final core::String #this) → core::int? return 0; static method acceptsInt(core::int x) → void {} static method testFinalField(self::C c) → void { diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.expect index c2ddb8e0edc..78d4bdb37b0 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.expect @@ -53,7 +53,7 @@ extension /* unnamed */ _extension#0 on core::String { static field core::int? _f8; static get _f9() → core::int? return 0; -static method _extension#0|get#_f10(lowered final core::String #this) → core::int? +static extension-member method _extension#0|get#_f10(lowered final core::String #this) → core::int? return 0; static method acceptsInt(core::int x) → void {} static method testFinalField(self::C c) → void { diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.modular.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.modular.expect index c2ddb8e0edc..78d4bdb37b0 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.modular.expect @@ -53,7 +53,7 @@ extension /* unnamed */ _extension#0 on core::String { static field core::int? _f8; static get _f9() → core::int? return 0; -static method _extension#0|get#_f10(lowered final core::String #this) → core::int? +static extension-member method _extension#0|get#_f10(lowered final core::String #this) → core::int? return 0; static method acceptsInt(core::int x) → void {} static method testFinalField(self::C c) → void { diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.outline.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.outline.expect index b877f254eb4..efa2c162d3c 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.outline.expect @@ -51,7 +51,7 @@ extension /* unnamed */ _extension#0 on core::String { static field core::int? _f8; static get _f9() → core::int? ; -static method _extension#0|get#_f10(lowered final core::String #this) → core::int? +static extension-member method _extension#0|get#_f10(lowered final core::String #this) → core::int? ; static method acceptsInt(core::int x) → void ; diff --git a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.transformed.expect b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.transformed.expect index c2ddb8e0edc..78d4bdb37b0 100644 --- a/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inference_update_2/field_promotion_name_conflicts.dart.weak.transformed.expect @@ -53,7 +53,7 @@ extension /* unnamed */ _extension#0 on core::String { static field core::int? _f8; static get _f9() → core::int? return 0; -static method _extension#0|get#_f10(lowered final core::String #this) → core::int? +static extension-member method _extension#0|get#_f10(lowered final core::String #this) → core::int? return 0; static method acceptsInt(core::int x) → void {} static method testFinalField(self::C c) → void { diff --git a/pkg/front_end/testcases/inline_class/annotations.dart.strong.expect b/pkg/front_end/testcases/inline_class/annotations.dart.strong.expect index ac0d90768b3..8df8afdacb6 100644 --- a/pkg/front_end/testcases/inline_class/annotations.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/annotations.dart.strong.expect @@ -10,15 +10,15 @@ inline class A /* declaredRepresentationType = core::int */ { tearoff • = self::A|_#new#tearOff; } @#C2 -static method A|(core::int i) → self::A { +static inline-class-member method A|(core::int i) → self::A { lowered final self::A #this = i; return #this; } -static method A|_#new#tearOff(core::int i) → self::A +static inline-class-member method A|_#new#tearOff(core::int i) → self::A return self::A|(i); @#C2 -static method A|m(lowered final self::A #this) → void {} -static method A|get#m(lowered final self::A #this) → () → void +static inline-class-member method A|m(lowered final self::A #this) → void {} +static inline-class-member method A|get#m(lowered final self::A #this) → () → void return () → void => self::A|m(#this); constants { diff --git a/pkg/front_end/testcases/inline_class/annotations.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/annotations.dart.strong.transformed.expect index ac0d90768b3..8df8afdacb6 100644 --- a/pkg/front_end/testcases/inline_class/annotations.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/annotations.dart.strong.transformed.expect @@ -10,15 +10,15 @@ inline class A /* declaredRepresentationType = core::int */ { tearoff • = self::A|_#new#tearOff; } @#C2 -static method A|(core::int i) → self::A { +static inline-class-member method A|(core::int i) → self::A { lowered final self::A #this = i; return #this; } -static method A|_#new#tearOff(core::int i) → self::A +static inline-class-member method A|_#new#tearOff(core::int i) → self::A return self::A|(i); @#C2 -static method A|m(lowered final self::A #this) → void {} -static method A|get#m(lowered final self::A #this) → () → void +static inline-class-member method A|m(lowered final self::A #this) → void {} +static inline-class-member method A|get#m(lowered final self::A #this) → () → void return () → void => self::A|m(#this); constants { diff --git a/pkg/front_end/testcases/inline_class/annotations.dart.weak.expect b/pkg/front_end/testcases/inline_class/annotations.dart.weak.expect index ac0d90768b3..8df8afdacb6 100644 --- a/pkg/front_end/testcases/inline_class/annotations.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/annotations.dart.weak.expect @@ -10,15 +10,15 @@ inline class A /* declaredRepresentationType = core::int */ { tearoff • = self::A|_#new#tearOff; } @#C2 -static method A|(core::int i) → self::A { +static inline-class-member method A|(core::int i) → self::A { lowered final self::A #this = i; return #this; } -static method A|_#new#tearOff(core::int i) → self::A +static inline-class-member method A|_#new#tearOff(core::int i) → self::A return self::A|(i); @#C2 -static method A|m(lowered final self::A #this) → void {} -static method A|get#m(lowered final self::A #this) → () → void +static inline-class-member method A|m(lowered final self::A #this) → void {} +static inline-class-member method A|get#m(lowered final self::A #this) → () → void return () → void => self::A|m(#this); constants { diff --git a/pkg/front_end/testcases/inline_class/annotations.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/annotations.dart.weak.modular.expect index ac0d90768b3..8df8afdacb6 100644 --- a/pkg/front_end/testcases/inline_class/annotations.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/annotations.dart.weak.modular.expect @@ -10,15 +10,15 @@ inline class A /* declaredRepresentationType = core::int */ { tearoff • = self::A|_#new#tearOff; } @#C2 -static method A|(core::int i) → self::A { +static inline-class-member method A|(core::int i) → self::A { lowered final self::A #this = i; return #this; } -static method A|_#new#tearOff(core::int i) → self::A +static inline-class-member method A|_#new#tearOff(core::int i) → self::A return self::A|(i); @#C2 -static method A|m(lowered final self::A #this) → void {} -static method A|get#m(lowered final self::A #this) → () → void +static inline-class-member method A|m(lowered final self::A #this) → void {} +static inline-class-member method A|get#m(lowered final self::A #this) → () → void return () → void => self::A|m(#this); constants { diff --git a/pkg/front_end/testcases/inline_class/annotations.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/annotations.dart.weak.outline.expect index 97ffb2831b2..f00b1bd2e4c 100644 --- a/pkg/front_end/testcases/inline_class/annotations.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/annotations.dart.weak.outline.expect @@ -10,14 +10,14 @@ inline class A /* declaredRepresentationType = core::int */ { tearoff • = self::A|_#new#tearOff; } @core::Deprecated::•("") -static method A|(core::int i) → self::A +static inline-class-member method A|(core::int i) → self::A ; -static method A|_#new#tearOff(core::int i) → self::A +static inline-class-member method A|_#new#tearOff(core::int i) → self::A return self::A|(i); @core::Deprecated::•("") -static method A|m(lowered final self::A #this) → void +static inline-class-member method A|m(lowered final self::A #this) → void ; -static method A|get#m(lowered final self::A #this) → () → void +static inline-class-member method A|get#m(lowered final self::A #this) → () → void return () → void => self::A|m(#this); diff --git a/pkg/front_end/testcases/inline_class/annotations.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/annotations.dart.weak.transformed.expect index ac0d90768b3..8df8afdacb6 100644 --- a/pkg/front_end/testcases/inline_class/annotations.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/annotations.dart.weak.transformed.expect @@ -10,15 +10,15 @@ inline class A /* declaredRepresentationType = core::int */ { tearoff • = self::A|_#new#tearOff; } @#C2 -static method A|(core::int i) → self::A { +static inline-class-member method A|(core::int i) → self::A { lowered final self::A #this = i; return #this; } -static method A|_#new#tearOff(core::int i) → self::A +static inline-class-member method A|_#new#tearOff(core::int i) → self::A return self::A|(i); @#C2 -static method A|m(lowered final self::A #this) → void {} -static method A|get#m(lowered final self::A #this) → () → void +static inline-class-member method A|m(lowered final self::A #this) → void {} +static inline-class-member method A|get#m(lowered final self::A #this) → () → void return () → void => self::A|m(#this); constants { diff --git a/pkg/front_end/testcases/inline_class/constructor_access.dart.strong.expect b/pkg/front_end/testcases/inline_class/constructor_access.dart.strong.expect index aa5dfce49a6..69ad55c41e9 100644 --- a/pkg/front_end/testcases/inline_class/constructor_access.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/constructor_access.dart.strong.expect @@ -12,23 +12,23 @@ inline class GenericClass /* declaredRepresen constructor • = self::GenericClass|; tearoff • = self::GenericClass|_#new#tearOff; } -static method Class|(core::int it) → self::Class { +static inline-class-member method Class|(core::int it) → self::Class { lowered final self::Class #this = it; return #this; } -static method Class|_#new#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#new#tearOff(core::int it) → self::Class return self::Class|(it); -static method Class|named(core::int it) → self::Class { +static inline-class-member method Class|named(core::int it) → self::Class { lowered final self::Class #this = it.{core::num::+}(1){(core::num) → core::int}; return #this; } -static method Class|_#named#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#named#tearOff(core::int it) → self::Class return self::Class|named(it); -static method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { +static inline-class-member method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { lowered final self::GenericClass #this = it; return #this; } -static method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass +static inline-class-member method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass return self::GenericClass|(it); static method main() → dynamic { self::Class a = self::Class|(3); diff --git a/pkg/front_end/testcases/inline_class/constructor_access.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/constructor_access.dart.strong.transformed.expect index aa5dfce49a6..69ad55c41e9 100644 --- a/pkg/front_end/testcases/inline_class/constructor_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/constructor_access.dart.strong.transformed.expect @@ -12,23 +12,23 @@ inline class GenericClass /* declaredRepresen constructor • = self::GenericClass|; tearoff • = self::GenericClass|_#new#tearOff; } -static method Class|(core::int it) → self::Class { +static inline-class-member method Class|(core::int it) → self::Class { lowered final self::Class #this = it; return #this; } -static method Class|_#new#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#new#tearOff(core::int it) → self::Class return self::Class|(it); -static method Class|named(core::int it) → self::Class { +static inline-class-member method Class|named(core::int it) → self::Class { lowered final self::Class #this = it.{core::num::+}(1){(core::num) → core::int}; return #this; } -static method Class|_#named#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#named#tearOff(core::int it) → self::Class return self::Class|named(it); -static method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { +static inline-class-member method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { lowered final self::GenericClass #this = it; return #this; } -static method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass +static inline-class-member method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass return self::GenericClass|(it); static method main() → dynamic { self::Class a = self::Class|(3); diff --git a/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.expect b/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.expect index 2847ef5500a..17c9cb57074 100644 --- a/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.expect @@ -12,23 +12,23 @@ inline class GenericClass /* declaredRepresen constructor • = self::GenericClass|; tearoff • = self::GenericClass|_#new#tearOff; } -static method Class|(core::int it) → self::Class { +static inline-class-member method Class|(core::int it) → self::Class { lowered final self::Class #this = it; return #this; } -static method Class|_#new#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#new#tearOff(core::int it) → self::Class return self::Class|(it); -static method Class|named(core::int it) → self::Class { +static inline-class-member method Class|named(core::int it) → self::Class { lowered final self::Class #this = it.{core::num::+}(1){(core::num) → core::int}; return #this; } -static method Class|_#named#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#named#tearOff(core::int it) → self::Class return self::Class|named(it); -static method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { +static inline-class-member method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { lowered final self::GenericClass #this = it; return #this; } -static method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass +static inline-class-member method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass return self::GenericClass|(it); static method main() → dynamic { self::Class a = self::Class|(3); diff --git a/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.modular.expect index 2847ef5500a..17c9cb57074 100644 --- a/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.modular.expect @@ -12,23 +12,23 @@ inline class GenericClass /* declaredRepresen constructor • = self::GenericClass|; tearoff • = self::GenericClass|_#new#tearOff; } -static method Class|(core::int it) → self::Class { +static inline-class-member method Class|(core::int it) → self::Class { lowered final self::Class #this = it; return #this; } -static method Class|_#new#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#new#tearOff(core::int it) → self::Class return self::Class|(it); -static method Class|named(core::int it) → self::Class { +static inline-class-member method Class|named(core::int it) → self::Class { lowered final self::Class #this = it.{core::num::+}(1){(core::num) → core::int}; return #this; } -static method Class|_#named#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#named#tearOff(core::int it) → self::Class return self::Class|named(it); -static method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { +static inline-class-member method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { lowered final self::GenericClass #this = it; return #this; } -static method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass +static inline-class-member method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass return self::GenericClass|(it); static method main() → dynamic { self::Class a = self::Class|(3); diff --git a/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.outline.expect index 440150b4312..b7bc31389ed 100644 --- a/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.outline.expect @@ -12,17 +12,17 @@ inline class GenericClass /* declaredRepresen constructor • = self::GenericClass|; tearoff • = self::GenericClass|_#new#tearOff; } -static method Class|(core::int it) → self::Class +static inline-class-member method Class|(core::int it) → self::Class ; -static method Class|_#new#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#new#tearOff(core::int it) → self::Class return self::Class|(it); -static method Class|named(core::int it) → self::Class +static inline-class-member method Class|named(core::int it) → self::Class ; -static method Class|_#named#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#named#tearOff(core::int it) → self::Class return self::Class|named(it); -static method GenericClass|(self::GenericClass|::T% it) → self::GenericClass +static inline-class-member method GenericClass|(self::GenericClass|::T% it) → self::GenericClass ; -static method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass +static inline-class-member method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass return self::GenericClass|(it); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.transformed.expect index 2847ef5500a..17c9cb57074 100644 --- a/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/constructor_access.dart.weak.transformed.expect @@ -12,23 +12,23 @@ inline class GenericClass /* declaredRepresen constructor • = self::GenericClass|; tearoff • = self::GenericClass|_#new#tearOff; } -static method Class|(core::int it) → self::Class { +static inline-class-member method Class|(core::int it) → self::Class { lowered final self::Class #this = it; return #this; } -static method Class|_#new#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#new#tearOff(core::int it) → self::Class return self::Class|(it); -static method Class|named(core::int it) → self::Class { +static inline-class-member method Class|named(core::int it) → self::Class { lowered final self::Class #this = it.{core::num::+}(1){(core::num) → core::int}; return #this; } -static method Class|_#named#tearOff(core::int it) → self::Class +static inline-class-member method Class|_#named#tearOff(core::int it) → self::Class return self::Class|named(it); -static method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { +static inline-class-member method GenericClass|(self::GenericClass|::T% it) → self::GenericClass { lowered final self::GenericClass #this = it; return #this; } -static method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass +static inline-class-member method GenericClass|_#new#tearOff(self::GenericClass|_#new#tearOff::T% it) → self::GenericClass return self::GenericClass|(it); static method main() → dynamic { self::Class a = self::Class|(3); diff --git a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.strong.expect b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.strong.expect index bd89ac4d9a6..9ba8e61ac20 100644 --- a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.strong.expect @@ -34,99 +34,99 @@ inline class Class2 /* declaredRepresentation constructor named6 = self::Class2|named6; tearoff named6 = self::Class2|_#named6#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class1|named1(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named1(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named1(it, additional); -static method Class1|named2(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named2(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named2(it, additional); -static method Class1|named3(core::int it) → self::Class1 { +static inline-class-member method Class1|named3(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named3#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#named3#tearOff(core::int it) → self::Class1 return self::Class1|named3(it); -static method Class1|named4(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named4(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named4(additional, it); -static method Class1|named5(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named5(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named5(additional, it); -static method Class1|named6(core::String text) → self::Class1 { +static inline-class-member method Class1|named6(core::String text) → self::Class1 { lowered final self::Class1 #this = text.{core::String::length}{core::int}; return #this; } -static method Class1|_#named6#tearOff(core::String text) → self::Class1 +static inline-class-member method Class1|_#named6#tearOff(core::String text) → self::Class1 return self::Class1|named6(text); -static method Class2|(self::Class2|::T% it) → self::Class2 { +static inline-class-member method Class2|(self::Class2|::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 return self::Class2|(it); -static method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named1(it, additional); -static method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named2(it, additional); -static method Class2|named3(self::Class2|named3::T% it) → self::Class2 { +static inline-class-member method Class2|named3(self::Class2|named3::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 return self::Class2|named3(it); -static method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { +static inline-class-member method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 return self::Class2|named4(additional, it); -static method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { +static inline-class-member method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 return self::Class2|named5(additional, it); -static method Class2|named6(core::List list) → self::Class2 { +static inline-class-member method Class2|named6(core::List list) → self::Class2 { lowered final self::Class2 #this = list.{core::Iterable::first}{self::Class2|named6::T%}; return #this; } -static method Class2|_#named6#tearOff(core::List list) → self::Class2 +static inline-class-member method Class2|_#named6#tearOff(core::List list) → self::Class2 return self::Class2|named6(list); diff --git a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.strong.transformed.expect index bd89ac4d9a6..9ba8e61ac20 100644 --- a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.strong.transformed.expect @@ -34,99 +34,99 @@ inline class Class2 /* declaredRepresentation constructor named6 = self::Class2|named6; tearoff named6 = self::Class2|_#named6#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class1|named1(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named1(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named1(it, additional); -static method Class1|named2(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named2(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named2(it, additional); -static method Class1|named3(core::int it) → self::Class1 { +static inline-class-member method Class1|named3(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named3#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#named3#tearOff(core::int it) → self::Class1 return self::Class1|named3(it); -static method Class1|named4(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named4(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named4(additional, it); -static method Class1|named5(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named5(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named5(additional, it); -static method Class1|named6(core::String text) → self::Class1 { +static inline-class-member method Class1|named6(core::String text) → self::Class1 { lowered final self::Class1 #this = text.{core::String::length}{core::int}; return #this; } -static method Class1|_#named6#tearOff(core::String text) → self::Class1 +static inline-class-member method Class1|_#named6#tearOff(core::String text) → self::Class1 return self::Class1|named6(text); -static method Class2|(self::Class2|::T% it) → self::Class2 { +static inline-class-member method Class2|(self::Class2|::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 return self::Class2|(it); -static method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named1(it, additional); -static method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named2(it, additional); -static method Class2|named3(self::Class2|named3::T% it) → self::Class2 { +static inline-class-member method Class2|named3(self::Class2|named3::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 return self::Class2|named3(it); -static method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { +static inline-class-member method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 return self::Class2|named4(additional, it); -static method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { +static inline-class-member method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 return self::Class2|named5(additional, it); -static method Class2|named6(core::List list) → self::Class2 { +static inline-class-member method Class2|named6(core::List list) → self::Class2 { lowered final self::Class2 #this = list.{core::Iterable::first}{self::Class2|named6::T%}; return #this; } -static method Class2|_#named6#tearOff(core::List list) → self::Class2 +static inline-class-member method Class2|_#named6#tearOff(core::List list) → self::Class2 return self::Class2|named6(list); diff --git a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.expect b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.expect index bd89ac4d9a6..9ba8e61ac20 100644 --- a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.expect @@ -34,99 +34,99 @@ inline class Class2 /* declaredRepresentation constructor named6 = self::Class2|named6; tearoff named6 = self::Class2|_#named6#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class1|named1(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named1(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named1(it, additional); -static method Class1|named2(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named2(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named2(it, additional); -static method Class1|named3(core::int it) → self::Class1 { +static inline-class-member method Class1|named3(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named3#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#named3#tearOff(core::int it) → self::Class1 return self::Class1|named3(it); -static method Class1|named4(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named4(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named4(additional, it); -static method Class1|named5(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named5(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named5(additional, it); -static method Class1|named6(core::String text) → self::Class1 { +static inline-class-member method Class1|named6(core::String text) → self::Class1 { lowered final self::Class1 #this = text.{core::String::length}{core::int}; return #this; } -static method Class1|_#named6#tearOff(core::String text) → self::Class1 +static inline-class-member method Class1|_#named6#tearOff(core::String text) → self::Class1 return self::Class1|named6(text); -static method Class2|(self::Class2|::T% it) → self::Class2 { +static inline-class-member method Class2|(self::Class2|::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 return self::Class2|(it); -static method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named1(it, additional); -static method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named2(it, additional); -static method Class2|named3(self::Class2|named3::T% it) → self::Class2 { +static inline-class-member method Class2|named3(self::Class2|named3::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 return self::Class2|named3(it); -static method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { +static inline-class-member method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 return self::Class2|named4(additional, it); -static method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { +static inline-class-member method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 return self::Class2|named5(additional, it); -static method Class2|named6(core::List list) → self::Class2 { +static inline-class-member method Class2|named6(core::List list) → self::Class2 { lowered final self::Class2 #this = list.{core::Iterable::first}{self::Class2|named6::T%}; return #this; } -static method Class2|_#named6#tearOff(core::List list) → self::Class2 +static inline-class-member method Class2|_#named6#tearOff(core::List list) → self::Class2 return self::Class2|named6(list); diff --git a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.modular.expect index bd89ac4d9a6..9ba8e61ac20 100644 --- a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.modular.expect @@ -34,99 +34,99 @@ inline class Class2 /* declaredRepresentation constructor named6 = self::Class2|named6; tearoff named6 = self::Class2|_#named6#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class1|named1(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named1(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named1(it, additional); -static method Class1|named2(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named2(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named2(it, additional); -static method Class1|named3(core::int it) → self::Class1 { +static inline-class-member method Class1|named3(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named3#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#named3#tearOff(core::int it) → self::Class1 return self::Class1|named3(it); -static method Class1|named4(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named4(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named4(additional, it); -static method Class1|named5(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named5(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named5(additional, it); -static method Class1|named6(core::String text) → self::Class1 { +static inline-class-member method Class1|named6(core::String text) → self::Class1 { lowered final self::Class1 #this = text.{core::String::length}{core::int}; return #this; } -static method Class1|_#named6#tearOff(core::String text) → self::Class1 +static inline-class-member method Class1|_#named6#tearOff(core::String text) → self::Class1 return self::Class1|named6(text); -static method Class2|(self::Class2|::T% it) → self::Class2 { +static inline-class-member method Class2|(self::Class2|::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 return self::Class2|(it); -static method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named1(it, additional); -static method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named2(it, additional); -static method Class2|named3(self::Class2|named3::T% it) → self::Class2 { +static inline-class-member method Class2|named3(self::Class2|named3::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 return self::Class2|named3(it); -static method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { +static inline-class-member method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 return self::Class2|named4(additional, it); -static method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { +static inline-class-member method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 return self::Class2|named5(additional, it); -static method Class2|named6(core::List list) → self::Class2 { +static inline-class-member method Class2|named6(core::List list) → self::Class2 { lowered final self::Class2 #this = list.{core::Iterable::first}{self::Class2|named6::T%}; return #this; } -static method Class2|_#named6#tearOff(core::List list) → self::Class2 +static inline-class-member method Class2|_#named6#tearOff(core::List list) → self::Class2 return self::Class2|named6(list); diff --git a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.outline.expect index 262d6b12f85..4ef0135ec30 100644 --- a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.outline.expect @@ -34,59 +34,59 @@ inline class Class2 /* declaredRepresentation constructor named6 = self::Class2|named6; tearoff named6 = self::Class2|_#named6#tearOff; } -static method Class1|(core::int it) → self::Class1 +static inline-class-member method Class1|(core::int it) → self::Class1 ; -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class1|named1(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|named1(core::int it, core::int additional) → self::Class1 ; -static method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named1(it, additional); -static method Class1|named2(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|named2(core::int it, core::int additional) → self::Class1 ; -static method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named2(it, additional); -static method Class1|named3(core::int it) → self::Class1 +static inline-class-member method Class1|named3(core::int it) → self::Class1 ; -static method Class1|_#named3#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#named3#tearOff(core::int it) → self::Class1 return self::Class1|named3(it); -static method Class1|named4(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|named4(core::int additional, core::int it) → self::Class1 ; -static method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named4(additional, it); -static method Class1|named5(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|named5(core::int additional, core::int it) → self::Class1 ; -static method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named5(additional, it); -static method Class1|named6(core::String text) → self::Class1 +static inline-class-member method Class1|named6(core::String text) → self::Class1 ; -static method Class1|_#named6#tearOff(core::String text) → self::Class1 +static inline-class-member method Class1|_#named6#tearOff(core::String text) → self::Class1 return self::Class1|named6(text); -static method Class2|(self::Class2|::T% it) → self::Class2 +static inline-class-member method Class2|(self::Class2|::T% it) → self::Class2 ; -static method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 return self::Class2|(it); -static method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 ; -static method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named1(it, additional); -static method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 ; -static method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named2(it, additional); -static method Class2|named3(self::Class2|named3::T% it) → self::Class2 +static inline-class-member method Class2|named3(self::Class2|named3::T% it) → self::Class2 ; -static method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 return self::Class2|named3(it); -static method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 +static inline-class-member method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 ; -static method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 return self::Class2|named4(additional, it); -static method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 +static inline-class-member method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 ; -static method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 return self::Class2|named5(additional, it); -static method Class2|named6(core::List list) → self::Class2 +static inline-class-member method Class2|named6(core::List list) → self::Class2 ; -static method Class2|_#named6#tearOff(core::List list) → self::Class2 +static inline-class-member method Class2|_#named6#tearOff(core::List list) → self::Class2 return self::Class2|named6(list); diff --git a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.transformed.expect index bd89ac4d9a6..9ba8e61ac20 100644 --- a/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/constructor_bodies.dart.weak.transformed.expect @@ -34,99 +34,99 @@ inline class Class2 /* declaredRepresentation constructor named6 = self::Class2|named6; tearoff named6 = self::Class2|_#named6#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class1|named1(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named1(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named1#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named1(it, additional); -static method Class1|named2(core::int it, core::int additional) → self::Class1 { +static inline-class-member method Class1|named2(core::int it, core::int additional) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 +static inline-class-member method Class1|_#named2#tearOff(core::int it, core::int additional) → self::Class1 return self::Class1|named2(it, additional); -static method Class1|named3(core::int it) → self::Class1 { +static inline-class-member method Class1|named3(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named3#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#named3#tearOff(core::int it) → self::Class1 return self::Class1|named3(it); -static method Class1|named4(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named4(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named4#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named4(additional, it); -static method Class1|named5(core::int additional, core::int it) → self::Class1 { +static inline-class-member method Class1|named5(core::int additional, core::int it) → self::Class1 { lowered final self::Class1 #this = it; { core::print(additional); } return #this; } -static method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 +static inline-class-member method Class1|_#named5#tearOff(core::int additional, core::int it) → self::Class1 return self::Class1|named5(additional, it); -static method Class1|named6(core::String text) → self::Class1 { +static inline-class-member method Class1|named6(core::String text) → self::Class1 { lowered final self::Class1 #this = text.{core::String::length}{core::int}; return #this; } -static method Class1|_#named6#tearOff(core::String text) → self::Class1 +static inline-class-member method Class1|_#named6#tearOff(core::String text) → self::Class1 return self::Class1|named6(text); -static method Class2|(self::Class2|::T% it) → self::Class2 { +static inline-class-member method Class2|(self::Class2|::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(self::Class2|_#new#tearOff::T% it) → self::Class2 return self::Class2|(it); -static method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named1(self::Class2|named1::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named1#tearOff(self::Class2|_#named1#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named1(it, additional); -static method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { +static inline-class-member method Class2|named2(self::Class2|named2::T% it, core::int additional) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 +static inline-class-member method Class2|_#named2#tearOff(self::Class2|_#named2#tearOff::T% it, core::int additional) → self::Class2 return self::Class2|named2(it, additional); -static method Class2|named3(self::Class2|named3::T% it) → self::Class2 { +static inline-class-member method Class2|named3(self::Class2|named3::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named3#tearOff(self::Class2|_#named3#tearOff::T% it) → self::Class2 return self::Class2|named3(it); -static method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { +static inline-class-member method Class2|named4(core::int additional, self::Class2|named4::T% it) → self::Class2 { lowered final self::Class2 #this = it; return #this; } -static method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named4#tearOff(core::int additional, self::Class2|_#named4#tearOff::T% it) → self::Class2 return self::Class2|named4(additional, it); -static method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { +static inline-class-member method Class2|named5(core::int additional, self::Class2|named5::T% it) → self::Class2 { lowered final self::Class2 #this = it; { core::print(additional); } return #this; } -static method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 +static inline-class-member method Class2|_#named5#tearOff(core::int additional, self::Class2|_#named5#tearOff::T% it) → self::Class2 return self::Class2|named5(additional, it); -static method Class2|named6(core::List list) → self::Class2 { +static inline-class-member method Class2|named6(core::List list) → self::Class2 { lowered final self::Class2 #this = list.{core::Iterable::first}{self::Class2|named6::T%}; return #this; } -static method Class2|_#named6#tearOff(core::List list) → self::Class2 +static inline-class-member method Class2|_#named6#tearOff(core::List list) → self::Class2 return self::Class2|named6(list); diff --git a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.strong.expect b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.strong.expect index 503932ac461..264796f5ff7 100644 --- a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.strong.expect @@ -14,23 +14,23 @@ inline class I2 /* declaredRepresentationType = core::int */ { constructor • = self::I2|; tearoff • = self::I2|_#new#tearOff; } -static method I|(core::int x, [core::int? y = #C1]) → self::I { +static inline-class-member method I|(core::int x, [core::int? y = #C1]) → self::I { lowered final self::I #this = x.{core::num::+}(let final core::int? #t1 = y in #t1 == null ?{core::int} 42 : #t1{core::int}){(core::num) → core::int}; return #this; } -static method I|_#new#tearOff(core::int x, [core::int? y]) → self::I +static inline-class-member method I|_#new#tearOff(core::int x, [core::int? y]) → self::I return self::I|(x, y); -static method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} -static method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void +static inline-class-member method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} +static inline-class-member method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C2]) → void => self::I|m(#this, s, i); -static method I2|(core::int x, {core::int? y = #C1}) → self::I2 { +static inline-class-member method I2|(core::int x, {core::int? y = #C1}) → self::I2 { lowered final self::I2 #this = x.{core::num::+}(let final core::int? #t2 = y in #t2 == null ?{core::int} 87 : #t2{core::int}){(core::num) → core::int}; return #this; } -static method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 +static inline-class-member method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 return self::I2|(x, y: y); -static method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} -static method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void +static inline-class-member method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} +static inline-class-member method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C2}) → void => self::I2|m(#this, s, i: i); static method main() → dynamic { self::expect(42, self::I|(0)); diff --git a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.strong.transformed.expect index 503932ac461..264796f5ff7 100644 --- a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.strong.transformed.expect @@ -14,23 +14,23 @@ inline class I2 /* declaredRepresentationType = core::int */ { constructor • = self::I2|; tearoff • = self::I2|_#new#tearOff; } -static method I|(core::int x, [core::int? y = #C1]) → self::I { +static inline-class-member method I|(core::int x, [core::int? y = #C1]) → self::I { lowered final self::I #this = x.{core::num::+}(let final core::int? #t1 = y in #t1 == null ?{core::int} 42 : #t1{core::int}){(core::num) → core::int}; return #this; } -static method I|_#new#tearOff(core::int x, [core::int? y]) → self::I +static inline-class-member method I|_#new#tearOff(core::int x, [core::int? y]) → self::I return self::I|(x, y); -static method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} -static method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void +static inline-class-member method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} +static inline-class-member method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C2]) → void => self::I|m(#this, s, i); -static method I2|(core::int x, {core::int? y = #C1}) → self::I2 { +static inline-class-member method I2|(core::int x, {core::int? y = #C1}) → self::I2 { lowered final self::I2 #this = x.{core::num::+}(let final core::int? #t2 = y in #t2 == null ?{core::int} 87 : #t2{core::int}){(core::num) → core::int}; return #this; } -static method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 +static inline-class-member method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 return self::I2|(x, y: y); -static method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} -static method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void +static inline-class-member method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} +static inline-class-member method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C2}) → void => self::I2|m(#this, s, i: i); static method main() → dynamic { self::expect(42, self::I|(0)); diff --git a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.expect b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.expect index 503932ac461..264796f5ff7 100644 --- a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.expect @@ -14,23 +14,23 @@ inline class I2 /* declaredRepresentationType = core::int */ { constructor • = self::I2|; tearoff • = self::I2|_#new#tearOff; } -static method I|(core::int x, [core::int? y = #C1]) → self::I { +static inline-class-member method I|(core::int x, [core::int? y = #C1]) → self::I { lowered final self::I #this = x.{core::num::+}(let final core::int? #t1 = y in #t1 == null ?{core::int} 42 : #t1{core::int}){(core::num) → core::int}; return #this; } -static method I|_#new#tearOff(core::int x, [core::int? y]) → self::I +static inline-class-member method I|_#new#tearOff(core::int x, [core::int? y]) → self::I return self::I|(x, y); -static method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} -static method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void +static inline-class-member method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} +static inline-class-member method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C2]) → void => self::I|m(#this, s, i); -static method I2|(core::int x, {core::int? y = #C1}) → self::I2 { +static inline-class-member method I2|(core::int x, {core::int? y = #C1}) → self::I2 { lowered final self::I2 #this = x.{core::num::+}(let final core::int? #t2 = y in #t2 == null ?{core::int} 87 : #t2{core::int}){(core::num) → core::int}; return #this; } -static method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 +static inline-class-member method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 return self::I2|(x, y: y); -static method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} -static method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void +static inline-class-member method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} +static inline-class-member method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C2}) → void => self::I2|m(#this, s, i: i); static method main() → dynamic { self::expect(42, self::I|(0)); diff --git a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.modular.expect index 503932ac461..264796f5ff7 100644 --- a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.modular.expect @@ -14,23 +14,23 @@ inline class I2 /* declaredRepresentationType = core::int */ { constructor • = self::I2|; tearoff • = self::I2|_#new#tearOff; } -static method I|(core::int x, [core::int? y = #C1]) → self::I { +static inline-class-member method I|(core::int x, [core::int? y = #C1]) → self::I { lowered final self::I #this = x.{core::num::+}(let final core::int? #t1 = y in #t1 == null ?{core::int} 42 : #t1{core::int}){(core::num) → core::int}; return #this; } -static method I|_#new#tearOff(core::int x, [core::int? y]) → self::I +static inline-class-member method I|_#new#tearOff(core::int x, [core::int? y]) → self::I return self::I|(x, y); -static method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} -static method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void +static inline-class-member method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} +static inline-class-member method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C2]) → void => self::I|m(#this, s, i); -static method I2|(core::int x, {core::int? y = #C1}) → self::I2 { +static inline-class-member method I2|(core::int x, {core::int? y = #C1}) → self::I2 { lowered final self::I2 #this = x.{core::num::+}(let final core::int? #t2 = y in #t2 == null ?{core::int} 87 : #t2{core::int}){(core::num) → core::int}; return #this; } -static method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 +static inline-class-member method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 return self::I2|(x, y: y); -static method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} -static method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void +static inline-class-member method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} +static inline-class-member method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C2}) → void => self::I2|m(#this, s, i: i); static method main() → dynamic { self::expect(42, self::I|(0)); diff --git a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.outline.expect index b49fd7e412a..3e6c18b8a4d 100644 --- a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.outline.expect @@ -14,21 +14,21 @@ inline class I2 /* declaredRepresentationType = core::int */ { constructor • = self::I2|; tearoff • = self::I2|_#new#tearOff; } -static method I|(core::int x, [core::int? y = null]) → self::I +static inline-class-member method I|(core::int x, [core::int? y = null]) → self::I ; -static method I|_#new#tearOff(core::int x, [core::int? y]) → self::I +static inline-class-member method I|_#new#tearOff(core::int x, [core::int? y]) → self::I return self::I|(x, y); -static method I|m(lowered final self::I #this, core::String s, [has-declared-initializer core::int i]) → void +static inline-class-member method I|m(lowered final self::I #this, core::String s, [has-declared-initializer core::int i]) → void ; -static method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void +static inline-class-member method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void return (core::String s, [core::int i]) → void => self::I|m(#this, s, i); -static method I2|(core::int x, {core::int? y = null}) → self::I2 +static inline-class-member method I2|(core::int x, {core::int? y = null}) → self::I2 ; -static method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 +static inline-class-member method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 return self::I2|(x, y: y); -static method I2|m(lowered final self::I2 #this, core::String s, {has-declared-initializer core::int i}) → void +static inline-class-member method I2|m(lowered final self::I2 #this, core::String s, {has-declared-initializer core::int i}) → void ; -static method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void +static inline-class-member method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i}) → void => self::I2|m(#this, s, i: i); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.transformed.expect index 503932ac461..264796f5ff7 100644 --- a/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/constructor_formal_parameters.dart.weak.transformed.expect @@ -14,23 +14,23 @@ inline class I2 /* declaredRepresentationType = core::int */ { constructor • = self::I2|; tearoff • = self::I2|_#new#tearOff; } -static method I|(core::int x, [core::int? y = #C1]) → self::I { +static inline-class-member method I|(core::int x, [core::int? y = #C1]) → self::I { lowered final self::I #this = x.{core::num::+}(let final core::int? #t1 = y in #t1 == null ?{core::int} 42 : #t1{core::int}){(core::num) → core::int}; return #this; } -static method I|_#new#tearOff(core::int x, [core::int? y]) → self::I +static inline-class-member method I|_#new#tearOff(core::int x, [core::int? y]) → self::I return self::I|(x, y); -static method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} -static method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void +static inline-class-member method I|m(lowered final self::I #this, core::String s, [core::int i = #C2]) → void {} +static inline-class-member method I|get#m(lowered final self::I #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C2]) → void => self::I|m(#this, s, i); -static method I2|(core::int x, {core::int? y = #C1}) → self::I2 { +static inline-class-member method I2|(core::int x, {core::int? y = #C1}) → self::I2 { lowered final self::I2 #this = x.{core::num::+}(let final core::int? #t2 = y in #t2 == null ?{core::int} 87 : #t2{core::int}){(core::num) → core::int}; return #this; } -static method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 +static inline-class-member method I2|_#new#tearOff(core::int x, {core::int? y}) → self::I2 return self::I2|(x, y: y); -static method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} -static method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void +static inline-class-member method I2|m(lowered final self::I2 #this, core::String s, {core::int i = #C2}) → void {} +static inline-class-member method I2|get#m(lowered final self::I2 #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C2}) → void => self::I2|m(#this, s, i: i); static method main() → dynamic { self::expect(42, self::I|(0)); diff --git a/pkg/front_end/testcases/inline_class/constructors.dart.strong.expect b/pkg/front_end/testcases/inline_class/constructors.dart.strong.expect index 3c6c5202b5d..c362463bed0 100644 --- a/pkg/front_end/testcases/inline_class/constructors.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/constructors.dart.strong.expect @@ -10,15 +10,15 @@ inline class Class2 /* declaredRepresentationType = core::int */ { constructor • = self::Class2|; tearoff • = self::Class2|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); diff --git a/pkg/front_end/testcases/inline_class/constructors.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/constructors.dart.strong.transformed.expect index 3c6c5202b5d..c362463bed0 100644 --- a/pkg/front_end/testcases/inline_class/constructors.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/constructors.dart.strong.transformed.expect @@ -10,15 +10,15 @@ inline class Class2 /* declaredRepresentationType = core::int */ { constructor • = self::Class2|; tearoff • = self::Class2|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); diff --git a/pkg/front_end/testcases/inline_class/constructors.dart.weak.expect b/pkg/front_end/testcases/inline_class/constructors.dart.weak.expect index 3c6c5202b5d..c362463bed0 100644 --- a/pkg/front_end/testcases/inline_class/constructors.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/constructors.dart.weak.expect @@ -10,15 +10,15 @@ inline class Class2 /* declaredRepresentationType = core::int */ { constructor • = self::Class2|; tearoff • = self::Class2|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); diff --git a/pkg/front_end/testcases/inline_class/constructors.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/constructors.dart.weak.modular.expect index 3c6c5202b5d..c362463bed0 100644 --- a/pkg/front_end/testcases/inline_class/constructors.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/constructors.dart.weak.modular.expect @@ -10,15 +10,15 @@ inline class Class2 /* declaredRepresentationType = core::int */ { constructor • = self::Class2|; tearoff • = self::Class2|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); diff --git a/pkg/front_end/testcases/inline_class/constructors.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/constructors.dart.weak.outline.expect index c62ae261f9f..2a9c52ec6f6 100644 --- a/pkg/front_end/testcases/inline_class/constructors.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/constructors.dart.weak.outline.expect @@ -10,11 +10,11 @@ inline class Class2 /* declaredRepresentationType = core::int */ { constructor • = self::Class2|; tearoff • = self::Class2|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 +static inline-class-member method Class1|(core::int field) → self::Class1 ; -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 +static inline-class-member method Class2|(core::int field) → self::Class2 ; -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); diff --git a/pkg/front_end/testcases/inline_class/constructors.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/constructors.dart.weak.transformed.expect index 3c6c5202b5d..c362463bed0 100644 --- a/pkg/front_end/testcases/inline_class/constructors.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/constructors.dart.weak.transformed.expect @@ -10,15 +10,15 @@ inline class Class2 /* declaredRepresentationType = core::int */ { constructor • = self::Class2|; tearoff • = self::Class2|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); diff --git a/pkg/front_end/testcases/inline_class/external.dart.strong.expect b/pkg/front_end/testcases/inline_class/external.dart.strong.expect index 1a1c9fbc33c..e343170f7be 100644 --- a/pkg/front_end/testcases/inline_class/external.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/external.dart.strong.expect @@ -27,28 +27,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/inline_class/external.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/external.dart.strong.transformed.expect index 1a1c9fbc33c..e343170f7be 100644 --- a/pkg/front_end/testcases/inline_class/external.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/external.dart.strong.transformed.expect @@ -27,28 +27,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/inline_class/external.dart.weak.expect b/pkg/front_end/testcases/inline_class/external.dart.weak.expect index 4a83c163e31..44d77e923a6 100644 --- a/pkg/front_end/testcases/inline_class/external.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/external.dart.weak.expect @@ -27,28 +27,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/inline_class/external.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/external.dart.weak.modular.expect index 4a83c163e31..44d77e923a6 100644 --- a/pkg/front_end/testcases/inline_class/external.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/external.dart.weak.modular.expect @@ -27,28 +27,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/inline_class/external.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/external.dart.weak.outline.expect index 12fa8ec3a09..d13b8451395 100644 --- a/pkg/front_end/testcases/inline_class/external.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/external.dart.weak.outline.expect @@ -26,27 +26,27 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void ; diff --git a/pkg/front_end/testcases/inline_class/external.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/external.dart.weak.transformed.expect index 4a83c163e31..44d77e923a6 100644 --- a/pkg/front_end/testcases/inline_class/external.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/external.dart.weak.transformed.expect @@ -27,28 +27,28 @@ inline class B /* declaredRepresentationType = self::A */ { constructor named = self::B|named; tearoff named = self::B|_#named#tearOff; } -external static method B|(self::A a) → self::B; -static method B|_#new#tearOff(self::A a) → self::B +external static inline-class-member method B|(self::A a) → self::B; +static inline-class-member method B|_#new#tearOff(self::A a) → self::B return self::B|(a); -external static method B|named(core::int i) → self::B; -static method B|_#named#tearOff(core::int i) → self::B +external static inline-class-member method B|named(core::int i) → self::B; +static inline-class-member method B|_#named#tearOff(core::int i) → self::B return self::B|named(i); -external static method B|get#field(lowered self::A #this) → self::A; -external static method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; -external static method B|method(lowered final self::B #this) → self::A; -static method B|get#method(lowered final self::B #this) → () → self::A +external static inline-class-member method B|get#field(lowered self::A #this) → self::A; +external static inline-class-member method B|set#field(lowered self::A #this, self::A #externalFieldValue) → void; +external static inline-class-member method B|method(lowered final self::B #this) → self::A; +static inline-class-member method B|get#method(lowered final self::B #this) → () → self::A return () → self::A => self::B|method(#this); -external static method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; -static method B|get#genericMethod(lowered final self::B #this) → (T%) → T% +external static inline-class-member method B|genericMethod(lowered final self::B #this, self::B|genericMethod::T% t) → self::B|genericMethod::T%; +static inline-class-member method B|get#genericMethod(lowered final self::B #this) → (T%) → T% return (T% t) → T% => self::B|genericMethod(#this, t); -external static method B|get#getter(lowered final self::B #this) → self::B; -external static method B|set#setter(lowered final self::B #this, self::B b) → void; -external static get B|staticField() → self::A; -external static set B|staticField(self::A #externalFieldValue) → void; -external static method B|staticMethod() → self::A; -external static method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; -external static get B|staticGetter() → self::B; -external static set B|staticSetter(self::B b) → void; +external static inline-class-member method B|get#getter(lowered final self::B #this) → self::B; +external static inline-class-member method B|set#setter(lowered final self::B #this, self::B b) → void; +external static inline-class-member get B|staticField() → self::A; +external static inline-class-member set B|staticField(self::A #externalFieldValue) → void; +external static inline-class-member method B|staticMethod() → self::A; +external static inline-class-member method B|staticGenericMethod(self::B|staticGenericMethod::T% t) → self::B|staticGenericMethod::T%; +external static inline-class-member get B|staticGetter() → self::B; +external static inline-class-member set B|staticSetter(self::B b) → void; static method method(self::A a) → void { self::B b1 = self::B|(a); self::B b2 = self::B|named(0); diff --git a/pkg/front_end/testcases/inline_class/field_access.dart.strong.expect b/pkg/front_end/testcases/inline_class/field_access.dart.strong.expect index 408f3626ebe..8e5e60cc871 100644 --- a/pkg/front_end/testcases/inline_class/field_access.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/field_access.dart.strong.expect @@ -336,14 +336,14 @@ inline class ErroneousInlineClass /* declaredRepresentationType = core::int */ { constructor • = self::ErroneousInlineClass|; tearoff • = self::ErroneousInlineClass|_#new#tearOff; } -static method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → void { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:19:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -363,15 +363,15 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = 42; // Error, should not resolve to extension method. ^^" in #this{}.it = 42; } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → void +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → void return () → void => self::InlineClass|test(#this); -static method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { +static inline-class-member method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { lowered final self::GenericInlineClass #this = it; return #this; } -static method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass +static inline-class-member method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass return self::GenericInlineClass|(it); -static method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { +static inline-class-member method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; self::GenericInlineClass|test::T% a2 = #this as{Unchecked} self::GenericInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:34:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T'. @@ -391,15 +391,15 @@ 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 method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void +static inline-class-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); -static method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { +static inline-class-member method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { lowered final self::FunctionInlineClass #this = it; return #this; } -static method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass +static inline-class-member method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass return self::FunctionInlineClass|(it); -static method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { +static inline-class-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; () → self::FunctionInlineClass|test::T% a2 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:49:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T Function()'. @@ -423,15 +423,15 @@ 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 method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static inline-class-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); -static method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { +static inline-class-member method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { lowered final self::GenericFunctionInlineClass #this = it; return #this; } -static method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass +static inline-class-member method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass return self::GenericFunctionInlineClass|(it); -static method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { +static inline-class-member method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { () → T% a1 = #this as{Unchecked} () → T%; () → T% a2 = #this as{Unchecked} () → T%; () → core::int a3 = (#this as{Unchecked} () → T%); @@ -459,15 +459,15 @@ Try correcting the name to the name of an existing getter, or defining a getter core::int e1 = (#this as{Unchecked} () → T%)(){() → core::int}; core::int e2 = (#this as{Unchecked} () → T%)(){() → core::int}; } -static method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void +static inline-class-member method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void return () → void => self::GenericFunctionInlineClass|test(#this); -static method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { +static inline-class-member method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { lowered final self::DynamicInlineClass #this = it; return #this; } -static method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass +static inline-class-member method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass return self::DynamicInlineClass|(it); -static method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { +static inline-class-member method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { dynamic a1 = #this as{Unchecked} dynamic; dynamic a2 = #this as{Unchecked} dynamic; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:92:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'. @@ -491,15 +491,15 @@ Try correcting the name to the name of an existing setter, or defining a setter dynamic d3 = (#this as{Unchecked} dynamic){dynamic}.call(); dynamic d4 = (#this as{Unchecked} dynamic){dynamic}.call(); } -static method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void +static inline-class-member method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void return () → void => self::DynamicInlineClass|test(#this); -static method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { +static inline-class-member method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { lowered final self::ErroneousInlineClass #this = b; return #this; } -static method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass +static inline-class-member method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass return self::ErroneousInlineClass|(a, b); -static method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { +static inline-class-member method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; dynamic a3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:112:19: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'. @@ -575,7 +575,7 @@ Try correcting the name to the name of an existing getter, or defining a getter var e4 = b.call(); // Error ^" in #this{}.b{dynamic}.call(); } -static method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void +static inline-class-member method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void return () → void => self::ErroneousInlineClass|test(#this); static method test(self::InlineClass inlineClass, self::GenericInlineClass genericInlineClass, self::FunctionInlineClass functionInlineClass, self::GenericFunctionInlineClass genericFunctionInlineClass, self::DynamicInlineClass dynamicInlineClass, self::ErroneousInlineClass erroneousInlineClass, #lib1::PrivateInlineClass privateInlineClass) → void { core::int a1 = inlineClass as{Unchecked} core::int; @@ -694,13 +694,13 @@ inline class PrivateInlineClass /* declaredRepresentationType = core::int */ { constructor • = self2::PrivateInlineClass|; tearoff • = self2::PrivateInlineClass|_#new#tearOff; } -static method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { +static inline-class-member method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { lowered final self2::PrivateInlineClass #this = _it; return #this; } -static method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass +static inline-class-member method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass return self2::PrivateInlineClass|(_it); -static method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { +static inline-class-member method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access_lib.dart:13:22: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -720,5 +720,5 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = _it = 42; // Error, should not resolve to extension method. ^^^" in #this{}._it = 42; } -static method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void +static inline-class-member method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void return () → void => self2::PrivateInlineClass|test(#this); diff --git a/pkg/front_end/testcases/inline_class/field_access.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/field_access.dart.strong.transformed.expect index 408f3626ebe..8e5e60cc871 100644 --- a/pkg/front_end/testcases/inline_class/field_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/field_access.dart.strong.transformed.expect @@ -336,14 +336,14 @@ inline class ErroneousInlineClass /* declaredRepresentationType = core::int */ { constructor • = self::ErroneousInlineClass|; tearoff • = self::ErroneousInlineClass|_#new#tearOff; } -static method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → void { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:19:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -363,15 +363,15 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = 42; // Error, should not resolve to extension method. ^^" in #this{}.it = 42; } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → void +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → void return () → void => self::InlineClass|test(#this); -static method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { +static inline-class-member method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { lowered final self::GenericInlineClass #this = it; return #this; } -static method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass +static inline-class-member method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass return self::GenericInlineClass|(it); -static method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { +static inline-class-member method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; self::GenericInlineClass|test::T% a2 = #this as{Unchecked} self::GenericInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:34:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T'. @@ -391,15 +391,15 @@ 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 method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void +static inline-class-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); -static method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { +static inline-class-member method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { lowered final self::FunctionInlineClass #this = it; return #this; } -static method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass +static inline-class-member method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass return self::FunctionInlineClass|(it); -static method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { +static inline-class-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; () → self::FunctionInlineClass|test::T% a2 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:49:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T Function()'. @@ -423,15 +423,15 @@ 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 method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static inline-class-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); -static method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { +static inline-class-member method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { lowered final self::GenericFunctionInlineClass #this = it; return #this; } -static method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass +static inline-class-member method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass return self::GenericFunctionInlineClass|(it); -static method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { +static inline-class-member method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { () → T% a1 = #this as{Unchecked} () → T%; () → T% a2 = #this as{Unchecked} () → T%; () → core::int a3 = (#this as{Unchecked} () → T%); @@ -459,15 +459,15 @@ Try correcting the name to the name of an existing getter, or defining a getter core::int e1 = (#this as{Unchecked} () → T%)(){() → core::int}; core::int e2 = (#this as{Unchecked} () → T%)(){() → core::int}; } -static method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void +static inline-class-member method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void return () → void => self::GenericFunctionInlineClass|test(#this); -static method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { +static inline-class-member method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { lowered final self::DynamicInlineClass #this = it; return #this; } -static method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass +static inline-class-member method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass return self::DynamicInlineClass|(it); -static method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { +static inline-class-member method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { dynamic a1 = #this as{Unchecked} dynamic; dynamic a2 = #this as{Unchecked} dynamic; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:92:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'. @@ -491,15 +491,15 @@ Try correcting the name to the name of an existing setter, or defining a setter dynamic d3 = (#this as{Unchecked} dynamic){dynamic}.call(); dynamic d4 = (#this as{Unchecked} dynamic){dynamic}.call(); } -static method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void +static inline-class-member method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void return () → void => self::DynamicInlineClass|test(#this); -static method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { +static inline-class-member method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { lowered final self::ErroneousInlineClass #this = b; return #this; } -static method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass +static inline-class-member method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass return self::ErroneousInlineClass|(a, b); -static method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { +static inline-class-member method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; dynamic a3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:112:19: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'. @@ -575,7 +575,7 @@ Try correcting the name to the name of an existing getter, or defining a getter var e4 = b.call(); // Error ^" in #this{}.b{dynamic}.call(); } -static method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void +static inline-class-member method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void return () → void => self::ErroneousInlineClass|test(#this); static method test(self::InlineClass inlineClass, self::GenericInlineClass genericInlineClass, self::FunctionInlineClass functionInlineClass, self::GenericFunctionInlineClass genericFunctionInlineClass, self::DynamicInlineClass dynamicInlineClass, self::ErroneousInlineClass erroneousInlineClass, #lib1::PrivateInlineClass privateInlineClass) → void { core::int a1 = inlineClass as{Unchecked} core::int; @@ -694,13 +694,13 @@ inline class PrivateInlineClass /* declaredRepresentationType = core::int */ { constructor • = self2::PrivateInlineClass|; tearoff • = self2::PrivateInlineClass|_#new#tearOff; } -static method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { +static inline-class-member method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { lowered final self2::PrivateInlineClass #this = _it; return #this; } -static method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass +static inline-class-member method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass return self2::PrivateInlineClass|(_it); -static method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { +static inline-class-member method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access_lib.dart:13:22: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -720,5 +720,5 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = _it = 42; // Error, should not resolve to extension method. ^^^" in #this{}._it = 42; } -static method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void +static inline-class-member method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void return () → void => self2::PrivateInlineClass|test(#this); diff --git a/pkg/front_end/testcases/inline_class/field_access.dart.weak.expect b/pkg/front_end/testcases/inline_class/field_access.dart.weak.expect index 408f3626ebe..8e5e60cc871 100644 --- a/pkg/front_end/testcases/inline_class/field_access.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/field_access.dart.weak.expect @@ -336,14 +336,14 @@ inline class ErroneousInlineClass /* declaredRepresentationType = core::int */ { constructor • = self::ErroneousInlineClass|; tearoff • = self::ErroneousInlineClass|_#new#tearOff; } -static method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → void { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:19:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -363,15 +363,15 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = 42; // Error, should not resolve to extension method. ^^" in #this{}.it = 42; } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → void +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → void return () → void => self::InlineClass|test(#this); -static method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { +static inline-class-member method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { lowered final self::GenericInlineClass #this = it; return #this; } -static method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass +static inline-class-member method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass return self::GenericInlineClass|(it); -static method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { +static inline-class-member method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; self::GenericInlineClass|test::T% a2 = #this as{Unchecked} self::GenericInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:34:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T'. @@ -391,15 +391,15 @@ 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 method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void +static inline-class-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); -static method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { +static inline-class-member method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { lowered final self::FunctionInlineClass #this = it; return #this; } -static method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass +static inline-class-member method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass return self::FunctionInlineClass|(it); -static method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { +static inline-class-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; () → self::FunctionInlineClass|test::T% a2 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:49:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T Function()'. @@ -423,15 +423,15 @@ 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 method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static inline-class-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); -static method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { +static inline-class-member method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { lowered final self::GenericFunctionInlineClass #this = it; return #this; } -static method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass +static inline-class-member method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass return self::GenericFunctionInlineClass|(it); -static method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { +static inline-class-member method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { () → T% a1 = #this as{Unchecked} () → T%; () → T% a2 = #this as{Unchecked} () → T%; () → core::int a3 = (#this as{Unchecked} () → T%); @@ -459,15 +459,15 @@ Try correcting the name to the name of an existing getter, or defining a getter core::int e1 = (#this as{Unchecked} () → T%)(){() → core::int}; core::int e2 = (#this as{Unchecked} () → T%)(){() → core::int}; } -static method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void +static inline-class-member method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void return () → void => self::GenericFunctionInlineClass|test(#this); -static method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { +static inline-class-member method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { lowered final self::DynamicInlineClass #this = it; return #this; } -static method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass +static inline-class-member method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass return self::DynamicInlineClass|(it); -static method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { +static inline-class-member method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { dynamic a1 = #this as{Unchecked} dynamic; dynamic a2 = #this as{Unchecked} dynamic; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:92:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'. @@ -491,15 +491,15 @@ Try correcting the name to the name of an existing setter, or defining a setter dynamic d3 = (#this as{Unchecked} dynamic){dynamic}.call(); dynamic d4 = (#this as{Unchecked} dynamic){dynamic}.call(); } -static method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void +static inline-class-member method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void return () → void => self::DynamicInlineClass|test(#this); -static method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { +static inline-class-member method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { lowered final self::ErroneousInlineClass #this = b; return #this; } -static method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass +static inline-class-member method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass return self::ErroneousInlineClass|(a, b); -static method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { +static inline-class-member method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; dynamic a3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:112:19: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'. @@ -575,7 +575,7 @@ Try correcting the name to the name of an existing getter, or defining a getter var e4 = b.call(); // Error ^" in #this{}.b{dynamic}.call(); } -static method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void +static inline-class-member method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void return () → void => self::ErroneousInlineClass|test(#this); static method test(self::InlineClass inlineClass, self::GenericInlineClass genericInlineClass, self::FunctionInlineClass functionInlineClass, self::GenericFunctionInlineClass genericFunctionInlineClass, self::DynamicInlineClass dynamicInlineClass, self::ErroneousInlineClass erroneousInlineClass, #lib1::PrivateInlineClass privateInlineClass) → void { core::int a1 = inlineClass as{Unchecked} core::int; @@ -694,13 +694,13 @@ inline class PrivateInlineClass /* declaredRepresentationType = core::int */ { constructor • = self2::PrivateInlineClass|; tearoff • = self2::PrivateInlineClass|_#new#tearOff; } -static method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { +static inline-class-member method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { lowered final self2::PrivateInlineClass #this = _it; return #this; } -static method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass +static inline-class-member method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass return self2::PrivateInlineClass|(_it); -static method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { +static inline-class-member method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access_lib.dart:13:22: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -720,5 +720,5 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = _it = 42; // Error, should not resolve to extension method. ^^^" in #this{}._it = 42; } -static method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void +static inline-class-member method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void return () → void => self2::PrivateInlineClass|test(#this); diff --git a/pkg/front_end/testcases/inline_class/field_access.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/field_access.dart.weak.modular.expect index 408f3626ebe..8e5e60cc871 100644 --- a/pkg/front_end/testcases/inline_class/field_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/field_access.dart.weak.modular.expect @@ -336,14 +336,14 @@ inline class ErroneousInlineClass /* declaredRepresentationType = core::int */ { constructor • = self::ErroneousInlineClass|; tearoff • = self::ErroneousInlineClass|_#new#tearOff; } -static method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → void { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:19:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -363,15 +363,15 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = 42; // Error, should not resolve to extension method. ^^" in #this{}.it = 42; } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → void +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → void return () → void => self::InlineClass|test(#this); -static method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { +static inline-class-member method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { lowered final self::GenericInlineClass #this = it; return #this; } -static method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass +static inline-class-member method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass return self::GenericInlineClass|(it); -static method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { +static inline-class-member method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; self::GenericInlineClass|test::T% a2 = #this as{Unchecked} self::GenericInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:34:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T'. @@ -391,15 +391,15 @@ 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 method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void +static inline-class-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); -static method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { +static inline-class-member method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { lowered final self::FunctionInlineClass #this = it; return #this; } -static method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass +static inline-class-member method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass return self::FunctionInlineClass|(it); -static method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { +static inline-class-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; () → self::FunctionInlineClass|test::T% a2 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:49:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T Function()'. @@ -423,15 +423,15 @@ 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 method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static inline-class-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); -static method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { +static inline-class-member method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { lowered final self::GenericFunctionInlineClass #this = it; return #this; } -static method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass +static inline-class-member method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass return self::GenericFunctionInlineClass|(it); -static method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { +static inline-class-member method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { () → T% a1 = #this as{Unchecked} () → T%; () → T% a2 = #this as{Unchecked} () → T%; () → core::int a3 = (#this as{Unchecked} () → T%); @@ -459,15 +459,15 @@ Try correcting the name to the name of an existing getter, or defining a getter core::int e1 = (#this as{Unchecked} () → T%)(){() → core::int}; core::int e2 = (#this as{Unchecked} () → T%)(){() → core::int}; } -static method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void +static inline-class-member method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void return () → void => self::GenericFunctionInlineClass|test(#this); -static method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { +static inline-class-member method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { lowered final self::DynamicInlineClass #this = it; return #this; } -static method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass +static inline-class-member method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass return self::DynamicInlineClass|(it); -static method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { +static inline-class-member method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { dynamic a1 = #this as{Unchecked} dynamic; dynamic a2 = #this as{Unchecked} dynamic; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:92:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'. @@ -491,15 +491,15 @@ Try correcting the name to the name of an existing setter, or defining a setter dynamic d3 = (#this as{Unchecked} dynamic){dynamic}.call(); dynamic d4 = (#this as{Unchecked} dynamic){dynamic}.call(); } -static method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void +static inline-class-member method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void return () → void => self::DynamicInlineClass|test(#this); -static method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { +static inline-class-member method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { lowered final self::ErroneousInlineClass #this = b; return #this; } -static method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass +static inline-class-member method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass return self::ErroneousInlineClass|(a, b); -static method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { +static inline-class-member method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; dynamic a3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:112:19: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'. @@ -575,7 +575,7 @@ Try correcting the name to the name of an existing getter, or defining a getter var e4 = b.call(); // Error ^" in #this{}.b{dynamic}.call(); } -static method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void +static inline-class-member method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void return () → void => self::ErroneousInlineClass|test(#this); static method test(self::InlineClass inlineClass, self::GenericInlineClass genericInlineClass, self::FunctionInlineClass functionInlineClass, self::GenericFunctionInlineClass genericFunctionInlineClass, self::DynamicInlineClass dynamicInlineClass, self::ErroneousInlineClass erroneousInlineClass, #lib1::PrivateInlineClass privateInlineClass) → void { core::int a1 = inlineClass as{Unchecked} core::int; @@ -694,13 +694,13 @@ inline class PrivateInlineClass /* declaredRepresentationType = core::int */ { constructor • = self2::PrivateInlineClass|; tearoff • = self2::PrivateInlineClass|_#new#tearOff; } -static method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { +static inline-class-member method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { lowered final self2::PrivateInlineClass #this = _it; return #this; } -static method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass +static inline-class-member method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass return self2::PrivateInlineClass|(_it); -static method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { +static inline-class-member method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access_lib.dart:13:22: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -720,5 +720,5 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = _it = 42; // Error, should not resolve to extension method. ^^^" in #this{}._it = 42; } -static method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void +static inline-class-member method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void return () → void => self2::PrivateInlineClass|test(#this); diff --git a/pkg/front_end/testcases/inline_class/field_access.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/field_access.dart.weak.outline.expect index 3b4a3c84f49..1f82d667693 100644 --- a/pkg/front_end/testcases/inline_class/field_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/field_access.dart.weak.outline.expect @@ -43,55 +43,55 @@ inline class ErroneousInlineClass /* declaredRepresentationType = core::int */ { constructor • = self::ErroneousInlineClass|; tearoff • = self::ErroneousInlineClass|_#new#tearOff; } -static method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void +static extension-member method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void ; -static method InlineClass|(core::int it) → self::InlineClass +static inline-class-member method InlineClass|(core::int it) → self::InlineClass ; -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → void +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → void ; -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → void +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → void return () → void => self::InlineClass|test(#this); -static method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass +static inline-class-member method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass ; -static method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass +static inline-class-member method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass return self::GenericInlineClass|(it); -static method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void +static inline-class-member method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void ; -static method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void +static inline-class-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); -static method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass +static inline-class-member method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass ; -static method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass +static inline-class-member method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass return self::FunctionInlineClass|(it); -static method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void +static inline-class-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void ; -static method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static inline-class-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); -static method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass +static inline-class-member method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass ; -static method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass +static inline-class-member method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass return self::GenericFunctionInlineClass|(it); -static method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void +static inline-class-member method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void ; -static method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void +static inline-class-member method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void return () → void => self::GenericFunctionInlineClass|test(#this); -static method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass +static inline-class-member method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass ; -static method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass +static inline-class-member method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass return self::DynamicInlineClass|(it); -static method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void +static inline-class-member method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void ; -static method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void +static inline-class-member method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void return () → void => self::DynamicInlineClass|test(#this); -static method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass +static inline-class-member method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass ; -static method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass +static inline-class-member method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass return self::ErroneousInlineClass|(a, b); -static method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void +static inline-class-member method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void ; -static method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void +static inline-class-member method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void return () → void => self::ErroneousInlineClass|test(#this); static method test(self::InlineClass inlineClass, self::GenericInlineClass genericInlineClass, self::FunctionInlineClass functionInlineClass, self::GenericFunctionInlineClass genericFunctionInlineClass, self::DynamicInlineClass dynamicInlineClass, self::ErroneousInlineClass erroneousInlineClass, #lib1::PrivateInlineClass privateInlineClass) → void ; @@ -106,11 +106,11 @@ inline class PrivateInlineClass /* declaredRepresentationType = core::int */ { constructor • = self2::PrivateInlineClass|; tearoff • = self2::PrivateInlineClass|_#new#tearOff; } -static method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass +static inline-class-member method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass ; -static method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass +static inline-class-member method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass return self2::PrivateInlineClass|(_it); -static method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void +static inline-class-member method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void ; -static method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void +static inline-class-member method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void return () → void => self2::PrivateInlineClass|test(#this); diff --git a/pkg/front_end/testcases/inline_class/field_access.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/field_access.dart.weak.transformed.expect index 408f3626ebe..8e5e60cc871 100644 --- a/pkg/front_end/testcases/inline_class/field_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/field_access.dart.weak.transformed.expect @@ -336,14 +336,14 @@ inline class ErroneousInlineClass /* declaredRepresentationType = core::int */ { constructor • = self::ErroneousInlineClass|; tearoff • = self::ErroneousInlineClass|_#new#tearOff; } -static method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#it(lowered final dynamic #this, dynamic value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → void { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:19:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -363,15 +363,15 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = it = 42; // Error, should not resolve to extension method. ^^" in #this{}.it = 42; } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → void +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → void return () → void => self::InlineClass|test(#this); -static method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { +static inline-class-member method GenericInlineClass|(self::GenericInlineClass|::T% it) → self::GenericInlineClass { lowered final self::GenericInlineClass #this = it; return #this; } -static method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass +static inline-class-member method GenericInlineClass|_#new#tearOff(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass return self::GenericInlineClass|(it); -static method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { +static inline-class-member method GenericInlineClass|test(lowered final self::GenericInlineClass #this, self::GenericInlineClass|test::T% t) → void { self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%; self::GenericInlineClass|test::T% a2 = #this as{Unchecked} self::GenericInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:34:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T'. @@ -391,15 +391,15 @@ 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 method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void +static inline-class-member method GenericInlineClass|get#test(lowered final self::GenericInlineClass #this) → (self::GenericInlineClass|get#test::T%) → void return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test(#this, t); -static method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { +static inline-class-member method FunctionInlineClass|(() → self::FunctionInlineClass|::T% it) → self::FunctionInlineClass { lowered final self::FunctionInlineClass #this = it; return #this; } -static method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass +static inline-class-member method FunctionInlineClass|_#new#tearOff(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass return self::FunctionInlineClass|(it); -static method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { +static inline-class-member method FunctionInlineClass|test(lowered final self::FunctionInlineClass #this, () → self::FunctionInlineClass|test::T% t) → void { () → self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; () → self::FunctionInlineClass|test::T% a2 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:49:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T Function()'. @@ -423,15 +423,15 @@ 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 method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void +static inline-class-member method FunctionInlineClass|get#test(lowered final self::FunctionInlineClass #this) → (() → self::FunctionInlineClass|get#test::T%) → void return (() → self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test(#this, t); -static method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { +static inline-class-member method GenericFunctionInlineClass|(() → T% it) → self::GenericFunctionInlineClass { lowered final self::GenericFunctionInlineClass #this = it; return #this; } -static method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass +static inline-class-member method GenericFunctionInlineClass|_#new#tearOff(() → T% it) → self::GenericFunctionInlineClass return self::GenericFunctionInlineClass|(it); -static method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { +static inline-class-member method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void { () → T% a1 = #this as{Unchecked} () → T%; () → T% a2 = #this as{Unchecked} () → T%; () → core::int a3 = (#this as{Unchecked} () → T%); @@ -459,15 +459,15 @@ Try correcting the name to the name of an existing getter, or defining a getter core::int e1 = (#this as{Unchecked} () → T%)(){() → core::int}; core::int e2 = (#this as{Unchecked} () → T%)(){() → core::int}; } -static method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void +static inline-class-member method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void return () → void => self::GenericFunctionInlineClass|test(#this); -static method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { +static inline-class-member method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass { lowered final self::DynamicInlineClass #this = it; return #this; } -static method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass +static inline-class-member method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass return self::DynamicInlineClass|(it); -static method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { +static inline-class-member method DynamicInlineClass|test(lowered final self::DynamicInlineClass #this) → void { dynamic a1 = #this as{Unchecked} dynamic; dynamic a2 = #this as{Unchecked} dynamic; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:92:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'. @@ -491,15 +491,15 @@ Try correcting the name to the name of an existing setter, or defining a setter dynamic d3 = (#this as{Unchecked} dynamic){dynamic}.call(); dynamic d4 = (#this as{Unchecked} dynamic){dynamic}.call(); } -static method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void +static inline-class-member method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void return () → void => self::DynamicInlineClass|test(#this); -static method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { +static inline-class-member method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass { lowered final self::ErroneousInlineClass #this = b; return #this; } -static method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass +static inline-class-member method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass return self::ErroneousInlineClass|(a, b); -static method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { +static inline-class-member method ErroneousInlineClass|test(lowered final self::ErroneousInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; dynamic a3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:112:19: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'. @@ -575,7 +575,7 @@ Try correcting the name to the name of an existing getter, or defining a getter var e4 = b.call(); // Error ^" in #this{}.b{dynamic}.call(); } -static method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void +static inline-class-member method ErroneousInlineClass|get#test(lowered final self::ErroneousInlineClass #this) → () → void return () → void => self::ErroneousInlineClass|test(#this); static method test(self::InlineClass inlineClass, self::GenericInlineClass genericInlineClass, self::FunctionInlineClass functionInlineClass, self::GenericFunctionInlineClass genericFunctionInlineClass, self::DynamicInlineClass dynamicInlineClass, self::ErroneousInlineClass erroneousInlineClass, #lib1::PrivateInlineClass privateInlineClass) → void { core::int a1 = inlineClass as{Unchecked} core::int; @@ -694,13 +694,13 @@ inline class PrivateInlineClass /* declaredRepresentationType = core::int */ { constructor • = self2::PrivateInlineClass|; tearoff • = self2::PrivateInlineClass|_#new#tearOff; } -static method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { +static inline-class-member method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass { lowered final self2::PrivateInlineClass #this = _it; return #this; } -static method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass +static inline-class-member method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass return self2::PrivateInlineClass|(_it); -static method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { +static inline-class-member method PrivateInlineClass|test(lowered final self2::PrivateInlineClass #this) → void { core::int a1 = #this as{Unchecked} core::int; core::int a2 = #this as{Unchecked} core::int; invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access_lib.dart:13:22: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'. @@ -720,5 +720,5 @@ Try correcting the name to the name of an existing setter, or defining a setter var c2 = _it = 42; // Error, should not resolve to extension method. ^^^" in #this{}._it = 42; } -static method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void +static inline-class-member method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void return () → void => self2::PrivateInlineClass|test(#this); diff --git a/pkg/front_end/testcases/inline_class/has_export.dart.strong.expect b/pkg/front_end/testcases/inline_class/has_export.dart.strong.expect index a2fb0949d0c..9a07787235a 100644 --- a/pkg/front_end/testcases/inline_class/has_export.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/has_export.dart.strong.expect @@ -16,9 +16,9 @@ inline class C /* declaredRepresentationType = core::int */ { // from org-dartla constructor • = has::C|; tearoff • = has::_#new#tearOff; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { lowered final has::C #this = i; return #this; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C return has::C|(i); diff --git a/pkg/front_end/testcases/inline_class/has_export.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/has_export.dart.strong.transformed.expect index a2fb0949d0c..9a07787235a 100644 --- a/pkg/front_end/testcases/inline_class/has_export.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/has_export.dart.strong.transformed.expect @@ -16,9 +16,9 @@ inline class C /* declaredRepresentationType = core::int */ { // from org-dartla constructor • = has::C|; tearoff • = has::_#new#tearOff; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { lowered final has::C #this = i; return #this; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C return has::C|(i); diff --git a/pkg/front_end/testcases/inline_class/has_export.dart.weak.expect b/pkg/front_end/testcases/inline_class/has_export.dart.weak.expect index a2fb0949d0c..9a07787235a 100644 --- a/pkg/front_end/testcases/inline_class/has_export.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/has_export.dart.weak.expect @@ -16,9 +16,9 @@ inline class C /* declaredRepresentationType = core::int */ { // from org-dartla constructor • = has::C|; tearoff • = has::_#new#tearOff; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { lowered final has::C #this = i; return #this; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C return has::C|(i); diff --git a/pkg/front_end/testcases/inline_class/has_export.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/has_export.dart.weak.modular.expect index a2fb0949d0c..9a07787235a 100644 --- a/pkg/front_end/testcases/inline_class/has_export.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/has_export.dart.weak.modular.expect @@ -16,9 +16,9 @@ inline class C /* declaredRepresentationType = core::int */ { // from org-dartla constructor • = has::C|; tearoff • = has::_#new#tearOff; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { lowered final has::C #this = i; return #this; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C return has::C|(i); diff --git a/pkg/front_end/testcases/inline_class/has_export.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/has_export.dart.weak.outline.expect index b0cc62ce40a..fc1249537a5 100644 --- a/pkg/front_end/testcases/inline_class/has_export.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/has_export.dart.weak.outline.expect @@ -17,7 +17,7 @@ inline class C /* declaredRepresentationType = core::int */ { // from org-dartla constructor • = has::C|; tearoff • = has::_#new#tearOff; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C ; -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C return has::C|(i); diff --git a/pkg/front_end/testcases/inline_class/has_export.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/has_export.dart.weak.transformed.expect index a2fb0949d0c..9a07787235a 100644 --- a/pkg/front_end/testcases/inline_class/has_export.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/has_export.dart.weak.transformed.expect @@ -16,9 +16,9 @@ inline class C /* declaredRepresentationType = core::int */ { // from org-dartla constructor • = has::C|; tearoff • = has::_#new#tearOff; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ C|(core::int i) → has::C { lowered final has::C #this = i; return #this; } -static method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C +static inline-class-member method /* from org-dartlang-testcase:///has_part_of_lib.dart */ _#new#tearOff(core::int i) → has::C return has::C|(i); diff --git a/pkg/front_end/testcases/inline_class/implements.dart.strong.expect b/pkg/front_end/testcases/inline_class/implements.dart.strong.expect index 1acb38b5e70..08bb617a1cc 100644 --- a/pkg/front_end/testcases/inline_class/implements.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/implements.dart.strong.expect @@ -230,55 +230,55 @@ inline class D1 /* declaredRepresentationType = core::int */ implements self::C1 constructor • = self::D1|; tearoff • = self::D1|_#new#tearOff; } -static method A|(core::int it) → self::A { +static inline-class-member method A|(core::int it) → self::A { lowered final self::A #this = it; return #this; } -static method A|_#new#tearOff(core::int it) → self::A +static inline-class-member method A|_#new#tearOff(core::int it) → self::A return self::A|(it); -static method A|methodA(lowered final self::A #this) → core::int +static inline-class-member method A|methodA(lowered final self::A #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(5){(core::num) → core::int}; -static method A|get#methodA(lowered final self::A #this) → () → core::int +static inline-class-member method A|get#methodA(lowered final self::A #this) → () → core::int return () → core::int => self::A|methodA(#this); -static method B|(self::B|::T% it) → self::B { +static inline-class-member method B|(self::B|::T% it) → self::B { lowered final self::B #this = it; return #this; } -static method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B +static inline-class-member method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B return self::B|(it); -static method B|methodB(lowered final self::B #this) → self::B|methodB::T% +static inline-class-member method B|methodB(lowered final self::B #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% +static inline-class-member method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); -static method C1|(core::int it) → self::C1 { +static inline-class-member method C1|(core::int it) → self::C1 { lowered final self::C1 #this = it; return #this; } -static method C1|_#new#tearOff(core::int it) → self::C1 +static inline-class-member method C1|_#new#tearOff(core::int it) → self::C1 return self::C1|(it); -static method C1|methodC1(lowered final self::C1 #this) → core::int +static inline-class-member method C1|methodC1(lowered final self::C1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(42){(core::num) → core::int}; -static method C1|get#methodC1(lowered final self::C1 #this) → () → core::int +static inline-class-member method C1|get#methodC1(lowered final self::C1 #this) → () → core::int return () → core::int => self::C1|methodC1(#this); -static method C2|(core::int it) → self::C2 { +static inline-class-member method C2|(core::int it) → self::C2 { lowered final self::C2 #this = it; return #this; } -static method C2|_#new#tearOff(core::int it) → self::C2 +static inline-class-member method C2|_#new#tearOff(core::int it) → self::C2 return self::C2|(it); -static method C2|methodC2(lowered final self::C2 #this) → core::int +static inline-class-member method C2|methodC2(lowered final self::C2 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(87){(core::num) → core::int}; -static method C2|get#methodC2(lowered final self::C2 #this) → () → core::int +static inline-class-member method C2|get#methodC2(lowered final self::C2 #this) → () → core::int return () → core::int => self::C2|methodC2(#this); -static method D1|(core::int it) → self::D1 { +static inline-class-member method D1|(core::int it) → self::D1 { lowered final self::D1 #this = it; return #this; } -static method D1|_#new#tearOff(core::int it) → self::D1 +static inline-class-member method D1|_#new#tearOff(core::int it) → self::D1 return self::D1|(it); -static method D1|methodD1(lowered final self::D1 #this) → core::int +static inline-class-member method D1|methodD1(lowered final self::D1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(123){(core::num) → core::int}; -static method D1|get#methodD1(lowered final self::D1 #this) → () → core::int +static inline-class-member method D1|get#methodD1(lowered final self::D1 #this) → () → core::int return () → core::int => self::D1|methodD1(#this); static method errors(self::A a, self::B b1, self::B b2, self::C1 c1, self::C2 c2, self::D1 d1) → dynamic { invalid-expression "pkg/front_end/testcases/inline_class/implements.dart:46:5: Error: The method 'methodB' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/inline_class/implements.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/implements.dart.strong.transformed.expect index 8b2a64f304b..c9786c06203 100644 --- a/pkg/front_end/testcases/inline_class/implements.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/implements.dart.strong.transformed.expect @@ -230,55 +230,55 @@ inline class D1 /* declaredRepresentationType = core::int */ implements self::C1 constructor • = self::D1|; tearoff • = self::D1|_#new#tearOff; } -static method A|(core::int it) → self::A { +static inline-class-member method A|(core::int it) → self::A { lowered final self::A #this = it; return #this; } -static method A|_#new#tearOff(core::int it) → self::A +static inline-class-member method A|_#new#tearOff(core::int it) → self::A return self::A|(it); -static method A|methodA(lowered final self::A #this) → core::int +static inline-class-member method A|methodA(lowered final self::A #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(5){(core::num) → core::int}; -static method A|get#methodA(lowered final self::A #this) → () → core::int +static inline-class-member method A|get#methodA(lowered final self::A #this) → () → core::int return () → core::int => self::A|methodA(#this); -static method B|(self::B|::T% it) → self::B { +static inline-class-member method B|(self::B|::T% it) → self::B { lowered final self::B #this = it; return #this; } -static method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B +static inline-class-member method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B return self::B|(it); -static method B|methodB(lowered final self::B #this) → self::B|methodB::T% +static inline-class-member method B|methodB(lowered final self::B #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% +static inline-class-member method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); -static method C1|(core::int it) → self::C1 { +static inline-class-member method C1|(core::int it) → self::C1 { lowered final self::C1 #this = it; return #this; } -static method C1|_#new#tearOff(core::int it) → self::C1 +static inline-class-member method C1|_#new#tearOff(core::int it) → self::C1 return self::C1|(it); -static method C1|methodC1(lowered final self::C1 #this) → core::int +static inline-class-member method C1|methodC1(lowered final self::C1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(42){(core::num) → core::int}; -static method C1|get#methodC1(lowered final self::C1 #this) → () → core::int +static inline-class-member method C1|get#methodC1(lowered final self::C1 #this) → () → core::int return () → core::int => self::C1|methodC1(#this); -static method C2|(core::int it) → self::C2 { +static inline-class-member method C2|(core::int it) → self::C2 { lowered final self::C2 #this = it; return #this; } -static method C2|_#new#tearOff(core::int it) → self::C2 +static inline-class-member method C2|_#new#tearOff(core::int it) → self::C2 return self::C2|(it); -static method C2|methodC2(lowered final self::C2 #this) → core::int +static inline-class-member method C2|methodC2(lowered final self::C2 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(87){(core::num) → core::int}; -static method C2|get#methodC2(lowered final self::C2 #this) → () → core::int +static inline-class-member method C2|get#methodC2(lowered final self::C2 #this) → () → core::int return () → core::int => self::C2|methodC2(#this); -static method D1|(core::int it) → self::D1 { +static inline-class-member method D1|(core::int it) → self::D1 { lowered final self::D1 #this = it; return #this; } -static method D1|_#new#tearOff(core::int it) → self::D1 +static inline-class-member method D1|_#new#tearOff(core::int it) → self::D1 return self::D1|(it); -static method D1|methodD1(lowered final self::D1 #this) → core::int +static inline-class-member method D1|methodD1(lowered final self::D1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(123){(core::num) → core::int}; -static method D1|get#methodD1(lowered final self::D1 #this) → () → core::int +static inline-class-member method D1|get#methodD1(lowered final self::D1 #this) → () → core::int return () → core::int => self::D1|methodD1(#this); static method errors(self::A a, self::B b1, self::B b2, self::C1 c1, self::C2 c2, self::D1 d1) → dynamic { invalid-expression "pkg/front_end/testcases/inline_class/implements.dart:46:5: Error: The method 'methodB' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/inline_class/implements.dart.weak.expect b/pkg/front_end/testcases/inline_class/implements.dart.weak.expect index 1acb38b5e70..08bb617a1cc 100644 --- a/pkg/front_end/testcases/inline_class/implements.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/implements.dart.weak.expect @@ -230,55 +230,55 @@ inline class D1 /* declaredRepresentationType = core::int */ implements self::C1 constructor • = self::D1|; tearoff • = self::D1|_#new#tearOff; } -static method A|(core::int it) → self::A { +static inline-class-member method A|(core::int it) → self::A { lowered final self::A #this = it; return #this; } -static method A|_#new#tearOff(core::int it) → self::A +static inline-class-member method A|_#new#tearOff(core::int it) → self::A return self::A|(it); -static method A|methodA(lowered final self::A #this) → core::int +static inline-class-member method A|methodA(lowered final self::A #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(5){(core::num) → core::int}; -static method A|get#methodA(lowered final self::A #this) → () → core::int +static inline-class-member method A|get#methodA(lowered final self::A #this) → () → core::int return () → core::int => self::A|methodA(#this); -static method B|(self::B|::T% it) → self::B { +static inline-class-member method B|(self::B|::T% it) → self::B { lowered final self::B #this = it; return #this; } -static method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B +static inline-class-member method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B return self::B|(it); -static method B|methodB(lowered final self::B #this) → self::B|methodB::T% +static inline-class-member method B|methodB(lowered final self::B #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% +static inline-class-member method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); -static method C1|(core::int it) → self::C1 { +static inline-class-member method C1|(core::int it) → self::C1 { lowered final self::C1 #this = it; return #this; } -static method C1|_#new#tearOff(core::int it) → self::C1 +static inline-class-member method C1|_#new#tearOff(core::int it) → self::C1 return self::C1|(it); -static method C1|methodC1(lowered final self::C1 #this) → core::int +static inline-class-member method C1|methodC1(lowered final self::C1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(42){(core::num) → core::int}; -static method C1|get#methodC1(lowered final self::C1 #this) → () → core::int +static inline-class-member method C1|get#methodC1(lowered final self::C1 #this) → () → core::int return () → core::int => self::C1|methodC1(#this); -static method C2|(core::int it) → self::C2 { +static inline-class-member method C2|(core::int it) → self::C2 { lowered final self::C2 #this = it; return #this; } -static method C2|_#new#tearOff(core::int it) → self::C2 +static inline-class-member method C2|_#new#tearOff(core::int it) → self::C2 return self::C2|(it); -static method C2|methodC2(lowered final self::C2 #this) → core::int +static inline-class-member method C2|methodC2(lowered final self::C2 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(87){(core::num) → core::int}; -static method C2|get#methodC2(lowered final self::C2 #this) → () → core::int +static inline-class-member method C2|get#methodC2(lowered final self::C2 #this) → () → core::int return () → core::int => self::C2|methodC2(#this); -static method D1|(core::int it) → self::D1 { +static inline-class-member method D1|(core::int it) → self::D1 { lowered final self::D1 #this = it; return #this; } -static method D1|_#new#tearOff(core::int it) → self::D1 +static inline-class-member method D1|_#new#tearOff(core::int it) → self::D1 return self::D1|(it); -static method D1|methodD1(lowered final self::D1 #this) → core::int +static inline-class-member method D1|methodD1(lowered final self::D1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(123){(core::num) → core::int}; -static method D1|get#methodD1(lowered final self::D1 #this) → () → core::int +static inline-class-member method D1|get#methodD1(lowered final self::D1 #this) → () → core::int return () → core::int => self::D1|methodD1(#this); static method errors(self::A a, self::B b1, self::B b2, self::C1 c1, self::C2 c2, self::D1 d1) → dynamic { invalid-expression "pkg/front_end/testcases/inline_class/implements.dart:46:5: Error: The method 'methodB' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/inline_class/implements.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/implements.dart.weak.modular.expect index 1acb38b5e70..08bb617a1cc 100644 --- a/pkg/front_end/testcases/inline_class/implements.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/implements.dart.weak.modular.expect @@ -230,55 +230,55 @@ inline class D1 /* declaredRepresentationType = core::int */ implements self::C1 constructor • = self::D1|; tearoff • = self::D1|_#new#tearOff; } -static method A|(core::int it) → self::A { +static inline-class-member method A|(core::int it) → self::A { lowered final self::A #this = it; return #this; } -static method A|_#new#tearOff(core::int it) → self::A +static inline-class-member method A|_#new#tearOff(core::int it) → self::A return self::A|(it); -static method A|methodA(lowered final self::A #this) → core::int +static inline-class-member method A|methodA(lowered final self::A #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(5){(core::num) → core::int}; -static method A|get#methodA(lowered final self::A #this) → () → core::int +static inline-class-member method A|get#methodA(lowered final self::A #this) → () → core::int return () → core::int => self::A|methodA(#this); -static method B|(self::B|::T% it) → self::B { +static inline-class-member method B|(self::B|::T% it) → self::B { lowered final self::B #this = it; return #this; } -static method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B +static inline-class-member method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B return self::B|(it); -static method B|methodB(lowered final self::B #this) → self::B|methodB::T% +static inline-class-member method B|methodB(lowered final self::B #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% +static inline-class-member method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); -static method C1|(core::int it) → self::C1 { +static inline-class-member method C1|(core::int it) → self::C1 { lowered final self::C1 #this = it; return #this; } -static method C1|_#new#tearOff(core::int it) → self::C1 +static inline-class-member method C1|_#new#tearOff(core::int it) → self::C1 return self::C1|(it); -static method C1|methodC1(lowered final self::C1 #this) → core::int +static inline-class-member method C1|methodC1(lowered final self::C1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(42){(core::num) → core::int}; -static method C1|get#methodC1(lowered final self::C1 #this) → () → core::int +static inline-class-member method C1|get#methodC1(lowered final self::C1 #this) → () → core::int return () → core::int => self::C1|methodC1(#this); -static method C2|(core::int it) → self::C2 { +static inline-class-member method C2|(core::int it) → self::C2 { lowered final self::C2 #this = it; return #this; } -static method C2|_#new#tearOff(core::int it) → self::C2 +static inline-class-member method C2|_#new#tearOff(core::int it) → self::C2 return self::C2|(it); -static method C2|methodC2(lowered final self::C2 #this) → core::int +static inline-class-member method C2|methodC2(lowered final self::C2 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(87){(core::num) → core::int}; -static method C2|get#methodC2(lowered final self::C2 #this) → () → core::int +static inline-class-member method C2|get#methodC2(lowered final self::C2 #this) → () → core::int return () → core::int => self::C2|methodC2(#this); -static method D1|(core::int it) → self::D1 { +static inline-class-member method D1|(core::int it) → self::D1 { lowered final self::D1 #this = it; return #this; } -static method D1|_#new#tearOff(core::int it) → self::D1 +static inline-class-member method D1|_#new#tearOff(core::int it) → self::D1 return self::D1|(it); -static method D1|methodD1(lowered final self::D1 #this) → core::int +static inline-class-member method D1|methodD1(lowered final self::D1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(123){(core::num) → core::int}; -static method D1|get#methodD1(lowered final self::D1 #this) → () → core::int +static inline-class-member method D1|get#methodD1(lowered final self::D1 #this) → () → core::int return () → core::int => self::D1|methodD1(#this); static method errors(self::A a, self::B b1, self::B b2, self::C1 c1, self::C2 c2, self::D1 d1) → dynamic { invalid-expression "pkg/front_end/testcases/inline_class/implements.dart:46:5: Error: The method 'methodB' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/inline_class/implements.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/implements.dart.weak.outline.expect index ee28441acae..85fcc6a8461 100644 --- a/pkg/front_end/testcases/inline_class/implements.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/implements.dart.weak.outline.expect @@ -32,45 +32,45 @@ inline class D1 /* declaredRepresentationType = core::int */ implements self::C1 constructor • = self::D1|; tearoff • = self::D1|_#new#tearOff; } -static method A|(core::int it) → self::A +static inline-class-member method A|(core::int it) → self::A ; -static method A|_#new#tearOff(core::int it) → self::A +static inline-class-member method A|_#new#tearOff(core::int it) → self::A return self::A|(it); -static method A|methodA(lowered final self::A #this) → core::int +static inline-class-member method A|methodA(lowered final self::A #this) → core::int ; -static method A|get#methodA(lowered final self::A #this) → () → core::int +static inline-class-member method A|get#methodA(lowered final self::A #this) → () → core::int return () → core::int => self::A|methodA(#this); -static method B|(self::B|::T% it) → self::B +static inline-class-member method B|(self::B|::T% it) → self::B ; -static method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B +static inline-class-member method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B return self::B|(it); -static method B|methodB(lowered final self::B #this) → self::B|methodB::T% +static inline-class-member method B|methodB(lowered final self::B #this) → self::B|methodB::T% ; -static method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% +static inline-class-member method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); -static method C1|(core::int it) → self::C1 +static inline-class-member method C1|(core::int it) → self::C1 ; -static method C1|_#new#tearOff(core::int it) → self::C1 +static inline-class-member method C1|_#new#tearOff(core::int it) → self::C1 return self::C1|(it); -static method C1|methodC1(lowered final self::C1 #this) → core::int +static inline-class-member method C1|methodC1(lowered final self::C1 #this) → core::int ; -static method C1|get#methodC1(lowered final self::C1 #this) → () → core::int +static inline-class-member method C1|get#methodC1(lowered final self::C1 #this) → () → core::int return () → core::int => self::C1|methodC1(#this); -static method C2|(core::int it) → self::C2 +static inline-class-member method C2|(core::int it) → self::C2 ; -static method C2|_#new#tearOff(core::int it) → self::C2 +static inline-class-member method C2|_#new#tearOff(core::int it) → self::C2 return self::C2|(it); -static method C2|methodC2(lowered final self::C2 #this) → core::int +static inline-class-member method C2|methodC2(lowered final self::C2 #this) → core::int ; -static method C2|get#methodC2(lowered final self::C2 #this) → () → core::int +static inline-class-member method C2|get#methodC2(lowered final self::C2 #this) → () → core::int return () → core::int => self::C2|methodC2(#this); -static method D1|(core::int it) → self::D1 +static inline-class-member method D1|(core::int it) → self::D1 ; -static method D1|_#new#tearOff(core::int it) → self::D1 +static inline-class-member method D1|_#new#tearOff(core::int it) → self::D1 return self::D1|(it); -static method D1|methodD1(lowered final self::D1 #this) → core::int +static inline-class-member method D1|methodD1(lowered final self::D1 #this) → core::int ; -static method D1|get#methodD1(lowered final self::D1 #this) → () → core::int +static inline-class-member method D1|get#methodD1(lowered final self::D1 #this) → () → core::int return () → core::int => self::D1|methodD1(#this); static method errors(self::A a, self::B b1, self::B b2, self::C1 c1, self::C2 c2, self::D1 d1) → dynamic ; diff --git a/pkg/front_end/testcases/inline_class/implements.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/implements.dart.weak.transformed.expect index 8b2a64f304b..c9786c06203 100644 --- a/pkg/front_end/testcases/inline_class/implements.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/implements.dart.weak.transformed.expect @@ -230,55 +230,55 @@ inline class D1 /* declaredRepresentationType = core::int */ implements self::C1 constructor • = self::D1|; tearoff • = self::D1|_#new#tearOff; } -static method A|(core::int it) → self::A { +static inline-class-member method A|(core::int it) → self::A { lowered final self::A #this = it; return #this; } -static method A|_#new#tearOff(core::int it) → self::A +static inline-class-member method A|_#new#tearOff(core::int it) → self::A return self::A|(it); -static method A|methodA(lowered final self::A #this) → core::int +static inline-class-member method A|methodA(lowered final self::A #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(5){(core::num) → core::int}; -static method A|get#methodA(lowered final self::A #this) → () → core::int +static inline-class-member method A|get#methodA(lowered final self::A #this) → () → core::int return () → core::int => self::A|methodA(#this); -static method B|(self::B|::T% it) → self::B { +static inline-class-member method B|(self::B|::T% it) → self::B { lowered final self::B #this = it; return #this; } -static method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B +static inline-class-member method B|_#new#tearOff(self::B|_#new#tearOff::T% it) → self::B return self::B|(it); -static method B|methodB(lowered final self::B #this) → self::B|methodB::T% +static inline-class-member method B|methodB(lowered final self::B #this) → self::B|methodB::T% return #this as{Unchecked} self::B|methodB::T%; -static method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% +static inline-class-member method B|get#methodB(lowered final self::B #this) → () → self::B|get#methodB::T% return () → self::B|get#methodB::T% => self::B|methodB(#this); -static method C1|(core::int it) → self::C1 { +static inline-class-member method C1|(core::int it) → self::C1 { lowered final self::C1 #this = it; return #this; } -static method C1|_#new#tearOff(core::int it) → self::C1 +static inline-class-member method C1|_#new#tearOff(core::int it) → self::C1 return self::C1|(it); -static method C1|methodC1(lowered final self::C1 #this) → core::int +static inline-class-member method C1|methodC1(lowered final self::C1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(42){(core::num) → core::int}; -static method C1|get#methodC1(lowered final self::C1 #this) → () → core::int +static inline-class-member method C1|get#methodC1(lowered final self::C1 #this) → () → core::int return () → core::int => self::C1|methodC1(#this); -static method C2|(core::int it) → self::C2 { +static inline-class-member method C2|(core::int it) → self::C2 { lowered final self::C2 #this = it; return #this; } -static method C2|_#new#tearOff(core::int it) → self::C2 +static inline-class-member method C2|_#new#tearOff(core::int it) → self::C2 return self::C2|(it); -static method C2|methodC2(lowered final self::C2 #this) → core::int +static inline-class-member method C2|methodC2(lowered final self::C2 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(87){(core::num) → core::int}; -static method C2|get#methodC2(lowered final self::C2 #this) → () → core::int +static inline-class-member method C2|get#methodC2(lowered final self::C2 #this) → () → core::int return () → core::int => self::C2|methodC2(#this); -static method D1|(core::int it) → self::D1 { +static inline-class-member method D1|(core::int it) → self::D1 { lowered final self::D1 #this = it; return #this; } -static method D1|_#new#tearOff(core::int it) → self::D1 +static inline-class-member method D1|_#new#tearOff(core::int it) → self::D1 return self::D1|(it); -static method D1|methodD1(lowered final self::D1 #this) → core::int +static inline-class-member method D1|methodD1(lowered final self::D1 #this) → core::int return (#this as{Unchecked} core::int).{core::num::+}(123){(core::num) → core::int}; -static method D1|get#methodD1(lowered final self::D1 #this) → () → core::int +static inline-class-member method D1|get#methodD1(lowered final self::D1 #this) → () → core::int return () → core::int => self::D1|methodD1(#this); static method errors(self::A a, self::B b1, self::B b2, self::C1 c1, self::C2 c2, self::D1 d1) → dynamic { invalid-expression "pkg/front_end/testcases/inline_class/implements.dart:46:5: Error: The method 'methodB' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/inline_class/initializers.dart.strong.expect b/pkg/front_end/testcases/inline_class/initializers.dart.strong.expect index f6fe522b60b..a2b8407da33 100644 --- a/pkg/front_end/testcases/inline_class/initializers.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/initializers.dart.strong.expect @@ -44,42 +44,42 @@ inline class Class6 /* declaredRepresentationType = core::int */ { constructor • = self::Class6|; tearoff • = self::Class6|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); -static method Class4|(core::int field, dynamic nonexisting) → self::Class4 { +static inline-class-member method Class4|(core::int field, dynamic nonexisting) → self::Class4 { lowered final self::Class4 #this = field; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:24:27: Error: 'nonexisting' isn't an instance field of this class. Class4(this.field, this.nonexisting); ^^^^^^^^^^^"; return #this; } -static method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 +static inline-class-member method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 return self::Class4|(field, nonexisting); -static method Class5|(core::int field) → self::Class5 { +static inline-class-member method Class5|(core::int field) → self::Class5 { lowered final self::Class5 #this = field; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:30:35: Error: 'field' was already initialized by this constructor. Class5(this.field) : this.field = 42; ^"; return #this; } -static method Class5|_#new#tearOff(core::int field) → self::Class5 +static inline-class-member method Class5|_#new#tearOff(core::int field) → self::Class5 return self::Class5|(field); -static method Class6|(core::int field) → self::Class6 { +static inline-class-member method Class6|(core::int field) → self::Class6 { lowered final self::Class6 #this = field; final dynamic #t3 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:36:29: Error: 'nonexisting' isn't an instance field of this class. Class6(this.field) : this.nonexisting = 42; ^^^^^^^^^^^"; return #this; } -static method Class6|_#new#tearOff(core::int field) → self::Class6 +static inline-class-member method Class6|_#new#tearOff(core::int field) → self::Class6 return self::Class6|(field); diff --git a/pkg/front_end/testcases/inline_class/initializers.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/initializers.dart.strong.transformed.expect index f6fe522b60b..a2b8407da33 100644 --- a/pkg/front_end/testcases/inline_class/initializers.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/initializers.dart.strong.transformed.expect @@ -44,42 +44,42 @@ inline class Class6 /* declaredRepresentationType = core::int */ { constructor • = self::Class6|; tearoff • = self::Class6|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); -static method Class4|(core::int field, dynamic nonexisting) → self::Class4 { +static inline-class-member method Class4|(core::int field, dynamic nonexisting) → self::Class4 { lowered final self::Class4 #this = field; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:24:27: Error: 'nonexisting' isn't an instance field of this class. Class4(this.field, this.nonexisting); ^^^^^^^^^^^"; return #this; } -static method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 +static inline-class-member method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 return self::Class4|(field, nonexisting); -static method Class5|(core::int field) → self::Class5 { +static inline-class-member method Class5|(core::int field) → self::Class5 { lowered final self::Class5 #this = field; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:30:35: Error: 'field' was already initialized by this constructor. Class5(this.field) : this.field = 42; ^"; return #this; } -static method Class5|_#new#tearOff(core::int field) → self::Class5 +static inline-class-member method Class5|_#new#tearOff(core::int field) → self::Class5 return self::Class5|(field); -static method Class6|(core::int field) → self::Class6 { +static inline-class-member method Class6|(core::int field) → self::Class6 { lowered final self::Class6 #this = field; final dynamic #t3 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:36:29: Error: 'nonexisting' isn't an instance field of this class. Class6(this.field) : this.nonexisting = 42; ^^^^^^^^^^^"; return #this; } -static method Class6|_#new#tearOff(core::int field) → self::Class6 +static inline-class-member method Class6|_#new#tearOff(core::int field) → self::Class6 return self::Class6|(field); diff --git a/pkg/front_end/testcases/inline_class/initializers.dart.weak.expect b/pkg/front_end/testcases/inline_class/initializers.dart.weak.expect index f6fe522b60b..a2b8407da33 100644 --- a/pkg/front_end/testcases/inline_class/initializers.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/initializers.dart.weak.expect @@ -44,42 +44,42 @@ inline class Class6 /* declaredRepresentationType = core::int */ { constructor • = self::Class6|; tearoff • = self::Class6|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); -static method Class4|(core::int field, dynamic nonexisting) → self::Class4 { +static inline-class-member method Class4|(core::int field, dynamic nonexisting) → self::Class4 { lowered final self::Class4 #this = field; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:24:27: Error: 'nonexisting' isn't an instance field of this class. Class4(this.field, this.nonexisting); ^^^^^^^^^^^"; return #this; } -static method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 +static inline-class-member method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 return self::Class4|(field, nonexisting); -static method Class5|(core::int field) → self::Class5 { +static inline-class-member method Class5|(core::int field) → self::Class5 { lowered final self::Class5 #this = field; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:30:35: Error: 'field' was already initialized by this constructor. Class5(this.field) : this.field = 42; ^"; return #this; } -static method Class5|_#new#tearOff(core::int field) → self::Class5 +static inline-class-member method Class5|_#new#tearOff(core::int field) → self::Class5 return self::Class5|(field); -static method Class6|(core::int field) → self::Class6 { +static inline-class-member method Class6|(core::int field) → self::Class6 { lowered final self::Class6 #this = field; final dynamic #t3 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:36:29: Error: 'nonexisting' isn't an instance field of this class. Class6(this.field) : this.nonexisting = 42; ^^^^^^^^^^^"; return #this; } -static method Class6|_#new#tearOff(core::int field) → self::Class6 +static inline-class-member method Class6|_#new#tearOff(core::int field) → self::Class6 return self::Class6|(field); diff --git a/pkg/front_end/testcases/inline_class/initializers.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/initializers.dart.weak.modular.expect index f6fe522b60b..a2b8407da33 100644 --- a/pkg/front_end/testcases/inline_class/initializers.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/initializers.dart.weak.modular.expect @@ -44,42 +44,42 @@ inline class Class6 /* declaredRepresentationType = core::int */ { constructor • = self::Class6|; tearoff • = self::Class6|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); -static method Class4|(core::int field, dynamic nonexisting) → self::Class4 { +static inline-class-member method Class4|(core::int field, dynamic nonexisting) → self::Class4 { lowered final self::Class4 #this = field; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:24:27: Error: 'nonexisting' isn't an instance field of this class. Class4(this.field, this.nonexisting); ^^^^^^^^^^^"; return #this; } -static method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 +static inline-class-member method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 return self::Class4|(field, nonexisting); -static method Class5|(core::int field) → self::Class5 { +static inline-class-member method Class5|(core::int field) → self::Class5 { lowered final self::Class5 #this = field; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:30:35: Error: 'field' was already initialized by this constructor. Class5(this.field) : this.field = 42; ^"; return #this; } -static method Class5|_#new#tearOff(core::int field) → self::Class5 +static inline-class-member method Class5|_#new#tearOff(core::int field) → self::Class5 return self::Class5|(field); -static method Class6|(core::int field) → self::Class6 { +static inline-class-member method Class6|(core::int field) → self::Class6 { lowered final self::Class6 #this = field; final dynamic #t3 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:36:29: Error: 'nonexisting' isn't an instance field of this class. Class6(this.field) : this.nonexisting = 42; ^^^^^^^^^^^"; return #this; } -static method Class6|_#new#tearOff(core::int field) → self::Class6 +static inline-class-member method Class6|_#new#tearOff(core::int field) → self::Class6 return self::Class6|(field); diff --git a/pkg/front_end/testcases/inline_class/initializers.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/initializers.dart.weak.outline.expect index 71fc2c3a003..84ce001978a 100644 --- a/pkg/front_end/testcases/inline_class/initializers.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/initializers.dart.weak.outline.expect @@ -24,23 +24,23 @@ inline class Class6 /* declaredRepresentationType = core::int */ { constructor • = self::Class6|; tearoff • = self::Class6|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 +static inline-class-member method Class1|(core::int field) → self::Class1 ; -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 +static inline-class-member method Class2|(core::int field) → self::Class2 ; -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); -static method Class4|(core::int field, dynamic nonexisting) → self::Class4 +static inline-class-member method Class4|(core::int field, dynamic nonexisting) → self::Class4 ; -static method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 +static inline-class-member method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 return self::Class4|(field, nonexisting); -static method Class5|(core::int field) → self::Class5 +static inline-class-member method Class5|(core::int field) → self::Class5 ; -static method Class5|_#new#tearOff(core::int field) → self::Class5 +static inline-class-member method Class5|_#new#tearOff(core::int field) → self::Class5 return self::Class5|(field); -static method Class6|(core::int field) → self::Class6 +static inline-class-member method Class6|(core::int field) → self::Class6 ; -static method Class6|_#new#tearOff(core::int field) → self::Class6 +static inline-class-member method Class6|_#new#tearOff(core::int field) → self::Class6 return self::Class6|(field); diff --git a/pkg/front_end/testcases/inline_class/initializers.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/initializers.dart.weak.transformed.expect index f6fe522b60b..a2b8407da33 100644 --- a/pkg/front_end/testcases/inline_class/initializers.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/initializers.dart.weak.transformed.expect @@ -44,42 +44,42 @@ inline class Class6 /* declaredRepresentationType = core::int */ { constructor • = self::Class6|; tearoff • = self::Class6|_#new#tearOff; } -static method Class1|(core::int field) → self::Class1 { +static inline-class-member method Class1|(core::int field) → self::Class1 { lowered final self::Class1 #this = field; return #this; } -static method Class1|_#new#tearOff(core::int field) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int field) → self::Class1 return self::Class1|(field); -static method Class2|(core::int field) → self::Class2 { +static inline-class-member method Class2|(core::int field) → self::Class2 { lowered final self::Class2 #this = field; return #this; } -static method Class2|_#new#tearOff(core::int field) → self::Class2 +static inline-class-member method Class2|_#new#tearOff(core::int field) → self::Class2 return self::Class2|(field); -static method Class4|(core::int field, dynamic nonexisting) → self::Class4 { +static inline-class-member method Class4|(core::int field, dynamic nonexisting) → self::Class4 { lowered final self::Class4 #this = field; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:24:27: Error: 'nonexisting' isn't an instance field of this class. Class4(this.field, this.nonexisting); ^^^^^^^^^^^"; return #this; } -static method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 +static inline-class-member method Class4|_#new#tearOff(core::int field, dynamic nonexisting) → self::Class4 return self::Class4|(field, nonexisting); -static method Class5|(core::int field) → self::Class5 { +static inline-class-member method Class5|(core::int field) → self::Class5 { lowered final self::Class5 #this = field; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:30:35: Error: 'field' was already initialized by this constructor. Class5(this.field) : this.field = 42; ^"; return #this; } -static method Class5|_#new#tearOff(core::int field) → self::Class5 +static inline-class-member method Class5|_#new#tearOff(core::int field) → self::Class5 return self::Class5|(field); -static method Class6|(core::int field) → self::Class6 { +static inline-class-member method Class6|(core::int field) → self::Class6 { lowered final self::Class6 #this = field; final dynamic #t3 = invalid-expression "pkg/front_end/testcases/inline_class/initializers.dart:36:29: Error: 'nonexisting' isn't an instance field of this class. Class6(this.field) : this.nonexisting = 42; ^^^^^^^^^^^"; return #this; } -static method Class6|_#new#tearOff(core::int field) → self::Class6 +static inline-class-member method Class6|_#new#tearOff(core::int field) → self::Class6 return self::Class6|(field); diff --git a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.strong.expect b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.strong.expect index 3b9a4d4882e..b758388348b 100644 --- a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.strong.expect @@ -17,16 +17,16 @@ inline class Class3 /* declaredRepresentation constructor • = self::Class3|; tearoff • = self::Class3|_#new#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class3|(core::List it) → self::Class3 { +static inline-class-member method Class3|(core::List it) → self::Class3 { lowered final self::Class3 #this = it; return #this; } -static method Class3|_#new#tearOff(core::List it) → self::Class3 +static inline-class-member method Class3|_#new#tearOff(core::List it) → self::Class3 return self::Class3|(it); static method method(self::Class1 c1, self::Class3 c3) → dynamic {} diff --git a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.strong.transformed.expect index 4da3400b944..3767f34ddf8 100644 --- a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.strong.transformed.expect @@ -17,16 +17,16 @@ inline class Class3 /* declaredRepresentation constructor • = self::Class3|; tearoff • = self::Class3|_#new#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class3|(core::List it) → self::Class3 { +static inline-class-member method Class3|(core::List it) → self::Class3 { lowered final self::Class3 #this = it; return #this; } -static method Class3|_#new#tearOff(core::List it) → self::Class3 +static inline-class-member method Class3|_#new#tearOff(core::List it) → self::Class3 return self::Class3|(it); static method method(self::Class1 c1, self::Class3 c3) → dynamic {} diff --git a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.expect b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.expect index 3b9a4d4882e..b758388348b 100644 --- a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.expect @@ -17,16 +17,16 @@ inline class Class3 /* declaredRepresentation constructor • = self::Class3|; tearoff • = self::Class3|_#new#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class3|(core::List it) → self::Class3 { +static inline-class-member method Class3|(core::List it) → self::Class3 { lowered final self::Class3 #this = it; return #this; } -static method Class3|_#new#tearOff(core::List it) → self::Class3 +static inline-class-member method Class3|_#new#tearOff(core::List it) → self::Class3 return self::Class3|(it); static method method(self::Class1 c1, self::Class3 c3) → dynamic {} diff --git a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.modular.expect index 3b9a4d4882e..b758388348b 100644 --- a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.modular.expect @@ -17,16 +17,16 @@ inline class Class3 /* declaredRepresentation constructor • = self::Class3|; tearoff • = self::Class3|_#new#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class3|(core::List it) → self::Class3 { +static inline-class-member method Class3|(core::List it) → self::Class3 { lowered final self::Class3 #this = it; return #this; } -static method Class3|_#new#tearOff(core::List it) → self::Class3 +static inline-class-member method Class3|_#new#tearOff(core::List it) → self::Class3 return self::Class3|(it); static method method(self::Class1 c1, self::Class3 c3) → dynamic {} diff --git a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.outline.expect index 858d68e683f..73fc751b845 100644 --- a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.outline.expect @@ -17,13 +17,13 @@ inline class Class3 /* declaredRepresentation constructor • = self::Class3|; tearoff • = self::Class3|_#new#tearOff; } -static method Class1|(core::int it) → self::Class1 +static inline-class-member method Class1|(core::int it) → self::Class1 ; -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class3|(core::List it) → self::Class3 +static inline-class-member method Class3|(core::List it) → self::Class3 ; -static method Class3|_#new#tearOff(core::List it) → self::Class3 +static inline-class-member method Class3|_#new#tearOff(core::List it) → self::Class3 return self::Class3|(it); static method method(self::Class1 c1, self::Class3 c3) → dynamic ; diff --git a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.transformed.expect index 4da3400b944..3767f34ddf8 100644 --- a/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/inline_class_declaration.dart.weak.transformed.expect @@ -17,16 +17,16 @@ inline class Class3 /* declaredRepresentation constructor • = self::Class3|; tearoff • = self::Class3|_#new#tearOff; } -static method Class1|(core::int it) → self::Class1 { +static inline-class-member method Class1|(core::int it) → self::Class1 { lowered final self::Class1 #this = it; return #this; } -static method Class1|_#new#tearOff(core::int it) → self::Class1 +static inline-class-member method Class1|_#new#tearOff(core::int it) → self::Class1 return self::Class1|(it); -static method Class3|(core::List it) → self::Class3 { +static inline-class-member method Class3|(core::List it) → self::Class3 { lowered final self::Class3 #this = it; return #this; } -static method Class3|_#new#tearOff(core::List it) → self::Class3 +static inline-class-member method Class3|_#new#tearOff(core::List it) → self::Class3 return self::Class3|(it); static method method(self::Class1 c1, self::Class3 c3) → dynamic {} diff --git a/pkg/front_end/testcases/inline_class/issue51146.dart.strong.expect b/pkg/front_end/testcases/inline_class/issue51146.dart.strong.expect index 19ccfb4ac2e..ec08a7dcacd 100644 --- a/pkg/front_end/testcases/inline_class/issue51146.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/issue51146.dart.strong.expect @@ -6,11 +6,11 @@ inline class I(self::I|::X% value) → self::I { +static inline-class-member method I|(self::I|::X% value) → self::I { lowered final self::I #this = value; return #this; } -static method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I +static inline-class-member method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I return self::I|(value); static method f(self::I i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/inline_class/issue51146.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/issue51146.dart.strong.transformed.expect index 19ccfb4ac2e..ec08a7dcacd 100644 --- a/pkg/front_end/testcases/inline_class/issue51146.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue51146.dart.strong.transformed.expect @@ -6,11 +6,11 @@ inline class I(self::I|::X% value) → self::I { +static inline-class-member method I|(self::I|::X% value) → self::I { lowered final self::I #this = value; return #this; } -static method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I +static inline-class-member method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I return self::I|(value); static method f(self::I i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/inline_class/issue51146.dart.weak.expect b/pkg/front_end/testcases/inline_class/issue51146.dart.weak.expect index 19ccfb4ac2e..ec08a7dcacd 100644 --- a/pkg/front_end/testcases/inline_class/issue51146.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/issue51146.dart.weak.expect @@ -6,11 +6,11 @@ inline class I(self::I|::X% value) → self::I { +static inline-class-member method I|(self::I|::X% value) → self::I { lowered final self::I #this = value; return #this; } -static method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I +static inline-class-member method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I return self::I|(value); static method f(self::I i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/inline_class/issue51146.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/issue51146.dart.weak.modular.expect index 19ccfb4ac2e..ec08a7dcacd 100644 --- a/pkg/front_end/testcases/inline_class/issue51146.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/issue51146.dart.weak.modular.expect @@ -6,11 +6,11 @@ inline class I(self::I|::X% value) → self::I { +static inline-class-member method I|(self::I|::X% value) → self::I { lowered final self::I #this = value; return #this; } -static method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I +static inline-class-member method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I return self::I|(value); static method f(self::I i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/inline_class/issue51146.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/issue51146.dart.weak.outline.expect index 9c47f77a548..c0b2536f076 100644 --- a/pkg/front_end/testcases/inline_class/issue51146.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/issue51146.dart.weak.outline.expect @@ -6,9 +6,9 @@ inline class I(self::I|::X% value) → self::I +static inline-class-member method I|(self::I|::X% value) → self::I ; -static method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I +static inline-class-member method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I return self::I|(value); static method f(self::I i) → void ; diff --git a/pkg/front_end/testcases/inline_class/issue51146.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/issue51146.dart.weak.transformed.expect index 19ccfb4ac2e..ec08a7dcacd 100644 --- a/pkg/front_end/testcases/inline_class/issue51146.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue51146.dart.weak.transformed.expect @@ -6,11 +6,11 @@ inline class I(self::I|::X% value) → self::I { +static inline-class-member method I|(self::I|::X% value) → self::I { lowered final self::I #this = value; return #this; } -static method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I +static inline-class-member method I|_#new#tearOff(self::I|_#new#tearOff::X% value) → self::I return self::I|(value); static method f(self::I i) → void {} static method main() → void { diff --git a/pkg/front_end/testcases/inline_class/issue51285.dart.strong.expect b/pkg/front_end/testcases/inline_class/issue51285.dart.strong.expect index 238854ba32d..02d1bf6673e 100644 --- a/pkg/front_end/testcases/inline_class/issue51285.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/issue51285.dart.strong.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/inline_class/issue51285.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/issue51285.dart.strong.transformed.expect index 238854ba32d..02d1bf6673e 100644 --- a/pkg/front_end/testcases/inline_class/issue51285.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue51285.dart.strong.transformed.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/inline_class/issue51285.dart.weak.expect b/pkg/front_end/testcases/inline_class/issue51285.dart.weak.expect index 2bc41afa9e5..3408c21c314 100644 --- a/pkg/front_end/testcases/inline_class/issue51285.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/issue51285.dart.weak.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/inline_class/issue51285.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/issue51285.dart.weak.modular.expect index 2bc41afa9e5..3408c21c314 100644 --- a/pkg/front_end/testcases/inline_class/issue51285.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/issue51285.dart.weak.modular.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/inline_class/issue51285.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/issue51285.dart.weak.outline.expect index 0c29b66e6a1..a2c96492968 100644 --- a/pkg/front_end/testcases/inline_class/issue51285.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/issue51285.dart.weak.outline.expect @@ -18,25 +18,25 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I ; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J ; -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J +static inline-class-member method J|_(core::int i) → self::J ; -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K ; -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K +static inline-class-member method K|_(self::K|_::T% i) → self::K ; -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/inline_class/issue51285.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/issue51285.dart.weak.transformed.expect index 2bc41afa9e5..3408c21c314 100644 --- a/pkg/front_end/testcases/inline_class/issue51285.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue51285.dart.weak.transformed.expect @@ -18,29 +18,29 @@ inline class K /* declaredRepresentationType constructor _ = self::K|_; tearoff _ = self::K|_#_#tearOff; } -static method I|() → self::I +static inline-class-member method I|() → self::I return 0 as self::I; -static method I|_#new#tearOff() → self::I +static inline-class-member method I|_#new#tearOff() → self::I return self::I|(); -static method J|(core::int i) → self::J +static inline-class-member method J|(core::int i) → self::J return self::J|_(i); -static method J|_#new#tearOff(core::int i) → self::J +static inline-class-member method J|_#new#tearOff(core::int i) → self::J return self::J|(i); -static method J|_(core::int i) → self::J { +static inline-class-member method J|_(core::int i) → self::J { lowered final self::J #this = i; return #this; } -static method J|_#_#tearOff(core::int i) → self::J +static inline-class-member method J|_#_#tearOff(core::int i) → self::J return self::J|_(i); -static method K|(self::K|::T% i) → self::K +static inline-class-member method K|(self::K|::T% i) → self::K return self::K|_(i); -static method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K +static inline-class-member method K|_#new#tearOff(self::K|_#new#tearOff::T% i) → self::K return self::K|(i); -static method K|_(self::K|_::T% i) → self::K { +static inline-class-member method K|_(self::K|_::T% i) → self::K { lowered final self::K #this = i; return #this; } -static method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K +static inline-class-member method K|_#_#tearOff(self::K|_#_#tearOff::T% i) → self::K return self::K|_(i); static method main() → dynamic { self::expect(0, self::I|()); diff --git a/pkg/front_end/testcases/inline_class/issue51299.dart.strong.expect b/pkg/front_end/testcases/inline_class/issue51299.dart.strong.expect index f50e4e5280c..ad7b51feb12 100644 --- a/pkg/front_end/testcases/inline_class/issue51299.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/issue51299.dart.strong.expect @@ -6,6 +6,6 @@ inline class I /* declaredRepresentationType = invalid-type */ { get i = self::I|get#i; set i = self::I|set#i; } -static method I|get#i(lowered final self::I #this) → core::int +static inline-class-member method I|get#i(lowered final self::I #this) → core::int return 0; -static method I|set#i(lowered final self::I #this, core::int val) → void {} +static inline-class-member method I|set#i(lowered final self::I #this, core::int val) → void {} diff --git a/pkg/front_end/testcases/inline_class/issue51299.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/issue51299.dart.strong.transformed.expect index f50e4e5280c..ad7b51feb12 100644 --- a/pkg/front_end/testcases/inline_class/issue51299.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue51299.dart.strong.transformed.expect @@ -6,6 +6,6 @@ inline class I /* declaredRepresentationType = invalid-type */ { get i = self::I|get#i; set i = self::I|set#i; } -static method I|get#i(lowered final self::I #this) → core::int +static inline-class-member method I|get#i(lowered final self::I #this) → core::int return 0; -static method I|set#i(lowered final self::I #this, core::int val) → void {} +static inline-class-member method I|set#i(lowered final self::I #this, core::int val) → void {} diff --git a/pkg/front_end/testcases/inline_class/issue51299.dart.weak.expect b/pkg/front_end/testcases/inline_class/issue51299.dart.weak.expect index f50e4e5280c..ad7b51feb12 100644 --- a/pkg/front_end/testcases/inline_class/issue51299.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/issue51299.dart.weak.expect @@ -6,6 +6,6 @@ inline class I /* declaredRepresentationType = invalid-type */ { get i = self::I|get#i; set i = self::I|set#i; } -static method I|get#i(lowered final self::I #this) → core::int +static inline-class-member method I|get#i(lowered final self::I #this) → core::int return 0; -static method I|set#i(lowered final self::I #this, core::int val) → void {} +static inline-class-member method I|set#i(lowered final self::I #this, core::int val) → void {} diff --git a/pkg/front_end/testcases/inline_class/issue51299.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/issue51299.dart.weak.modular.expect index f50e4e5280c..ad7b51feb12 100644 --- a/pkg/front_end/testcases/inline_class/issue51299.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/issue51299.dart.weak.modular.expect @@ -6,6 +6,6 @@ inline class I /* declaredRepresentationType = invalid-type */ { get i = self::I|get#i; set i = self::I|set#i; } -static method I|get#i(lowered final self::I #this) → core::int +static inline-class-member method I|get#i(lowered final self::I #this) → core::int return 0; -static method I|set#i(lowered final self::I #this, core::int val) → void {} +static inline-class-member method I|set#i(lowered final self::I #this, core::int val) → void {} diff --git a/pkg/front_end/testcases/inline_class/issue51299.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/issue51299.dart.weak.outline.expect index a0e6f76aae9..01fc6b0f683 100644 --- a/pkg/front_end/testcases/inline_class/issue51299.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/issue51299.dart.weak.outline.expect @@ -6,7 +6,7 @@ inline class I /* declaredRepresentationType = invalid-type */ { get i = self::I|get#i; set i = self::I|set#i; } -static method I|get#i(lowered final self::I #this) → core::int +static inline-class-member method I|get#i(lowered final self::I #this) → core::int ; -static method I|set#i(lowered final self::I #this, core::int val) → void +static inline-class-member method I|set#i(lowered final self::I #this, core::int val) → void ; diff --git a/pkg/front_end/testcases/inline_class/issue51299.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/issue51299.dart.weak.transformed.expect index f50e4e5280c..ad7b51feb12 100644 --- a/pkg/front_end/testcases/inline_class/issue51299.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue51299.dart.weak.transformed.expect @@ -6,6 +6,6 @@ inline class I /* declaredRepresentationType = invalid-type */ { get i = self::I|get#i; set i = self::I|set#i; } -static method I|get#i(lowered final self::I #this) → core::int +static inline-class-member method I|get#i(lowered final self::I #this) → core::int return 0; -static method I|set#i(lowered final self::I #this, core::int val) → void {} +static inline-class-member method I|set#i(lowered final self::I #this, core::int val) → void {} diff --git a/pkg/front_end/testcases/inline_class/issue51556.dart.strong.expect b/pkg/front_end/testcases/inline_class/issue51556.dart.strong.expect index 2b7d7309139..ab3c6810dde 100644 --- a/pkg/front_end/testcases/inline_class/issue51556.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/issue51556.dart.strong.expect @@ -31,41 +31,41 @@ inline class JSNumber /* declaredRepresentationType = core::double */ implements constructor • = self::JSNumber|; tearoff • = self::JSNumber|_#new#tearOff; } -static method JSAny|(core::Object value) → self::JSAny { +static inline-class-member method JSAny|(core::Object value) → self::JSAny { lowered final self::JSAny #this = value; return #this; } -static method JSAny|_#new#tearOff(core::Object value) → self::JSAny +static inline-class-member method JSAny|_#new#tearOff(core::Object value) → self::JSAny return self::JSAny|(value); -static method JSObject|(core::Object value) → self::JSObject { +static inline-class-member method JSObject|(core::Object value) → self::JSObject { lowered final self::JSObject #this = value; return #this; } -static method JSObject|_#new#tearOff(core::Object value) → self::JSObject +static inline-class-member method JSObject|_#new#tearOff(core::Object value) → self::JSObject return self::JSObject|(value); -static method JSArray|(core::List value) → self::JSArray { +static inline-class-member method JSArray|(core::List value) → self::JSArray { lowered final self::JSArray #this = value; return #this; } -static method JSArray|_#new#tearOff(core::List value) → self::JSArray +static inline-class-member method JSArray|_#new#tearOff(core::List value) → self::JSArray return self::JSArray|(value); -static method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { +static inline-class-member method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { lowered final self::JSExportedDartObject #this = value; return #this; } -static method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject +static inline-class-member method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject return self::JSExportedDartObject|(value); -static method JSNumber|(core::double value) → self::JSNumber { +static inline-class-member method JSNumber|(core::double value) → self::JSNumber { lowered final self::JSNumber #this = value; return #this; } -static method JSNumber|_#new#tearOff(core::double value) → self::JSNumber +static inline-class-member method JSNumber|_#new#tearOff(core::double value) → self::JSNumber return self::JSNumber|(value); -static method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject +static extension-member method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject return self::JSExportedDartObject|(#this); -static method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray +static extension-member method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray return self::JSArray|(#this); -static method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber +static extension-member method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber return self::JSNumber|(#this); static method main() → void { self::JSArray arr = self::ListToJSArray|get#toJS([self::DoubleToJSNumber|get#toJS(1.0), self::ObjectToJSExportedDartObject|get#toJS("foo")]); diff --git a/pkg/front_end/testcases/inline_class/issue51556.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/issue51556.dart.strong.transformed.expect index 626950cb96e..97af8dda62b 100644 --- a/pkg/front_end/testcases/inline_class/issue51556.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue51556.dart.strong.transformed.expect @@ -31,41 +31,41 @@ inline class JSNumber /* declaredRepresentationType = core::double */ implements constructor • = self::JSNumber|; tearoff • = self::JSNumber|_#new#tearOff; } -static method JSAny|(core::Object value) → self::JSAny { +static inline-class-member method JSAny|(core::Object value) → self::JSAny { lowered final self::JSAny #this = value; return #this; } -static method JSAny|_#new#tearOff(core::Object value) → self::JSAny +static inline-class-member method JSAny|_#new#tearOff(core::Object value) → self::JSAny return self::JSAny|(value); -static method JSObject|(core::Object value) → self::JSObject { +static inline-class-member method JSObject|(core::Object value) → self::JSObject { lowered final self::JSObject #this = value; return #this; } -static method JSObject|_#new#tearOff(core::Object value) → self::JSObject +static inline-class-member method JSObject|_#new#tearOff(core::Object value) → self::JSObject return self::JSObject|(value); -static method JSArray|(core::List value) → self::JSArray { +static inline-class-member method JSArray|(core::List value) → self::JSArray { lowered final self::JSArray #this = value; return #this; } -static method JSArray|_#new#tearOff(core::List value) → self::JSArray +static inline-class-member method JSArray|_#new#tearOff(core::List value) → self::JSArray return self::JSArray|(value); -static method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { +static inline-class-member method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { lowered final self::JSExportedDartObject #this = value; return #this; } -static method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject +static inline-class-member method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject return self::JSExportedDartObject|(value); -static method JSNumber|(core::double value) → self::JSNumber { +static inline-class-member method JSNumber|(core::double value) → self::JSNumber { lowered final self::JSNumber #this = value; return #this; } -static method JSNumber|_#new#tearOff(core::double value) → self::JSNumber +static inline-class-member method JSNumber|_#new#tearOff(core::double value) → self::JSNumber return self::JSNumber|(value); -static method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject +static extension-member method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject return self::JSExportedDartObject|(#this); -static method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray +static extension-member method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray return self::JSArray|(#this); -static method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber +static extension-member method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber return self::JSNumber|(#this); static method main() → void { self::JSArray arr = self::ListToJSArray|get#toJS(core::_GrowableList::_literal2(self::DoubleToJSNumber|get#toJS(1.0), self::ObjectToJSExportedDartObject|get#toJS("foo"))); diff --git a/pkg/front_end/testcases/inline_class/issue51556.dart.weak.expect b/pkg/front_end/testcases/inline_class/issue51556.dart.weak.expect index 2b7d7309139..ab3c6810dde 100644 --- a/pkg/front_end/testcases/inline_class/issue51556.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/issue51556.dart.weak.expect @@ -31,41 +31,41 @@ inline class JSNumber /* declaredRepresentationType = core::double */ implements constructor • = self::JSNumber|; tearoff • = self::JSNumber|_#new#tearOff; } -static method JSAny|(core::Object value) → self::JSAny { +static inline-class-member method JSAny|(core::Object value) → self::JSAny { lowered final self::JSAny #this = value; return #this; } -static method JSAny|_#new#tearOff(core::Object value) → self::JSAny +static inline-class-member method JSAny|_#new#tearOff(core::Object value) → self::JSAny return self::JSAny|(value); -static method JSObject|(core::Object value) → self::JSObject { +static inline-class-member method JSObject|(core::Object value) → self::JSObject { lowered final self::JSObject #this = value; return #this; } -static method JSObject|_#new#tearOff(core::Object value) → self::JSObject +static inline-class-member method JSObject|_#new#tearOff(core::Object value) → self::JSObject return self::JSObject|(value); -static method JSArray|(core::List value) → self::JSArray { +static inline-class-member method JSArray|(core::List value) → self::JSArray { lowered final self::JSArray #this = value; return #this; } -static method JSArray|_#new#tearOff(core::List value) → self::JSArray +static inline-class-member method JSArray|_#new#tearOff(core::List value) → self::JSArray return self::JSArray|(value); -static method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { +static inline-class-member method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { lowered final self::JSExportedDartObject #this = value; return #this; } -static method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject +static inline-class-member method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject return self::JSExportedDartObject|(value); -static method JSNumber|(core::double value) → self::JSNumber { +static inline-class-member method JSNumber|(core::double value) → self::JSNumber { lowered final self::JSNumber #this = value; return #this; } -static method JSNumber|_#new#tearOff(core::double value) → self::JSNumber +static inline-class-member method JSNumber|_#new#tearOff(core::double value) → self::JSNumber return self::JSNumber|(value); -static method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject +static extension-member method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject return self::JSExportedDartObject|(#this); -static method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray +static extension-member method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray return self::JSArray|(#this); -static method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber +static extension-member method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber return self::JSNumber|(#this); static method main() → void { self::JSArray arr = self::ListToJSArray|get#toJS([self::DoubleToJSNumber|get#toJS(1.0), self::ObjectToJSExportedDartObject|get#toJS("foo")]); diff --git a/pkg/front_end/testcases/inline_class/issue51556.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/issue51556.dart.weak.modular.expect index 2b7d7309139..ab3c6810dde 100644 --- a/pkg/front_end/testcases/inline_class/issue51556.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/issue51556.dart.weak.modular.expect @@ -31,41 +31,41 @@ inline class JSNumber /* declaredRepresentationType = core::double */ implements constructor • = self::JSNumber|; tearoff • = self::JSNumber|_#new#tearOff; } -static method JSAny|(core::Object value) → self::JSAny { +static inline-class-member method JSAny|(core::Object value) → self::JSAny { lowered final self::JSAny #this = value; return #this; } -static method JSAny|_#new#tearOff(core::Object value) → self::JSAny +static inline-class-member method JSAny|_#new#tearOff(core::Object value) → self::JSAny return self::JSAny|(value); -static method JSObject|(core::Object value) → self::JSObject { +static inline-class-member method JSObject|(core::Object value) → self::JSObject { lowered final self::JSObject #this = value; return #this; } -static method JSObject|_#new#tearOff(core::Object value) → self::JSObject +static inline-class-member method JSObject|_#new#tearOff(core::Object value) → self::JSObject return self::JSObject|(value); -static method JSArray|(core::List value) → self::JSArray { +static inline-class-member method JSArray|(core::List value) → self::JSArray { lowered final self::JSArray #this = value; return #this; } -static method JSArray|_#new#tearOff(core::List value) → self::JSArray +static inline-class-member method JSArray|_#new#tearOff(core::List value) → self::JSArray return self::JSArray|(value); -static method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { +static inline-class-member method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { lowered final self::JSExportedDartObject #this = value; return #this; } -static method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject +static inline-class-member method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject return self::JSExportedDartObject|(value); -static method JSNumber|(core::double value) → self::JSNumber { +static inline-class-member method JSNumber|(core::double value) → self::JSNumber { lowered final self::JSNumber #this = value; return #this; } -static method JSNumber|_#new#tearOff(core::double value) → self::JSNumber +static inline-class-member method JSNumber|_#new#tearOff(core::double value) → self::JSNumber return self::JSNumber|(value); -static method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject +static extension-member method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject return self::JSExportedDartObject|(#this); -static method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray +static extension-member method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray return self::JSArray|(#this); -static method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber +static extension-member method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber return self::JSNumber|(#this); static method main() → void { self::JSArray arr = self::ListToJSArray|get#toJS([self::DoubleToJSNumber|get#toJS(1.0), self::ObjectToJSExportedDartObject|get#toJS("foo")]); diff --git a/pkg/front_end/testcases/inline_class/issue51556.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/issue51556.dart.weak.outline.expect index 90717449f05..53515c56558 100644 --- a/pkg/front_end/testcases/inline_class/issue51556.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/issue51556.dart.weak.outline.expect @@ -31,31 +31,31 @@ inline class JSNumber /* declaredRepresentationType = core::double */ implements constructor • = self::JSNumber|; tearoff • = self::JSNumber|_#new#tearOff; } -static method JSAny|(core::Object value) → self::JSAny +static inline-class-member method JSAny|(core::Object value) → self::JSAny ; -static method JSAny|_#new#tearOff(core::Object value) → self::JSAny +static inline-class-member method JSAny|_#new#tearOff(core::Object value) → self::JSAny return self::JSAny|(value); -static method JSObject|(core::Object value) → self::JSObject +static inline-class-member method JSObject|(core::Object value) → self::JSObject ; -static method JSObject|_#new#tearOff(core::Object value) → self::JSObject +static inline-class-member method JSObject|_#new#tearOff(core::Object value) → self::JSObject return self::JSObject|(value); -static method JSArray|(core::List value) → self::JSArray +static inline-class-member method JSArray|(core::List value) → self::JSArray ; -static method JSArray|_#new#tearOff(core::List value) → self::JSArray +static inline-class-member method JSArray|_#new#tearOff(core::List value) → self::JSArray return self::JSArray|(value); -static method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject +static inline-class-member method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject ; -static method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject +static inline-class-member method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject return self::JSExportedDartObject|(value); -static method JSNumber|(core::double value) → self::JSNumber +static inline-class-member method JSNumber|(core::double value) → self::JSNumber ; -static method JSNumber|_#new#tearOff(core::double value) → self::JSNumber +static inline-class-member method JSNumber|_#new#tearOff(core::double value) → self::JSNumber return self::JSNumber|(value); -static method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject +static extension-member method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject ; -static method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray +static extension-member method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray ; -static method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber +static extension-member method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber ; static method main() → void ; diff --git a/pkg/front_end/testcases/inline_class/issue51556.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/issue51556.dart.weak.transformed.expect index 626950cb96e..97af8dda62b 100644 --- a/pkg/front_end/testcases/inline_class/issue51556.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue51556.dart.weak.transformed.expect @@ -31,41 +31,41 @@ inline class JSNumber /* declaredRepresentationType = core::double */ implements constructor • = self::JSNumber|; tearoff • = self::JSNumber|_#new#tearOff; } -static method JSAny|(core::Object value) → self::JSAny { +static inline-class-member method JSAny|(core::Object value) → self::JSAny { lowered final self::JSAny #this = value; return #this; } -static method JSAny|_#new#tearOff(core::Object value) → self::JSAny +static inline-class-member method JSAny|_#new#tearOff(core::Object value) → self::JSAny return self::JSAny|(value); -static method JSObject|(core::Object value) → self::JSObject { +static inline-class-member method JSObject|(core::Object value) → self::JSObject { lowered final self::JSObject #this = value; return #this; } -static method JSObject|_#new#tearOff(core::Object value) → self::JSObject +static inline-class-member method JSObject|_#new#tearOff(core::Object value) → self::JSObject return self::JSObject|(value); -static method JSArray|(core::List value) → self::JSArray { +static inline-class-member method JSArray|(core::List value) → self::JSArray { lowered final self::JSArray #this = value; return #this; } -static method JSArray|_#new#tearOff(core::List value) → self::JSArray +static inline-class-member method JSArray|_#new#tearOff(core::List value) → self::JSArray return self::JSArray|(value); -static method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { +static inline-class-member method JSExportedDartObject|(core::Object value) → self::JSExportedDartObject { lowered final self::JSExportedDartObject #this = value; return #this; } -static method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject +static inline-class-member method JSExportedDartObject|_#new#tearOff(core::Object value) → self::JSExportedDartObject return self::JSExportedDartObject|(value); -static method JSNumber|(core::double value) → self::JSNumber { +static inline-class-member method JSNumber|(core::double value) → self::JSNumber { lowered final self::JSNumber #this = value; return #this; } -static method JSNumber|_#new#tearOff(core::double value) → self::JSNumber +static inline-class-member method JSNumber|_#new#tearOff(core::double value) → self::JSNumber return self::JSNumber|(value); -static method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject +static extension-member method ObjectToJSExportedDartObject|get#toJS(lowered final core::Object #this) → self::JSExportedDartObject return self::JSExportedDartObject|(#this); -static method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray +static extension-member method ListToJSArray|get#toJS(lowered final core::List #this) → self::JSArray return self::JSArray|(#this); -static method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber +static extension-member method DoubleToJSNumber|get#toJS(lowered final core::double #this) → self::JSNumber return self::JSNumber|(#this); static method main() → void { self::JSArray arr = self::ListToJSArray|get#toJS(core::_GrowableList::_literal2(self::DoubleToJSNumber|get#toJS(1.0), self::ObjectToJSExportedDartObject|get#toJS("foo"))); diff --git a/pkg/front_end/testcases/inline_class/issue52119.dart.strong.expect b/pkg/front_end/testcases/inline_class/issue52119.dart.strong.expect index 1034bcfa48c..570ffe51564 100644 --- a/pkg/front_end/testcases/inline_class/issue52119.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/issue52119.dart.strong.expect @@ -37,61 +37,61 @@ inline class Bar /* declaredRepresentationTyp constructor _ = self::Bar|_; tearoff _ = self::Bar|_#_#tearOff; } -static method Foo|(core::int i) → self::Foo { +static inline-class-member method Foo|(core::int i) → self::Foo { lowered final self::Foo #this; #this = self::Foo|_(i.{core::num::+}(2){(core::num) → core::int}); return #this; } -static method Foo|_#new#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#new#tearOff(core::int i) → self::Foo return self::Foo|(i); -static method Foo|_(core::int i) → self::Foo { +static inline-class-member method Foo|_(core::int i) → self::Foo { lowered final self::Foo #this = i; return #this; } -static method Foo|_#_#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#_#tearOff(core::int i) → self::Foo return self::Foo|_(i); -static method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; #this = self::Foo|named(a, subtract: b); return #this; } -static method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed1(a, b); -static method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; final core::int #t1 = b; #this = self::Foo|named(a, subtract: #t1); return #this; } -static method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed2(a, b); -static method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { +static inline-class-member method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { lowered final self::Foo #this = value.{core::num::-}(subtract){(core::num) → core::int}; return #this; } -static method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo +static inline-class-member method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo return self::Foo|named(value, subtract: subtract); -static method Foo|erroneous() → self::Foo { +static inline-class-member method Foo|erroneous() → self::Foo { lowered final self::Foo #this; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/issue52119.dart:15:26: Error: Couldn't find constructor 'Foo.unresolved'. Foo.erroneous() : this.unresolved(); ^^^^^^^^^^"; return #this; } -static method Foo|_#erroneous#tearOff() → self::Foo +static inline-class-member method Foo|_#erroneous#tearOff() → self::Foo return self::Foo|erroneous(); -static method Bar|(self::Bar|::T% i) → self::Bar { +static inline-class-member method Bar|(self::Bar|::T% i) → self::Bar { lowered final self::Bar #this; #this = self::Bar|_(i); return #this; } -static method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar return self::Bar|(i); -static method Bar|_(self::Bar|_::T% i) → self::Bar { +static inline-class-member method Bar|_(self::Bar|_::T% i) → self::Bar { lowered final self::Bar #this = i; return #this; } -static method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar return self::Bar|_(i); static method main() → dynamic { self::expect(44, self::Foo|(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52119.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/issue52119.dart.strong.transformed.expect index 1034bcfa48c..570ffe51564 100644 --- a/pkg/front_end/testcases/inline_class/issue52119.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue52119.dart.strong.transformed.expect @@ -37,61 +37,61 @@ inline class Bar /* declaredRepresentationTyp constructor _ = self::Bar|_; tearoff _ = self::Bar|_#_#tearOff; } -static method Foo|(core::int i) → self::Foo { +static inline-class-member method Foo|(core::int i) → self::Foo { lowered final self::Foo #this; #this = self::Foo|_(i.{core::num::+}(2){(core::num) → core::int}); return #this; } -static method Foo|_#new#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#new#tearOff(core::int i) → self::Foo return self::Foo|(i); -static method Foo|_(core::int i) → self::Foo { +static inline-class-member method Foo|_(core::int i) → self::Foo { lowered final self::Foo #this = i; return #this; } -static method Foo|_#_#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#_#tearOff(core::int i) → self::Foo return self::Foo|_(i); -static method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; #this = self::Foo|named(a, subtract: b); return #this; } -static method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed1(a, b); -static method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; final core::int #t1 = b; #this = self::Foo|named(a, subtract: #t1); return #this; } -static method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed2(a, b); -static method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { +static inline-class-member method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { lowered final self::Foo #this = value.{core::num::-}(subtract){(core::num) → core::int}; return #this; } -static method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo +static inline-class-member method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo return self::Foo|named(value, subtract: subtract); -static method Foo|erroneous() → self::Foo { +static inline-class-member method Foo|erroneous() → self::Foo { lowered final self::Foo #this; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/issue52119.dart:15:26: Error: Couldn't find constructor 'Foo.unresolved'. Foo.erroneous() : this.unresolved(); ^^^^^^^^^^"; return #this; } -static method Foo|_#erroneous#tearOff() → self::Foo +static inline-class-member method Foo|_#erroneous#tearOff() → self::Foo return self::Foo|erroneous(); -static method Bar|(self::Bar|::T% i) → self::Bar { +static inline-class-member method Bar|(self::Bar|::T% i) → self::Bar { lowered final self::Bar #this; #this = self::Bar|_(i); return #this; } -static method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar return self::Bar|(i); -static method Bar|_(self::Bar|_::T% i) → self::Bar { +static inline-class-member method Bar|_(self::Bar|_::T% i) → self::Bar { lowered final self::Bar #this = i; return #this; } -static method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar return self::Bar|_(i); static method main() → dynamic { self::expect(44, self::Foo|(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52119.dart.weak.expect b/pkg/front_end/testcases/inline_class/issue52119.dart.weak.expect index 1034bcfa48c..570ffe51564 100644 --- a/pkg/front_end/testcases/inline_class/issue52119.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/issue52119.dart.weak.expect @@ -37,61 +37,61 @@ inline class Bar /* declaredRepresentationTyp constructor _ = self::Bar|_; tearoff _ = self::Bar|_#_#tearOff; } -static method Foo|(core::int i) → self::Foo { +static inline-class-member method Foo|(core::int i) → self::Foo { lowered final self::Foo #this; #this = self::Foo|_(i.{core::num::+}(2){(core::num) → core::int}); return #this; } -static method Foo|_#new#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#new#tearOff(core::int i) → self::Foo return self::Foo|(i); -static method Foo|_(core::int i) → self::Foo { +static inline-class-member method Foo|_(core::int i) → self::Foo { lowered final self::Foo #this = i; return #this; } -static method Foo|_#_#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#_#tearOff(core::int i) → self::Foo return self::Foo|_(i); -static method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; #this = self::Foo|named(a, subtract: b); return #this; } -static method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed1(a, b); -static method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; final core::int #t1 = b; #this = self::Foo|named(a, subtract: #t1); return #this; } -static method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed2(a, b); -static method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { +static inline-class-member method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { lowered final self::Foo #this = value.{core::num::-}(subtract){(core::num) → core::int}; return #this; } -static method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo +static inline-class-member method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo return self::Foo|named(value, subtract: subtract); -static method Foo|erroneous() → self::Foo { +static inline-class-member method Foo|erroneous() → self::Foo { lowered final self::Foo #this; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/issue52119.dart:15:26: Error: Couldn't find constructor 'Foo.unresolved'. Foo.erroneous() : this.unresolved(); ^^^^^^^^^^"; return #this; } -static method Foo|_#erroneous#tearOff() → self::Foo +static inline-class-member method Foo|_#erroneous#tearOff() → self::Foo return self::Foo|erroneous(); -static method Bar|(self::Bar|::T% i) → self::Bar { +static inline-class-member method Bar|(self::Bar|::T% i) → self::Bar { lowered final self::Bar #this; #this = self::Bar|_(i); return #this; } -static method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar return self::Bar|(i); -static method Bar|_(self::Bar|_::T% i) → self::Bar { +static inline-class-member method Bar|_(self::Bar|_::T% i) → self::Bar { lowered final self::Bar #this = i; return #this; } -static method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar return self::Bar|_(i); static method main() → dynamic { self::expect(44, self::Foo|(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52119.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/issue52119.dart.weak.modular.expect index 1034bcfa48c..570ffe51564 100644 --- a/pkg/front_end/testcases/inline_class/issue52119.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/issue52119.dart.weak.modular.expect @@ -37,61 +37,61 @@ inline class Bar /* declaredRepresentationTyp constructor _ = self::Bar|_; tearoff _ = self::Bar|_#_#tearOff; } -static method Foo|(core::int i) → self::Foo { +static inline-class-member method Foo|(core::int i) → self::Foo { lowered final self::Foo #this; #this = self::Foo|_(i.{core::num::+}(2){(core::num) → core::int}); return #this; } -static method Foo|_#new#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#new#tearOff(core::int i) → self::Foo return self::Foo|(i); -static method Foo|_(core::int i) → self::Foo { +static inline-class-member method Foo|_(core::int i) → self::Foo { lowered final self::Foo #this = i; return #this; } -static method Foo|_#_#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#_#tearOff(core::int i) → self::Foo return self::Foo|_(i); -static method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; #this = self::Foo|named(a, subtract: b); return #this; } -static method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed1(a, b); -static method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; final core::int #t1 = b; #this = self::Foo|named(a, subtract: #t1); return #this; } -static method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed2(a, b); -static method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { +static inline-class-member method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { lowered final self::Foo #this = value.{core::num::-}(subtract){(core::num) → core::int}; return #this; } -static method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo +static inline-class-member method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo return self::Foo|named(value, subtract: subtract); -static method Foo|erroneous() → self::Foo { +static inline-class-member method Foo|erroneous() → self::Foo { lowered final self::Foo #this; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/issue52119.dart:15:26: Error: Couldn't find constructor 'Foo.unresolved'. Foo.erroneous() : this.unresolved(); ^^^^^^^^^^"; return #this; } -static method Foo|_#erroneous#tearOff() → self::Foo +static inline-class-member method Foo|_#erroneous#tearOff() → self::Foo return self::Foo|erroneous(); -static method Bar|(self::Bar|::T% i) → self::Bar { +static inline-class-member method Bar|(self::Bar|::T% i) → self::Bar { lowered final self::Bar #this; #this = self::Bar|_(i); return #this; } -static method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar return self::Bar|(i); -static method Bar|_(self::Bar|_::T% i) → self::Bar { +static inline-class-member method Bar|_(self::Bar|_::T% i) → self::Bar { lowered final self::Bar #this = i; return #this; } -static method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar return self::Bar|_(i); static method main() → dynamic { self::expect(44, self::Foo|(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52119.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/issue52119.dart.weak.outline.expect index b6436498201..f4961fcf465 100644 --- a/pkg/front_end/testcases/inline_class/issue52119.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/issue52119.dart.weak.outline.expect @@ -22,37 +22,37 @@ inline class Bar /* declaredRepresentationTyp constructor _ = self::Bar|_; tearoff _ = self::Bar|_#_#tearOff; } -static method Foo|(core::int i) → self::Foo +static inline-class-member method Foo|(core::int i) → self::Foo ; -static method Foo|_#new#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#new#tearOff(core::int i) → self::Foo return self::Foo|(i); -static method Foo|_(core::int i) → self::Foo +static inline-class-member method Foo|_(core::int i) → self::Foo ; -static method Foo|_#_#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#_#tearOff(core::int i) → self::Foo return self::Foo|_(i); -static method Foo|redirectNamed1(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|redirectNamed1(core::int a, core::int b) → self::Foo ; -static method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed1(a, b); -static method Foo|redirectNamed2(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|redirectNamed2(core::int a, core::int b) → self::Foo ; -static method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed2(a, b); -static method Foo|named(core::int value, {required core::int subtract = null}) → self::Foo +static inline-class-member method Foo|named(core::int value, {required core::int subtract = null}) → self::Foo ; -static method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo +static inline-class-member method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo return self::Foo|named(value, subtract: subtract); -static method Foo|erroneous() → self::Foo +static inline-class-member method Foo|erroneous() → self::Foo ; -static method Foo|_#erroneous#tearOff() → self::Foo +static inline-class-member method Foo|_#erroneous#tearOff() → self::Foo return self::Foo|erroneous(); -static method Bar|(self::Bar|::T% i) → self::Bar +static inline-class-member method Bar|(self::Bar|::T% i) → self::Bar ; -static method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar return self::Bar|(i); -static method Bar|_(self::Bar|_::T% i) → self::Bar +static inline-class-member method Bar|_(self::Bar|_::T% i) → self::Bar ; -static method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar return self::Bar|_(i); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/inline_class/issue52119.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/issue52119.dart.weak.transformed.expect index 1034bcfa48c..570ffe51564 100644 --- a/pkg/front_end/testcases/inline_class/issue52119.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue52119.dart.weak.transformed.expect @@ -37,61 +37,61 @@ inline class Bar /* declaredRepresentationTyp constructor _ = self::Bar|_; tearoff _ = self::Bar|_#_#tearOff; } -static method Foo|(core::int i) → self::Foo { +static inline-class-member method Foo|(core::int i) → self::Foo { lowered final self::Foo #this; #this = self::Foo|_(i.{core::num::+}(2){(core::num) → core::int}); return #this; } -static method Foo|_#new#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#new#tearOff(core::int i) → self::Foo return self::Foo|(i); -static method Foo|_(core::int i) → self::Foo { +static inline-class-member method Foo|_(core::int i) → self::Foo { lowered final self::Foo #this = i; return #this; } -static method Foo|_#_#tearOff(core::int i) → self::Foo +static inline-class-member method Foo|_#_#tearOff(core::int i) → self::Foo return self::Foo|_(i); -static method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed1(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; #this = self::Foo|named(a, subtract: b); return #this; } -static method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed1#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed1(a, b); -static method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { +static inline-class-member method Foo|redirectNamed2(core::int a, core::int b) → self::Foo { lowered final self::Foo #this; final core::int #t1 = b; #this = self::Foo|named(a, subtract: #t1); return #this; } -static method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo +static inline-class-member method Foo|_#redirectNamed2#tearOff(core::int a, core::int b) → self::Foo return self::Foo|redirectNamed2(a, b); -static method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { +static inline-class-member method Foo|named(core::int value, {required core::int subtract = #C1}) → self::Foo { lowered final self::Foo #this = value.{core::num::-}(subtract){(core::num) → core::int}; return #this; } -static method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo +static inline-class-member method Foo|_#named#tearOff(core::int value, {required core::int subtract}) → self::Foo return self::Foo|named(value, subtract: subtract); -static method Foo|erroneous() → self::Foo { +static inline-class-member method Foo|erroneous() → self::Foo { lowered final self::Foo #this; final dynamic #t2 = invalid-expression "pkg/front_end/testcases/inline_class/issue52119.dart:15:26: Error: Couldn't find constructor 'Foo.unresolved'. Foo.erroneous() : this.unresolved(); ^^^^^^^^^^"; return #this; } -static method Foo|_#erroneous#tearOff() → self::Foo +static inline-class-member method Foo|_#erroneous#tearOff() → self::Foo return self::Foo|erroneous(); -static method Bar|(self::Bar|::T% i) → self::Bar { +static inline-class-member method Bar|(self::Bar|::T% i) → self::Bar { lowered final self::Bar #this; #this = self::Bar|_(i); return #this; } -static method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#new#tearOff(self::Bar|_#new#tearOff::T% i) → self::Bar return self::Bar|(i); -static method Bar|_(self::Bar|_::T% i) → self::Bar { +static inline-class-member method Bar|_(self::Bar|_::T% i) → self::Bar { lowered final self::Bar #this = i; return #this; } -static method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar +static inline-class-member method Bar|_#_#tearOff(self::Bar|_#_#tearOff::T% i) → self::Bar return self::Bar|_(i); static method main() → dynamic { self::expect(44, self::Foo|(42) as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52240.dart.strong.expect b/pkg/front_end/testcases/inline_class/issue52240.dart.strong.expect index 0c348f3f626..7ca22252dca 100644 --- a/pkg/front_end/testcases/inline_class/issue52240.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/issue52240.dart.strong.expect @@ -8,17 +8,17 @@ inline class X /* declaredRepresentationType = core::int */ { constructor named = self::X|named; tearoff named = self::X|_#named#tearOff; } -static method X|() → self::X { +static inline-class-member method X|() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#new#tearOff() → self::X +static inline-class-member method X|_#new#tearOff() → self::X return self::X|(); -static method X|named() → self::X { +static inline-class-member method X|named() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#named#tearOff() → self::X +static inline-class-member method X|_#named#tearOff() → self::X return self::X|named(); static method main() → void { core::print(#C1(){() → self::X} as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52240.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/issue52240.dart.strong.transformed.expect index 0c348f3f626..7ca22252dca 100644 --- a/pkg/front_end/testcases/inline_class/issue52240.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue52240.dart.strong.transformed.expect @@ -8,17 +8,17 @@ inline class X /* declaredRepresentationType = core::int */ { constructor named = self::X|named; tearoff named = self::X|_#named#tearOff; } -static method X|() → self::X { +static inline-class-member method X|() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#new#tearOff() → self::X +static inline-class-member method X|_#new#tearOff() → self::X return self::X|(); -static method X|named() → self::X { +static inline-class-member method X|named() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#named#tearOff() → self::X +static inline-class-member method X|_#named#tearOff() → self::X return self::X|named(); static method main() → void { core::print(#C1(){() → self::X} as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52240.dart.weak.expect b/pkg/front_end/testcases/inline_class/issue52240.dart.weak.expect index 0c348f3f626..7ca22252dca 100644 --- a/pkg/front_end/testcases/inline_class/issue52240.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/issue52240.dart.weak.expect @@ -8,17 +8,17 @@ inline class X /* declaredRepresentationType = core::int */ { constructor named = self::X|named; tearoff named = self::X|_#named#tearOff; } -static method X|() → self::X { +static inline-class-member method X|() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#new#tearOff() → self::X +static inline-class-member method X|_#new#tearOff() → self::X return self::X|(); -static method X|named() → self::X { +static inline-class-member method X|named() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#named#tearOff() → self::X +static inline-class-member method X|_#named#tearOff() → self::X return self::X|named(); static method main() → void { core::print(#C1(){() → self::X} as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52240.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/issue52240.dart.weak.modular.expect index 0c348f3f626..7ca22252dca 100644 --- a/pkg/front_end/testcases/inline_class/issue52240.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/issue52240.dart.weak.modular.expect @@ -8,17 +8,17 @@ inline class X /* declaredRepresentationType = core::int */ { constructor named = self::X|named; tearoff named = self::X|_#named#tearOff; } -static method X|() → self::X { +static inline-class-member method X|() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#new#tearOff() → self::X +static inline-class-member method X|_#new#tearOff() → self::X return self::X|(); -static method X|named() → self::X { +static inline-class-member method X|named() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#named#tearOff() → self::X +static inline-class-member method X|_#named#tearOff() → self::X return self::X|named(); static method main() → void { core::print(#C1(){() → self::X} as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52240.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/issue52240.dart.weak.outline.expect index 79778c12fee..cac9085552d 100644 --- a/pkg/front_end/testcases/inline_class/issue52240.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/issue52240.dart.weak.outline.expect @@ -8,13 +8,13 @@ inline class X /* declaredRepresentationType = core::int */ { constructor named = self::X|named; tearoff named = self::X|_#named#tearOff; } -static method X|() → self::X +static inline-class-member method X|() → self::X ; -static method X|_#new#tearOff() → self::X +static inline-class-member method X|_#new#tearOff() → self::X return self::X|(); -static method X|named() → self::X +static inline-class-member method X|named() → self::X ; -static method X|_#named#tearOff() → self::X +static inline-class-member method X|_#named#tearOff() → self::X return self::X|named(); static method main() → void ; diff --git a/pkg/front_end/testcases/inline_class/issue52240.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/issue52240.dart.weak.transformed.expect index 0c348f3f626..7ca22252dca 100644 --- a/pkg/front_end/testcases/inline_class/issue52240.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue52240.dart.weak.transformed.expect @@ -8,17 +8,17 @@ inline class X /* declaredRepresentationType = core::int */ { constructor named = self::X|named; tearoff named = self::X|_#named#tearOff; } -static method X|() → self::X { +static inline-class-member method X|() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#new#tearOff() → self::X +static inline-class-member method X|_#new#tearOff() → self::X return self::X|(); -static method X|named() → self::X { +static inline-class-member method X|named() → self::X { lowered final self::X #this = 0; return #this; } -static method X|_#named#tearOff() → self::X +static inline-class-member method X|_#named#tearOff() → self::X return self::X|named(); static method main() → void { core::print(#C1(){() → self::X} as{Unchecked} core::int); diff --git a/pkg/front_end/testcases/inline_class/issue52284.dart.strong.expect b/pkg/front_end/testcases/inline_class/issue52284.dart.strong.expect index 34eba3157e3..71d9de55bec 100644 --- a/pkg/front_end/testcases/inline_class/issue52284.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/issue52284.dart.strong.expect @@ -14,11 +14,11 @@ inline class Id /* declaredRepresentationType = core::int */ { constructor • = self::Id|; tearoff • = self::Id|_#new#tearOff; } -static method Id|(core::int id) → self::Id { +static inline-class-member method Id|(core::int id) → self::Id { lowered final self::Id #this = id; return #this; } -static method Id|_#new#tearOff(core::int id) → self::Id +static inline-class-member method Id|_#new#tearOff(core::int id) → self::Id return self::Id|(id); static method test() → dynamic { self::Id c = self::Id|(2); diff --git a/pkg/front_end/testcases/inline_class/issue52284.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/issue52284.dart.strong.transformed.expect index 34eba3157e3..71d9de55bec 100644 --- a/pkg/front_end/testcases/inline_class/issue52284.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue52284.dart.strong.transformed.expect @@ -14,11 +14,11 @@ inline class Id /* declaredRepresentationType = core::int */ { constructor • = self::Id|; tearoff • = self::Id|_#new#tearOff; } -static method Id|(core::int id) → self::Id { +static inline-class-member method Id|(core::int id) → self::Id { lowered final self::Id #this = id; return #this; } -static method Id|_#new#tearOff(core::int id) → self::Id +static inline-class-member method Id|_#new#tearOff(core::int id) → self::Id return self::Id|(id); static method test() → dynamic { self::Id c = self::Id|(2); diff --git a/pkg/front_end/testcases/inline_class/issue52284.dart.weak.expect b/pkg/front_end/testcases/inline_class/issue52284.dart.weak.expect index 1e9691ddb61..15823d53fa1 100644 --- a/pkg/front_end/testcases/inline_class/issue52284.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/issue52284.dart.weak.expect @@ -14,11 +14,11 @@ inline class Id /* declaredRepresentationType = core::int */ { constructor • = self::Id|; tearoff • = self::Id|_#new#tearOff; } -static method Id|(core::int id) → self::Id { +static inline-class-member method Id|(core::int id) → self::Id { lowered final self::Id #this = id; return #this; } -static method Id|_#new#tearOff(core::int id) → self::Id +static inline-class-member method Id|_#new#tearOff(core::int id) → self::Id return self::Id|(id); static method test() → dynamic { self::Id c = self::Id|(2); diff --git a/pkg/front_end/testcases/inline_class/issue52284.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/issue52284.dart.weak.modular.expect index 1e9691ddb61..15823d53fa1 100644 --- a/pkg/front_end/testcases/inline_class/issue52284.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/issue52284.dart.weak.modular.expect @@ -14,11 +14,11 @@ inline class Id /* declaredRepresentationType = core::int */ { constructor • = self::Id|; tearoff • = self::Id|_#new#tearOff; } -static method Id|(core::int id) → self::Id { +static inline-class-member method Id|(core::int id) → self::Id { lowered final self::Id #this = id; return #this; } -static method Id|_#new#tearOff(core::int id) → self::Id +static inline-class-member method Id|_#new#tearOff(core::int id) → self::Id return self::Id|(id); static method test() → dynamic { self::Id c = self::Id|(2); diff --git a/pkg/front_end/testcases/inline_class/issue52284.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/issue52284.dart.weak.outline.expect index 3a515bfd0ae..0da6245ec2e 100644 --- a/pkg/front_end/testcases/inline_class/issue52284.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/issue52284.dart.weak.outline.expect @@ -6,9 +6,9 @@ inline class Id /* declaredRepresentationType = core::int */ { constructor • = self::Id|; tearoff • = self::Id|_#new#tearOff; } -static method Id|(core::int id) → self::Id +static inline-class-member method Id|(core::int id) → self::Id ; -static method Id|_#new#tearOff(core::int id) → self::Id +static inline-class-member method Id|_#new#tearOff(core::int id) → self::Id return self::Id|(id); static method test() → dynamic ; diff --git a/pkg/front_end/testcases/inline_class/issue52284.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/issue52284.dart.weak.transformed.expect index 1e9691ddb61..15823d53fa1 100644 --- a/pkg/front_end/testcases/inline_class/issue52284.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/issue52284.dart.weak.transformed.expect @@ -14,11 +14,11 @@ inline class Id /* declaredRepresentationType = core::int */ { constructor • = self::Id|; tearoff • = self::Id|_#new#tearOff; } -static method Id|(core::int id) → self::Id { +static inline-class-member method Id|(core::int id) → self::Id { lowered final self::Id #this = id; return #this; } -static method Id|_#new#tearOff(core::int id) → self::Id +static inline-class-member method Id|_#new#tearOff(core::int id) → self::Id return self::Id|(id); static method test() → dynamic { self::Id c = self::Id|(2); diff --git a/pkg/front_end/testcases/inline_class/member_not_found.dart.strong.expect b/pkg/front_end/testcases/inline_class/member_not_found.dart.strong.expect index 86150225d15..6b2ac0c2478 100644 --- a/pkg/front_end/testcases/inline_class/member_not_found.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/member_not_found.dart.strong.expect @@ -13,11 +13,11 @@ inline class A /* declaredRepresentationType = core::int */ { constructor name1 = self::A|name1; tearoff name1 = self::A|_#name1#tearOff; } -static method A|name1(core::int value) → self::A { +static inline-class-member method A|name1(core::int value) → self::A { lowered final self::A #this = value; return #this; } -static method A|_#name1#tearOff(core::int value) → self::A +static inline-class-member method A|_#name1#tearOff(core::int value) → self::A return self::A|name1(value); static method method() → void return invalid-expression "pkg/front_end/testcases/inline_class/member_not_found.dart:11:20: Error: Member not found: 'A.name2'. diff --git a/pkg/front_end/testcases/inline_class/member_not_found.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/member_not_found.dart.strong.transformed.expect index 86150225d15..6b2ac0c2478 100644 --- a/pkg/front_end/testcases/inline_class/member_not_found.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/member_not_found.dart.strong.transformed.expect @@ -13,11 +13,11 @@ inline class A /* declaredRepresentationType = core::int */ { constructor name1 = self::A|name1; tearoff name1 = self::A|_#name1#tearOff; } -static method A|name1(core::int value) → self::A { +static inline-class-member method A|name1(core::int value) → self::A { lowered final self::A #this = value; return #this; } -static method A|_#name1#tearOff(core::int value) → self::A +static inline-class-member method A|_#name1#tearOff(core::int value) → self::A return self::A|name1(value); static method method() → void return invalid-expression "pkg/front_end/testcases/inline_class/member_not_found.dart:11:20: Error: Member not found: 'A.name2'. diff --git a/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.expect b/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.expect index 86150225d15..6b2ac0c2478 100644 --- a/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.expect @@ -13,11 +13,11 @@ inline class A /* declaredRepresentationType = core::int */ { constructor name1 = self::A|name1; tearoff name1 = self::A|_#name1#tearOff; } -static method A|name1(core::int value) → self::A { +static inline-class-member method A|name1(core::int value) → self::A { lowered final self::A #this = value; return #this; } -static method A|_#name1#tearOff(core::int value) → self::A +static inline-class-member method A|_#name1#tearOff(core::int value) → self::A return self::A|name1(value); static method method() → void return invalid-expression "pkg/front_end/testcases/inline_class/member_not_found.dart:11:20: Error: Member not found: 'A.name2'. diff --git a/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.modular.expect index 86150225d15..6b2ac0c2478 100644 --- a/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.modular.expect @@ -13,11 +13,11 @@ inline class A /* declaredRepresentationType = core::int */ { constructor name1 = self::A|name1; tearoff name1 = self::A|_#name1#tearOff; } -static method A|name1(core::int value) → self::A { +static inline-class-member method A|name1(core::int value) → self::A { lowered final self::A #this = value; return #this; } -static method A|_#name1#tearOff(core::int value) → self::A +static inline-class-member method A|_#name1#tearOff(core::int value) → self::A return self::A|name1(value); static method method() → void return invalid-expression "pkg/front_end/testcases/inline_class/member_not_found.dart:11:20: Error: Member not found: 'A.name2'. diff --git a/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.outline.expect index 89e57c3d104..32c6c1c62f9 100644 --- a/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.outline.expect @@ -6,9 +6,9 @@ inline class A /* declaredRepresentationType = core::int */ { constructor name1 = self::A|name1; tearoff name1 = self::A|_#name1#tearOff; } -static method A|name1(core::int value) → self::A +static inline-class-member method A|name1(core::int value) → self::A ; -static method A|_#name1#tearOff(core::int value) → self::A +static inline-class-member method A|_#name1#tearOff(core::int value) → self::A return self::A|name1(value); static method method() → void ; diff --git a/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.transformed.expect index 86150225d15..6b2ac0c2478 100644 --- a/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/member_not_found.dart.weak.transformed.expect @@ -13,11 +13,11 @@ inline class A /* declaredRepresentationType = core::int */ { constructor name1 = self::A|name1; tearoff name1 = self::A|_#name1#tearOff; } -static method A|name1(core::int value) → self::A { +static inline-class-member method A|name1(core::int value) → self::A { lowered final self::A #this = value; return #this; } -static method A|_#name1#tearOff(core::int value) → self::A +static inline-class-member method A|_#name1#tearOff(core::int value) → self::A return self::A|name1(value); static method method() → void return invalid-expression "pkg/front_end/testcases/inline_class/member_not_found.dart:11:20: Error: Member not found: 'A.name2'. diff --git a/pkg/front_end/testcases/inline_class/method_access.dart.strong.expect b/pkg/front_end/testcases/inline_class/method_access.dart.strong.expect index 893740e2e3e..0902ae563a3 100644 --- a/pkg/front_end/testcases/inline_class/method_access.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/method_access.dart.strong.expect @@ -57,16 +57,16 @@ inline class InlineClass /* declaredRepresentationType = core::int */ { constructor • = self::InlineClass|; tearoff • = self::InlineClass|_#new#tearOff; } -static method _extension#0|get#setter(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#setter(lowered final core::Object #this) → core::int return 42; -static method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → dynamic { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → dynamic { core::int a = self::InlineClass|+(#this, 2); core::int b = self::InlineClass|unary-(#this); core::int c = self::InlineClass|[](#this, 2); @@ -109,29 +109,29 @@ Try correcting the name to the name of an existing setter, or defining a setter core::int n1 = self::InlineClass|call(#this); core::int n2 = self::InlineClass|call(#this); } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic return () → dynamic => self::InlineClass|test(#this); -static method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int +static inline-class-member method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int return 42; -static method InlineClass|unary-(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|unary-(lowered final self::InlineClass #this) → core::int return 87; -static method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int +static inline-class-member method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int return 123; -static method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} -static method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} +static inline-class-member method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|method(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|method(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|method(#this); -static method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} -static method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% +static inline-class-member method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} +static inline-class-member method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% return t; -static method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% +static inline-class-member method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% return (T% t) → T% => self::InlineClass|genericMethod(#this, t); -static method InlineClass|call(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|call(lowered final self::InlineClass #this) → core::int return 321; -static method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|call(#this); static method test(self::InlineClass ic) → dynamic { core::int a = self::InlineClass|+(ic, 2); diff --git a/pkg/front_end/testcases/inline_class/method_access.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/method_access.dart.strong.transformed.expect index ae9b6f1d2b8..df01bef39f1 100644 --- a/pkg/front_end/testcases/inline_class/method_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/method_access.dart.strong.transformed.expect @@ -57,16 +57,16 @@ inline class InlineClass /* declaredRepresentationType = core::int */ { constructor • = self::InlineClass|; tearoff • = self::InlineClass|_#new#tearOff; } -static method _extension#0|get#setter(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#setter(lowered final core::Object #this) → core::int return 42; -static method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → dynamic { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → dynamic { core::int a = self::InlineClass|+(#this, 2); core::int b = self::InlineClass|unary-(#this); core::int c = self::InlineClass|[](#this, 2); @@ -109,29 +109,29 @@ Try correcting the name to the name of an existing setter, or defining a setter core::int n1 = self::InlineClass|call(#this); core::int n2 = self::InlineClass|call(#this); } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic return () → dynamic => self::InlineClass|test(#this); -static method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int +static inline-class-member method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int return 42; -static method InlineClass|unary-(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|unary-(lowered final self::InlineClass #this) → core::int return 87; -static method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int +static inline-class-member method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int return 123; -static method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} -static method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} +static inline-class-member method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|method(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|method(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|method(#this); -static method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} -static method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% +static inline-class-member method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} +static inline-class-member method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% return t; -static method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% +static inline-class-member method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% return (T% t) → T% => self::InlineClass|genericMethod(#this, t); -static method InlineClass|call(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|call(lowered final self::InlineClass #this) → core::int return 321; -static method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|call(#this); static method test(self::InlineClass ic) → dynamic { core::int a = self::InlineClass|+(ic, 2); diff --git a/pkg/front_end/testcases/inline_class/method_access.dart.weak.expect b/pkg/front_end/testcases/inline_class/method_access.dart.weak.expect index 893740e2e3e..0902ae563a3 100644 --- a/pkg/front_end/testcases/inline_class/method_access.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/method_access.dart.weak.expect @@ -57,16 +57,16 @@ inline class InlineClass /* declaredRepresentationType = core::int */ { constructor • = self::InlineClass|; tearoff • = self::InlineClass|_#new#tearOff; } -static method _extension#0|get#setter(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#setter(lowered final core::Object #this) → core::int return 42; -static method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → dynamic { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → dynamic { core::int a = self::InlineClass|+(#this, 2); core::int b = self::InlineClass|unary-(#this); core::int c = self::InlineClass|[](#this, 2); @@ -109,29 +109,29 @@ Try correcting the name to the name of an existing setter, or defining a setter core::int n1 = self::InlineClass|call(#this); core::int n2 = self::InlineClass|call(#this); } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic return () → dynamic => self::InlineClass|test(#this); -static method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int +static inline-class-member method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int return 42; -static method InlineClass|unary-(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|unary-(lowered final self::InlineClass #this) → core::int return 87; -static method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int +static inline-class-member method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int return 123; -static method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} -static method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} +static inline-class-member method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|method(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|method(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|method(#this); -static method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} -static method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% +static inline-class-member method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} +static inline-class-member method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% return t; -static method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% +static inline-class-member method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% return (T% t) → T% => self::InlineClass|genericMethod(#this, t); -static method InlineClass|call(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|call(lowered final self::InlineClass #this) → core::int return 321; -static method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|call(#this); static method test(self::InlineClass ic) → dynamic { core::int a = self::InlineClass|+(ic, 2); diff --git a/pkg/front_end/testcases/inline_class/method_access.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/method_access.dart.weak.modular.expect index 893740e2e3e..0902ae563a3 100644 --- a/pkg/front_end/testcases/inline_class/method_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/method_access.dart.weak.modular.expect @@ -57,16 +57,16 @@ inline class InlineClass /* declaredRepresentationType = core::int */ { constructor • = self::InlineClass|; tearoff • = self::InlineClass|_#new#tearOff; } -static method _extension#0|get#setter(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#setter(lowered final core::Object #this) → core::int return 42; -static method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → dynamic { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → dynamic { core::int a = self::InlineClass|+(#this, 2); core::int b = self::InlineClass|unary-(#this); core::int c = self::InlineClass|[](#this, 2); @@ -109,29 +109,29 @@ Try correcting the name to the name of an existing setter, or defining a setter core::int n1 = self::InlineClass|call(#this); core::int n2 = self::InlineClass|call(#this); } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic return () → dynamic => self::InlineClass|test(#this); -static method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int +static inline-class-member method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int return 42; -static method InlineClass|unary-(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|unary-(lowered final self::InlineClass #this) → core::int return 87; -static method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int +static inline-class-member method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int return 123; -static method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} -static method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} +static inline-class-member method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|method(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|method(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|method(#this); -static method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} -static method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% +static inline-class-member method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} +static inline-class-member method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% return t; -static method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% +static inline-class-member method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% return (T% t) → T% => self::InlineClass|genericMethod(#this, t); -static method InlineClass|call(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|call(lowered final self::InlineClass #this) → core::int return 321; -static method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|call(#this); static method test(self::InlineClass ic) → dynamic { core::int a = self::InlineClass|+(ic, 2); diff --git a/pkg/front_end/testcases/inline_class/method_access.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/method_access.dart.weak.outline.expect index 0befa5861dd..76da6b276de 100644 --- a/pkg/front_end/testcases/inline_class/method_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/method_access.dart.weak.outline.expect @@ -24,41 +24,41 @@ inline class InlineClass /* declaredRepresentationType = core::int */ { constructor • = self::InlineClass|; tearoff • = self::InlineClass|_#new#tearOff; } -static method _extension#0|get#setter(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#setter(lowered final core::Object #this) → core::int ; -static method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void +static extension-member method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void ; -static method InlineClass|(core::int it) → self::InlineClass +static inline-class-member method InlineClass|(core::int it) → self::InlineClass ; -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → dynamic +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → dynamic ; -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic return () → dynamic => self::InlineClass|test(#this); -static method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int +static inline-class-member method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int ; -static method InlineClass|unary-(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|unary-(lowered final self::InlineClass #this) → core::int ; -static method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int +static inline-class-member method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int ; -static method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void +static inline-class-member method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void ; -static method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int ; -static method InlineClass|method(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|method(lowered final self::InlineClass #this) → core::int ; -static method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|method(#this); -static method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void +static inline-class-member method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void ; -static method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% +static inline-class-member method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% ; -static method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% +static inline-class-member method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% return (T% t) → T% => self::InlineClass|genericMethod(#this, t); -static method InlineClass|call(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|call(lowered final self::InlineClass #this) → core::int ; -static method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|call(#this); static method test(self::InlineClass ic) → dynamic ; diff --git a/pkg/front_end/testcases/inline_class/method_access.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/method_access.dart.weak.transformed.expect index ae9b6f1d2b8..df01bef39f1 100644 --- a/pkg/front_end/testcases/inline_class/method_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/method_access.dart.weak.transformed.expect @@ -57,16 +57,16 @@ inline class InlineClass /* declaredRepresentationType = core::int */ { constructor • = self::InlineClass|; tearoff • = self::InlineClass|_#new#tearOff; } -static method _extension#0|get#setter(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#setter(lowered final core::Object #this) → core::int return 42; -static method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} -static method InlineClass|(core::int it) → self::InlineClass { +static extension-member method _extension#0|set#getter(lowered final core::Object #this, core::int value) → void {} +static inline-class-member method InlineClass|(core::int it) → self::InlineClass { lowered final self::InlineClass #this = it; return #this; } -static method InlineClass|_#new#tearOff(core::int it) → self::InlineClass +static inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass return self::InlineClass|(it); -static method InlineClass|test(lowered final self::InlineClass #this) → dynamic { +static inline-class-member method InlineClass|test(lowered final self::InlineClass #this) → dynamic { core::int a = self::InlineClass|+(#this, 2); core::int b = self::InlineClass|unary-(#this); core::int c = self::InlineClass|[](#this, 2); @@ -109,29 +109,29 @@ Try correcting the name to the name of an existing setter, or defining a setter core::int n1 = self::InlineClass|call(#this); core::int n2 = self::InlineClass|call(#this); } -static method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic +static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → dynamic return () → dynamic => self::InlineClass|test(#this); -static method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int +static inline-class-member method InlineClass|+(lowered final self::InlineClass #this, core::int other) → core::int return 42; -static method InlineClass|unary-(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|unary-(lowered final self::InlineClass #this) → core::int return 87; -static method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int +static inline-class-member method InlineClass|[](lowered final self::InlineClass #this, core::int index) → core::int return 123; -static method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} -static method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|[]=(lowered final self::InlineClass #this, core::int index, core::int value) → void {} +static inline-class-member method InlineClass|get#getter(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|method(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|method(lowered final self::InlineClass #this) → core::int return 42; -static method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#method(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|method(#this); -static method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} -static method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% +static inline-class-member method InlineClass|set#setter(lowered final self::InlineClass #this, core::int value) → void {} +static inline-class-member method InlineClass|genericMethod(lowered final self::InlineClass #this, self::InlineClass|genericMethod::T% t) → self::InlineClass|genericMethod::T% return t; -static method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% +static inline-class-member method InlineClass|get#genericMethod(lowered final self::InlineClass #this) → (T%) → T% return (T% t) → T% => self::InlineClass|genericMethod(#this, t); -static method InlineClass|call(lowered final self::InlineClass #this) → core::int +static inline-class-member method InlineClass|call(lowered final self::InlineClass #this) → core::int return 321; -static method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int +static inline-class-member method InlineClass|get#call(lowered final self::InlineClass #this) → () → core::int return () → core::int => self::InlineClass|call(#this); static method test(self::InlineClass ic) → dynamic { core::int a = self::InlineClass|+(ic, 2); diff --git a/pkg/front_end/testcases/inline_class/procedures.dart.strong.expect b/pkg/front_end/testcases/inline_class/procedures.dart.strong.expect index 87ae4ac2fe4..b95a1072d15 100644 --- a/pkg/front_end/testcases/inline_class/procedures.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/procedures.dart.strong.expect @@ -37,17 +37,17 @@ inline class GenericClass /* declaredRepresen static method staticMethod = self::GenericClass|staticMethod; static method genericStaticMethod = self::GenericClass|genericStaticMethod; } -static method Class|instanceMethod(lowered final self::Class #this) → void { +static inline-class-member method Class|instanceMethod(lowered final self::Class #this) → void { self::Class local = #this; void localM = self::Class|instanceMethod(#this); () → void localT = self::Class|get#instanceMethod(#this); core::int localG = self::Class|get#instanceGetter(#this); } -static method Class|get#instanceMethod(lowered final self::Class #this) → () → void +static inline-class-member method Class|get#instanceMethod(lowered final self::Class #this) → () → void return () → void => self::Class|instanceMethod(#this); -static method Class|get#instanceGetter(lowered final self::Class #this) → core::int +static inline-class-member method Class|get#instanceGetter(lowered final self::Class #this) → core::int return 42; -static method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { +static inline-class-member method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { self::Class local = #this; core::String localS = s; core::int localI = i; @@ -55,31 +55,31 @@ static method Class|instanceMethod2(lowered final self::Class #this, core::Strin core::int localG2 = self::Class|genericInstanceMethod(#this, i); core::num localG3 = self::Class|genericInstanceMethod(#this, i); } -static method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void +static inline-class-member method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C1]) → void => self::Class|instanceMethod2(#this, s, i); -static method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% +static inline-class-member method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% return s; -static method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% +static inline-class-member method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% return (S% s) → S% => self::Class|genericInstanceMethod(#this, s); -static method Class|staticMethod() → void { +static inline-class-member method Class|staticMethod() → void { self::Class|staticMethod(); core::int localG1 = self::Class|genericStaticMethod(0); core::String localG2 = self::Class|genericStaticMethod(""); core::num localG3 = self::Class|genericStaticMethod(0); } -static method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% +static inline-class-member method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% return s; -static method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { +static inline-class-member method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { self::GenericClass local = #this; void localM = self::GenericClass|instanceMethod(#this); () → void localT = self::GenericClass|get#instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void +static inline-class-member method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); -static method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% +static inline-class-member method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% return throw ""; -static method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { +static inline-class-member method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { self::GenericClass local = #this; core::String localS = s; core::int localI = i; @@ -87,19 +87,19 @@ static method GenericClass|instanceMethod2(lo core::int localG2 = self::GenericClass|genericInstanceMethod(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void +static inline-class-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); -static method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% +static inline-class-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% +static inline-class-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); -static method GenericClass|staticMethod() → void { +static inline-class-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); core::int localG1 = self::GenericClass|genericStaticMethod(0); core::String localG2 = self::GenericClass|genericStaticMethod(""); core::num localG3 = self::GenericClass|genericStaticMethod(0); } -static method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% +static inline-class-member method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% return s; constants { diff --git a/pkg/front_end/testcases/inline_class/procedures.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/procedures.dart.strong.transformed.expect index 87ae4ac2fe4..b95a1072d15 100644 --- a/pkg/front_end/testcases/inline_class/procedures.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/procedures.dart.strong.transformed.expect @@ -37,17 +37,17 @@ inline class GenericClass /* declaredRepresen static method staticMethod = self::GenericClass|staticMethod; static method genericStaticMethod = self::GenericClass|genericStaticMethod; } -static method Class|instanceMethod(lowered final self::Class #this) → void { +static inline-class-member method Class|instanceMethod(lowered final self::Class #this) → void { self::Class local = #this; void localM = self::Class|instanceMethod(#this); () → void localT = self::Class|get#instanceMethod(#this); core::int localG = self::Class|get#instanceGetter(#this); } -static method Class|get#instanceMethod(lowered final self::Class #this) → () → void +static inline-class-member method Class|get#instanceMethod(lowered final self::Class #this) → () → void return () → void => self::Class|instanceMethod(#this); -static method Class|get#instanceGetter(lowered final self::Class #this) → core::int +static inline-class-member method Class|get#instanceGetter(lowered final self::Class #this) → core::int return 42; -static method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { +static inline-class-member method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { self::Class local = #this; core::String localS = s; core::int localI = i; @@ -55,31 +55,31 @@ static method Class|instanceMethod2(lowered final self::Class #this, core::Strin core::int localG2 = self::Class|genericInstanceMethod(#this, i); core::num localG3 = self::Class|genericInstanceMethod(#this, i); } -static method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void +static inline-class-member method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C1]) → void => self::Class|instanceMethod2(#this, s, i); -static method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% +static inline-class-member method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% return s; -static method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% +static inline-class-member method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% return (S% s) → S% => self::Class|genericInstanceMethod(#this, s); -static method Class|staticMethod() → void { +static inline-class-member method Class|staticMethod() → void { self::Class|staticMethod(); core::int localG1 = self::Class|genericStaticMethod(0); core::String localG2 = self::Class|genericStaticMethod(""); core::num localG3 = self::Class|genericStaticMethod(0); } -static method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% +static inline-class-member method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% return s; -static method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { +static inline-class-member method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { self::GenericClass local = #this; void localM = self::GenericClass|instanceMethod(#this); () → void localT = self::GenericClass|get#instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void +static inline-class-member method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); -static method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% +static inline-class-member method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% return throw ""; -static method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { +static inline-class-member method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { self::GenericClass local = #this; core::String localS = s; core::int localI = i; @@ -87,19 +87,19 @@ static method GenericClass|instanceMethod2(lo core::int localG2 = self::GenericClass|genericInstanceMethod(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void +static inline-class-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); -static method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% +static inline-class-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% +static inline-class-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); -static method GenericClass|staticMethod() → void { +static inline-class-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); core::int localG1 = self::GenericClass|genericStaticMethod(0); core::String localG2 = self::GenericClass|genericStaticMethod(""); core::num localG3 = self::GenericClass|genericStaticMethod(0); } -static method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% +static inline-class-member method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% return s; constants { diff --git a/pkg/front_end/testcases/inline_class/procedures.dart.weak.expect b/pkg/front_end/testcases/inline_class/procedures.dart.weak.expect index 87ae4ac2fe4..b95a1072d15 100644 --- a/pkg/front_end/testcases/inline_class/procedures.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/procedures.dart.weak.expect @@ -37,17 +37,17 @@ inline class GenericClass /* declaredRepresen static method staticMethod = self::GenericClass|staticMethod; static method genericStaticMethod = self::GenericClass|genericStaticMethod; } -static method Class|instanceMethod(lowered final self::Class #this) → void { +static inline-class-member method Class|instanceMethod(lowered final self::Class #this) → void { self::Class local = #this; void localM = self::Class|instanceMethod(#this); () → void localT = self::Class|get#instanceMethod(#this); core::int localG = self::Class|get#instanceGetter(#this); } -static method Class|get#instanceMethod(lowered final self::Class #this) → () → void +static inline-class-member method Class|get#instanceMethod(lowered final self::Class #this) → () → void return () → void => self::Class|instanceMethod(#this); -static method Class|get#instanceGetter(lowered final self::Class #this) → core::int +static inline-class-member method Class|get#instanceGetter(lowered final self::Class #this) → core::int return 42; -static method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { +static inline-class-member method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { self::Class local = #this; core::String localS = s; core::int localI = i; @@ -55,31 +55,31 @@ static method Class|instanceMethod2(lowered final self::Class #this, core::Strin core::int localG2 = self::Class|genericInstanceMethod(#this, i); core::num localG3 = self::Class|genericInstanceMethod(#this, i); } -static method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void +static inline-class-member method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C1]) → void => self::Class|instanceMethod2(#this, s, i); -static method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% +static inline-class-member method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% return s; -static method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% +static inline-class-member method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% return (S% s) → S% => self::Class|genericInstanceMethod(#this, s); -static method Class|staticMethod() → void { +static inline-class-member method Class|staticMethod() → void { self::Class|staticMethod(); core::int localG1 = self::Class|genericStaticMethod(0); core::String localG2 = self::Class|genericStaticMethod(""); core::num localG3 = self::Class|genericStaticMethod(0); } -static method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% +static inline-class-member method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% return s; -static method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { +static inline-class-member method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { self::GenericClass local = #this; void localM = self::GenericClass|instanceMethod(#this); () → void localT = self::GenericClass|get#instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void +static inline-class-member method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); -static method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% +static inline-class-member method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% return throw ""; -static method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { +static inline-class-member method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { self::GenericClass local = #this; core::String localS = s; core::int localI = i; @@ -87,19 +87,19 @@ static method GenericClass|instanceMethod2(lo core::int localG2 = self::GenericClass|genericInstanceMethod(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void +static inline-class-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); -static method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% +static inline-class-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% +static inline-class-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); -static method GenericClass|staticMethod() → void { +static inline-class-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); core::int localG1 = self::GenericClass|genericStaticMethod(0); core::String localG2 = self::GenericClass|genericStaticMethod(""); core::num localG3 = self::GenericClass|genericStaticMethod(0); } -static method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% +static inline-class-member method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% return s; constants { diff --git a/pkg/front_end/testcases/inline_class/procedures.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/procedures.dart.weak.modular.expect index 87ae4ac2fe4..b95a1072d15 100644 --- a/pkg/front_end/testcases/inline_class/procedures.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/procedures.dart.weak.modular.expect @@ -37,17 +37,17 @@ inline class GenericClass /* declaredRepresen static method staticMethod = self::GenericClass|staticMethod; static method genericStaticMethod = self::GenericClass|genericStaticMethod; } -static method Class|instanceMethod(lowered final self::Class #this) → void { +static inline-class-member method Class|instanceMethod(lowered final self::Class #this) → void { self::Class local = #this; void localM = self::Class|instanceMethod(#this); () → void localT = self::Class|get#instanceMethod(#this); core::int localG = self::Class|get#instanceGetter(#this); } -static method Class|get#instanceMethod(lowered final self::Class #this) → () → void +static inline-class-member method Class|get#instanceMethod(lowered final self::Class #this) → () → void return () → void => self::Class|instanceMethod(#this); -static method Class|get#instanceGetter(lowered final self::Class #this) → core::int +static inline-class-member method Class|get#instanceGetter(lowered final self::Class #this) → core::int return 42; -static method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { +static inline-class-member method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { self::Class local = #this; core::String localS = s; core::int localI = i; @@ -55,31 +55,31 @@ static method Class|instanceMethod2(lowered final self::Class #this, core::Strin core::int localG2 = self::Class|genericInstanceMethod(#this, i); core::num localG3 = self::Class|genericInstanceMethod(#this, i); } -static method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void +static inline-class-member method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C1]) → void => self::Class|instanceMethod2(#this, s, i); -static method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% +static inline-class-member method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% return s; -static method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% +static inline-class-member method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% return (S% s) → S% => self::Class|genericInstanceMethod(#this, s); -static method Class|staticMethod() → void { +static inline-class-member method Class|staticMethod() → void { self::Class|staticMethod(); core::int localG1 = self::Class|genericStaticMethod(0); core::String localG2 = self::Class|genericStaticMethod(""); core::num localG3 = self::Class|genericStaticMethod(0); } -static method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% +static inline-class-member method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% return s; -static method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { +static inline-class-member method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { self::GenericClass local = #this; void localM = self::GenericClass|instanceMethod(#this); () → void localT = self::GenericClass|get#instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void +static inline-class-member method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); -static method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% +static inline-class-member method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% return throw ""; -static method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { +static inline-class-member method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { self::GenericClass local = #this; core::String localS = s; core::int localI = i; @@ -87,19 +87,19 @@ static method GenericClass|instanceMethod2(lo core::int localG2 = self::GenericClass|genericInstanceMethod(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void +static inline-class-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); -static method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% +static inline-class-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% +static inline-class-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); -static method GenericClass|staticMethod() → void { +static inline-class-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); core::int localG1 = self::GenericClass|genericStaticMethod(0); core::String localG2 = self::GenericClass|genericStaticMethod(""); core::num localG3 = self::GenericClass|genericStaticMethod(0); } -static method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% +static inline-class-member method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% return s; constants { diff --git a/pkg/front_end/testcases/inline_class/procedures.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/procedures.dart.weak.outline.expect index 42ad4a5509c..8b51f6abe02 100644 --- a/pkg/front_end/testcases/inline_class/procedures.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/procedures.dart.weak.outline.expect @@ -24,39 +24,39 @@ inline class GenericClass /* declaredRepresen static method staticMethod = self::GenericClass|staticMethod; static method genericStaticMethod = self::GenericClass|genericStaticMethod; } -static method Class|instanceMethod(lowered final self::Class #this) → void +static inline-class-member method Class|instanceMethod(lowered final self::Class #this) → void ; -static method Class|get#instanceMethod(lowered final self::Class #this) → () → void +static inline-class-member method Class|get#instanceMethod(lowered final self::Class #this) → () → void return () → void => self::Class|instanceMethod(#this); -static method Class|get#instanceGetter(lowered final self::Class #this) → core::int +static inline-class-member method Class|get#instanceGetter(lowered final self::Class #this) → core::int ; -static method Class|instanceMethod2(lowered final self::Class #this, core::String s, [has-declared-initializer core::int i]) → void +static inline-class-member method Class|instanceMethod2(lowered final self::Class #this, core::String s, [has-declared-initializer core::int i]) → void ; -static method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void +static inline-class-member method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void return (core::String s, [core::int i]) → void => self::Class|instanceMethod2(#this, s, i); -static method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% +static inline-class-member method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% ; -static method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% +static inline-class-member method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% return (S% s) → S% => self::Class|genericInstanceMethod(#this, s); -static method Class|staticMethod() → void +static inline-class-member method Class|staticMethod() → void ; -static method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% +static inline-class-member method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% ; -static method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void +static inline-class-member method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void ; -static method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void +static inline-class-member method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); -static method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% +static inline-class-member method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% ; -static method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {has-declared-initializer core::int i}) → void +static inline-class-member method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {has-declared-initializer core::int i}) → void ; -static method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void +static inline-class-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); -static method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% +static inline-class-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% ; -static method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% +static inline-class-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); -static method GenericClass|staticMethod() → void +static inline-class-member method GenericClass|staticMethod() → void ; -static method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% +static inline-class-member method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% ; diff --git a/pkg/front_end/testcases/inline_class/procedures.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/procedures.dart.weak.transformed.expect index 87ae4ac2fe4..b95a1072d15 100644 --- a/pkg/front_end/testcases/inline_class/procedures.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/procedures.dart.weak.transformed.expect @@ -37,17 +37,17 @@ inline class GenericClass /* declaredRepresen static method staticMethod = self::GenericClass|staticMethod; static method genericStaticMethod = self::GenericClass|genericStaticMethod; } -static method Class|instanceMethod(lowered final self::Class #this) → void { +static inline-class-member method Class|instanceMethod(lowered final self::Class #this) → void { self::Class local = #this; void localM = self::Class|instanceMethod(#this); () → void localT = self::Class|get#instanceMethod(#this); core::int localG = self::Class|get#instanceGetter(#this); } -static method Class|get#instanceMethod(lowered final self::Class #this) → () → void +static inline-class-member method Class|get#instanceMethod(lowered final self::Class #this) → () → void return () → void => self::Class|instanceMethod(#this); -static method Class|get#instanceGetter(lowered final self::Class #this) → core::int +static inline-class-member method Class|get#instanceGetter(lowered final self::Class #this) → core::int return 42; -static method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { +static inline-class-member method Class|instanceMethod2(lowered final self::Class #this, core::String s, [core::int i = #C1]) → void { self::Class local = #this; core::String localS = s; core::int localI = i; @@ -55,31 +55,31 @@ static method Class|instanceMethod2(lowered final self::Class #this, core::Strin core::int localG2 = self::Class|genericInstanceMethod(#this, i); core::num localG3 = self::Class|genericInstanceMethod(#this, i); } -static method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void +static inline-class-member method Class|get#instanceMethod2(lowered final self::Class #this) → (core::String, [core::int]) → void return (core::String s, [core::int i = #C1]) → void => self::Class|instanceMethod2(#this, s, i); -static method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% +static inline-class-member method Class|genericInstanceMethod(lowered final self::Class #this, self::Class|genericInstanceMethod::S% s) → self::Class|genericInstanceMethod::S% return s; -static method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% +static inline-class-member method Class|get#genericInstanceMethod(lowered final self::Class #this) → (S%) → S% return (S% s) → S% => self::Class|genericInstanceMethod(#this, s); -static method Class|staticMethod() → void { +static inline-class-member method Class|staticMethod() → void { self::Class|staticMethod(); core::int localG1 = self::Class|genericStaticMethod(0); core::String localG2 = self::Class|genericStaticMethod(""); core::num localG3 = self::Class|genericStaticMethod(0); } -static method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% +static inline-class-member method Class|genericStaticMethod(self::Class|genericStaticMethod::S% s) → self::Class|genericStaticMethod::S% return s; -static method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { +static inline-class-member method GenericClass|instanceMethod(lowered final self::GenericClass #this) → void { self::GenericClass local = #this; void localM = self::GenericClass|instanceMethod(#this); () → void localT = self::GenericClass|get#instanceMethod(#this); self::GenericClass|instanceMethod::T% localG = self::GenericClass|get#instanceGetter(#this); } -static method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void +static inline-class-member method GenericClass|get#instanceMethod(lowered final self::GenericClass #this) → () → void return () → void => self::GenericClass|instanceMethod(#this); -static method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% +static inline-class-member method GenericClass|get#instanceGetter(lowered final self::GenericClass #this) → self::GenericClass|get#instanceGetter::T% return throw ""; -static method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { +static inline-class-member method GenericClass|instanceMethod2(lowered final self::GenericClass #this, core::String s, {core::int i = #C1}) → void { self::GenericClass local = #this; core::String localS = s; core::int localI = i; @@ -87,19 +87,19 @@ static method GenericClass|instanceMethod2(lo core::int localG2 = self::GenericClass|genericInstanceMethod(#this, i); core::num localG3 = self::GenericClass|genericInstanceMethod(#this, i); } -static method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void +static inline-class-member method GenericClass|get#instanceMethod2(lowered final self::GenericClass #this) → (core::String, {i: core::int}) → void return (core::String s, {core::int i = #C1}) → void => self::GenericClass|instanceMethod2(#this, s, i: i); -static method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% +static inline-class-member method GenericClass|genericInstanceMethod(lowered final self::GenericClass #this, self::GenericClass|genericInstanceMethod::S% s) → self::GenericClass|genericInstanceMethod::S% return s; -static method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% +static inline-class-member method GenericClass|get#genericInstanceMethod(lowered final self::GenericClass #this) → (S%) → S% return (S% s) → S% => self::GenericClass|genericInstanceMethod(#this, s); -static method GenericClass|staticMethod() → void { +static inline-class-member method GenericClass|staticMethod() → void { self::GenericClass|staticMethod(); core::int localG1 = self::GenericClass|genericStaticMethod(0); core::String localG2 = self::GenericClass|genericStaticMethod(""); core::num localG3 = self::GenericClass|genericStaticMethod(0); } -static method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% +static inline-class-member method GenericClass|genericStaticMethod(self::GenericClass|genericStaticMethod::S% s) → self::GenericClass|genericStaticMethod::S% return s; constants { diff --git a/pkg/front_end/testcases/inline_class/representation.dart.strong.expect b/pkg/front_end/testcases/inline_class/representation.dart.strong.expect index e07e2cda7cf..1beffafa792 100644 --- a/pkg/front_end/testcases/inline_class/representation.dart.strong.expect +++ b/pkg/front_end/testcases/inline_class/representation.dart.strong.expect @@ -42,24 +42,24 @@ inline class Duplicate /* declaredRepresentationType = core::bool */ { tearoff • = self::Duplicate|_#new#tearOff; } static field core::int Static|staticField = 42; -static method Static|(core::bool instanceField) → self::Static { +static inline-class-member method Static|(core::bool instanceField) → self::Static { lowered final self::Static #this = instanceField; return #this; } -static method Static|_#new#tearOff(core::bool instanceField) → self::Static +static inline-class-member method Static|_#new#tearOff(core::bool instanceField) → self::Static return self::Static|(instanceField); -static method Multiple|(core::bool instanceField1) → self::Multiple { +static inline-class-member method Multiple|(core::bool instanceField1) → self::Multiple { lowered final self::Multiple #this = instanceField1; return #this; } -static method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple +static inline-class-member method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple return self::Multiple|(instanceField1); -static method Duplicate|(core::int instanceField) → self::Duplicate { +static inline-class-member method Duplicate|(core::int instanceField) → self::Duplicate { lowered final self::Duplicate #this; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/representation.dart:25:18: Error: Can't use 'instanceField' because it is declared more than once. Duplicate(this.instanceField); ^^^^^^^^^^^^^"; return #this; } -static method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate +static inline-class-member method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate return self::Duplicate|(instanceField); diff --git a/pkg/front_end/testcases/inline_class/representation.dart.strong.transformed.expect b/pkg/front_end/testcases/inline_class/representation.dart.strong.transformed.expect index e07e2cda7cf..1beffafa792 100644 --- a/pkg/front_end/testcases/inline_class/representation.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/inline_class/representation.dart.strong.transformed.expect @@ -42,24 +42,24 @@ inline class Duplicate /* declaredRepresentationType = core::bool */ { tearoff • = self::Duplicate|_#new#tearOff; } static field core::int Static|staticField = 42; -static method Static|(core::bool instanceField) → self::Static { +static inline-class-member method Static|(core::bool instanceField) → self::Static { lowered final self::Static #this = instanceField; return #this; } -static method Static|_#new#tearOff(core::bool instanceField) → self::Static +static inline-class-member method Static|_#new#tearOff(core::bool instanceField) → self::Static return self::Static|(instanceField); -static method Multiple|(core::bool instanceField1) → self::Multiple { +static inline-class-member method Multiple|(core::bool instanceField1) → self::Multiple { lowered final self::Multiple #this = instanceField1; return #this; } -static method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple +static inline-class-member method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple return self::Multiple|(instanceField1); -static method Duplicate|(core::int instanceField) → self::Duplicate { +static inline-class-member method Duplicate|(core::int instanceField) → self::Duplicate { lowered final self::Duplicate #this; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/representation.dart:25:18: Error: Can't use 'instanceField' because it is declared more than once. Duplicate(this.instanceField); ^^^^^^^^^^^^^"; return #this; } -static method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate +static inline-class-member method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate return self::Duplicate|(instanceField); diff --git a/pkg/front_end/testcases/inline_class/representation.dart.weak.expect b/pkg/front_end/testcases/inline_class/representation.dart.weak.expect index e07e2cda7cf..1beffafa792 100644 --- a/pkg/front_end/testcases/inline_class/representation.dart.weak.expect +++ b/pkg/front_end/testcases/inline_class/representation.dart.weak.expect @@ -42,24 +42,24 @@ inline class Duplicate /* declaredRepresentationType = core::bool */ { tearoff • = self::Duplicate|_#new#tearOff; } static field core::int Static|staticField = 42; -static method Static|(core::bool instanceField) → self::Static { +static inline-class-member method Static|(core::bool instanceField) → self::Static { lowered final self::Static #this = instanceField; return #this; } -static method Static|_#new#tearOff(core::bool instanceField) → self::Static +static inline-class-member method Static|_#new#tearOff(core::bool instanceField) → self::Static return self::Static|(instanceField); -static method Multiple|(core::bool instanceField1) → self::Multiple { +static inline-class-member method Multiple|(core::bool instanceField1) → self::Multiple { lowered final self::Multiple #this = instanceField1; return #this; } -static method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple +static inline-class-member method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple return self::Multiple|(instanceField1); -static method Duplicate|(core::int instanceField) → self::Duplicate { +static inline-class-member method Duplicate|(core::int instanceField) → self::Duplicate { lowered final self::Duplicate #this; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/representation.dart:25:18: Error: Can't use 'instanceField' because it is declared more than once. Duplicate(this.instanceField); ^^^^^^^^^^^^^"; return #this; } -static method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate +static inline-class-member method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate return self::Duplicate|(instanceField); diff --git a/pkg/front_end/testcases/inline_class/representation.dart.weak.modular.expect b/pkg/front_end/testcases/inline_class/representation.dart.weak.modular.expect index e07e2cda7cf..1beffafa792 100644 --- a/pkg/front_end/testcases/inline_class/representation.dart.weak.modular.expect +++ b/pkg/front_end/testcases/inline_class/representation.dart.weak.modular.expect @@ -42,24 +42,24 @@ inline class Duplicate /* declaredRepresentationType = core::bool */ { tearoff • = self::Duplicate|_#new#tearOff; } static field core::int Static|staticField = 42; -static method Static|(core::bool instanceField) → self::Static { +static inline-class-member method Static|(core::bool instanceField) → self::Static { lowered final self::Static #this = instanceField; return #this; } -static method Static|_#new#tearOff(core::bool instanceField) → self::Static +static inline-class-member method Static|_#new#tearOff(core::bool instanceField) → self::Static return self::Static|(instanceField); -static method Multiple|(core::bool instanceField1) → self::Multiple { +static inline-class-member method Multiple|(core::bool instanceField1) → self::Multiple { lowered final self::Multiple #this = instanceField1; return #this; } -static method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple +static inline-class-member method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple return self::Multiple|(instanceField1); -static method Duplicate|(core::int instanceField) → self::Duplicate { +static inline-class-member method Duplicate|(core::int instanceField) → self::Duplicate { lowered final self::Duplicate #this; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/representation.dart:25:18: Error: Can't use 'instanceField' because it is declared more than once. Duplicate(this.instanceField); ^^^^^^^^^^^^^"; return #this; } -static method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate +static inline-class-member method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate return self::Duplicate|(instanceField); diff --git a/pkg/front_end/testcases/inline_class/representation.dart.weak.outline.expect b/pkg/front_end/testcases/inline_class/representation.dart.weak.outline.expect index e3091ece75b..be7d7fc5bf4 100644 --- a/pkg/front_end/testcases/inline_class/representation.dart.weak.outline.expect +++ b/pkg/front_end/testcases/inline_class/representation.dart.weak.outline.expect @@ -28,15 +28,15 @@ inline class Duplicate /* declaredRepresentationType = core::bool */ { tearoff • = self::Duplicate|_#new#tearOff; } static field core::int Static|staticField; -static method Static|(core::bool instanceField) → self::Static +static inline-class-member method Static|(core::bool instanceField) → self::Static ; -static method Static|_#new#tearOff(core::bool instanceField) → self::Static +static inline-class-member method Static|_#new#tearOff(core::bool instanceField) → self::Static return self::Static|(instanceField); -static method Multiple|(core::bool instanceField1) → self::Multiple +static inline-class-member method Multiple|(core::bool instanceField1) → self::Multiple ; -static method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple +static inline-class-member method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple return self::Multiple|(instanceField1); -static method Duplicate|(core::int instanceField) → self::Duplicate +static inline-class-member method Duplicate|(core::int instanceField) → self::Duplicate ; -static method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate +static inline-class-member method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate return self::Duplicate|(instanceField); diff --git a/pkg/front_end/testcases/inline_class/representation.dart.weak.transformed.expect b/pkg/front_end/testcases/inline_class/representation.dart.weak.transformed.expect index e07e2cda7cf..1beffafa792 100644 --- a/pkg/front_end/testcases/inline_class/representation.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/inline_class/representation.dart.weak.transformed.expect @@ -42,24 +42,24 @@ inline class Duplicate /* declaredRepresentationType = core::bool */ { tearoff • = self::Duplicate|_#new#tearOff; } static field core::int Static|staticField = 42; -static method Static|(core::bool instanceField) → self::Static { +static inline-class-member method Static|(core::bool instanceField) → self::Static { lowered final self::Static #this = instanceField; return #this; } -static method Static|_#new#tearOff(core::bool instanceField) → self::Static +static inline-class-member method Static|_#new#tearOff(core::bool instanceField) → self::Static return self::Static|(instanceField); -static method Multiple|(core::bool instanceField1) → self::Multiple { +static inline-class-member method Multiple|(core::bool instanceField1) → self::Multiple { lowered final self::Multiple #this = instanceField1; return #this; } -static method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple +static inline-class-member method Multiple|_#new#tearOff(core::bool instanceField1) → self::Multiple return self::Multiple|(instanceField1); -static method Duplicate|(core::int instanceField) → self::Duplicate { +static inline-class-member method Duplicate|(core::int instanceField) → self::Duplicate { lowered final self::Duplicate #this; final dynamic #t1 = invalid-expression "pkg/front_end/testcases/inline_class/representation.dart:25:18: Error: Can't use 'instanceField' because it is declared more than once. Duplicate(this.instanceField); ^^^^^^^^^^^^^"; return #this; } -static method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate +static inline-class-member method Duplicate|_#new#tearOff(core::int instanceField) → self::Duplicate return self::Duplicate|(instanceField); diff --git a/pkg/front_end/testcases/late_lowering/late_annotations.dart.strong.expect b/pkg/front_end/testcases/late_lowering/late_annotations.dart.strong.expect index be2183e6fd8..6f85278b64f 100644 --- a/pkg/front_end/testcases/late_lowering/late_annotations.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/late_annotations.dart.strong.expect @@ -148,22 +148,22 @@ static set finalTopLevelField(core::int finalTopLevelField#param) → void static get finalTopLevelFieldWithInitializer() → core::int return let final core::int? #t21 = self::_#finalTopLevelFieldWithInitializer in #t21 == null ?{core::int} let final core::int #t22 = 0 in self::_#finalTopLevelFieldWithInitializer == null ?{core::int} self::_#finalTopLevelFieldWithInitializer = #t22 : throw new _in::LateError::fieldADI("finalTopLevelFieldWithInitializer") : #t21{core::int}; @#C1 -static get Extension|extensionStaticField() → core::int +static extension-member get Extension|extensionStaticField() → core::int return let final core::int? #t23 = self::_#Extension|extensionStaticField in #t23 == null ?{core::int} throw new _in::LateError::fieldNI("extensionStaticField") : #t23{core::int}; @#C1 -static set Extension|extensionStaticField(core::int extensionStaticField#param) → void +static extension-member set Extension|extensionStaticField(core::int extensionStaticField#param) → void self::_#Extension|extensionStaticField = extensionStaticField#param; @#C1 -static get Extension|finalExtensionStaticField() → core::int +static extension-member get Extension|finalExtensionStaticField() → core::int return let final core::int? #t24 = self::_#Extension|finalExtensionStaticField in #t24 == null ?{core::int} throw new _in::LateError::fieldNI("finalExtensionStaticField") : #t24{core::int}; @#C1 -static set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void +static extension-member set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void if(self::_#Extension|finalExtensionStaticField == null) self::_#Extension|finalExtensionStaticField = finalExtensionStaticField#param; else throw new _in::LateError::fieldAI("finalExtensionStaticField"); @#C1 -static get Extension|finalExtensionStaticFieldWithInitializer() → core::int +static extension-member get Extension|finalExtensionStaticFieldWithInitializer() → core::int return let final core::int? #t25 = self::_#Extension|finalExtensionStaticFieldWithInitializer in #t25 == null ?{core::int} let final core::int #t26 = 0 in self::_#Extension|finalExtensionStaticFieldWithInitializer == null ?{core::int} self::_#Extension|finalExtensionStaticFieldWithInitializer = #t26 : throw new _in::LateError::fieldADI("finalExtensionStaticFieldWithInitializer") : #t25{core::int}; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/late_lowering/late_annotations.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/late_annotations.dart.strong.transformed.expect index fb2230445dd..4d63d4ac33e 100644 --- a/pkg/front_end/testcases/late_lowering/late_annotations.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_annotations.dart.strong.transformed.expect @@ -148,22 +148,22 @@ static set finalTopLevelField(core::int finalTopLevelField#param) → void static get finalTopLevelFieldWithInitializer() → core::int return let final core::int? #t21 = self::_#finalTopLevelFieldWithInitializer in #t21 == null ?{core::int} let final core::int #t22 = 0 in self::_#finalTopLevelFieldWithInitializer == null ?{core::int} self::_#finalTopLevelFieldWithInitializer = #t22 : throw new _in::LateError::fieldADI("finalTopLevelFieldWithInitializer") : #t21{core::int}; @#C1 -static get Extension|extensionStaticField() → core::int +static extension-member get Extension|extensionStaticField() → core::int return let final core::int? #t23 = self::_#Extension|extensionStaticField in #t23 == null ?{core::int} throw new _in::LateError::fieldNI("extensionStaticField") : #t23{core::int}; @#C1 -static set Extension|extensionStaticField(core::int extensionStaticField#param) → void +static extension-member set Extension|extensionStaticField(core::int extensionStaticField#param) → void self::_#Extension|extensionStaticField = extensionStaticField#param; @#C1 -static get Extension|finalExtensionStaticField() → core::int +static extension-member get Extension|finalExtensionStaticField() → core::int return let final core::int? #t24 = self::_#Extension|finalExtensionStaticField in #t24 == null ?{core::int} throw new _in::LateError::fieldNI("finalExtensionStaticField") : #t24{core::int}; @#C1 -static set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void +static extension-member set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void if(self::_#Extension|finalExtensionStaticField == null) self::_#Extension|finalExtensionStaticField = finalExtensionStaticField#param; else throw new _in::LateError::fieldAI("finalExtensionStaticField"); @#C1 -static get Extension|finalExtensionStaticFieldWithInitializer() → core::int +static extension-member get Extension|finalExtensionStaticFieldWithInitializer() → core::int return let final core::int? #t25 = self::_#Extension|finalExtensionStaticFieldWithInitializer in #t25 == null ?{core::int} let final core::int #t26 = 0 in self::_#Extension|finalExtensionStaticFieldWithInitializer == null ?{core::int} self::_#Extension|finalExtensionStaticFieldWithInitializer = #t26 : throw new _in::LateError::fieldADI("finalExtensionStaticFieldWithInitializer") : #t25{core::int}; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.expect b/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.expect index 44c09cf6766..bff979fdb4a 100644 --- a/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.expect @@ -235,18 +235,18 @@ static get finalTopLevelFieldWithInitializer() → core::int { return let final core::int? #t22 = self::_#finalTopLevelFieldWithInitializer in #t22{core::int}; } @#C1 -static get Extension|extensionStaticField() → core::int +static extension-member get Extension|extensionStaticField() → core::int return self::_#Extension|extensionStaticField#isSet ?{core::int} let final core::int? #t23 = self::_#Extension|extensionStaticField in #t23{core::int} : throw new _in::LateError::fieldNI("extensionStaticField"); @#C1 -static set Extension|extensionStaticField(core::int extensionStaticField#param) → void { +static extension-member set Extension|extensionStaticField(core::int extensionStaticField#param) → void { self::_#Extension|extensionStaticField#isSet = true; self::_#Extension|extensionStaticField = extensionStaticField#param; } @#C1 -static get Extension|finalExtensionStaticField() → core::int +static extension-member get Extension|finalExtensionStaticField() → core::int return self::_#Extension|finalExtensionStaticField#isSet ?{core::int} let final core::int? #t24 = self::_#Extension|finalExtensionStaticField in #t24{core::int} : throw new _in::LateError::fieldNI("finalExtensionStaticField"); @#C1 -static set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void +static extension-member set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void if(self::_#Extension|finalExtensionStaticField#isSet) throw new _in::LateError::fieldAI("finalExtensionStaticField"); else { @@ -254,7 +254,7 @@ static set Extension|finalExtensionStaticField(core::int finalExtensionStaticFie self::_#Extension|finalExtensionStaticField = finalExtensionStaticField#param; } @#C1 -static get Extension|finalExtensionStaticFieldWithInitializer() → core::int { +static extension-member get Extension|finalExtensionStaticFieldWithInitializer() → core::int { if(!self::_#Extension|finalExtensionStaticFieldWithInitializer#isSet) { final core::int #t25 = 0; if(self::_#Extension|finalExtensionStaticFieldWithInitializer#isSet) diff --git a/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.modular.expect index 44c09cf6766..bff979fdb4a 100644 --- a/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.modular.expect @@ -235,18 +235,18 @@ static get finalTopLevelFieldWithInitializer() → core::int { return let final core::int? #t22 = self::_#finalTopLevelFieldWithInitializer in #t22{core::int}; } @#C1 -static get Extension|extensionStaticField() → core::int +static extension-member get Extension|extensionStaticField() → core::int return self::_#Extension|extensionStaticField#isSet ?{core::int} let final core::int? #t23 = self::_#Extension|extensionStaticField in #t23{core::int} : throw new _in::LateError::fieldNI("extensionStaticField"); @#C1 -static set Extension|extensionStaticField(core::int extensionStaticField#param) → void { +static extension-member set Extension|extensionStaticField(core::int extensionStaticField#param) → void { self::_#Extension|extensionStaticField#isSet = true; self::_#Extension|extensionStaticField = extensionStaticField#param; } @#C1 -static get Extension|finalExtensionStaticField() → core::int +static extension-member get Extension|finalExtensionStaticField() → core::int return self::_#Extension|finalExtensionStaticField#isSet ?{core::int} let final core::int? #t24 = self::_#Extension|finalExtensionStaticField in #t24{core::int} : throw new _in::LateError::fieldNI("finalExtensionStaticField"); @#C1 -static set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void +static extension-member set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void if(self::_#Extension|finalExtensionStaticField#isSet) throw new _in::LateError::fieldAI("finalExtensionStaticField"); else { @@ -254,7 +254,7 @@ static set Extension|finalExtensionStaticField(core::int finalExtensionStaticFie self::_#Extension|finalExtensionStaticField = finalExtensionStaticField#param; } @#C1 -static get Extension|finalExtensionStaticFieldWithInitializer() → core::int { +static extension-member get Extension|finalExtensionStaticFieldWithInitializer() → core::int { if(!self::_#Extension|finalExtensionStaticFieldWithInitializer#isSet) { final core::int #t25 = 0; if(self::_#Extension|finalExtensionStaticFieldWithInitializer#isSet) diff --git a/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.outline.expect index 4a11593a615..298cf6f2f72 100644 --- a/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.outline.expect @@ -125,15 +125,15 @@ static set finalTopLevelField(core::int finalTopLevelField#param) → void; @self::Annotation::•() static get finalTopLevelFieldWithInitializer() → core::int; @self::Annotation::•() -static get Extension|extensionStaticField() → core::int; +static extension-member get Extension|extensionStaticField() → core::int; @self::Annotation::•() -static set Extension|extensionStaticField(core::int extensionStaticField#param) → void; +static extension-member set Extension|extensionStaticField(core::int extensionStaticField#param) → void; @self::Annotation::•() -static get Extension|finalExtensionStaticField() → core::int; +static extension-member get Extension|finalExtensionStaticField() → core::int; @self::Annotation::•() -static set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void; +static extension-member set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void; @self::Annotation::•() -static get Extension|finalExtensionStaticFieldWithInitializer() → core::int; +static extension-member get Extension|finalExtensionStaticFieldWithInitializer() → core::int; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.transformed.expect index 44c09cf6766..bff979fdb4a 100644 --- a/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_annotations.dart.weak.transformed.expect @@ -235,18 +235,18 @@ static get finalTopLevelFieldWithInitializer() → core::int { return let final core::int? #t22 = self::_#finalTopLevelFieldWithInitializer in #t22{core::int}; } @#C1 -static get Extension|extensionStaticField() → core::int +static extension-member get Extension|extensionStaticField() → core::int return self::_#Extension|extensionStaticField#isSet ?{core::int} let final core::int? #t23 = self::_#Extension|extensionStaticField in #t23{core::int} : throw new _in::LateError::fieldNI("extensionStaticField"); @#C1 -static set Extension|extensionStaticField(core::int extensionStaticField#param) → void { +static extension-member set Extension|extensionStaticField(core::int extensionStaticField#param) → void { self::_#Extension|extensionStaticField#isSet = true; self::_#Extension|extensionStaticField = extensionStaticField#param; } @#C1 -static get Extension|finalExtensionStaticField() → core::int +static extension-member get Extension|finalExtensionStaticField() → core::int return self::_#Extension|finalExtensionStaticField#isSet ?{core::int} let final core::int? #t24 = self::_#Extension|finalExtensionStaticField in #t24{core::int} : throw new _in::LateError::fieldNI("finalExtensionStaticField"); @#C1 -static set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void +static extension-member set Extension|finalExtensionStaticField(core::int finalExtensionStaticField#param) → void if(self::_#Extension|finalExtensionStaticField#isSet) throw new _in::LateError::fieldAI("finalExtensionStaticField"); else { @@ -254,7 +254,7 @@ static set Extension|finalExtensionStaticField(core::int finalExtensionStaticFie self::_#Extension|finalExtensionStaticField = finalExtensionStaticField#param; } @#C1 -static get Extension|finalExtensionStaticFieldWithInitializer() → core::int { +static extension-member get Extension|finalExtensionStaticFieldWithInitializer() → core::int { if(!self::_#Extension|finalExtensionStaticFieldWithInitializer#isSet) { final core::int #t25 = 0; if(self::_#Extension|finalExtensionStaticFieldWithInitializer#isSet) diff --git a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.strong.expect b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.strong.expect index fd640fa7bb5..273dc539a1e 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.strong.expect @@ -80,15 +80,15 @@ static get lateTopLevelField1() → core::int return let final core::int? #t6 = self::_#lateTopLevelField1 in #t6 == null ?{core::int} self::_#lateTopLevelField1 = 123 : #t6{core::int}; static set lateTopLevelField1(core::int lateTopLevelField1#param) → void self::_#lateTopLevelField1 = lateTopLevelField1#param; -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return let final core::int? #t7 = self::_#Extension|lateExtensionField1 in #t7 == null ?{core::int} self::_#Extension|lateExtensionField1 = 87 : #t7{core::int}; -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void self::_#Extension|lateExtensionField1 = lateExtensionField1#param; -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return let final core::int? #t8 = self::_#Extension|lateExtensionField2 in #t8 == null ?{core::int} self::_#Extension|lateExtensionField2 = 42 : #t8{core::int}; -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void self::_#Extension|lateExtensionField2 = lateExtensionField2#param; -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.strong.transformed.expect index fd640fa7bb5..273dc539a1e 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.strong.transformed.expect @@ -80,15 +80,15 @@ static get lateTopLevelField1() → core::int return let final core::int? #t6 = self::_#lateTopLevelField1 in #t6 == null ?{core::int} self::_#lateTopLevelField1 = 123 : #t6{core::int}; static set lateTopLevelField1(core::int lateTopLevelField1#param) → void self::_#lateTopLevelField1 = lateTopLevelField1#param; -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return let final core::int? #t7 = self::_#Extension|lateExtensionField1 in #t7 == null ?{core::int} self::_#Extension|lateExtensionField1 = 87 : #t7{core::int}; -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void self::_#Extension|lateExtensionField1 = lateExtensionField1#param; -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return let final core::int? #t8 = self::_#Extension|lateExtensionField2 in #t8 == null ?{core::int} self::_#Extension|lateExtensionField2 = 42 : #t8{core::int}; -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void self::_#Extension|lateExtensionField2 = lateExtensionField2#param; -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.expect b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.expect index ddb78d56e25..d2c35b626f2 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.expect @@ -116,29 +116,29 @@ static set lateTopLevelField1(core::int lateTopLevelField1#param) → void { self::_#lateTopLevelField1#isSet = true; self::_#lateTopLevelField1 = lateTopLevelField1#param; } -static get Extension|lateExtensionField1() → core::int { +static extension-member get Extension|lateExtensionField1() → core::int { if(!self::_#Extension|lateExtensionField1#isSet) { self::_#Extension|lateExtensionField1 = 87; self::_#Extension|lateExtensionField1#isSet = true; } return let final core::int? #t7 = self::_#Extension|lateExtensionField1 in #t7{core::int}; } -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int { +static extension-member get Extension|lateExtensionField2() → core::int { if(!self::_#Extension|lateExtensionField2#isSet) { self::_#Extension|lateExtensionField2 = 42; self::_#Extension|lateExtensionField2#isSet = true; } return let final core::int? #t8 = self::_#Extension|lateExtensionField2 in #t8{core::int}; } -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.modular.expect index ddb78d56e25..d2c35b626f2 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.modular.expect @@ -116,29 +116,29 @@ static set lateTopLevelField1(core::int lateTopLevelField1#param) → void { self::_#lateTopLevelField1#isSet = true; self::_#lateTopLevelField1 = lateTopLevelField1#param; } -static get Extension|lateExtensionField1() → core::int { +static extension-member get Extension|lateExtensionField1() → core::int { if(!self::_#Extension|lateExtensionField1#isSet) { self::_#Extension|lateExtensionField1 = 87; self::_#Extension|lateExtensionField1#isSet = true; } return let final core::int? #t7 = self::_#Extension|lateExtensionField1 in #t7{core::int}; } -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int { +static extension-member get Extension|lateExtensionField2() → core::int { if(!self::_#Extension|lateExtensionField2#isSet) { self::_#Extension|lateExtensionField2 = 42; self::_#Extension|lateExtensionField2#isSet = true; } return let final core::int? #t8 = self::_#Extension|lateExtensionField2 in #t8{core::int}; } -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.outline.expect index 226e1029b38..accd0085a50 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.outline.expect @@ -50,11 +50,11 @@ static field core::int? _#Extension|lateExtensionField2; static field core::bool _#Extension|lateExtensionField2#isSet; static get lateTopLevelField1() → core::int; static set lateTopLevelField1(core::int lateTopLevelField1#param) → void; -static get Extension|lateExtensionField1() → core::int; -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void; -static get Extension|lateExtensionField2() → core::int; -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void; -static method Extension|staticMethod() → dynamic +static extension-member get Extension|lateExtensionField1() → core::int; +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void; +static extension-member get Extension|lateExtensionField2() → core::int; +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void; +static extension-member method Extension|staticMethod() → dynamic ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.transformed.expect index ddb78d56e25..d2c35b626f2 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_with_initializer.dart.weak.transformed.expect @@ -116,29 +116,29 @@ static set lateTopLevelField1(core::int lateTopLevelField1#param) → void { self::_#lateTopLevelField1#isSet = true; self::_#lateTopLevelField1 = lateTopLevelField1#param; } -static get Extension|lateExtensionField1() → core::int { +static extension-member get Extension|lateExtensionField1() → core::int { if(!self::_#Extension|lateExtensionField1#isSet) { self::_#Extension|lateExtensionField1 = 87; self::_#Extension|lateExtensionField1#isSet = true; } return let final core::int? #t7 = self::_#Extension|lateExtensionField1 in #t7{core::int}; } -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int { +static extension-member get Extension|lateExtensionField2() → core::int { if(!self::_#Extension|lateExtensionField2#isSet) { self::_#Extension|lateExtensionField2 = 42; self::_#Extension|lateExtensionField2#isSet = true; } return let final core::int? #t8 = self::_#Extension|lateExtensionField2 in #t8{core::int}; } -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.strong.expect b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.strong.expect index 08a2270fa91..4c4649abee6 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.strong.expect @@ -60,15 +60,15 @@ static get lateTopLevelField() → core::int return let final core::int? #t5 = self::_#lateTopLevelField in #t5 == null ?{core::int} throw new _in::LateError::fieldNI("lateTopLevelField") : #t5{core::int}; static set lateTopLevelField(core::int lateTopLevelField#param) → void self::_#lateTopLevelField = lateTopLevelField#param; -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return let final core::int? #t6 = self::_#Extension|lateExtensionField1 in #t6 == null ?{core::int} throw new _in::LateError::fieldNI("lateExtensionField1") : #t6{core::int}; -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void self::_#Extension|lateExtensionField1 = lateExtensionField1#param; -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return let final core::int? #t7 = self::_#Extension|lateExtensionField2 in #t7 == null ?{core::int} throw new _in::LateError::fieldNI("lateExtensionField2") : #t7{core::int}; -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void self::_#Extension|lateExtensionField2 = lateExtensionField2#param; -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.strong.transformed.expect index 08a2270fa91..4c4649abee6 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.strong.transformed.expect @@ -60,15 +60,15 @@ static get lateTopLevelField() → core::int return let final core::int? #t5 = self::_#lateTopLevelField in #t5 == null ?{core::int} throw new _in::LateError::fieldNI("lateTopLevelField") : #t5{core::int}; static set lateTopLevelField(core::int lateTopLevelField#param) → void self::_#lateTopLevelField = lateTopLevelField#param; -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return let final core::int? #t6 = self::_#Extension|lateExtensionField1 in #t6 == null ?{core::int} throw new _in::LateError::fieldNI("lateExtensionField1") : #t6{core::int}; -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void self::_#Extension|lateExtensionField1 = lateExtensionField1#param; -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return let final core::int? #t7 = self::_#Extension|lateExtensionField2 in #t7 == null ?{core::int} throw new _in::LateError::fieldNI("lateExtensionField2") : #t7{core::int}; -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void self::_#Extension|lateExtensionField2 = lateExtensionField2#param; -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.expect b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.expect index 8c5d984d440..d9c1d9e01c1 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.expect @@ -76,19 +76,19 @@ static set lateTopLevelField(core::int lateTopLevelField#param) → void { self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return self::_#Extension|lateExtensionField1#isSet ?{core::int} let final core::int? #t6 = self::_#Extension|lateExtensionField1 in #t6{core::int} : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return self::_#Extension|lateExtensionField2#isSet ?{core::int} let final core::int? #t7 = self::_#Extension|lateExtensionField2 in #t7{core::int} : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.modular.expect index 8c5d984d440..d9c1d9e01c1 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.modular.expect @@ -76,19 +76,19 @@ static set lateTopLevelField(core::int lateTopLevelField#param) → void { self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return self::_#Extension|lateExtensionField1#isSet ?{core::int} let final core::int? #t6 = self::_#Extension|lateExtensionField1 in #t6{core::int} : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return self::_#Extension|lateExtensionField2#isSet ?{core::int} let final core::int? #t7 = self::_#Extension|lateExtensionField2 in #t7{core::int} : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.outline.expect index b338f246f13..154ad276a01 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.outline.expect @@ -45,11 +45,11 @@ static field core::int? _#Extension|lateExtensionField2; static field core::bool _#Extension|lateExtensionField2#isSet; static get lateTopLevelField() → core::int; static set lateTopLevelField(core::int lateTopLevelField#param) → void; -static get Extension|lateExtensionField1() → core::int; -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void; -static get Extension|lateExtensionField2() → core::int; -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void; -static method Extension|staticMethod() → dynamic +static extension-member get Extension|lateExtensionField1() → core::int; +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void; +static extension-member get Extension|lateExtensionField2() → core::int; +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void; +static extension-member method Extension|staticMethod() → dynamic ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.transformed.expect index 8c5d984d440..d9c1d9e01c1 100644 --- a/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_field_without_initializer.dart.weak.transformed.expect @@ -76,19 +76,19 @@ static set lateTopLevelField(core::int lateTopLevelField#param) → void { self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return self::_#Extension|lateExtensionField1#isSet ?{core::int} let final core::int? #t6 = self::_#Extension|lateExtensionField1 in #t6{core::int} : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return self::_#Extension|lateExtensionField2#isSet ?{core::int} let final core::int? #t7 = self::_#Extension|lateExtensionField2 in #t7{core::int} : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.strong.expect b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.strong.expect index 33f59de1fb2..1bf00b5078b 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.strong.expect @@ -98,17 +98,17 @@ static method initLateTopLevelField1(core::int value) → core::int { } static get lateTopLevelField1() → core::int return let final core::int? #t11 = self::_#lateTopLevelField1 in #t11 == null ?{core::int} let final core::int #t12 = self::initLateTopLevelField1(123) in self::_#lateTopLevelField1 == null ?{core::int} self::_#lateTopLevelField1 = #t12 : throw new _in::LateError::fieldADI("lateTopLevelField1") : #t11{core::int}; -static method Extension|initLateExtensionField1(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return let final core::int? #t13 = self::_#Extension|lateExtensionField1 in #t13 == null ?{core::int} let final core::int #t14 = self::Extension|initLateExtensionField1(87) in self::_#Extension|lateExtensionField1 == null ?{core::int} self::_#Extension|lateExtensionField1 = #t14 : throw new _in::LateError::fieldADI("lateExtensionField1") : #t13{core::int}; -static method Extension|initLateExtensionField2(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return let final core::int? #t15 = self::_#Extension|lateExtensionField2 in #t15 == null ?{core::int} let final core::int #t16 = self::Extension|initLateExtensionField2(42) in self::_#Extension|lateExtensionField2 == null ?{core::int} self::_#Extension|lateExtensionField2 = #t16 : throw new _in::LateError::fieldADI("lateExtensionField2") : #t15{core::int}; -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.strong.transformed.expect index 33f59de1fb2..1bf00b5078b 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.strong.transformed.expect @@ -98,17 +98,17 @@ static method initLateTopLevelField1(core::int value) → core::int { } static get lateTopLevelField1() → core::int return let final core::int? #t11 = self::_#lateTopLevelField1 in #t11 == null ?{core::int} let final core::int #t12 = self::initLateTopLevelField1(123) in self::_#lateTopLevelField1 == null ?{core::int} self::_#lateTopLevelField1 = #t12 : throw new _in::LateError::fieldADI("lateTopLevelField1") : #t11{core::int}; -static method Extension|initLateExtensionField1(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return let final core::int? #t13 = self::_#Extension|lateExtensionField1 in #t13 == null ?{core::int} let final core::int #t14 = self::Extension|initLateExtensionField1(87) in self::_#Extension|lateExtensionField1 == null ?{core::int} self::_#Extension|lateExtensionField1 = #t14 : throw new _in::LateError::fieldADI("lateExtensionField1") : #t13{core::int}; -static method Extension|initLateExtensionField2(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return let final core::int? #t15 = self::_#Extension|lateExtensionField2 in #t15 == null ?{core::int} let final core::int #t16 = self::Extension|initLateExtensionField2(42) in self::_#Extension|lateExtensionField2 == null ?{core::int} self::_#Extension|lateExtensionField2 = #t16 : throw new _in::LateError::fieldADI("lateExtensionField2") : #t15{core::int}; -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.expect b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.expect index e2d3413507c..9c94bdee9e5 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.expect @@ -146,10 +146,10 @@ static get lateTopLevelField1() → core::int { } return let final core::int? #t12 = self::_#lateTopLevelField1 in #t12{core::int}; } -static method Extension|initLateExtensionField1(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int { +static extension-member get Extension|lateExtensionField1() → core::int { if(!self::_#Extension|lateExtensionField1#isSet) { final core::int #t13 = self::Extension|initLateExtensionField1(87); if(self::_#Extension|lateExtensionField1#isSet) @@ -159,10 +159,10 @@ static get Extension|lateExtensionField1() → core::int { } return let final core::int? #t14 = self::_#Extension|lateExtensionField1 in #t14{core::int}; } -static method Extension|initLateExtensionField2(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int { +static extension-member get Extension|lateExtensionField2() → core::int { if(!self::_#Extension|lateExtensionField2#isSet) { final core::int #t15 = self::Extension|initLateExtensionField2(42); if(self::_#Extension|lateExtensionField2#isSet) @@ -172,7 +172,7 @@ static get Extension|lateExtensionField2() → core::int { } return let final core::int? #t16 = self::_#Extension|lateExtensionField2 in #t16{core::int}; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.modular.expect index e2d3413507c..9c94bdee9e5 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.modular.expect @@ -146,10 +146,10 @@ static get lateTopLevelField1() → core::int { } return let final core::int? #t12 = self::_#lateTopLevelField1 in #t12{core::int}; } -static method Extension|initLateExtensionField1(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int { +static extension-member get Extension|lateExtensionField1() → core::int { if(!self::_#Extension|lateExtensionField1#isSet) { final core::int #t13 = self::Extension|initLateExtensionField1(87); if(self::_#Extension|lateExtensionField1#isSet) @@ -159,10 +159,10 @@ static get Extension|lateExtensionField1() → core::int { } return let final core::int? #t14 = self::_#Extension|lateExtensionField1 in #t14{core::int}; } -static method Extension|initLateExtensionField2(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int { +static extension-member get Extension|lateExtensionField2() → core::int { if(!self::_#Extension|lateExtensionField2#isSet) { final core::int #t15 = self::Extension|initLateExtensionField2(42); if(self::_#Extension|lateExtensionField2#isSet) @@ -172,7 +172,7 @@ static get Extension|lateExtensionField2() → core::int { } return let final core::int? #t16 = self::_#Extension|lateExtensionField2 in #t16{core::int}; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.outline.expect index fcef73799f7..3532ea1949c 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.outline.expect @@ -74,13 +74,13 @@ static field core::bool _#Extension|lateExtensionField2#isSet; static method initLateTopLevelField1(core::int value) → core::int ; static get lateTopLevelField1() → core::int; -static method Extension|initLateExtensionField1(core::int value) → core::int +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int ; -static get Extension|lateExtensionField1() → core::int; -static method Extension|initLateExtensionField2(core::int value) → core::int +static extension-member get Extension|lateExtensionField1() → core::int; +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int ; -static get Extension|lateExtensionField2() → core::int; -static method Extension|staticMethod() → dynamic +static extension-member get Extension|lateExtensionField2() → core::int; +static extension-member method Extension|staticMethod() → dynamic ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.transformed.expect index e2d3413507c..9c94bdee9e5 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_with_initializer.dart.weak.transformed.expect @@ -146,10 +146,10 @@ static get lateTopLevelField1() → core::int { } return let final core::int? #t12 = self::_#lateTopLevelField1 in #t12{core::int}; } -static method Extension|initLateExtensionField1(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int { +static extension-member get Extension|lateExtensionField1() → core::int { if(!self::_#Extension|lateExtensionField1#isSet) { final core::int #t13 = self::Extension|initLateExtensionField1(87); if(self::_#Extension|lateExtensionField1#isSet) @@ -159,10 +159,10 @@ static get Extension|lateExtensionField1() → core::int { } return let final core::int? #t14 = self::_#Extension|lateExtensionField1 in #t14{core::int}; } -static method Extension|initLateExtensionField2(core::int value) → core::int { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int { +static extension-member get Extension|lateExtensionField2() → core::int { if(!self::_#Extension|lateExtensionField2#isSet) { final core::int #t15 = self::Extension|initLateExtensionField2(42); if(self::_#Extension|lateExtensionField2#isSet) @@ -172,7 +172,7 @@ static get Extension|lateExtensionField2() → core::int { } return let final core::int? #t16 = self::_#Extension|lateExtensionField2 in #t16{core::int}; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.strong.expect b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.strong.expect index 3bd4eedcc22..5305608662e 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.strong.expect @@ -63,21 +63,21 @@ static set lateTopLevelField(core::int lateTopLevelField#param) → void self::_#lateTopLevelField = lateTopLevelField#param; else throw new _in::LateError::fieldAI("lateTopLevelField"); -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return let final core::int? #t5 = self::_#Extension|lateExtensionField1 in #t5 == null ?{core::int} throw new _in::LateError::fieldNI("lateExtensionField1") : #t5{core::int}; -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1 == null) self::_#Extension|lateExtensionField1 = lateExtensionField1#param; else throw new _in::LateError::fieldAI("lateExtensionField1"); -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return let final core::int? #t6 = self::_#Extension|lateExtensionField2 in #t6 == null ?{core::int} throw new _in::LateError::fieldNI("lateExtensionField2") : #t6{core::int}; -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2 == null) self::_#Extension|lateExtensionField2 = lateExtensionField2#param; else throw new _in::LateError::fieldAI("lateExtensionField2"); -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.strong.transformed.expect index 3bd4eedcc22..5305608662e 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.strong.transformed.expect @@ -63,21 +63,21 @@ static set lateTopLevelField(core::int lateTopLevelField#param) → void self::_#lateTopLevelField = lateTopLevelField#param; else throw new _in::LateError::fieldAI("lateTopLevelField"); -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return let final core::int? #t5 = self::_#Extension|lateExtensionField1 in #t5 == null ?{core::int} throw new _in::LateError::fieldNI("lateExtensionField1") : #t5{core::int}; -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1 == null) self::_#Extension|lateExtensionField1 = lateExtensionField1#param; else throw new _in::LateError::fieldAI("lateExtensionField1"); -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return let final core::int? #t6 = self::_#Extension|lateExtensionField2 in #t6 == null ?{core::int} throw new _in::LateError::fieldNI("lateExtensionField2") : #t6{core::int}; -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2 == null) self::_#Extension|lateExtensionField2 = lateExtensionField2#param; else throw new _in::LateError::fieldAI("lateExtensionField2"); -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.expect b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.expect index 461731df8c2..44b39d702c8 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.expect @@ -79,25 +79,25 @@ static set lateTopLevelField(core::int lateTopLevelField#param) → void self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return self::_#Extension|lateExtensionField1#isSet ?{core::int} let final core::int? #t5 = self::_#Extension|lateExtensionField1 in #t5{core::int} : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1#isSet) throw new _in::LateError::fieldAI("lateExtensionField1"); else { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return self::_#Extension|lateExtensionField2#isSet ?{core::int} let final core::int? #t6 = self::_#Extension|lateExtensionField2 in #t6{core::int} : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2#isSet) throw new _in::LateError::fieldAI("lateExtensionField2"); else { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.modular.expect index 461731df8c2..44b39d702c8 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.modular.expect @@ -79,25 +79,25 @@ static set lateTopLevelField(core::int lateTopLevelField#param) → void self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return self::_#Extension|lateExtensionField1#isSet ?{core::int} let final core::int? #t5 = self::_#Extension|lateExtensionField1 in #t5{core::int} : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1#isSet) throw new _in::LateError::fieldAI("lateExtensionField1"); else { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return self::_#Extension|lateExtensionField2#isSet ?{core::int} let final core::int? #t6 = self::_#Extension|lateExtensionField2 in #t6{core::int} : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2#isSet) throw new _in::LateError::fieldAI("lateExtensionField2"); else { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.outline.expect index 2c3d5d0aa71..91ea042e051 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.outline.expect @@ -41,11 +41,11 @@ static field core::int? _#Extension|lateExtensionField2; static field core::bool _#Extension|lateExtensionField2#isSet; static get lateTopLevelField() → core::int; static set lateTopLevelField(core::int lateTopLevelField#param) → void; -static get Extension|lateExtensionField1() → core::int; -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void; -static get Extension|lateExtensionField2() → core::int; -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void; -static method Extension|staticMethod() → dynamic +static extension-member get Extension|lateExtensionField1() → core::int; +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void; +static extension-member get Extension|lateExtensionField2() → core::int; +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void; +static extension-member method Extension|staticMethod() → dynamic ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.transformed.expect index 461731df8c2..44b39d702c8 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_field_without_initializer.dart.weak.transformed.expect @@ -79,25 +79,25 @@ static set lateTopLevelField(core::int lateTopLevelField#param) → void self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int +static extension-member get Extension|lateExtensionField1() → core::int return self::_#Extension|lateExtensionField1#isSet ?{core::int} let final core::int? #t5 = self::_#Extension|lateExtensionField1 in #t5{core::int} : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1#isSet) throw new _in::LateError::fieldAI("lateExtensionField1"); else { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int +static extension-member get Extension|lateExtensionField2() → core::int return self::_#Extension|lateExtensionField2#isSet ?{core::int} let final core::int? #t6 = self::_#Extension|lateExtensionField2 in #t6{core::int} : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2#isSet) throw new _in::LateError::fieldAI("lateExtensionField2"); else { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.strong.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.strong.expect index bc4d686572d..6a60d677afd 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.strong.expect @@ -121,10 +121,10 @@ static get lateTopLevelField1() → core::int? { } return self::_#lateTopLevelField1; } -static method Extension|initLateExtensionField1(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int? { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { final core::int? #t6 = self::Extension|initLateExtensionField1(87); if(self::_#Extension|lateExtensionField1#isSet) @@ -134,10 +134,10 @@ static get Extension|lateExtensionField1() → core::int? { } return self::_#Extension|lateExtensionField1; } -static method Extension|initLateExtensionField2(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int? { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { final core::int? #t7 = self::Extension|initLateExtensionField2(42); if(self::_#Extension|lateExtensionField2#isSet) @@ -147,7 +147,7 @@ static get Extension|lateExtensionField2() → core::int? { } return self::_#Extension|lateExtensionField2; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.strong.transformed.expect index bc4d686572d..6a60d677afd 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.strong.transformed.expect @@ -121,10 +121,10 @@ static get lateTopLevelField1() → core::int? { } return self::_#lateTopLevelField1; } -static method Extension|initLateExtensionField1(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int? { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { final core::int? #t6 = self::Extension|initLateExtensionField1(87); if(self::_#Extension|lateExtensionField1#isSet) @@ -134,10 +134,10 @@ static get Extension|lateExtensionField1() → core::int? { } return self::_#Extension|lateExtensionField1; } -static method Extension|initLateExtensionField2(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int? { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { final core::int? #t7 = self::Extension|initLateExtensionField2(42); if(self::_#Extension|lateExtensionField2#isSet) @@ -147,7 +147,7 @@ static get Extension|lateExtensionField2() → core::int? { } return self::_#Extension|lateExtensionField2; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.expect index bc4d686572d..6a60d677afd 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.expect @@ -121,10 +121,10 @@ static get lateTopLevelField1() → core::int? { } return self::_#lateTopLevelField1; } -static method Extension|initLateExtensionField1(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int? { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { final core::int? #t6 = self::Extension|initLateExtensionField1(87); if(self::_#Extension|lateExtensionField1#isSet) @@ -134,10 +134,10 @@ static get Extension|lateExtensionField1() → core::int? { } return self::_#Extension|lateExtensionField1; } -static method Extension|initLateExtensionField2(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int? { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { final core::int? #t7 = self::Extension|initLateExtensionField2(42); if(self::_#Extension|lateExtensionField2#isSet) @@ -147,7 +147,7 @@ static get Extension|lateExtensionField2() → core::int? { } return self::_#Extension|lateExtensionField2; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.modular.expect index bc4d686572d..6a60d677afd 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.modular.expect @@ -121,10 +121,10 @@ static get lateTopLevelField1() → core::int? { } return self::_#lateTopLevelField1; } -static method Extension|initLateExtensionField1(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int? { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { final core::int? #t6 = self::Extension|initLateExtensionField1(87); if(self::_#Extension|lateExtensionField1#isSet) @@ -134,10 +134,10 @@ static get Extension|lateExtensionField1() → core::int? { } return self::_#Extension|lateExtensionField1; } -static method Extension|initLateExtensionField2(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int? { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { final core::int? #t7 = self::Extension|initLateExtensionField2(42); if(self::_#Extension|lateExtensionField2#isSet) @@ -147,7 +147,7 @@ static get Extension|lateExtensionField2() → core::int? { } return self::_#Extension|lateExtensionField2; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.outline.expect index 2a365eeac1a..a60dd5c511f 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.outline.expect @@ -60,13 +60,13 @@ static field core::bool _#Extension|lateExtensionField2#isSet; static method initLateTopLevelField1(core::int value) → core::int? ; static get lateTopLevelField1() → core::int?; -static method Extension|initLateExtensionField1(core::int value) → core::int? +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int? ; -static get Extension|lateExtensionField1() → core::int?; -static method Extension|initLateExtensionField2(core::int value) → core::int? +static extension-member get Extension|lateExtensionField1() → core::int?; +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int? ; -static get Extension|lateExtensionField2() → core::int?; -static method Extension|staticMethod() → dynamic +static extension-member get Extension|lateExtensionField2() → core::int?; +static extension-member method Extension|staticMethod() → dynamic ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.transformed.expect index bc4d686572d..6a60d677afd 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_with_initializer.dart.weak.transformed.expect @@ -121,10 +121,10 @@ static get lateTopLevelField1() → core::int? { } return self::_#lateTopLevelField1; } -static method Extension|initLateExtensionField1(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField1(core::int value) → core::int? { return self::Extension|lateExtensionField1Init = value; } -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { final core::int? #t6 = self::Extension|initLateExtensionField1(87); if(self::_#Extension|lateExtensionField1#isSet) @@ -134,10 +134,10 @@ static get Extension|lateExtensionField1() → core::int? { } return self::_#Extension|lateExtensionField1; } -static method Extension|initLateExtensionField2(core::int value) → core::int? { +static extension-member method Extension|initLateExtensionField2(core::int value) → core::int? { return self::Extension|lateExtensionField2Init = value; } -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { final core::int? #t7 = self::Extension|initLateExtensionField2(42); if(self::_#Extension|lateExtensionField2#isSet) @@ -147,7 +147,7 @@ static get Extension|lateExtensionField2() → core::int? { } return self::_#Extension|lateExtensionField2; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(null, self::Extension|lateExtensionField2Init); self::expect(42, self::Extension|lateExtensionField2); self::expect(42, self::Extension|lateExtensionField2Init); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.strong.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.strong.expect index 9340cfdebb1..3dbd122118c 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.strong.expect @@ -94,25 +94,25 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1#isSet) throw new _in::LateError::fieldAI("lateExtensionField1"); else { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2#isSet) throw new _in::LateError::fieldAI("lateExtensionField2"); else { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.strong.transformed.expect index 9340cfdebb1..3dbd122118c 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.strong.transformed.expect @@ -94,25 +94,25 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1#isSet) throw new _in::LateError::fieldAI("lateExtensionField1"); else { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2#isSet) throw new _in::LateError::fieldAI("lateExtensionField2"); else { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.expect index 9340cfdebb1..3dbd122118c 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.expect @@ -94,25 +94,25 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1#isSet) throw new _in::LateError::fieldAI("lateExtensionField1"); else { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2#isSet) throw new _in::LateError::fieldAI("lateExtensionField2"); else { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.modular.expect index 9340cfdebb1..3dbd122118c 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.modular.expect @@ -94,25 +94,25 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1#isSet) throw new _in::LateError::fieldAI("lateExtensionField1"); else { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2#isSet) throw new _in::LateError::fieldAI("lateExtensionField2"); else { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.outline.expect index e918fab3fa3..773f637ef0a 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.outline.expect @@ -45,11 +45,11 @@ static field core::int? _#Extension|lateExtensionField2; static field core::bool _#Extension|lateExtensionField2#isSet; static get lateTopLevelField() → core::int?; static set lateTopLevelField(core::int? lateTopLevelField#param) → void; -static get Extension|lateExtensionField1() → core::int?; -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void; -static get Extension|lateExtensionField2() → core::int?; -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void; -static method Extension|staticMethod() → dynamic +static extension-member get Extension|lateExtensionField1() → core::int?; +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void; +static extension-member get Extension|lateExtensionField2() → core::int?; +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void; +static extension-member method Extension|staticMethod() → dynamic ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.transformed.expect index 9340cfdebb1..3dbd122118c 100644 --- a/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_final_nullable_field_without_initializer.dart.weak.transformed.expect @@ -94,25 +94,25 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void if(self::_#Extension|lateExtensionField1#isSet) throw new _in::LateError::fieldAI("lateExtensionField1"); else { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void if(self::_#Extension|lateExtensionField2#isSet) throw new _in::LateError::fieldAI("lateExtensionField2"); else { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.strong.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.strong.expect index 091e0cabb3c..6f56540ba44 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.strong.expect @@ -113,33 +113,33 @@ static set lateTopLevelField1(core::int? lateTopLevelField1#param) → void { self::_#lateTopLevelField1#isSet = true; self::_#lateTopLevelField1 = lateTopLevelField1#param; } -static method Extension|lateExtensionField1Init() → core::int? +static extension-member method Extension|lateExtensionField1Init() → core::int? return 87; -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { self::_#Extension|lateExtensionField1 = self::Extension|lateExtensionField1Init(); self::_#Extension|lateExtensionField1#isSet = true; } return self::_#Extension|lateExtensionField1; } -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static method Extension|lateExtensionField2Init() → core::int? +static extension-member method Extension|lateExtensionField2Init() → core::int? return 42; -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { self::_#Extension|lateExtensionField2 = self::Extension|lateExtensionField2Init(); self::_#Extension|lateExtensionField2#isSet = true; } return self::_#Extension|lateExtensionField2; } -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.strong.transformed.expect index 091e0cabb3c..6f56540ba44 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.strong.transformed.expect @@ -113,33 +113,33 @@ static set lateTopLevelField1(core::int? lateTopLevelField1#param) → void { self::_#lateTopLevelField1#isSet = true; self::_#lateTopLevelField1 = lateTopLevelField1#param; } -static method Extension|lateExtensionField1Init() → core::int? +static extension-member method Extension|lateExtensionField1Init() → core::int? return 87; -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { self::_#Extension|lateExtensionField1 = self::Extension|lateExtensionField1Init(); self::_#Extension|lateExtensionField1#isSet = true; } return self::_#Extension|lateExtensionField1; } -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static method Extension|lateExtensionField2Init() → core::int? +static extension-member method Extension|lateExtensionField2Init() → core::int? return 42; -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { self::_#Extension|lateExtensionField2 = self::Extension|lateExtensionField2Init(); self::_#Extension|lateExtensionField2#isSet = true; } return self::_#Extension|lateExtensionField2; } -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.expect index 091e0cabb3c..6f56540ba44 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.expect @@ -113,33 +113,33 @@ static set lateTopLevelField1(core::int? lateTopLevelField1#param) → void { self::_#lateTopLevelField1#isSet = true; self::_#lateTopLevelField1 = lateTopLevelField1#param; } -static method Extension|lateExtensionField1Init() → core::int? +static extension-member method Extension|lateExtensionField1Init() → core::int? return 87; -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { self::_#Extension|lateExtensionField1 = self::Extension|lateExtensionField1Init(); self::_#Extension|lateExtensionField1#isSet = true; } return self::_#Extension|lateExtensionField1; } -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static method Extension|lateExtensionField2Init() → core::int? +static extension-member method Extension|lateExtensionField2Init() → core::int? return 42; -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { self::_#Extension|lateExtensionField2 = self::Extension|lateExtensionField2Init(); self::_#Extension|lateExtensionField2#isSet = true; } return self::_#Extension|lateExtensionField2; } -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.modular.expect index 091e0cabb3c..6f56540ba44 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.modular.expect @@ -113,33 +113,33 @@ static set lateTopLevelField1(core::int? lateTopLevelField1#param) → void { self::_#lateTopLevelField1#isSet = true; self::_#lateTopLevelField1 = lateTopLevelField1#param; } -static method Extension|lateExtensionField1Init() → core::int? +static extension-member method Extension|lateExtensionField1Init() → core::int? return 87; -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { self::_#Extension|lateExtensionField1 = self::Extension|lateExtensionField1Init(); self::_#Extension|lateExtensionField1#isSet = true; } return self::_#Extension|lateExtensionField1; } -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static method Extension|lateExtensionField2Init() → core::int? +static extension-member method Extension|lateExtensionField2Init() → core::int? return 42; -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { self::_#Extension|lateExtensionField2 = self::Extension|lateExtensionField2Init(); self::_#Extension|lateExtensionField2#isSet = true; } return self::_#Extension|lateExtensionField2; } -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.outline.expect index 9c6d66a2823..155520ad4b7 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.outline.expect @@ -58,15 +58,15 @@ static method lateTopLevelField1Init() → core::int? ; static get lateTopLevelField1() → core::int?; static set lateTopLevelField1(core::int? lateTopLevelField1#param) → void; -static method Extension|lateExtensionField1Init() → core::int? +static extension-member method Extension|lateExtensionField1Init() → core::int? ; -static get Extension|lateExtensionField1() → core::int?; -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void; -static method Extension|lateExtensionField2Init() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int?; +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void; +static extension-member method Extension|lateExtensionField2Init() → core::int? ; -static get Extension|lateExtensionField2() → core::int?; -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void; -static method Extension|staticMethod() → dynamic +static extension-member get Extension|lateExtensionField2() → core::int?; +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void; +static extension-member method Extension|staticMethod() → dynamic ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.transformed.expect index 091e0cabb3c..6f56540ba44 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_with_initializer.dart.weak.transformed.expect @@ -113,33 +113,33 @@ static set lateTopLevelField1(core::int? lateTopLevelField1#param) → void { self::_#lateTopLevelField1#isSet = true; self::_#lateTopLevelField1 = lateTopLevelField1#param; } -static method Extension|lateExtensionField1Init() → core::int? +static extension-member method Extension|lateExtensionField1Init() → core::int? return 87; -static get Extension|lateExtensionField1() → core::int? { +static extension-member get Extension|lateExtensionField1() → core::int? { if(!self::_#Extension|lateExtensionField1#isSet) { self::_#Extension|lateExtensionField1 = self::Extension|lateExtensionField1Init(); self::_#Extension|lateExtensionField1#isSet = true; } return self::_#Extension|lateExtensionField1; } -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static method Extension|lateExtensionField2Init() → core::int? +static extension-member method Extension|lateExtensionField2Init() → core::int? return 42; -static get Extension|lateExtensionField2() → core::int? { +static extension-member get Extension|lateExtensionField2() → core::int? { if(!self::_#Extension|lateExtensionField2#isSet) { self::_#Extension|lateExtensionField2 = self::Extension|lateExtensionField2Init(); self::_#Extension|lateExtensionField2#isSet = true; } return self::_#Extension|lateExtensionField2; } -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::expect(42, self::Extension|lateExtensionField2); self::Extension|lateExtensionField2 = 43; self::expect(43, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.strong.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.strong.expect index c90b28724c3..7f72f243a0a 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.strong.expect @@ -76,19 +76,19 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void { self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.strong.transformed.expect index c90b28724c3..7f72f243a0a 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.strong.transformed.expect @@ -76,19 +76,19 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void { self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.expect index c90b28724c3..7f72f243a0a 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.expect @@ -76,19 +76,19 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void { self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.modular.expect index c90b28724c3..7f72f243a0a 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.modular.expect @@ -76,19 +76,19 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void { self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.outline.expect index 1e56729ad5d..5b8283c859f 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.outline.expect @@ -45,11 +45,11 @@ static field core::int? _#Extension|lateExtensionField2; static field core::bool _#Extension|lateExtensionField2#isSet; static get lateTopLevelField() → core::int?; static set lateTopLevelField(core::int? lateTopLevelField#param) → void; -static get Extension|lateExtensionField1() → core::int?; -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void; -static get Extension|lateExtensionField2() → core::int?; -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void; -static method Extension|staticMethod() → dynamic +static extension-member get Extension|lateExtensionField1() → core::int?; +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void; +static extension-member get Extension|lateExtensionField2() → core::int?; +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void; +static extension-member method Extension|staticMethod() → dynamic ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.transformed.expect index c90b28724c3..7f72f243a0a 100644 --- a/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/late_nullable_field_without_initializer.dart.weak.transformed.expect @@ -76,19 +76,19 @@ static set lateTopLevelField(core::int? lateTopLevelField#param) → void { self::_#lateTopLevelField#isSet = true; self::_#lateTopLevelField = lateTopLevelField#param; } -static get Extension|lateExtensionField1() → core::int? +static extension-member get Extension|lateExtensionField1() → core::int? return self::_#Extension|lateExtensionField1#isSet ?{core::int?} self::_#Extension|lateExtensionField1 : throw new _in::LateError::fieldNI("lateExtensionField1"); -static set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { +static extension-member set Extension|lateExtensionField1(core::int? lateExtensionField1#param) → void { self::_#Extension|lateExtensionField1#isSet = true; self::_#Extension|lateExtensionField1 = lateExtensionField1#param; } -static get Extension|lateExtensionField2() → core::int? +static extension-member get Extension|lateExtensionField2() → core::int? return self::_#Extension|lateExtensionField2#isSet ?{core::int?} self::_#Extension|lateExtensionField2 : throw new _in::LateError::fieldNI("lateExtensionField2"); -static set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { +static extension-member set Extension|lateExtensionField2(core::int? lateExtensionField2#param) → void { self::_#Extension|lateExtensionField2#isSet = true; self::_#Extension|lateExtensionField2 = lateExtensionField2#param; } -static method Extension|staticMethod() → dynamic { +static extension-member method Extension|staticMethod() → dynamic { self::throws(() → core::int? => self::Extension|lateExtensionField2, "Read value from uninitialized Class.lateExtensionField2"); self::Extension|lateExtensionField2 = 42; self::expect(42, self::Extension|lateExtensionField2); diff --git a/pkg/front_end/testcases/late_lowering/private_members.dart.strong.expect b/pkg/front_end/testcases/late_lowering/private_members.dart.strong.expect index 235a6d329d9..f4e64f8c17c 100644 --- a/pkg/front_end/testcases/late_lowering/private_members.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/private_members.dart.strong.expect @@ -77,33 +77,33 @@ static method main() → dynamic { self::_Extension|_privateFinalField1; self::_Extension|_privateFinalField2; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int return let final core::int? #t3 = self::_#_Extension|_privateField1 in #t3 == null ?{core::int} self::_#_Extension|_privateField1 = 1 : #t3{core::int}; -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void self::_#_Extension|_privateField1 = _privateField1#param; -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { if(!self::_#_Extension|_privateField2#isSet) { self::_#_Extension|_privateField2 = 1; self::_#_Extension|_privateField2#isSet = true; } return self::_#_Extension|_privateField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { self::_#_Extension|_privateField2#isSet = true; self::_#_Extension|_privateField2 = _privateField2#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int return let final core::int? #t4 = self::_#_Extension|_privateFinalField1 in #t4 == null ?{core::int} self::_#_Extension|_privateFinalField1 = 1 : #t4{core::int}; -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void self::_#_Extension|_privateFinalField1 = _privateFinalField1#param; -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { if(!self::_#_Extension|_privateFinalField2#isSet) { self::_#_Extension|_privateFinalField2 = 1; self::_#_Extension|_privateFinalField2#isSet = true; } return self::_#_Extension|_privateFinalField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { self::_#_Extension|_privateFinalField2#isSet = true; self::_#_Extension|_privateFinalField2 = _privateFinalField2#param; } diff --git a/pkg/front_end/testcases/late_lowering/private_members.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/private_members.dart.strong.transformed.expect index 235a6d329d9..f4e64f8c17c 100644 --- a/pkg/front_end/testcases/late_lowering/private_members.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/private_members.dart.strong.transformed.expect @@ -77,33 +77,33 @@ static method main() → dynamic { self::_Extension|_privateFinalField1; self::_Extension|_privateFinalField2; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int return let final core::int? #t3 = self::_#_Extension|_privateField1 in #t3 == null ?{core::int} self::_#_Extension|_privateField1 = 1 : #t3{core::int}; -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void self::_#_Extension|_privateField1 = _privateField1#param; -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { if(!self::_#_Extension|_privateField2#isSet) { self::_#_Extension|_privateField2 = 1; self::_#_Extension|_privateField2#isSet = true; } return self::_#_Extension|_privateField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { self::_#_Extension|_privateField2#isSet = true; self::_#_Extension|_privateField2 = _privateField2#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int return let final core::int? #t4 = self::_#_Extension|_privateFinalField1 in #t4 == null ?{core::int} self::_#_Extension|_privateFinalField1 = 1 : #t4{core::int}; -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void self::_#_Extension|_privateFinalField1 = _privateFinalField1#param; -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { if(!self::_#_Extension|_privateFinalField2#isSet) { self::_#_Extension|_privateFinalField2 = 1; self::_#_Extension|_privateFinalField2#isSet = true; } return self::_#_Extension|_privateFinalField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { self::_#_Extension|_privateFinalField2#isSet = true; self::_#_Extension|_privateFinalField2 = _privateFinalField2#param; } diff --git a/pkg/front_end/testcases/late_lowering/private_members.dart.weak.expect b/pkg/front_end/testcases/late_lowering/private_members.dart.weak.expect index 769d4aab63d..92589ba062a 100644 --- a/pkg/front_end/testcases/late_lowering/private_members.dart.weak.expect +++ b/pkg/front_end/testcases/late_lowering/private_members.dart.weak.expect @@ -97,47 +97,47 @@ static method main() → dynamic { self::_Extension|_privateFinalField1; self::_Extension|_privateFinalField2; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int { if(!self::_#_Extension|_privateField1#isSet) { self::_#_Extension|_privateField1 = 1; self::_#_Extension|_privateField1#isSet = true; } return let final core::int? #t3 = self::_#_Extension|_privateField1 in #t3{core::int}; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void { self::_#_Extension|_privateField1#isSet = true; self::_#_Extension|_privateField1 = _privateField1#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { if(!self::_#_Extension|_privateField2#isSet) { self::_#_Extension|_privateField2 = 1; self::_#_Extension|_privateField2#isSet = true; } return self::_#_Extension|_privateField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { self::_#_Extension|_privateField2#isSet = true; self::_#_Extension|_privateField2 = _privateField2#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int { if(!self::_#_Extension|_privateFinalField1#isSet) { self::_#_Extension|_privateFinalField1 = 1; self::_#_Extension|_privateFinalField1#isSet = true; } return let final core::int? #t4 = self::_#_Extension|_privateFinalField1 in #t4{core::int}; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void { self::_#_Extension|_privateFinalField1#isSet = true; self::_#_Extension|_privateFinalField1 = _privateFinalField1#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { if(!self::_#_Extension|_privateFinalField2#isSet) { self::_#_Extension|_privateFinalField2 = 1; self::_#_Extension|_privateFinalField2#isSet = true; } return self::_#_Extension|_privateFinalField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { self::_#_Extension|_privateFinalField2#isSet = true; self::_#_Extension|_privateFinalField2 = _privateFinalField2#param; } diff --git a/pkg/front_end/testcases/late_lowering/private_members.dart.weak.modular.expect b/pkg/front_end/testcases/late_lowering/private_members.dart.weak.modular.expect index 769d4aab63d..92589ba062a 100644 --- a/pkg/front_end/testcases/late_lowering/private_members.dart.weak.modular.expect +++ b/pkg/front_end/testcases/late_lowering/private_members.dart.weak.modular.expect @@ -97,47 +97,47 @@ static method main() → dynamic { self::_Extension|_privateFinalField1; self::_Extension|_privateFinalField2; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int { if(!self::_#_Extension|_privateField1#isSet) { self::_#_Extension|_privateField1 = 1; self::_#_Extension|_privateField1#isSet = true; } return let final core::int? #t3 = self::_#_Extension|_privateField1 in #t3{core::int}; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void { self::_#_Extension|_privateField1#isSet = true; self::_#_Extension|_privateField1 = _privateField1#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { if(!self::_#_Extension|_privateField2#isSet) { self::_#_Extension|_privateField2 = 1; self::_#_Extension|_privateField2#isSet = true; } return self::_#_Extension|_privateField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { self::_#_Extension|_privateField2#isSet = true; self::_#_Extension|_privateField2 = _privateField2#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int { if(!self::_#_Extension|_privateFinalField1#isSet) { self::_#_Extension|_privateFinalField1 = 1; self::_#_Extension|_privateFinalField1#isSet = true; } return let final core::int? #t4 = self::_#_Extension|_privateFinalField1 in #t4{core::int}; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void { self::_#_Extension|_privateFinalField1#isSet = true; self::_#_Extension|_privateFinalField1 = _privateFinalField1#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { if(!self::_#_Extension|_privateFinalField2#isSet) { self::_#_Extension|_privateFinalField2 = 1; self::_#_Extension|_privateFinalField2#isSet = true; } return self::_#_Extension|_privateFinalField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { self::_#_Extension|_privateFinalField2#isSet = true; self::_#_Extension|_privateFinalField2 = _privateFinalField2#param; } diff --git a/pkg/front_end/testcases/late_lowering/private_members.dart.weak.outline.expect b/pkg/front_end/testcases/late_lowering/private_members.dart.weak.outline.expect index 69bf35fb2a2..6cd8e45c030 100644 --- a/pkg/front_end/testcases/late_lowering/private_members.dart.weak.outline.expect +++ b/pkg/front_end/testcases/late_lowering/private_members.dart.weak.outline.expect @@ -51,11 +51,11 @@ static field core::int? _#_Extension|_privateFinalField2 /* from org-dartlang-te static field core::bool _#_Extension|_privateFinalField2#isSet /* from org-dartlang-testcase:///private_members_part.dart */; static method main() → dynamic ; -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int; -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void; -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int?; -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void; -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int; -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void; -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int?; -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void; +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int; +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void; +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int?; +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void; +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int; +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void; +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int?; +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void; diff --git a/pkg/front_end/testcases/late_lowering/private_members.dart.weak.transformed.expect b/pkg/front_end/testcases/late_lowering/private_members.dart.weak.transformed.expect index 769d4aab63d..92589ba062a 100644 --- a/pkg/front_end/testcases/late_lowering/private_members.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/private_members.dart.weak.transformed.expect @@ -97,47 +97,47 @@ static method main() → dynamic { self::_Extension|_privateFinalField1; self::_Extension|_privateFinalField2; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1() → core::int { if(!self::_#_Extension|_privateField1#isSet) { self::_#_Extension|_privateField1 = 1; self::_#_Extension|_privateField1#isSet = true; } return let final core::int? #t3 = self::_#_Extension|_privateField1 in #t3{core::int}; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField1(core::int _privateField1#param) → void { self::_#_Extension|_privateField1#isSet = true; self::_#_Extension|_privateField1 = _privateField1#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2() → core::int? { if(!self::_#_Extension|_privateField2#isSet) { self::_#_Extension|_privateField2 = 1; self::_#_Extension|_privateField2#isSet = true; } return self::_#_Extension|_privateField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateField2(core::int? _privateField2#param) → void { self::_#_Extension|_privateField2#isSet = true; self::_#_Extension|_privateField2 = _privateField2#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1() → core::int { if(!self::_#_Extension|_privateFinalField1#isSet) { self::_#_Extension|_privateFinalField1 = 1; self::_#_Extension|_privateFinalField1#isSet = true; } return let final core::int? #t4 = self::_#_Extension|_privateFinalField1 in #t4{core::int}; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField1(core::int _privateFinalField1#param) → void { self::_#_Extension|_privateFinalField1#isSet = true; self::_#_Extension|_privateFinalField1 = _privateFinalField1#param; } -static get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { +static extension-member get /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2() → core::int? { if(!self::_#_Extension|_privateFinalField2#isSet) { self::_#_Extension|_privateFinalField2 = 1; self::_#_Extension|_privateFinalField2#isSet = true; } return self::_#_Extension|_privateFinalField2; } -static set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { +static extension-member set /* from org-dartlang-testcase:///private_members_part.dart */ _Extension|_privateFinalField2(core::int? _privateFinalField2#param) → void { self::_#_Extension|_privateFinalField2#isSet = true; self::_#_Extension|_privateFinalField2 = _privateFinalField2#param; } diff --git a/pkg/front_end/testcases/macros/extension_scope.dart.strong.expect b/pkg/front_end/testcases/macros/extension_scope.dart.strong.expect index 15a55aac2da..b1426b7137a 100644 --- a/pkg/front_end/testcases/macros/extension_scope.dart.strong.expect +++ b/pkg/front_end/testcases/macros/extension_scope.dart.strong.expect @@ -221,17 +221,17 @@ static method _method(ext::Class c) → void { ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _method1(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -247,17 +247,17 @@ static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _method2(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -273,15 +273,15 @@ static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); diff --git a/pkg/front_end/testcases/macros/extension_scope.dart.strong.transformed.expect b/pkg/front_end/testcases/macros/extension_scope.dart.strong.transformed.expect index 15a55aac2da..b1426b7137a 100644 --- a/pkg/front_end/testcases/macros/extension_scope.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/macros/extension_scope.dart.strong.transformed.expect @@ -221,17 +221,17 @@ static method _method(ext::Class c) → void { ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _method1(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -247,17 +247,17 @@ static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _method2(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -273,15 +273,15 @@ static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); diff --git a/pkg/front_end/testcases/macros/extension_scope.dart.weak.expect b/pkg/front_end/testcases/macros/extension_scope.dart.weak.expect index 15a55aac2da..b1426b7137a 100644 --- a/pkg/front_end/testcases/macros/extension_scope.dart.weak.expect +++ b/pkg/front_end/testcases/macros/extension_scope.dart.weak.expect @@ -221,17 +221,17 @@ static method _method(ext::Class c) → void { ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _method1(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -247,17 +247,17 @@ static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _method2(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -273,15 +273,15 @@ static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); diff --git a/pkg/front_end/testcases/macros/extension_scope.dart.weak.modular.expect b/pkg/front_end/testcases/macros/extension_scope.dart.weak.modular.expect index 15a55aac2da..b1426b7137a 100644 --- a/pkg/front_end/testcases/macros/extension_scope.dart.weak.modular.expect +++ b/pkg/front_end/testcases/macros/extension_scope.dart.weak.modular.expect @@ -221,17 +221,17 @@ static method _method(ext::Class c) → void { ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _method1(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -247,17 +247,17 @@ static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _method2(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -273,15 +273,15 @@ static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); diff --git a/pkg/front_end/testcases/macros/extension_scope.dart.weak.outline.expect b/pkg/front_end/testcases/macros/extension_scope.dart.weak.outline.expect index 0aedd491dcc..f18eeaa7a4a 100644 --- a/pkg/front_end/testcases/macros/extension_scope.dart.weak.outline.expect +++ b/pkg/front_end/testcases/macros/extension_scope.dart.weak.outline.expect @@ -66,55 +66,55 @@ extension /* unnamed */ _extension#5 on ext::Class { } static method _method(ext::Class c) → void ; -static method Extension|namedExtensionMethod(lowered final ext::Class #this) → void +static extension-member method Extension|namedExtensionMethod(lowered final ext::Class #this) → void ; -static method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void ; -static method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void ; -static method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void ; -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _method1(ext::Class c) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _method2(ext::Class c) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void ; -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); diff --git a/pkg/front_end/testcases/macros/extension_scope.dart.weak.transformed.expect b/pkg/front_end/testcases/macros/extension_scope.dart.weak.transformed.expect index 15a55aac2da..b1426b7137a 100644 --- a/pkg/front_end/testcases/macros/extension_scope.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/macros/extension_scope.dart.weak.transformed.expect @@ -221,17 +221,17 @@ static method _method(ext::Class c) → void { ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} -static method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|namedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#namedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|namedExtensionMethod(#this); -static method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method Extension|_namedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method Extension|get#_namedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::Extension|_namedExtensionPrivateMethod(#this); -static method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|unnamedExtensionMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#unnamedExtensionMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|unnamedExtensionMethod(#this); -static method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} -static method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void +static extension-member method _extension#5|_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → void {} +static extension-member method _extension#5|get#_unnamedExtensionPrivateMethod(lowered final ext::Class #this) → () → void return () → void => ext::_extension#5|_unnamedExtensionPrivateMethod(#this); static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _method1(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -247,17 +247,17 @@ static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|namedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#namedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|namedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ NamedInjectedExtension1|get#_namedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension1|_namedInjectedExtensionPrivateMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#unnamedInjectedExtensionMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|unnamedInjectedExtensionMethod1(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib1.dart */ _extension#1|get#_unnamedInjectedExtensionPrivateMethod1(lowered final ext::Class #this) → () → void return () → void => ext::_extension#1|_unnamedInjectedExtensionPrivateMethod1(#this); static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _method2(ext::Class c) → void { ext::Extension|namedExtensionMethod(c); @@ -273,15 +273,15 @@ static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _met ext::_extension#3|unnamedInjectedExtensionMethod2(c); ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(c); } -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|namedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#namedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|namedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ NamedInjectedExtension2|get#_namedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::NamedInjectedExtension2|_namedInjectedExtensionPrivateMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#unnamedInjectedExtensionMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|unnamedInjectedExtensionMethod2(#this); -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} -static method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → void {} +static extension-member method /* from org-dartlang-testcase:///extension_scope_lib2.dart */ _extension#3|get#_unnamedInjectedExtensionPrivateMethod2(lowered final ext::Class #this) → () → void return () → void => ext::_extension#3|_unnamedInjectedExtensionPrivateMethod2(#this); diff --git a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.strong.expect b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.strong.expect index 354c74c3e1e..03e600edff9 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.strong.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.strong.expect @@ -31,16 +31,16 @@ extension E on self::A { static method staticMethod2 = self::E|staticMethod2; } static method foo(core::int x, core::int y, {required core::int z = #C1}) → dynamic {} -static method E|method1(lowered final self::A #this) → dynamic { +static extension-member method E|method1(lowered final self::A #this) → dynamic { let final self::A #t4 = #this in let final core::int #t5 = 1 in self::E|method2(#t4, 2, foo: #t5); let final core::int #t6 = 1 in self::E|staticMethod2(2, foo: #t6); } -static method E|get#method1(lowered final self::A #this) → () → dynamic +static extension-member method E|get#method1(lowered final self::A #this) → () → dynamic return () → dynamic => self::E|method1(#this); -static method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} -static method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic +static extension-member method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic return (core::int bar, {core::int? foo = #C1}) → dynamic => self::E|method2(#this, bar, foo: foo); -static method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} static method test(dynamic d, core::Function f, self::A a) → dynamic { function local(core::int x, core::int y, {required core::int z = #C1}) → void {} self::foo(1, 2, z: 3); diff --git a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.strong.transformed.expect b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.strong.transformed.expect index 53cf63e3fd8..5928227b04c 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.strong.transformed.expect @@ -31,16 +31,16 @@ extension E on self::A { static method staticMethod2 = self::E|staticMethod2; } static method foo(core::int x, core::int y, {required core::int z = #C1}) → dynamic {} -static method E|method1(lowered final self::A #this) → dynamic { +static extension-member method E|method1(lowered final self::A #this) → dynamic { let final self::A #t4 = #this in let final core::int #t5 = 1 in self::E|method2(#t4, 2, foo: #t5); let final core::int #t6 = 1 in self::E|staticMethod2(2, foo: #t6); } -static method E|get#method1(lowered final self::A #this) → () → dynamic +static extension-member method E|get#method1(lowered final self::A #this) → () → dynamic return () → dynamic => self::E|method1(#this); -static method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} -static method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic +static extension-member method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic return (core::int bar, {core::int? foo = #C1}) → dynamic => self::E|method2(#this, bar, foo: foo); -static method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} static method test(dynamic d, core::Function f, self::A a) → dynamic { function local(core::int x, core::int y, {required core::int z = #C1}) → void {} self::foo(1, 2, z: 3); diff --git a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.expect b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.expect index 354c74c3e1e..03e600edff9 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.expect @@ -31,16 +31,16 @@ extension E on self::A { static method staticMethod2 = self::E|staticMethod2; } static method foo(core::int x, core::int y, {required core::int z = #C1}) → dynamic {} -static method E|method1(lowered final self::A #this) → dynamic { +static extension-member method E|method1(lowered final self::A #this) → dynamic { let final self::A #t4 = #this in let final core::int #t5 = 1 in self::E|method2(#t4, 2, foo: #t5); let final core::int #t6 = 1 in self::E|staticMethod2(2, foo: #t6); } -static method E|get#method1(lowered final self::A #this) → () → dynamic +static extension-member method E|get#method1(lowered final self::A #this) → () → dynamic return () → dynamic => self::E|method1(#this); -static method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} -static method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic +static extension-member method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic return (core::int bar, {core::int? foo = #C1}) → dynamic => self::E|method2(#this, bar, foo: foo); -static method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} static method test(dynamic d, core::Function f, self::A a) → dynamic { function local(core::int x, core::int y, {required core::int z = #C1}) → void {} self::foo(1, 2, z: 3); diff --git a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.modular.expect b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.modular.expect index 354c74c3e1e..03e600edff9 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.modular.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.modular.expect @@ -31,16 +31,16 @@ extension E on self::A { static method staticMethod2 = self::E|staticMethod2; } static method foo(core::int x, core::int y, {required core::int z = #C1}) → dynamic {} -static method E|method1(lowered final self::A #this) → dynamic { +static extension-member method E|method1(lowered final self::A #this) → dynamic { let final self::A #t4 = #this in let final core::int #t5 = 1 in self::E|method2(#t4, 2, foo: #t5); let final core::int #t6 = 1 in self::E|staticMethod2(2, foo: #t6); } -static method E|get#method1(lowered final self::A #this) → () → dynamic +static extension-member method E|get#method1(lowered final self::A #this) → () → dynamic return () → dynamic => self::E|method1(#this); -static method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} -static method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic +static extension-member method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic return (core::int bar, {core::int? foo = #C1}) → dynamic => self::E|method2(#this, bar, foo: foo); -static method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} static method test(dynamic d, core::Function f, self::A a) → dynamic { function local(core::int x, core::int y, {required core::int z = #C1}) → void {} self::foo(1, 2, z: 3); diff --git a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.outline.expect b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.outline.expect index 431fc9dca87..33b70dfb4ef 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.outline.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.outline.expect @@ -28,15 +28,15 @@ extension E on self::A { } static method foo(core::int x, core::int y, {required core::int z}) → dynamic ; -static method E|method1(lowered final self::A #this) → dynamic +static extension-member method E|method1(lowered final self::A #this) → dynamic ; -static method E|get#method1(lowered final self::A #this) → () → dynamic +static extension-member method E|get#method1(lowered final self::A #this) → () → dynamic return () → dynamic => self::E|method1(#this); -static method E|method2(lowered final self::A #this, core::int bar, {core::int? foo}) → dynamic +static extension-member method E|method2(lowered final self::A #this, core::int bar, {core::int? foo}) → dynamic ; -static method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic +static extension-member method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic return (core::int bar, {core::int? foo}) → dynamic => self::E|method2(#this, bar, foo: foo); -static method E|staticMethod2(core::int bar, {core::int? foo}) → dynamic +static extension-member method E|staticMethod2(core::int bar, {core::int? foo}) → dynamic ; static method test(dynamic d, core::Function f, self::A a) → dynamic ; diff --git a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.transformed.expect b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.transformed.expect index 53cf63e3fd8..5928227b04c 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/all_kinds.dart.weak.transformed.expect @@ -31,16 +31,16 @@ extension E on self::A { static method staticMethod2 = self::E|staticMethod2; } static method foo(core::int x, core::int y, {required core::int z = #C1}) → dynamic {} -static method E|method1(lowered final self::A #this) → dynamic { +static extension-member method E|method1(lowered final self::A #this) → dynamic { let final self::A #t4 = #this in let final core::int #t5 = 1 in self::E|method2(#t4, 2, foo: #t5); let final core::int #t6 = 1 in self::E|staticMethod2(2, foo: #t6); } -static method E|get#method1(lowered final self::A #this) → () → dynamic +static extension-member method E|get#method1(lowered final self::A #this) → () → dynamic return () → dynamic => self::E|method1(#this); -static method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} -static method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic +static extension-member method E|method2(lowered final self::A #this, core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|get#method2(lowered final self::A #this) → (core::int, {foo: core::int?}) → dynamic return (core::int bar, {core::int? foo = #C1}) → dynamic => self::E|method2(#this, bar, foo: foo); -static method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} +static extension-member method E|staticMethod2(core::int bar, {core::int? foo = #C1}) → dynamic {} static method test(dynamic d, core::Function f, self::A a) → dynamic { function local(core::int x, core::int y, {required core::int z = #C1}) → void {} self::foo(1, 2, z: 3); diff --git a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.strong.expect b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.strong.expect index 5d3df89f0ca..a807eecea81 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.strong.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.strong.expect @@ -13,7 +13,7 @@ extension SuetaExtension on self::Sueta { } static method main(core::List arguments) → void {} static method test(core::int positional, {core::int named1 = #C1, core::int named2 = #C1}) → void {} -static method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} +static extension-member method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} static method test1() → void { let final core::int #t1 = 0 in self::test(1, named1: #t1, named2: 0); } diff --git a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.strong.transformed.expect b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.strong.transformed.expect index 40204af73b2..eee457005bc 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.strong.transformed.expect @@ -13,7 +13,7 @@ extension SuetaExtension on self::Sueta { } static method main(core::List arguments) → void {} static method test(core::int positional, {core::int named1 = #C1, core::int named2 = #C1}) → void {} -static method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} +static extension-member method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} static method test1() → void { let final core::int #t1 = 0 in self::test(1, named1: #t1, named2: 0); } diff --git a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.expect b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.expect index 5d3df89f0ca..a807eecea81 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.expect @@ -13,7 +13,7 @@ extension SuetaExtension on self::Sueta { } static method main(core::List arguments) → void {} static method test(core::int positional, {core::int named1 = #C1, core::int named2 = #C1}) → void {} -static method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} +static extension-member method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} static method test1() → void { let final core::int #t1 = 0 in self::test(1, named1: #t1, named2: 0); } diff --git a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.modular.expect b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.modular.expect index 5d3df89f0ca..a807eecea81 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.modular.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.modular.expect @@ -13,7 +13,7 @@ extension SuetaExtension on self::Sueta { } static method main(core::List arguments) → void {} static method test(core::int positional, {core::int named1 = #C1, core::int named2 = #C1}) → void {} -static method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} +static extension-member method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} static method test1() → void { let final core::int #t1 = 0 in self::test(1, named1: #t1, named2: 0); } diff --git a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.outline.expect b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.outline.expect index 932f994f0bf..5f0435e9043 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.outline.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.outline.expect @@ -15,7 +15,7 @@ static method main(core::List arguments) → void ; static method test(core::int positional, {has-declared-initializer core::int named1, has-declared-initializer core::int named2}) → void ; -static method SuetaExtension|test(core::int pos, {has-declared-initializer core::int named1, has-declared-initializer core::int named2}) → void +static extension-member method SuetaExtension|test(core::int pos, {has-declared-initializer core::int named1, has-declared-initializer core::int named2}) → void ; static method test1() → void ; diff --git a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.transformed.expect b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.transformed.expect index 40204af73b2..eee457005bc 100644 --- a/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/named_arguments_anywhere/issue50910.dart.weak.transformed.expect @@ -13,7 +13,7 @@ extension SuetaExtension on self::Sueta { } static method main(core::List arguments) → void {} static method test(core::int positional, {core::int named1 = #C1, core::int named2 = #C1}) → void {} -static method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} +static extension-member method SuetaExtension|test(core::int pos, {core::int named1 = #C1, core::int named2 = #C1}) → void {} static method test1() → void { let final core::int #t1 = 0 in self::test(1, named1: #t1, named2: 0); } diff --git a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.strong.expect b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.strong.expect index d025433848e..d2f5cd7a647 100644 --- a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.strong.expect @@ -238,9 +238,9 @@ static final field core::int finalTopLevelField = 0; static const field core::int constField = #C1; static field core::int Extension|extensionStaticField = 0; static final field core::int Extension|finalExtensionStaticField = 0; -static abstract get Extension|extensionInstanceField() → core::int; -static abstract set Extension|extensionInstanceField(core::int #externalFieldValue) → void; -static abstract get Extension|finalExtensionInstanceField() → core::int; +static abstract extension-member get Extension|extensionInstanceField() → core::int; +static abstract extension-member set Extension|extensionInstanceField(core::int #externalFieldValue) → void; +static abstract extension-member get Extension|finalExtensionInstanceField() → core::int; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.strong.transformed.expect index d025433848e..d2f5cd7a647 100644 --- a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.strong.transformed.expect @@ -238,9 +238,9 @@ static final field core::int finalTopLevelField = 0; static const field core::int constField = #C1; static field core::int Extension|extensionStaticField = 0; static final field core::int Extension|finalExtensionStaticField = 0; -static abstract get Extension|extensionInstanceField() → core::int; -static abstract set Extension|extensionInstanceField(core::int #externalFieldValue) → void; -static abstract get Extension|finalExtensionInstanceField() → core::int; +static abstract extension-member get Extension|extensionInstanceField() → core::int; +static abstract extension-member set Extension|extensionInstanceField(core::int #externalFieldValue) → void; +static abstract extension-member get Extension|finalExtensionInstanceField() → core::int; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.expect b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.expect index d025433848e..d2f5cd7a647 100644 --- a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.expect @@ -238,9 +238,9 @@ static final field core::int finalTopLevelField = 0; static const field core::int constField = #C1; static field core::int Extension|extensionStaticField = 0; static final field core::int Extension|finalExtensionStaticField = 0; -static abstract get Extension|extensionInstanceField() → core::int; -static abstract set Extension|extensionInstanceField(core::int #externalFieldValue) → void; -static abstract get Extension|finalExtensionInstanceField() → core::int; +static abstract extension-member get Extension|extensionInstanceField() → core::int; +static abstract extension-member set Extension|extensionInstanceField(core::int #externalFieldValue) → void; +static abstract extension-member get Extension|finalExtensionInstanceField() → core::int; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.modular.expect index d025433848e..d2f5cd7a647 100644 --- a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.modular.expect @@ -238,9 +238,9 @@ static final field core::int finalTopLevelField = 0; static const field core::int constField = #C1; static field core::int Extension|extensionStaticField = 0; static final field core::int Extension|finalExtensionStaticField = 0; -static abstract get Extension|extensionInstanceField() → core::int; -static abstract set Extension|extensionInstanceField(core::int #externalFieldValue) → void; -static abstract get Extension|finalExtensionInstanceField() → core::int; +static abstract extension-member get Extension|extensionInstanceField() → core::int; +static abstract extension-member set Extension|extensionInstanceField(core::int #externalFieldValue) → void; +static abstract extension-member get Extension|finalExtensionInstanceField() → core::int; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.outline.expect index d0395a30d8c..8db38c6acb8 100644 --- a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.outline.expect @@ -206,8 +206,8 @@ static final field core::int finalTopLevelField; static const field core::int constField = 0; static field core::int Extension|extensionStaticField; static final field core::int Extension|finalExtensionStaticField; -static abstract get Extension|extensionInstanceField() → core::int; -static abstract set Extension|extensionInstanceField(core::int #externalFieldValue) → void; -static abstract get Extension|finalExtensionInstanceField() → core::int; +static abstract extension-member get Extension|extensionInstanceField() → core::int; +static abstract extension-member set Extension|extensionInstanceField(core::int #externalFieldValue) → void; +static abstract extension-member get Extension|finalExtensionInstanceField() → core::int; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.transformed.expect index d025433848e..d2f5cd7a647 100644 --- a/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/abstract_field_errors.dart.weak.transformed.expect @@ -238,9 +238,9 @@ static final field core::int finalTopLevelField = 0; static const field core::int constField = #C1; static field core::int Extension|extensionStaticField = 0; static final field core::int Extension|finalExtensionStaticField = 0; -static abstract get Extension|extensionInstanceField() → core::int; -static abstract set Extension|extensionInstanceField(core::int #externalFieldValue) → void; -static abstract get Extension|finalExtensionInstanceField() → core::int; +static abstract extension-member get Extension|extensionInstanceField() → core::int; +static abstract extension-member set Extension|extensionInstanceField(core::int #externalFieldValue) → void; +static abstract extension-member get Extension|finalExtensionInstanceField() → core::int; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.strong.expect b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.strong.expect index 8a75895c454..3f609faf242 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.strong.expect @@ -291,37 +291,37 @@ late static final [setter] field core::int Extension|instanceLateFinalFieldAndSe static final field core::int Extension|instanceDuplicateFieldAndSetter = 1; static final field core::int Extension|instanceFieldAndDuplicateSetter = 1; static final field core::int Extension|instanceDuplicateFieldAndDuplicateSetter = 1; -static method Extension|instanceMethod(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethod(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethod(#this); -static method Extension|get#instanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceGetter(lowered final core::int #this) → core::int return 1; -static method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { +static extension-member method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { self::result = 1; } -static method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter1(#this); -static method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter2(#this); static method test() → dynamic { core::int c = 0; diff --git a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.strong.transformed.expect index 8a75895c454..3f609faf242 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.strong.transformed.expect @@ -291,37 +291,37 @@ late static final [setter] field core::int Extension|instanceLateFinalFieldAndSe static final field core::int Extension|instanceDuplicateFieldAndSetter = 1; static final field core::int Extension|instanceFieldAndDuplicateSetter = 1; static final field core::int Extension|instanceDuplicateFieldAndDuplicateSetter = 1; -static method Extension|instanceMethod(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethod(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethod(#this); -static method Extension|get#instanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceGetter(lowered final core::int #this) → core::int return 1; -static method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { +static extension-member method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { self::result = 1; } -static method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter1(#this); -static method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter2(#this); static method test() → dynamic { core::int c = 0; diff --git a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.expect b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.expect index 8a75895c454..3f609faf242 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.expect @@ -291,37 +291,37 @@ late static final [setter] field core::int Extension|instanceLateFinalFieldAndSe static final field core::int Extension|instanceDuplicateFieldAndSetter = 1; static final field core::int Extension|instanceFieldAndDuplicateSetter = 1; static final field core::int Extension|instanceDuplicateFieldAndDuplicateSetter = 1; -static method Extension|instanceMethod(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethod(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethod(#this); -static method Extension|get#instanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceGetter(lowered final core::int #this) → core::int return 1; -static method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { +static extension-member method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { self::result = 1; } -static method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter1(#this); -static method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter2(#this); static method test() → dynamic { core::int c = 0; diff --git a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.modular.expect index 8a75895c454..3f609faf242 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.modular.expect @@ -291,37 +291,37 @@ late static final [setter] field core::int Extension|instanceLateFinalFieldAndSe static final field core::int Extension|instanceDuplicateFieldAndSetter = 1; static final field core::int Extension|instanceFieldAndDuplicateSetter = 1; static final field core::int Extension|instanceDuplicateFieldAndDuplicateSetter = 1; -static method Extension|instanceMethod(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethod(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethod(#this); -static method Extension|get#instanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceGetter(lowered final core::int #this) → core::int return 1; -static method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { +static extension-member method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { self::result = 1; } -static method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter1(#this); -static method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter2(#this); static method test() → dynamic { core::int c = 0; diff --git a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.outline.expect index 96c63670679..b8815650583 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.outline.expect @@ -196,31 +196,31 @@ late static final [setter] field core::int Extension|instanceLateFinalFieldAndSe static final field core::int Extension|instanceDuplicateFieldAndSetter; static final field core::int Extension|instanceFieldAndDuplicateSetter; static final field core::int Extension|instanceDuplicateFieldAndDuplicateSetter; -static method Extension|instanceMethod(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethod(lowered final core::int #this) → core::int ; -static method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethod(#this); -static method Extension|get#instanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceGetter(lowered final core::int #this) → core::int ; -static method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void +static extension-member method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void ; -static method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void ; -static method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void ; -static method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void ; -static method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int ; -static method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter1(#this); -static method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void ; -static method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void +static extension-member method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void ; -static method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int ; -static method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter2(#this); static method test() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.transformed.expect index 8a75895c454..3f609faf242 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_instance_extension.dart.weak.transformed.expect @@ -291,37 +291,37 @@ late static final [setter] field core::int Extension|instanceLateFinalFieldAndSe static final field core::int Extension|instanceDuplicateFieldAndSetter = 1; static final field core::int Extension|instanceFieldAndDuplicateSetter = 1; static final field core::int Extension|instanceDuplicateFieldAndDuplicateSetter = 1; -static method Extension|instanceMethod(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethod(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethod(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethod(#this); -static method Extension|get#instanceGetter(lowered final core::int #this) → core::int +static extension-member method Extension|get#instanceGetter(lowered final core::int #this) → core::int return 1; -static method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { +static extension-member method Extension|set#instanceSetter(lowered final core::int #this, dynamic value) → void { self::result = 1; } -static method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceDuplicateFieldAndDuplicateSetter(lowered final core::int #this, core::int value) → void { self::result = 3; } -static method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter1(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter1(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter1(#this); -static method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter1(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { +static extension-member method Extension|set#instanceMethodAndSetter2(lowered final core::int #this, core::int value) → void { self::result = 2; } -static method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int +static extension-member method Extension|instanceMethodAndSetter2(lowered final core::int #this) → core::int return 1; -static method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int +static extension-member method Extension|get#instanceMethodAndSetter2(lowered final core::int #this) → () → core::int return () → core::int => self::Extension|instanceMethodAndSetter2(#this); static method test() → dynamic { core::int c = 0; diff --git a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.strong.expect b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.strong.expect index b8abf8c3e0e..79f6ac6e779 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.strong.expect @@ -206,31 +206,31 @@ late static final [setter] field core::int Extension|staticLateFinalFieldAndSett static final field core::int Extension|staticDuplicateFieldAndSetter = 1; static final field core::int Extension|staticFieldAndDuplicateSetter = 1; static final field core::int Extension|staticDuplicateFieldAndDuplicateSetter = 1; -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return 1; -static get Extension|staticGetter() → core::int +static extension-member get Extension|staticGetter() → core::int return 1; -static set Extension|staticSetter(dynamic value) → void { +static extension-member set Extension|staticSetter(dynamic value) → void { self::result = 1; } -static set Extension|staticDuplicateFieldAndSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndSetter(core::int value) → void { self::result = 3; } -static set Extension|staticFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticFieldAndDuplicateSetter(core::int value) → void { self::result = 2; } -static set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { self::result = 3; } -static method Extension|staticMethodAndSetter1() → core::int +static extension-member method Extension|staticMethodAndSetter1() → core::int return 1; -static set Extension|staticMethodAndSetter1(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter1(core::int value) → void { self::result = 2; } -static set Extension|staticMethodAndSetter2(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter2(core::int value) → void { self::result = 2; } -static method Extension|staticMethodAndSetter2() → core::int +static extension-member method Extension|staticMethodAndSetter2() → core::int return 1; static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/duplicates_static_extension.dart:85:13: Error: Can't use 'staticMethod' because it is declared more than once. diff --git a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.strong.transformed.expect index b8abf8c3e0e..79f6ac6e779 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.strong.transformed.expect @@ -206,31 +206,31 @@ late static final [setter] field core::int Extension|staticLateFinalFieldAndSett static final field core::int Extension|staticDuplicateFieldAndSetter = 1; static final field core::int Extension|staticFieldAndDuplicateSetter = 1; static final field core::int Extension|staticDuplicateFieldAndDuplicateSetter = 1; -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return 1; -static get Extension|staticGetter() → core::int +static extension-member get Extension|staticGetter() → core::int return 1; -static set Extension|staticSetter(dynamic value) → void { +static extension-member set Extension|staticSetter(dynamic value) → void { self::result = 1; } -static set Extension|staticDuplicateFieldAndSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndSetter(core::int value) → void { self::result = 3; } -static set Extension|staticFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticFieldAndDuplicateSetter(core::int value) → void { self::result = 2; } -static set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { self::result = 3; } -static method Extension|staticMethodAndSetter1() → core::int +static extension-member method Extension|staticMethodAndSetter1() → core::int return 1; -static set Extension|staticMethodAndSetter1(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter1(core::int value) → void { self::result = 2; } -static set Extension|staticMethodAndSetter2(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter2(core::int value) → void { self::result = 2; } -static method Extension|staticMethodAndSetter2() → core::int +static extension-member method Extension|staticMethodAndSetter2() → core::int return 1; static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/duplicates_static_extension.dart:85:13: Error: Can't use 'staticMethod' because it is declared more than once. diff --git a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.expect b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.expect index b8abf8c3e0e..79f6ac6e779 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.expect @@ -206,31 +206,31 @@ late static final [setter] field core::int Extension|staticLateFinalFieldAndSett static final field core::int Extension|staticDuplicateFieldAndSetter = 1; static final field core::int Extension|staticFieldAndDuplicateSetter = 1; static final field core::int Extension|staticDuplicateFieldAndDuplicateSetter = 1; -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return 1; -static get Extension|staticGetter() → core::int +static extension-member get Extension|staticGetter() → core::int return 1; -static set Extension|staticSetter(dynamic value) → void { +static extension-member set Extension|staticSetter(dynamic value) → void { self::result = 1; } -static set Extension|staticDuplicateFieldAndSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndSetter(core::int value) → void { self::result = 3; } -static set Extension|staticFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticFieldAndDuplicateSetter(core::int value) → void { self::result = 2; } -static set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { self::result = 3; } -static method Extension|staticMethodAndSetter1() → core::int +static extension-member method Extension|staticMethodAndSetter1() → core::int return 1; -static set Extension|staticMethodAndSetter1(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter1(core::int value) → void { self::result = 2; } -static set Extension|staticMethodAndSetter2(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter2(core::int value) → void { self::result = 2; } -static method Extension|staticMethodAndSetter2() → core::int +static extension-member method Extension|staticMethodAndSetter2() → core::int return 1; static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/duplicates_static_extension.dart:85:13: Error: Can't use 'staticMethod' because it is declared more than once. diff --git a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.modular.expect index b8abf8c3e0e..79f6ac6e779 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.modular.expect @@ -206,31 +206,31 @@ late static final [setter] field core::int Extension|staticLateFinalFieldAndSett static final field core::int Extension|staticDuplicateFieldAndSetter = 1; static final field core::int Extension|staticFieldAndDuplicateSetter = 1; static final field core::int Extension|staticDuplicateFieldAndDuplicateSetter = 1; -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return 1; -static get Extension|staticGetter() → core::int +static extension-member get Extension|staticGetter() → core::int return 1; -static set Extension|staticSetter(dynamic value) → void { +static extension-member set Extension|staticSetter(dynamic value) → void { self::result = 1; } -static set Extension|staticDuplicateFieldAndSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndSetter(core::int value) → void { self::result = 3; } -static set Extension|staticFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticFieldAndDuplicateSetter(core::int value) → void { self::result = 2; } -static set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { self::result = 3; } -static method Extension|staticMethodAndSetter1() → core::int +static extension-member method Extension|staticMethodAndSetter1() → core::int return 1; -static set Extension|staticMethodAndSetter1(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter1(core::int value) → void { self::result = 2; } -static set Extension|staticMethodAndSetter2(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter2(core::int value) → void { self::result = 2; } -static method Extension|staticMethodAndSetter2() → core::int +static extension-member method Extension|staticMethodAndSetter2() → core::int return 1; static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/duplicates_static_extension.dart:85:13: Error: Can't use 'staticMethod' because it is declared more than once. diff --git a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.outline.expect index c5ef2586f72..3602c202145 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.outline.expect @@ -138,25 +138,25 @@ late static final [setter] field core::int Extension|staticLateFinalFieldAndSett static final field core::int Extension|staticDuplicateFieldAndSetter; static final field core::int Extension|staticFieldAndDuplicateSetter; static final field core::int Extension|staticDuplicateFieldAndDuplicateSetter; -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int ; -static get Extension|staticGetter() → core::int +static extension-member get Extension|staticGetter() → core::int ; -static set Extension|staticSetter(dynamic value) → void +static extension-member set Extension|staticSetter(dynamic value) → void ; -static set Extension|staticDuplicateFieldAndSetter(core::int value) → void +static extension-member set Extension|staticDuplicateFieldAndSetter(core::int value) → void ; -static set Extension|staticFieldAndDuplicateSetter(core::int value) → void +static extension-member set Extension|staticFieldAndDuplicateSetter(core::int value) → void ; -static set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void +static extension-member set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void ; -static method Extension|staticMethodAndSetter1() → core::int +static extension-member method Extension|staticMethodAndSetter1() → core::int ; -static set Extension|staticMethodAndSetter1(core::int value) → void +static extension-member set Extension|staticMethodAndSetter1(core::int value) → void ; -static set Extension|staticMethodAndSetter2(core::int value) → void +static extension-member set Extension|staticMethodAndSetter2(core::int value) → void ; -static method Extension|staticMethodAndSetter2() → core::int +static extension-member method Extension|staticMethodAndSetter2() → core::int ; static method test() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.transformed.expect index b8abf8c3e0e..79f6ac6e779 100644 --- a/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/duplicates_static_extension.dart.weak.transformed.expect @@ -206,31 +206,31 @@ late static final [setter] field core::int Extension|staticLateFinalFieldAndSett static final field core::int Extension|staticDuplicateFieldAndSetter = 1; static final field core::int Extension|staticFieldAndDuplicateSetter = 1; static final field core::int Extension|staticDuplicateFieldAndDuplicateSetter = 1; -static method Extension|staticMethod() → core::int +static extension-member method Extension|staticMethod() → core::int return 1; -static get Extension|staticGetter() → core::int +static extension-member get Extension|staticGetter() → core::int return 1; -static set Extension|staticSetter(dynamic value) → void { +static extension-member set Extension|staticSetter(dynamic value) → void { self::result = 1; } -static set Extension|staticDuplicateFieldAndSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndSetter(core::int value) → void { self::result = 3; } -static set Extension|staticFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticFieldAndDuplicateSetter(core::int value) → void { self::result = 2; } -static set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { +static extension-member set Extension|staticDuplicateFieldAndDuplicateSetter(core::int value) → void { self::result = 3; } -static method Extension|staticMethodAndSetter1() → core::int +static extension-member method Extension|staticMethodAndSetter1() → core::int return 1; -static set Extension|staticMethodAndSetter1(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter1(core::int value) → void { self::result = 2; } -static set Extension|staticMethodAndSetter2(core::int value) → void { +static extension-member set Extension|staticMethodAndSetter2(core::int value) → void { self::result = 2; } -static method Extension|staticMethodAndSetter2() → core::int +static extension-member method Extension|staticMethodAndSetter2() → core::int return 1; static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/duplicates_static_extension.dart:85:13: Error: Can't use 'staticMethod' because it is declared more than once. diff --git a/pkg/front_end/testcases/nnbd/extension_bounds.dart.strong.expect b/pkg/front_end/testcases/nnbd/extension_bounds.dart.strong.expect index 641e09479b5..82887665820 100644 --- a/pkg/front_end/testcases/nnbd/extension_bounds.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/extension_bounds.dart.strong.expect @@ -62,79 +62,79 @@ extension Extension5 on T% { method method5 = self::Extension5|method5; tearoff method5 = self::Extension5|get#method5; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} -static method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic +static extension-member method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} +static extension-member method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension1|method5(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} -static method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} +static extension-member method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension2|method5(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} -static method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic +static extension-member method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} +static extension-member method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension3|method5(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); -static method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} -static method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic +static extension-member method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} +static extension-member method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension4|method5(#this); -static method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} -static method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic +static extension-member method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} +static extension-member method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension5|method1(#this); -static method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} -static method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic +static extension-member method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} +static extension-member method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension5|method2(#this); -static method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} -static method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic +static extension-member method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} +static extension-member method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension5|method3(#this); -static method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} -static method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic +static extension-member method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} +static extension-member method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension5|method4(#this); -static method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} -static method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic +static extension-member method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} +static extension-member method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension5|method5(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/extension_bounds.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/extension_bounds.dart.strong.transformed.expect index 641e09479b5..82887665820 100644 --- a/pkg/front_end/testcases/nnbd/extension_bounds.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/extension_bounds.dart.strong.transformed.expect @@ -62,79 +62,79 @@ extension Extension5 on T% { method method5 = self::Extension5|method5; tearoff method5 = self::Extension5|get#method5; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} -static method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic +static extension-member method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} +static extension-member method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension1|method5(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} -static method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} +static extension-member method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension2|method5(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} -static method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic +static extension-member method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} +static extension-member method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension3|method5(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); -static method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} -static method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic +static extension-member method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} +static extension-member method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension4|method5(#this); -static method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} -static method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic +static extension-member method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} +static extension-member method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension5|method1(#this); -static method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} -static method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic +static extension-member method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} +static extension-member method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension5|method2(#this); -static method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} -static method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic +static extension-member method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} +static extension-member method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension5|method3(#this); -static method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} -static method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic +static extension-member method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} +static extension-member method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension5|method4(#this); -static method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} -static method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic +static extension-member method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} +static extension-member method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension5|method5(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.expect b/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.expect index 641e09479b5..82887665820 100644 --- a/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.expect @@ -62,79 +62,79 @@ extension Extension5 on T% { method method5 = self::Extension5|method5; tearoff method5 = self::Extension5|get#method5; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} -static method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic +static extension-member method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} +static extension-member method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension1|method5(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} -static method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} +static extension-member method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension2|method5(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} -static method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic +static extension-member method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} +static extension-member method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension3|method5(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); -static method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} -static method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic +static extension-member method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} +static extension-member method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension4|method5(#this); -static method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} -static method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic +static extension-member method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} +static extension-member method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension5|method1(#this); -static method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} -static method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic +static extension-member method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} +static extension-member method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension5|method2(#this); -static method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} -static method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic +static extension-member method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} +static extension-member method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension5|method3(#this); -static method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} -static method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic +static extension-member method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} +static extension-member method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension5|method4(#this); -static method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} -static method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic +static extension-member method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} +static extension-member method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension5|method5(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.modular.expect index 641e09479b5..82887665820 100644 --- a/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.modular.expect @@ -62,79 +62,79 @@ extension Extension5 on T% { method method5 = self::Extension5|method5; tearoff method5 = self::Extension5|get#method5; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} -static method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic +static extension-member method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} +static extension-member method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension1|method5(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} -static method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} +static extension-member method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension2|method5(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} -static method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic +static extension-member method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} +static extension-member method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension3|method5(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); -static method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} -static method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic +static extension-member method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} +static extension-member method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension4|method5(#this); -static method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} -static method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic +static extension-member method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} +static extension-member method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension5|method1(#this); -static method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} -static method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic +static extension-member method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} +static extension-member method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension5|method2(#this); -static method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} -static method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic +static extension-member method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} +static extension-member method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension5|method3(#this); -static method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} -static method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic +static extension-member method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} +static extension-member method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension5|method4(#this); -static method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} -static method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic +static extension-member method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} +static extension-member method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension5|method5(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.outline.expect index 3c7573b46ca..75d02fdb941 100644 --- a/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.outline.expect @@ -62,105 +62,105 @@ extension Extension5 on T% { method method5 = self::Extension5|method5; tearoff method5 = self::Extension5|get#method5; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic ; -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic ; -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic ; -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic ; -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic +static extension-member method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic ; -static method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic +static extension-member method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension1|method5(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic ; -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic ; -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic ; -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic ; -static method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic +static extension-member method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic ; -static method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic +static extension-member method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension2|method5(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic ; -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic ; -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic ; -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic ; -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic +static extension-member method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic ; -static method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic +static extension-member method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension3|method5(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic ; -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic ; -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic ; -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic ; -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); -static method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic +static extension-member method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic ; -static method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic +static extension-member method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension4|method5(#this); -static method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic +static extension-member method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic ; -static method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic +static extension-member method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension5|method1(#this); -static method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic +static extension-member method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic ; -static method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic +static extension-member method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension5|method2(#this); -static method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic +static extension-member method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic ; -static method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic +static extension-member method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension5|method3(#this); -static method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic +static extension-member method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic ; -static method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic +static extension-member method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension5|method4(#this); -static method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic +static extension-member method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic ; -static method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic +static extension-member method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension5|method5(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.transformed.expect index 641e09479b5..82887665820 100644 --- a/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/extension_bounds.dart.weak.transformed.expect @@ -62,79 +62,79 @@ extension Extension5 on T% { method method5 = self::Extension5|method5; tearoff method5 = self::Extension5|get#method5; } -static method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} -static method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic +static extension-member method Extension1|method1(lowered final self::Extension1|method1::T #this) → dynamic {} +static extension-member method Extension1|get#method1(lowered final self::Extension1|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension1|method1(#this); -static method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} -static method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic +static extension-member method Extension1|method2(lowered final self::Extension1|method2::T #this) → dynamic {} +static extension-member method Extension1|get#method2(lowered final self::Extension1|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension1|method2(#this); -static method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} -static method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic +static extension-member method Extension1|method3(lowered final self::Extension1|method3::T #this) → dynamic {} +static extension-member method Extension1|get#method3(lowered final self::Extension1|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension1|method3(#this); -static method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} -static method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic +static extension-member method Extension1|method4(lowered final self::Extension1|method4::T #this) → dynamic {} +static extension-member method Extension1|get#method4(lowered final self::Extension1|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension1|method4(#this); -static method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} -static method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic +static extension-member method Extension1|method5(lowered final self::Extension1|method5::T #this) → dynamic {} +static extension-member method Extension1|get#method5(lowered final self::Extension1|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension1|method5(#this); -static method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} -static method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic +static extension-member method Extension2|method1(lowered final self::Extension2|method1::T #this) → dynamic {} +static extension-member method Extension2|get#method1(lowered final self::Extension2|get#method1::T #this) → () → dynamic return () → dynamic => self::Extension2|method1(#this); -static method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} -static method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic +static extension-member method Extension2|method2(lowered final self::Extension2|method2::T #this) → dynamic {} +static extension-member method Extension2|get#method2(lowered final self::Extension2|get#method2::T #this) → () → dynamic return () → dynamic => self::Extension2|method2(#this); -static method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} -static method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic +static extension-member method Extension2|method3(lowered final self::Extension2|method3::T #this) → dynamic {} +static extension-member method Extension2|get#method3(lowered final self::Extension2|get#method3::T #this) → () → dynamic return () → dynamic => self::Extension2|method3(#this); -static method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic +static extension-member method Extension2|get#method4(lowered final self::Extension2|get#method4::T #this) → () → dynamic return () → dynamic => self::Extension2|method4(#this); -static method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} -static method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} -static method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic +static extension-member method Extension2|method4(lowered final self::Extension2|method4::T #this) → dynamic {} +static extension-member method Extension2|method5(lowered final self::Extension2|method5::T #this) → dynamic {} +static extension-member method Extension2|get#method5(lowered final self::Extension2|get#method5::T #this) → () → dynamic return () → dynamic => self::Extension2|method5(#this); -static method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} -static method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic +static extension-member method Extension3|method1(lowered final self::Extension3|method1::T% #this) → dynamic {} +static extension-member method Extension3|get#method1(lowered final self::Extension3|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension3|method1(#this); -static method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} -static method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic +static extension-member method Extension3|method2(lowered final self::Extension3|method2::T% #this) → dynamic {} +static extension-member method Extension3|get#method2(lowered final self::Extension3|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension3|method2(#this); -static method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} -static method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic +static extension-member method Extension3|method3(lowered final self::Extension3|method3::T% #this) → dynamic {} +static extension-member method Extension3|get#method3(lowered final self::Extension3|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension3|method3(#this); -static method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} -static method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic +static extension-member method Extension3|method4(lowered final self::Extension3|method4::T% #this) → dynamic {} +static extension-member method Extension3|get#method4(lowered final self::Extension3|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension3|method4(#this); -static method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} -static method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic +static extension-member method Extension3|method5(lowered final self::Extension3|method5::T% #this) → dynamic {} +static extension-member method Extension3|get#method5(lowered final self::Extension3|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension3|method5(#this); -static method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} -static method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic +static extension-member method Extension4|method1(lowered final self::Extension4|method1::T% #this) → dynamic {} +static extension-member method Extension4|get#method1(lowered final self::Extension4|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension4|method1(#this); -static method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} -static method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic +static extension-member method Extension4|method2(lowered final self::Extension4|method2::T% #this) → dynamic {} +static extension-member method Extension4|get#method2(lowered final self::Extension4|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension4|method2(#this); -static method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} -static method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic +static extension-member method Extension4|method3(lowered final self::Extension4|method3::T% #this) → dynamic {} +static extension-member method Extension4|get#method3(lowered final self::Extension4|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension4|method3(#this); -static method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} -static method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic +static extension-member method Extension4|method4(lowered final self::Extension4|method4::T% #this) → dynamic {} +static extension-member method Extension4|get#method4(lowered final self::Extension4|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension4|method4(#this); -static method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} -static method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic +static extension-member method Extension4|method5(lowered final self::Extension4|method5::T% #this) → dynamic {} +static extension-member method Extension4|get#method5(lowered final self::Extension4|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension4|method5(#this); -static method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} -static method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic +static extension-member method Extension5|method1(lowered final self::Extension5|method1::T% #this) → dynamic {} +static extension-member method Extension5|get#method1(lowered final self::Extension5|get#method1::T% #this) → () → dynamic return () → dynamic => self::Extension5|method1(#this); -static method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} -static method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic +static extension-member method Extension5|method2(lowered final self::Extension5|method2::T% #this) → dynamic {} +static extension-member method Extension5|get#method2(lowered final self::Extension5|get#method2::T% #this) → () → dynamic return () → dynamic => self::Extension5|method2(#this); -static method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} -static method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic +static extension-member method Extension5|method3(lowered final self::Extension5|method3::T% #this) → dynamic {} +static extension-member method Extension5|get#method3(lowered final self::Extension5|get#method3::T% #this) → () → dynamic return () → dynamic => self::Extension5|method3(#this); -static method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} -static method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic +static extension-member method Extension5|method4(lowered final self::Extension5|method4::T% #this) → dynamic {} +static extension-member method Extension5|get#method4(lowered final self::Extension5|get#method4::T% #this) → () → dynamic return () → dynamic => self::Extension5|method4(#this); -static method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} -static method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic +static extension-member method Extension5|method5(lowered final self::Extension5|method5::T% #this) → dynamic {} +static extension-member method Extension5|get#method5(lowered final self::Extension5|get#method5::T% #this) → () → dynamic return () → dynamic => self::Extension5|method5(#this); static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/extension_never.dart.strong.expect b/pkg/front_end/testcases/nnbd/extension_never.dart.strong.expect index f174e5f29c3..c5636344a67 100644 --- a/pkg/front_end/testcases/nnbd/extension_never.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/extension_never.dart.strong.expect @@ -5,8 +5,8 @@ extension Extension on Never { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final Never #this) → dynamic {} -static method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic +static extension-member method Extension|extensionMethod(lowered final Never #this) → dynamic {} +static extension-member method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic return () → dynamic => self::Extension|extensionMethod(#this); static method implicitAccess(Never never) → dynamic { never{Never}.extensionMethod(); diff --git a/pkg/front_end/testcases/nnbd/extension_never.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/extension_never.dart.strong.transformed.expect index f174e5f29c3..c5636344a67 100644 --- a/pkg/front_end/testcases/nnbd/extension_never.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/extension_never.dart.strong.transformed.expect @@ -5,8 +5,8 @@ extension Extension on Never { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final Never #this) → dynamic {} -static method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic +static extension-member method Extension|extensionMethod(lowered final Never #this) → dynamic {} +static extension-member method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic return () → dynamic => self::Extension|extensionMethod(#this); static method implicitAccess(Never never) → dynamic { never{Never}.extensionMethod(); diff --git a/pkg/front_end/testcases/nnbd/extension_never.dart.weak.expect b/pkg/front_end/testcases/nnbd/extension_never.dart.weak.expect index df69330c13a..591ac83cda3 100644 --- a/pkg/front_end/testcases/nnbd/extension_never.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/extension_never.dart.weak.expect @@ -6,8 +6,8 @@ extension Extension on Never { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final Never #this) → dynamic {} -static method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic +static extension-member method Extension|extensionMethod(lowered final Never #this) → dynamic {} +static extension-member method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic return () → dynamic => self::Extension|extensionMethod(#this); static method implicitAccess(Never never) → dynamic { let final Never #t1 = (let final Never #t2 = never in throw new _in::ReachabilityError::•("`null` encountered as the result from expression with type `Never`.")){Never}.extensionMethod() in throw new _in::ReachabilityError::•("`null` encountered as the result from expression with type `Never`."); diff --git a/pkg/front_end/testcases/nnbd/extension_never.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/extension_never.dart.weak.modular.expect index df69330c13a..591ac83cda3 100644 --- a/pkg/front_end/testcases/nnbd/extension_never.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/extension_never.dart.weak.modular.expect @@ -6,8 +6,8 @@ extension Extension on Never { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final Never #this) → dynamic {} -static method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic +static extension-member method Extension|extensionMethod(lowered final Never #this) → dynamic {} +static extension-member method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic return () → dynamic => self::Extension|extensionMethod(#this); static method implicitAccess(Never never) → dynamic { let final Never #t1 = (let final Never #t2 = never in throw new _in::ReachabilityError::•("`null` encountered as the result from expression with type `Never`.")){Never}.extensionMethod() in throw new _in::ReachabilityError::•("`null` encountered as the result from expression with type `Never`."); diff --git a/pkg/front_end/testcases/nnbd/extension_never.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/extension_never.dart.weak.outline.expect index 1230129ab57..064a768e536 100644 --- a/pkg/front_end/testcases/nnbd/extension_never.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/extension_never.dart.weak.outline.expect @@ -5,9 +5,9 @@ extension Extension on Never { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final Never #this) → dynamic +static extension-member method Extension|extensionMethod(lowered final Never #this) → dynamic ; -static method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic +static extension-member method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic return () → dynamic => self::Extension|extensionMethod(#this); static method implicitAccess(Never never) → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/extension_never.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/extension_never.dart.weak.transformed.expect index df69330c13a..591ac83cda3 100644 --- a/pkg/front_end/testcases/nnbd/extension_never.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/extension_never.dart.weak.transformed.expect @@ -6,8 +6,8 @@ extension Extension on Never { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final Never #this) → dynamic {} -static method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic +static extension-member method Extension|extensionMethod(lowered final Never #this) → dynamic {} +static extension-member method Extension|get#extensionMethod(lowered final Never #this) → () → dynamic return () → dynamic => self::Extension|extensionMethod(#this); static method implicitAccess(Never never) → dynamic { let final Never #t1 = (let final Never #t2 = never in throw new _in::ReachabilityError::•("`null` encountered as the result from expression with type `Never`.")){Never}.extensionMethod() in throw new _in::ReachabilityError::•("`null` encountered as the result from expression with type `Never`."); diff --git a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.strong.expect b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.strong.expect index ea84d0cd1fa..53b0e5320d4 100644 --- a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.strong.expect @@ -39,13 +39,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.strong.transformed.expect index 5d74825ee9b..95b0e5b224e 100644 --- a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.strong.transformed.expect @@ -39,13 +39,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.expect b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.expect index 95f5c9e2964..e4fb2166803 100644 --- a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.expect @@ -39,13 +39,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.modular.expect index 95f5c9e2964..e4fb2166803 100644 --- a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.modular.expect @@ -39,13 +39,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.outline.expect index 8591fd7ea93..0c6430dbdfa 100644 --- a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.outline.expect @@ -18,13 +18,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% ; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T ; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class ; diff --git a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.transformed.expect index e07833e8aa3..85747783f96 100644 --- a/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/extension_type_variable_bound.dart.weak.transformed.expect @@ -39,13 +39,13 @@ extension BoundExtension on T { method method2 = self::BoundExtension|method2; tearoff method2 = self::BoundExtension|get#method2; } -static method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% +static extension-member method Extension|method1(lowered final self::Extension|method1::T% #this) → self::Extension|method1::T% return #this; -static method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% +static extension-member method Extension|get#method1(lowered final self::Extension|get#method1::T% #this) → () → self::Extension|get#method1::T% return () → self::Extension|get#method1::T% => self::Extension|method1(#this); -static method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T +static extension-member method BoundExtension|method2(lowered final self::BoundExtension|method2::T #this) → self::BoundExtension|method2::T return #this; -static method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T +static extension-member method BoundExtension|get#method2(lowered final self::BoundExtension|get#method2::T #this) → () → self::BoundExtension|get#method2::T return () → self::BoundExtension|get#method2::T => self::BoundExtension|method2(#this); static method test1(self::test1::T% t1) → self::Class { if(t1 is self::SubClass) { diff --git a/pkg/front_end/testcases/nnbd/external_field_errors.dart.strong.expect b/pkg/front_end/testcases/nnbd/external_field_errors.dart.strong.expect index 91668ad508b..711690423b6 100644 --- a/pkg/front_end/testcases/nnbd/external_field_errors.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/external_field_errors.dart.strong.expect @@ -113,10 +113,10 @@ external static set topLevelField(core::int #externalFieldValue) → void; external static get finalTopLevelField() → core::int; external static get constField() → core::int; external static set constField(core::int #externalFieldValue) → void; -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; -external static get Extension|extensionStaticField() → core::int; -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; -external static get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member get Extension|finalExtensionStaticField() → core::int; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/external_field_errors.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/external_field_errors.dart.strong.transformed.expect index 91668ad508b..711690423b6 100644 --- a/pkg/front_end/testcases/nnbd/external_field_errors.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/external_field_errors.dart.strong.transformed.expect @@ -113,10 +113,10 @@ external static set topLevelField(core::int #externalFieldValue) → void; external static get finalTopLevelField() → core::int; external static get constField() → core::int; external static set constField(core::int #externalFieldValue) → void; -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; -external static get Extension|extensionStaticField() → core::int; -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; -external static get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member get Extension|finalExtensionStaticField() → core::int; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.expect b/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.expect index 91668ad508b..711690423b6 100644 --- a/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.expect @@ -113,10 +113,10 @@ external static set topLevelField(core::int #externalFieldValue) → void; external static get finalTopLevelField() → core::int; external static get constField() → core::int; external static set constField(core::int #externalFieldValue) → void; -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; -external static get Extension|extensionStaticField() → core::int; -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; -external static get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member get Extension|finalExtensionStaticField() → core::int; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.modular.expect index 91668ad508b..711690423b6 100644 --- a/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.modular.expect @@ -113,10 +113,10 @@ external static set topLevelField(core::int #externalFieldValue) → void; external static get finalTopLevelField() → core::int; external static get constField() → core::int; external static set constField(core::int #externalFieldValue) → void; -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; -external static get Extension|extensionStaticField() → core::int; -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; -external static get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member get Extension|finalExtensionStaticField() → core::int; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.outline.expect index f90420a5913..9fc248d676e 100644 --- a/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.outline.expect @@ -33,11 +33,11 @@ external static set topLevelField(core::int #externalFieldValue) → void; external static get finalTopLevelField() → core::int; external static get constField() → core::int; external static set constField(core::int #externalFieldValue) → void; -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; -external static get Extension|extensionStaticField() → core::int; -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; -external static get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member get Extension|finalExtensionStaticField() → core::int; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.transformed.expect index 91668ad508b..711690423b6 100644 --- a/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/external_field_errors.dart.weak.transformed.expect @@ -113,10 +113,10 @@ external static set topLevelField(core::int #externalFieldValue) → void; external static get finalTopLevelField() → core::int; external static get constField() → core::int; external static set constField(core::int #externalFieldValue) → void; -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; -external static get Extension|extensionStaticField() → core::int; -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; -external static get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member get Extension|finalExtensionStaticField() → core::int; static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/external_fields.dart.strong.expect b/pkg/front_end/testcases/nnbd/external_fields.dart.strong.expect index 7d9a599ddd4..7d516a64c7b 100644 --- a/pkg/front_end/testcases/nnbd/external_fields.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/external_fields.dart.strong.expect @@ -101,23 +101,23 @@ external static get untypedTopLevelField() → dynamic; external static set untypedTopLevelField(dynamic #externalFieldValue) → void; external static get untypedFinalTopLevelField() → dynamic; @#C1 -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; @#C1 -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static get Extension|extensionStaticField() → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; @#C1 -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; @#C1 -external static get Extension|finalExtensionStaticField() → core::int; -external static method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; -external static method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; -external static method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; -external static get Extension|untypedExtensionStaticField() → dynamic; -external static set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; -external static get Extension|untypedFinalExtensionStaticField() → dynamic; +external static extension-member get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; +external static extension-member method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member get Extension|untypedExtensionStaticField() → dynamic; +external static extension-member set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; +external static extension-member get Extension|untypedFinalExtensionStaticField() → dynamic; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/external_fields.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/external_fields.dart.strong.transformed.expect index 7d9a599ddd4..7d516a64c7b 100644 --- a/pkg/front_end/testcases/nnbd/external_fields.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/external_fields.dart.strong.transformed.expect @@ -101,23 +101,23 @@ external static get untypedTopLevelField() → dynamic; external static set untypedTopLevelField(dynamic #externalFieldValue) → void; external static get untypedFinalTopLevelField() → dynamic; @#C1 -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; @#C1 -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static get Extension|extensionStaticField() → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; @#C1 -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; @#C1 -external static get Extension|finalExtensionStaticField() → core::int; -external static method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; -external static method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; -external static method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; -external static get Extension|untypedExtensionStaticField() → dynamic; -external static set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; -external static get Extension|untypedFinalExtensionStaticField() → dynamic; +external static extension-member get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; +external static extension-member method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member get Extension|untypedExtensionStaticField() → dynamic; +external static extension-member set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; +external static extension-member get Extension|untypedFinalExtensionStaticField() → dynamic; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/external_fields.dart.weak.expect b/pkg/front_end/testcases/nnbd/external_fields.dart.weak.expect index 7d9a599ddd4..7d516a64c7b 100644 --- a/pkg/front_end/testcases/nnbd/external_fields.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/external_fields.dart.weak.expect @@ -101,23 +101,23 @@ external static get untypedTopLevelField() → dynamic; external static set untypedTopLevelField(dynamic #externalFieldValue) → void; external static get untypedFinalTopLevelField() → dynamic; @#C1 -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; @#C1 -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static get Extension|extensionStaticField() → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; @#C1 -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; @#C1 -external static get Extension|finalExtensionStaticField() → core::int; -external static method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; -external static method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; -external static method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; -external static get Extension|untypedExtensionStaticField() → dynamic; -external static set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; -external static get Extension|untypedFinalExtensionStaticField() → dynamic; +external static extension-member get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; +external static extension-member method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member get Extension|untypedExtensionStaticField() → dynamic; +external static extension-member set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; +external static extension-member get Extension|untypedFinalExtensionStaticField() → dynamic; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/external_fields.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/external_fields.dart.weak.modular.expect index 7d9a599ddd4..7d516a64c7b 100644 --- a/pkg/front_end/testcases/nnbd/external_fields.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/external_fields.dart.weak.modular.expect @@ -101,23 +101,23 @@ external static get untypedTopLevelField() → dynamic; external static set untypedTopLevelField(dynamic #externalFieldValue) → void; external static get untypedFinalTopLevelField() → dynamic; @#C1 -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; @#C1 -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static get Extension|extensionStaticField() → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; @#C1 -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; @#C1 -external static get Extension|finalExtensionStaticField() → core::int; -external static method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; -external static method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; -external static method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; -external static get Extension|untypedExtensionStaticField() → dynamic; -external static set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; -external static get Extension|untypedFinalExtensionStaticField() → dynamic; +external static extension-member get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; +external static extension-member method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member get Extension|untypedExtensionStaticField() → dynamic; +external static extension-member set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; +external static extension-member get Extension|untypedFinalExtensionStaticField() → dynamic; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/external_fields.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/external_fields.dart.weak.outline.expect index 9f6a43a0751..8abdfe268af 100644 --- a/pkg/front_end/testcases/nnbd/external_fields.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/external_fields.dart.weak.outline.expect @@ -99,23 +99,23 @@ external static get untypedTopLevelField() → dynamic; external static set untypedTopLevelField(dynamic #externalFieldValue) → void; external static get untypedFinalTopLevelField() → dynamic; @self::Annotation::•() -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; @self::Annotation::•() -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; @self::Annotation::•() -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; @self::Annotation::•() -external static get Extension|extensionStaticField() → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; @self::Annotation::•() -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; @self::Annotation::•() -external static get Extension|finalExtensionStaticField() → core::int; -external static method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; -external static method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; -external static method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; -external static get Extension|untypedExtensionStaticField() → dynamic; -external static set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; -external static get Extension|untypedFinalExtensionStaticField() → dynamic; +external static extension-member get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; +external static extension-member method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member get Extension|untypedExtensionStaticField() → dynamic; +external static extension-member set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; +external static extension-member get Extension|untypedFinalExtensionStaticField() → dynamic; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/external_fields.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/external_fields.dart.weak.transformed.expect index 7d9a599ddd4..7d516a64c7b 100644 --- a/pkg/front_end/testcases/nnbd/external_fields.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/external_fields.dart.weak.transformed.expect @@ -101,23 +101,23 @@ external static get untypedTopLevelField() → dynamic; external static set untypedTopLevelField(dynamic #externalFieldValue) → void; external static get untypedFinalTopLevelField() → dynamic; @#C1 -external static method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#extensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; +external static extension-member method Extension|set#extensionInstanceField(lowered self::A #this, core::int #externalFieldValue) → void; @#C1 -external static method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; +external static extension-member method Extension|get#finalExtensionInstanceField(lowered self::A #this) → core::int; @#C1 -external static get Extension|extensionStaticField() → core::int; +external static extension-member get Extension|extensionStaticField() → core::int; @#C1 -external static set Extension|extensionStaticField(core::int #externalFieldValue) → void; +external static extension-member set Extension|extensionStaticField(core::int #externalFieldValue) → void; @#C1 -external static get Extension|finalExtensionStaticField() → core::int; -external static method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; -external static method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; -external static method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; -external static get Extension|untypedExtensionStaticField() → dynamic; -external static set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; -external static get Extension|untypedFinalExtensionStaticField() → dynamic; +external static extension-member get Extension|finalExtensionStaticField() → core::int; +external static extension-member method Extension|get#untypedExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member method Extension|set#untypedExtensionInstanceField(lowered self::A #this, dynamic #externalFieldValue) → void; +external static extension-member method Extension|get#untypedFinalExtensionInstanceField(lowered self::A #this) → dynamic; +external static extension-member get Extension|untypedExtensionStaticField() → dynamic; +external static extension-member set Extension|untypedExtensionStaticField(dynamic #externalFieldValue) → void; +external static extension-member get Extension|untypedFinalExtensionStaticField() → dynamic; static method main() → dynamic {} constants { diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.strong.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.strong.expect index 81ebb6f5c8e..998154df243 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.strong.expect @@ -237,37 +237,37 @@ static set property2(core::num value) → void {} static get property3() → core::num return 0; static set property3(core::int value) → void {} -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int return 0; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int return 0; -static method Extension|set#property2(lowered final core::int #this, core::num i) → void {} -static method Extension|get#property3(lowered final core::int #this) → core::num +static extension-member method Extension|set#property2(lowered final core::int #this, core::num i) → void {} +static extension-member method Extension|get#property3(lowered final core::int #this) → core::num return 0; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property4(lowered final core::int #this) → self::Extension|get#property4::S% +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property4(lowered final core::int #this) → self::Extension|get#property4::S% return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart:130:22: Error: A value of type 'int' can't be returned from a function with return type 'S'. S get property4 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4(lowered final core::int #this, self::Extension|set#property4::S% i) → void {} -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::S% +static extension-member method Extension|set#property4(lowered final core::int #this, self::Extension|set#property4::S% i) → void {} +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::S% return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart:133:22: Error: A value of type 'int' can't be returned from a function with return type 'S'. S get property5 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T% i) → void {} -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T% +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T% i) → void {} +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T% return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart:136:22: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property6 => 0; // error ^" in 0 as{TypeError} Never; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::S% i) → void {} -static get Extension|property7() → core::int +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::S% i) → void {} +static extension-member get Extension|property7() → core::int return 0; -static set Extension|property7(core::int value) → void {} -static get Extension|property8() → core::int +static extension-member set Extension|property7(core::int value) → void {} +static extension-member get Extension|property8() → core::int return 0; -static set Extension|property8(core::num value) → void {} -static get Extension|property9() → core::num +static extension-member set Extension|property8(core::num value) → void {} +static extension-member get Extension|property9() → core::num return 0; -static set Extension|property9(core::int value) → void {} +static extension-member set Extension|property9(core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.expect index 81ebb6f5c8e..998154df243 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.expect @@ -237,37 +237,37 @@ static set property2(core::num value) → void {} static get property3() → core::num return 0; static set property3(core::int value) → void {} -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int return 0; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int return 0; -static method Extension|set#property2(lowered final core::int #this, core::num i) → void {} -static method Extension|get#property3(lowered final core::int #this) → core::num +static extension-member method Extension|set#property2(lowered final core::int #this, core::num i) → void {} +static extension-member method Extension|get#property3(lowered final core::int #this) → core::num return 0; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property4(lowered final core::int #this) → self::Extension|get#property4::S% +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property4(lowered final core::int #this) → self::Extension|get#property4::S% return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart:130:22: Error: A value of type 'int' can't be returned from a function with return type 'S'. S get property4 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4(lowered final core::int #this, self::Extension|set#property4::S% i) → void {} -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::S% +static extension-member method Extension|set#property4(lowered final core::int #this, self::Extension|set#property4::S% i) → void {} +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::S% return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart:133:22: Error: A value of type 'int' can't be returned from a function with return type 'S'. S get property5 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T% i) → void {} -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T% +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T% i) → void {} +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T% return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart:136:22: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property6 => 0; // error ^" in 0 as{TypeError} Never; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::S% i) → void {} -static get Extension|property7() → core::int +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::S% i) → void {} +static extension-member get Extension|property7() → core::int return 0; -static set Extension|property7(core::int value) → void {} -static get Extension|property8() → core::int +static extension-member set Extension|property7(core::int value) → void {} +static extension-member get Extension|property8() → core::int return 0; -static set Extension|property8(core::num value) → void {} -static get Extension|property9() → core::num +static extension-member set Extension|property8(core::num value) → void {} +static extension-member get Extension|property9() → core::num return 0; -static set Extension|property9(core::int value) → void {} +static extension-member set Extension|property9(core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.modular.expect index 81ebb6f5c8e..998154df243 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.modular.expect @@ -237,37 +237,37 @@ static set property2(core::num value) → void {} static get property3() → core::num return 0; static set property3(core::int value) → void {} -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int return 0; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int return 0; -static method Extension|set#property2(lowered final core::int #this, core::num i) → void {} -static method Extension|get#property3(lowered final core::int #this) → core::num +static extension-member method Extension|set#property2(lowered final core::int #this, core::num i) → void {} +static extension-member method Extension|get#property3(lowered final core::int #this) → core::num return 0; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property4(lowered final core::int #this) → self::Extension|get#property4::S% +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property4(lowered final core::int #this) → self::Extension|get#property4::S% return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart:130:22: Error: A value of type 'int' can't be returned from a function with return type 'S'. S get property4 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4(lowered final core::int #this, self::Extension|set#property4::S% i) → void {} -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::S% +static extension-member method Extension|set#property4(lowered final core::int #this, self::Extension|set#property4::S% i) → void {} +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::S% return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart:133:22: Error: A value of type 'int' can't be returned from a function with return type 'S'. S get property5 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T% i) → void {} -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T% +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T% i) → void {} +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T% return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart:136:22: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property6 => 0; // error ^" in 0 as{TypeError} Never; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::S% i) → void {} -static get Extension|property7() → core::int +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::S% i) → void {} +static extension-member get Extension|property7() → core::int return 0; -static set Extension|property7(core::int value) → void {} -static get Extension|property8() → core::int +static extension-member set Extension|property7(core::int value) → void {} +static extension-member get Extension|property8() → core::int return 0; -static set Extension|property8(core::num value) → void {} -static get Extension|property9() → core::num +static extension-member set Extension|property8(core::num value) → void {} +static extension-member get Extension|property9() → core::num return 0; -static set Extension|property9(core::int value) → void {} +static extension-member set Extension|property9(core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.outline.expect index 181f144a10f..3f6c45e8dc0 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type.dart.weak.outline.expect @@ -222,41 +222,41 @@ static get property3() → core::num ; static set property3(core::int value) → void ; -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int ; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void ; -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int ; -static method Extension|set#property2(lowered final core::int #this, core::num i) → void +static extension-member method Extension|set#property2(lowered final core::int #this, core::num i) → void ; -static method Extension|get#property3(lowered final core::int #this) → core::num +static extension-member method Extension|get#property3(lowered final core::int #this) → core::num ; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void ; -static method Extension|get#property4(lowered final core::int #this) → self::Extension|get#property4::S% +static extension-member method Extension|get#property4(lowered final core::int #this) → self::Extension|get#property4::S% ; -static method Extension|set#property4(lowered final core::int #this, self::Extension|set#property4::S% i) → void +static extension-member method Extension|set#property4(lowered final core::int #this, self::Extension|set#property4::S% i) → void ; -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::S% +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::S% ; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T% i) → void +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T% i) → void ; -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T% +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T% ; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::S% i) → void +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::S% i) → void ; -static get Extension|property7() → core::int +static extension-member get Extension|property7() → core::int ; -static set Extension|property7(core::int value) → void +static extension-member set Extension|property7(core::int value) → void ; -static get Extension|property8() → core::int +static extension-member get Extension|property8() → core::int ; -static set Extension|property8(core::num value) → void +static extension-member set Extension|property8(core::num value) → void ; -static get Extension|property9() → core::num +static extension-member get Extension|property9() → core::num ; -static set Extension|property9(core::int value) → void +static extension-member set Extension|property9(core::int value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.strong.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.strong.expect index 063f6f4b0ec..5136f8ee731 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.strong.expect @@ -243,42 +243,42 @@ static set property2(core::int? value) → void {} static get property3() → core::int? return 0; static set property3(core::int value) → void {} -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int return 0; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int return 0; -static method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} -static method Extension|get#property3(lowered final core::int #this) → core::int? +static extension-member method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} +static extension-member method Extension|get#property3(lowered final core::int #this) → core::int? return 0; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:134:23: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property4a => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} -static method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? +static extension-member method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} +static extension-member method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:137:24: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property4b => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T +static extension-member method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:140:22: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property5 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:143:23: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property6 => 0; // error ^" in 0 as{TypeError} Never; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} -static get Extension|property7() → core::int +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} +static extension-member get Extension|property7() → core::int return 0; -static set Extension|property7(core::int value) → void {} -static get Extension|property8() → core::int +static extension-member set Extension|property7(core::int value) → void {} +static extension-member get Extension|property8() → core::int return 0; -static set Extension|property8(core::int? value) → void {} -static get Extension|property9() → core::int? +static extension-member set Extension|property8(core::int? value) → void {} +static extension-member get Extension|property9() → core::int? return 0; -static set Extension|property9(core::int value) → void {} +static extension-member set Extension|property9(core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.strong.transformed.expect index 063f6f4b0ec..5136f8ee731 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.strong.transformed.expect @@ -243,42 +243,42 @@ static set property2(core::int? value) → void {} static get property3() → core::int? return 0; static set property3(core::int value) → void {} -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int return 0; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int return 0; -static method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} -static method Extension|get#property3(lowered final core::int #this) → core::int? +static extension-member method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} +static extension-member method Extension|get#property3(lowered final core::int #this) → core::int? return 0; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:134:23: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property4a => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} -static method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? +static extension-member method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} +static extension-member method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:137:24: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property4b => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T +static extension-member method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:140:22: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property5 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:143:23: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property6 => 0; // error ^" in 0 as{TypeError} Never; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} -static get Extension|property7() → core::int +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} +static extension-member get Extension|property7() → core::int return 0; -static set Extension|property7(core::int value) → void {} -static get Extension|property8() → core::int +static extension-member set Extension|property7(core::int value) → void {} +static extension-member get Extension|property8() → core::int return 0; -static set Extension|property8(core::int? value) → void {} -static get Extension|property9() → core::int? +static extension-member set Extension|property8(core::int? value) → void {} +static extension-member get Extension|property9() → core::int? return 0; -static set Extension|property9(core::int value) → void {} +static extension-member set Extension|property9(core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.expect index 063f6f4b0ec..5136f8ee731 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.expect @@ -243,42 +243,42 @@ static set property2(core::int? value) → void {} static get property3() → core::int? return 0; static set property3(core::int value) → void {} -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int return 0; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int return 0; -static method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} -static method Extension|get#property3(lowered final core::int #this) → core::int? +static extension-member method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} +static extension-member method Extension|get#property3(lowered final core::int #this) → core::int? return 0; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:134:23: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property4a => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} -static method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? +static extension-member method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} +static extension-member method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:137:24: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property4b => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T +static extension-member method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:140:22: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property5 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:143:23: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property6 => 0; // error ^" in 0 as{TypeError} Never; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} -static get Extension|property7() → core::int +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} +static extension-member get Extension|property7() → core::int return 0; -static set Extension|property7(core::int value) → void {} -static get Extension|property8() → core::int +static extension-member set Extension|property7(core::int value) → void {} +static extension-member get Extension|property8() → core::int return 0; -static set Extension|property8(core::int? value) → void {} -static get Extension|property9() → core::int? +static extension-member set Extension|property8(core::int? value) → void {} +static extension-member get Extension|property9() → core::int? return 0; -static set Extension|property9(core::int value) → void {} +static extension-member set Extension|property9(core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.modular.expect index 063f6f4b0ec..5136f8ee731 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.modular.expect @@ -243,42 +243,42 @@ static set property2(core::int? value) → void {} static get property3() → core::int? return 0; static set property3(core::int value) → void {} -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int return 0; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int return 0; -static method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} -static method Extension|get#property3(lowered final core::int #this) → core::int? +static extension-member method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} +static extension-member method Extension|get#property3(lowered final core::int #this) → core::int? return 0; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:134:23: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property4a => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} -static method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? +static extension-member method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} +static extension-member method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:137:24: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property4b => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T +static extension-member method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:140:22: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property5 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:143:23: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property6 => 0; // error ^" in 0 as{TypeError} Never; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} -static get Extension|property7() → core::int +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} +static extension-member get Extension|property7() → core::int return 0; -static set Extension|property7(core::int value) → void {} -static get Extension|property8() → core::int +static extension-member set Extension|property7(core::int value) → void {} +static extension-member get Extension|property8() → core::int return 0; -static set Extension|property8(core::int? value) → void {} -static get Extension|property9() → core::int? +static extension-member set Extension|property8(core::int? value) → void {} +static extension-member get Extension|property9() → core::int? return 0; -static set Extension|property9(core::int value) → void {} +static extension-member set Extension|property9(core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.outline.expect index d8f783226c2..c58878d10dc 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.outline.expect @@ -224,45 +224,45 @@ static get property3() → core::int? ; static set property3(core::int value) → void ; -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int ; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void ; -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int ; -static method Extension|set#property2(lowered final core::int #this, core::int? i) → void +static extension-member method Extension|set#property2(lowered final core::int #this, core::int? i) → void ; -static method Extension|get#property3(lowered final core::int #this) → core::int? +static extension-member method Extension|get#property3(lowered final core::int #this) → core::int? ; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void ; -static method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T +static extension-member method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T ; -static method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void +static extension-member method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void ; -static method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? +static extension-member method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? ; -static method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void +static extension-member method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void ; -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T ; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void ; -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? ; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void ; -static get Extension|property7() → core::int +static extension-member get Extension|property7() → core::int ; -static set Extension|property7(core::int value) → void +static extension-member set Extension|property7(core::int value) → void ; -static get Extension|property8() → core::int +static extension-member get Extension|property8() → core::int ; -static set Extension|property8(core::int? value) → void +static extension-member set Extension|property8(core::int? value) → void ; -static get Extension|property9() → core::int? +static extension-member get Extension|property9() → core::int? ; -static set Extension|property9(core::int value) → void +static extension-member set Extension|property9(core::int value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.transformed.expect index 063f6f4b0ec..5136f8ee731 100644 --- a/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart.weak.transformed.expect @@ -243,42 +243,42 @@ static set property2(core::int? value) → void {} static get property3() → core::int? return 0; static set property3(core::int value) → void {} -static method Extension|get#property1(lowered final core::int #this) → core::int +static extension-member method Extension|get#property1(lowered final core::int #this) → core::int return 0; -static method Extension|set#property1(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property2(lowered final core::int #this) → core::int +static extension-member method Extension|set#property1(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property2(lowered final core::int #this) → core::int return 0; -static method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} -static method Extension|get#property3(lowered final core::int #this) → core::int? +static extension-member method Extension|set#property2(lowered final core::int #this, core::int? i) → void {} +static extension-member method Extension|get#property3(lowered final core::int #this) → core::int? return 0; -static method Extension|set#property3(lowered final core::int #this, core::int i) → void {} -static method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T +static extension-member method Extension|set#property3(lowered final core::int #this, core::int i) → void {} +static extension-member method Extension|get#property4a(lowered final core::int #this) → self::Extension|get#property4a::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:134:23: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property4a => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} -static method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? +static extension-member method Extension|set#property4a(lowered final core::int #this, self::Extension|set#property4a::T i) → void {} +static extension-member method Extension|get#property4b(lowered final core::int #this) → self::Extension|get#property4b::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:137:24: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property4b => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} -static method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T +static extension-member method Extension|set#property4b(lowered final core::int #this, self::Extension|set#property4b::T? i) → void {} +static extension-member method Extension|get#property5(lowered final core::int #this) → self::Extension|get#property5::T return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:140:22: Error: A value of type 'int' can't be returned from a function with return type 'T'. T get property5 => 0; // ok ^" in 0 as{TypeError} Never; -static method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} -static method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? +static extension-member method Extension|set#property5(lowered final core::int #this, self::Extension|set#property5::T? i) → void {} +static extension-member method Extension|get#property6(lowered final core::int #this) → self::Extension|get#property6::T? return invalid-expression "pkg/front_end/testcases/nnbd/getter_vs_setter_type_nnbd.dart:143:23: Error: A value of type 'int' can't be returned from a function with return type 'T?'. T? get property6 => 0; // error ^" in 0 as{TypeError} Never; -static method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} -static get Extension|property7() → core::int +static extension-member method Extension|set#property6(lowered final core::int #this, self::Extension|set#property6::T i) → void {} +static extension-member get Extension|property7() → core::int return 0; -static set Extension|property7(core::int value) → void {} -static get Extension|property8() → core::int +static extension-member set Extension|property7(core::int value) → void {} +static extension-member get Extension|property8() → core::int return 0; -static set Extension|property8(core::int? value) → void {} -static get Extension|property9() → core::int? +static extension-member set Extension|property8(core::int? value) → void {} +static extension-member get Extension|property9() → core::int? return 0; -static set Extension|property9(core::int value) → void {} +static extension-member set Extension|property9(core::int value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/infer_if_null.dart.strong.expect b/pkg/front_end/testcases/nnbd/infer_if_null.dart.strong.expect index 3c8ff8e9f52..3dde37db4f9 100644 --- a/pkg/front_end/testcases/nnbd/infer_if_null.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/infer_if_null.dart.strong.expect @@ -56,8 +56,8 @@ static method test4() → dynamic { core::List list = [null]; core::String s = let final core::List #t10 = list in let final core::int #t11 = 0 in let final core::String? #t12 = #t10.{core::List::[]}(#t11){(core::int) → core::String?} in #t12 == null ?{core::String} let final core::String #t13 = "bar" in let final void #t14 = #t10.{core::List::[]=}(#t11, #t13){(core::int, core::String?) → void} in #t13 : #t12{core::String}; } -static method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} -static method E6|[](lowered final core::double #this, core::int index) → core::String? +static extension-member method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} +static extension-member method E6|[](lowered final core::double #this, core::int index) → core::String? return null; static method test6() → dynamic { core::String s = let final core::double #t15 = 3.14 in let final core::int #t16 = 0 in let final core::String? #t17 = self::E6|[](#t15, #t16) in #t17 == null ?{core::String} let final core::String #t18 = "bar" in let final void #t19 = self::E6|[]=(#t15, #t16, #t18) in #t18 : #t17{core::String}; diff --git a/pkg/front_end/testcases/nnbd/infer_if_null.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/infer_if_null.dart.strong.transformed.expect index 57a70ce53a0..8de0aa47d44 100644 --- a/pkg/front_end/testcases/nnbd/infer_if_null.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/infer_if_null.dart.strong.transformed.expect @@ -56,8 +56,8 @@ static method test4() → dynamic { core::List list = core::_GrowableList::_literal1(null); core::String s = let final core::List #t10 = list in let final core::int #t11 = 0 in let final core::String? #t12 = #t10.{core::List::[]}(#t11){(core::int) → core::String?} in #t12 == null ?{core::String} let final core::String #t13 = "bar" in let final void #t14 = #t10.{core::List::[]=}(#t11, #t13){(core::int, core::String?) → void} in #t13 : #t12{core::String}; } -static method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} -static method E6|[](lowered final core::double #this, core::int index) → core::String? +static extension-member method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} +static extension-member method E6|[](lowered final core::double #this, core::int index) → core::String? return null; static method test6() → dynamic { core::String s = let final core::double #t15 = 3.14 in let final core::int #t16 = 0 in let final core::String? #t17 = self::E6|[](#t15, #t16) in #t17 == null ?{core::String} let final core::String #t18 = "bar" in let final void #t19 = self::E6|[]=(#t15, #t16, #t18) in #t18 : #t17{core::String}; diff --git a/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.expect b/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.expect index 3c8ff8e9f52..3dde37db4f9 100644 --- a/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.expect @@ -56,8 +56,8 @@ static method test4() → dynamic { core::List list = [null]; core::String s = let final core::List #t10 = list in let final core::int #t11 = 0 in let final core::String? #t12 = #t10.{core::List::[]}(#t11){(core::int) → core::String?} in #t12 == null ?{core::String} let final core::String #t13 = "bar" in let final void #t14 = #t10.{core::List::[]=}(#t11, #t13){(core::int, core::String?) → void} in #t13 : #t12{core::String}; } -static method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} -static method E6|[](lowered final core::double #this, core::int index) → core::String? +static extension-member method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} +static extension-member method E6|[](lowered final core::double #this, core::int index) → core::String? return null; static method test6() → dynamic { core::String s = let final core::double #t15 = 3.14 in let final core::int #t16 = 0 in let final core::String? #t17 = self::E6|[](#t15, #t16) in #t17 == null ?{core::String} let final core::String #t18 = "bar" in let final void #t19 = self::E6|[]=(#t15, #t16, #t18) in #t18 : #t17{core::String}; diff --git a/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.modular.expect index 3c8ff8e9f52..3dde37db4f9 100644 --- a/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.modular.expect @@ -56,8 +56,8 @@ static method test4() → dynamic { core::List list = [null]; core::String s = let final core::List #t10 = list in let final core::int #t11 = 0 in let final core::String? #t12 = #t10.{core::List::[]}(#t11){(core::int) → core::String?} in #t12 == null ?{core::String} let final core::String #t13 = "bar" in let final void #t14 = #t10.{core::List::[]=}(#t11, #t13){(core::int, core::String?) → void} in #t13 : #t12{core::String}; } -static method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} -static method E6|[](lowered final core::double #this, core::int index) → core::String? +static extension-member method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} +static extension-member method E6|[](lowered final core::double #this, core::int index) → core::String? return null; static method test6() → dynamic { core::String s = let final core::double #t15 = 3.14 in let final core::int #t16 = 0 in let final core::String? #t17 = self::E6|[](#t15, #t16) in #t17 == null ?{core::String} let final core::String #t18 = "bar" in let final void #t19 = self::E6|[]=(#t15, #t16, #t18) in #t18 : #t17{core::String}; diff --git a/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.outline.expect index 6eb8339e902..98accf05ef5 100644 --- a/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.outline.expect @@ -41,9 +41,9 @@ static method test3() → dynamic ; static method test4() → dynamic ; -static method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void +static extension-member method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void ; -static method E6|[](lowered final core::double #this, core::int index) → core::String? +static extension-member method E6|[](lowered final core::double #this, core::int index) → core::String? ; static method test6() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.transformed.expect index 57a70ce53a0..8de0aa47d44 100644 --- a/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/infer_if_null.dart.weak.transformed.expect @@ -56,8 +56,8 @@ static method test4() → dynamic { core::List list = core::_GrowableList::_literal1(null); core::String s = let final core::List #t10 = list in let final core::int #t11 = 0 in let final core::String? #t12 = #t10.{core::List::[]}(#t11){(core::int) → core::String?} in #t12 == null ?{core::String} let final core::String #t13 = "bar" in let final void #t14 = #t10.{core::List::[]=}(#t11, #t13){(core::int, core::String?) → void} in #t13 : #t12{core::String}; } -static method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} -static method E6|[](lowered final core::double #this, core::int index) → core::String? +static extension-member method E6|[]=(lowered final core::double #this, core::int index, core::String? value) → void {} +static extension-member method E6|[](lowered final core::double #this, core::int index) → core::String? return null; static method test6() → dynamic { core::String s = let final core::double #t15 = 3.14 in let final core::int #t16 = 0 in let final core::String? #t17 = self::E6|[](#t15, #t16) in #t17 == null ?{core::String} let final core::String #t18 = "bar" in let final void #t19 = self::E6|[]=(#t15, #t16, #t18) in #t18 : #t17{core::String}; diff --git a/pkg/front_end/testcases/nnbd/issue41349.dart.strong.expect b/pkg/front_end/testcases/nnbd/issue41349.dart.strong.expect index d32f1bb731c..dbdbbb5b5f8 100644 --- a/pkg/front_end/testcases/nnbd/issue41349.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/issue41349.dart.strong.expect @@ -23,21 +23,21 @@ extension D on () →? core::int { method call = self::D|call; tearoff call = self::D|get#call; } -static method B|foo(lowered final self::A? #this) → dynamic +static extension-member method B|foo(lowered final self::A? #this) → dynamic return 42; -static method B|get#foo(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#foo(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|foo(#this); -static method B|bar(lowered final self::A? #this) → dynamic +static extension-member method B|bar(lowered final self::A? #this) → dynamic return 87; -static method B|get#bar(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#bar(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|bar(#this); -static method C|bar(lowered final self::A #this) → dynamic +static extension-member method C|bar(lowered final self::A #this) → dynamic return 123; -static method C|get#bar(lowered final self::A #this) → () → dynamic +static extension-member method C|get#bar(lowered final self::A #this) → () → dynamic return () → dynamic => self::C|bar(#this); -static method D|call(lowered final () →? core::int #this) → core::int +static extension-member method D|call(lowered final () →? core::int #this) → core::int return 76; -static method D|get#call(lowered final () →? core::int #this) → () → core::int +static extension-member method D|get#call(lowered final () →? core::int #this) → () → core::int return () → core::int => self::D|call(#this); static method main() → dynamic { self::testA(new self::A::•()); diff --git a/pkg/front_end/testcases/nnbd/issue41349.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/issue41349.dart.strong.transformed.expect index d32f1bb731c..dbdbbb5b5f8 100644 --- a/pkg/front_end/testcases/nnbd/issue41349.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue41349.dart.strong.transformed.expect @@ -23,21 +23,21 @@ extension D on () →? core::int { method call = self::D|call; tearoff call = self::D|get#call; } -static method B|foo(lowered final self::A? #this) → dynamic +static extension-member method B|foo(lowered final self::A? #this) → dynamic return 42; -static method B|get#foo(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#foo(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|foo(#this); -static method B|bar(lowered final self::A? #this) → dynamic +static extension-member method B|bar(lowered final self::A? #this) → dynamic return 87; -static method B|get#bar(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#bar(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|bar(#this); -static method C|bar(lowered final self::A #this) → dynamic +static extension-member method C|bar(lowered final self::A #this) → dynamic return 123; -static method C|get#bar(lowered final self::A #this) → () → dynamic +static extension-member method C|get#bar(lowered final self::A #this) → () → dynamic return () → dynamic => self::C|bar(#this); -static method D|call(lowered final () →? core::int #this) → core::int +static extension-member method D|call(lowered final () →? core::int #this) → core::int return 76; -static method D|get#call(lowered final () →? core::int #this) → () → core::int +static extension-member method D|get#call(lowered final () →? core::int #this) → () → core::int return () → core::int => self::D|call(#this); static method main() → dynamic { self::testA(new self::A::•()); diff --git a/pkg/front_end/testcases/nnbd/issue41349.dart.weak.expect b/pkg/front_end/testcases/nnbd/issue41349.dart.weak.expect index d32f1bb731c..dbdbbb5b5f8 100644 --- a/pkg/front_end/testcases/nnbd/issue41349.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/issue41349.dart.weak.expect @@ -23,21 +23,21 @@ extension D on () →? core::int { method call = self::D|call; tearoff call = self::D|get#call; } -static method B|foo(lowered final self::A? #this) → dynamic +static extension-member method B|foo(lowered final self::A? #this) → dynamic return 42; -static method B|get#foo(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#foo(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|foo(#this); -static method B|bar(lowered final self::A? #this) → dynamic +static extension-member method B|bar(lowered final self::A? #this) → dynamic return 87; -static method B|get#bar(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#bar(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|bar(#this); -static method C|bar(lowered final self::A #this) → dynamic +static extension-member method C|bar(lowered final self::A #this) → dynamic return 123; -static method C|get#bar(lowered final self::A #this) → () → dynamic +static extension-member method C|get#bar(lowered final self::A #this) → () → dynamic return () → dynamic => self::C|bar(#this); -static method D|call(lowered final () →? core::int #this) → core::int +static extension-member method D|call(lowered final () →? core::int #this) → core::int return 76; -static method D|get#call(lowered final () →? core::int #this) → () → core::int +static extension-member method D|get#call(lowered final () →? core::int #this) → () → core::int return () → core::int => self::D|call(#this); static method main() → dynamic { self::testA(new self::A::•()); diff --git a/pkg/front_end/testcases/nnbd/issue41349.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/issue41349.dart.weak.modular.expect index d32f1bb731c..dbdbbb5b5f8 100644 --- a/pkg/front_end/testcases/nnbd/issue41349.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/issue41349.dart.weak.modular.expect @@ -23,21 +23,21 @@ extension D on () →? core::int { method call = self::D|call; tearoff call = self::D|get#call; } -static method B|foo(lowered final self::A? #this) → dynamic +static extension-member method B|foo(lowered final self::A? #this) → dynamic return 42; -static method B|get#foo(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#foo(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|foo(#this); -static method B|bar(lowered final self::A? #this) → dynamic +static extension-member method B|bar(lowered final self::A? #this) → dynamic return 87; -static method B|get#bar(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#bar(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|bar(#this); -static method C|bar(lowered final self::A #this) → dynamic +static extension-member method C|bar(lowered final self::A #this) → dynamic return 123; -static method C|get#bar(lowered final self::A #this) → () → dynamic +static extension-member method C|get#bar(lowered final self::A #this) → () → dynamic return () → dynamic => self::C|bar(#this); -static method D|call(lowered final () →? core::int #this) → core::int +static extension-member method D|call(lowered final () →? core::int #this) → core::int return 76; -static method D|get#call(lowered final () →? core::int #this) → () → core::int +static extension-member method D|get#call(lowered final () →? core::int #this) → () → core::int return () → core::int => self::D|call(#this); static method main() → dynamic { self::testA(new self::A::•()); diff --git a/pkg/front_end/testcases/nnbd/issue41349.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/issue41349.dart.weak.outline.expect index a5b34e9d8f7..de48c636cc6 100644 --- a/pkg/front_end/testcases/nnbd/issue41349.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/issue41349.dart.weak.outline.expect @@ -22,21 +22,21 @@ extension D on () →? core::int { method call = self::D|call; tearoff call = self::D|get#call; } -static method B|foo(lowered final self::A? #this) → dynamic +static extension-member method B|foo(lowered final self::A? #this) → dynamic ; -static method B|get#foo(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#foo(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|foo(#this); -static method B|bar(lowered final self::A? #this) → dynamic +static extension-member method B|bar(lowered final self::A? #this) → dynamic ; -static method B|get#bar(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#bar(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|bar(#this); -static method C|bar(lowered final self::A #this) → dynamic +static extension-member method C|bar(lowered final self::A #this) → dynamic ; -static method C|get#bar(lowered final self::A #this) → () → dynamic +static extension-member method C|get#bar(lowered final self::A #this) → () → dynamic return () → dynamic => self::C|bar(#this); -static method D|call(lowered final () →? core::int #this) → core::int +static extension-member method D|call(lowered final () →? core::int #this) → core::int ; -static method D|get#call(lowered final () →? core::int #this) → () → core::int +static extension-member method D|get#call(lowered final () →? core::int #this) → () → core::int return () → core::int => self::D|call(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/issue41349.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/issue41349.dart.weak.transformed.expect index d32f1bb731c..dbdbbb5b5f8 100644 --- a/pkg/front_end/testcases/nnbd/issue41349.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue41349.dart.weak.transformed.expect @@ -23,21 +23,21 @@ extension D on () →? core::int { method call = self::D|call; tearoff call = self::D|get#call; } -static method B|foo(lowered final self::A? #this) → dynamic +static extension-member method B|foo(lowered final self::A? #this) → dynamic return 42; -static method B|get#foo(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#foo(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|foo(#this); -static method B|bar(lowered final self::A? #this) → dynamic +static extension-member method B|bar(lowered final self::A? #this) → dynamic return 87; -static method B|get#bar(lowered final self::A? #this) → () → dynamic +static extension-member method B|get#bar(lowered final self::A? #this) → () → dynamic return () → dynamic => self::B|bar(#this); -static method C|bar(lowered final self::A #this) → dynamic +static extension-member method C|bar(lowered final self::A #this) → dynamic return 123; -static method C|get#bar(lowered final self::A #this) → () → dynamic +static extension-member method C|get#bar(lowered final self::A #this) → () → dynamic return () → dynamic => self::C|bar(#this); -static method D|call(lowered final () →? core::int #this) → core::int +static extension-member method D|call(lowered final () →? core::int #this) → core::int return 76; -static method D|get#call(lowered final () →? core::int #this) → () → core::int +static extension-member method D|get#call(lowered final () →? core::int #this) → () → core::int return () → core::int => self::D|call(#this); static method main() → dynamic { self::testA(new self::A::•()); diff --git a/pkg/front_end/testcases/nnbd/issue43211.dart.strong.expect b/pkg/front_end/testcases/nnbd/issue43211.dart.strong.expect index d6c3205ea92..31fdd7e3d73 100644 --- a/pkg/front_end/testcases/nnbd/issue43211.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/issue43211.dart.strong.expect @@ -243,17 +243,17 @@ extension Extension1? = self::A?> on self::A } extension ext2?> on self::A { } -static method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { +static extension-member method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { self::A? c; self::A>? d; } -static method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void +static extension-member method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void return ? = self::A?>(self::A a, self::A>? b) → void => self::Extension1|method1(#this, a, b); -static method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { +static extension-member method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { self::D? c; self::D? d; } -static method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void +static extension-member method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void return (self::D a, self::D? b) → void => self::Extension1|method2(#this, a, b); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/nnbd/issue43211.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/issue43211.dart.strong.transformed.expect index d6c3205ea92..31fdd7e3d73 100644 --- a/pkg/front_end/testcases/nnbd/issue43211.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue43211.dart.strong.transformed.expect @@ -243,17 +243,17 @@ extension Extension1? = self::A?> on self::A } extension ext2?> on self::A { } -static method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { +static extension-member method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { self::A? c; self::A>? d; } -static method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void +static extension-member method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void return ? = self::A?>(self::A a, self::A>? b) → void => self::Extension1|method1(#this, a, b); -static method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { +static extension-member method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { self::D? c; self::D? d; } -static method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void +static extension-member method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void return (self::D a, self::D? b) → void => self::Extension1|method2(#this, a, b); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/nnbd/issue43211.dart.weak.expect b/pkg/front_end/testcases/nnbd/issue43211.dart.weak.expect index d6c3205ea92..31fdd7e3d73 100644 --- a/pkg/front_end/testcases/nnbd/issue43211.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/issue43211.dart.weak.expect @@ -243,17 +243,17 @@ extension Extension1? = self::A?> on self::A } extension ext2?> on self::A { } -static method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { +static extension-member method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { self::A? c; self::A>? d; } -static method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void +static extension-member method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void return ? = self::A?>(self::A a, self::A>? b) → void => self::Extension1|method1(#this, a, b); -static method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { +static extension-member method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { self::D? c; self::D? d; } -static method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void +static extension-member method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void return (self::D a, self::D? b) → void => self::Extension1|method2(#this, a, b); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/nnbd/issue43211.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/issue43211.dart.weak.modular.expect index d6c3205ea92..31fdd7e3d73 100644 --- a/pkg/front_end/testcases/nnbd/issue43211.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/issue43211.dart.weak.modular.expect @@ -243,17 +243,17 @@ extension Extension1? = self::A?> on self::A } extension ext2?> on self::A { } -static method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { +static extension-member method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { self::A? c; self::A>? d; } -static method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void +static extension-member method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void return ? = self::A?>(self::A a, self::A>? b) → void => self::Extension1|method1(#this, a, b); -static method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { +static extension-member method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { self::D? c; self::D? d; } -static method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void +static extension-member method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void return (self::D a, self::D? b) → void => self::Extension1|method2(#this, a, b); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/nnbd/issue43211.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/issue43211.dart.weak.outline.expect index b9e71484fdd..f622e11e1b5 100644 --- a/pkg/front_end/testcases/nnbd/issue43211.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/issue43211.dart.weak.outline.expect @@ -137,13 +137,13 @@ extension Extension1? = self::A?> on self::A } extension ext2?> on self::A { } -static method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void +static extension-member method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void ; -static method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void +static extension-member method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void return ? = self::A?>(self::A a, self::A>? b) → void => self::Extension1|method1(#this, a, b); -static method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void +static extension-member method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void ; -static method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void +static extension-member method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void return (self::D a, self::D? b) → void => self::Extension1|method2(#this, a, b); static method test() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/issue43211.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/issue43211.dart.weak.transformed.expect index d6c3205ea92..31fdd7e3d73 100644 --- a/pkg/front_end/testcases/nnbd/issue43211.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue43211.dart.weak.transformed.expect @@ -243,17 +243,17 @@ extension Extension1? = self::A?> on self::A } extension ext2?> on self::A { } -static method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { +static extension-member method Extension1|method1? = self::A?, Y extends self::A? = self::A?>(lowered final self::A #this, self::A a, self::A>? b) → void { self::A? c; self::A>? d; } -static method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void +static extension-member method Extension1|get#method1? = self::A?>(lowered final self::A #this) → ? = self::A?>(self::A, self::A>?) → void return ? = self::A?>(self::A a, self::A>? b) → void => self::Extension1|method1(#this, a, b); -static method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { +static extension-member method Extension1|method2? = self::A?, Y extends core::String>(lowered final self::A #this, self::D a, self::D? b) → void { self::D? c; self::D? d; } -static method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void +static extension-member method Extension1|get#method2? = self::A?>(lowered final self::A #this) → (self::D, self::D?) → void return (self::D a, self::D? b) → void => self::Extension1|method2(#this, a, b); static method test() → dynamic { self::A a = new self::A::•(); diff --git a/pkg/front_end/testcases/nnbd/issue43278.dart.strong.expect b/pkg/front_end/testcases/nnbd/issue43278.dart.strong.expect index 9b7e16cea3e..f8a9d275325 100644 --- a/pkg/front_end/testcases/nnbd/issue43278.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/issue43278.dart.strong.expect @@ -64,10 +64,10 @@ Try accessing using ?. instead. let final dynamic #t3 = d in #t3{dynamic}.foo == null ?{dynamic} #t3{dynamic}.foo = x : null; let final self::A? #t4 = a in #t4 == null ?{core::int?} null : let final self::A #t5 = #t4{self::A}.{self::A::bar}{self::A} in #t5.{self::A::foo}{core::int?} == null ?{core::int} #t5.{self::A::foo} = x : null; } -static method Extension|get#fooExtension(lowered final self::B #this) → core::int? +static extension-member method Extension|get#fooExtension(lowered final self::B #this) → core::int? return null; -static method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} -static method Extension|get#barExtension(lowered final self::B #this) → self::B +static extension-member method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} +static extension-member method Extension|get#barExtension(lowered final self::B #this) → self::B return new self::B::•(); static method testExtension(self::B? b, self::testExtension::T% t, core::int x) → dynamic { let final self::B? #t6 = b in invalid-expression "pkg/front_end/testcases/nnbd/issue43278.dart:28:5: Error: Property 'fooExtension' cannot be accessed on 'B?' because it is potentially null. diff --git a/pkg/front_end/testcases/nnbd/issue43278.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/issue43278.dart.strong.transformed.expect index 9b7e16cea3e..f8a9d275325 100644 --- a/pkg/front_end/testcases/nnbd/issue43278.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue43278.dart.strong.transformed.expect @@ -64,10 +64,10 @@ Try accessing using ?. instead. let final dynamic #t3 = d in #t3{dynamic}.foo == null ?{dynamic} #t3{dynamic}.foo = x : null; let final self::A? #t4 = a in #t4 == null ?{core::int?} null : let final self::A #t5 = #t4{self::A}.{self::A::bar}{self::A} in #t5.{self::A::foo}{core::int?} == null ?{core::int} #t5.{self::A::foo} = x : null; } -static method Extension|get#fooExtension(lowered final self::B #this) → core::int? +static extension-member method Extension|get#fooExtension(lowered final self::B #this) → core::int? return null; -static method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} -static method Extension|get#barExtension(lowered final self::B #this) → self::B +static extension-member method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} +static extension-member method Extension|get#barExtension(lowered final self::B #this) → self::B return new self::B::•(); static method testExtension(self::B? b, self::testExtension::T% t, core::int x) → dynamic { let final self::B? #t6 = b in invalid-expression "pkg/front_end/testcases/nnbd/issue43278.dart:28:5: Error: Property 'fooExtension' cannot be accessed on 'B?' because it is potentially null. diff --git a/pkg/front_end/testcases/nnbd/issue43278.dart.weak.expect b/pkg/front_end/testcases/nnbd/issue43278.dart.weak.expect index 9b7e16cea3e..f8a9d275325 100644 --- a/pkg/front_end/testcases/nnbd/issue43278.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/issue43278.dart.weak.expect @@ -64,10 +64,10 @@ Try accessing using ?. instead. let final dynamic #t3 = d in #t3{dynamic}.foo == null ?{dynamic} #t3{dynamic}.foo = x : null; let final self::A? #t4 = a in #t4 == null ?{core::int?} null : let final self::A #t5 = #t4{self::A}.{self::A::bar}{self::A} in #t5.{self::A::foo}{core::int?} == null ?{core::int} #t5.{self::A::foo} = x : null; } -static method Extension|get#fooExtension(lowered final self::B #this) → core::int? +static extension-member method Extension|get#fooExtension(lowered final self::B #this) → core::int? return null; -static method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} -static method Extension|get#barExtension(lowered final self::B #this) → self::B +static extension-member method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} +static extension-member method Extension|get#barExtension(lowered final self::B #this) → self::B return new self::B::•(); static method testExtension(self::B? b, self::testExtension::T% t, core::int x) → dynamic { let final self::B? #t6 = b in invalid-expression "pkg/front_end/testcases/nnbd/issue43278.dart:28:5: Error: Property 'fooExtension' cannot be accessed on 'B?' because it is potentially null. diff --git a/pkg/front_end/testcases/nnbd/issue43278.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/issue43278.dart.weak.modular.expect index 9b7e16cea3e..f8a9d275325 100644 --- a/pkg/front_end/testcases/nnbd/issue43278.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/issue43278.dart.weak.modular.expect @@ -64,10 +64,10 @@ Try accessing using ?. instead. let final dynamic #t3 = d in #t3{dynamic}.foo == null ?{dynamic} #t3{dynamic}.foo = x : null; let final self::A? #t4 = a in #t4 == null ?{core::int?} null : let final self::A #t5 = #t4{self::A}.{self::A::bar}{self::A} in #t5.{self::A::foo}{core::int?} == null ?{core::int} #t5.{self::A::foo} = x : null; } -static method Extension|get#fooExtension(lowered final self::B #this) → core::int? +static extension-member method Extension|get#fooExtension(lowered final self::B #this) → core::int? return null; -static method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} -static method Extension|get#barExtension(lowered final self::B #this) → self::B +static extension-member method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} +static extension-member method Extension|get#barExtension(lowered final self::B #this) → self::B return new self::B::•(); static method testExtension(self::B? b, self::testExtension::T% t, core::int x) → dynamic { let final self::B? #t6 = b in invalid-expression "pkg/front_end/testcases/nnbd/issue43278.dart:28:5: Error: Property 'fooExtension' cannot be accessed on 'B?' because it is potentially null. diff --git a/pkg/front_end/testcases/nnbd/issue43278.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/issue43278.dart.weak.outline.expect index 0f17390fb82..ed132e45477 100644 --- a/pkg/front_end/testcases/nnbd/issue43278.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/issue43278.dart.weak.outline.expect @@ -19,11 +19,11 @@ extension Extension on self::B { } static method test(self::A? a, self::test::T% t, dynamic d, core::int x) → dynamic ; -static method Extension|get#fooExtension(lowered final self::B #this) → core::int? +static extension-member method Extension|get#fooExtension(lowered final self::B #this) → core::int? ; -static method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void +static extension-member method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void ; -static method Extension|get#barExtension(lowered final self::B #this) → self::B +static extension-member method Extension|get#barExtension(lowered final self::B #this) → self::B ; static method testExtension(self::B? b, self::testExtension::T% t, core::int x) → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/issue43278.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/issue43278.dart.weak.transformed.expect index 9b7e16cea3e..f8a9d275325 100644 --- a/pkg/front_end/testcases/nnbd/issue43278.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue43278.dart.weak.transformed.expect @@ -64,10 +64,10 @@ Try accessing using ?. instead. let final dynamic #t3 = d in #t3{dynamic}.foo == null ?{dynamic} #t3{dynamic}.foo = x : null; let final self::A? #t4 = a in #t4 == null ?{core::int?} null : let final self::A #t5 = #t4{self::A}.{self::A::bar}{self::A} in #t5.{self::A::foo}{core::int?} == null ?{core::int} #t5.{self::A::foo} = x : null; } -static method Extension|get#fooExtension(lowered final self::B #this) → core::int? +static extension-member method Extension|get#fooExtension(lowered final self::B #this) → core::int? return null; -static method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} -static method Extension|get#barExtension(lowered final self::B #this) → self::B +static extension-member method Extension|set#fooExtension(lowered final self::B #this, core::int? value) → void {} +static extension-member method Extension|get#barExtension(lowered final self::B #this) → self::B return new self::B::•(); static method testExtension(self::B? b, self::testExtension::T% t, core::int x) → dynamic { let final self::B? #t6 = b in invalid-expression "pkg/front_end/testcases/nnbd/issue43278.dart:28:5: Error: Property 'fooExtension' cannot be accessed on 'B?' because it is potentially null. diff --git a/pkg/front_end/testcases/nnbd/issue43591.dart.strong.expect b/pkg/front_end/testcases/nnbd/issue43591.dart.strong.expect index ccb1b66a2a1..2fab08b1e04 100644 --- a/pkg/front_end/testcases/nnbd/issue43591.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/issue43591.dart.strong.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension E on T% { get f = self::E|get#f; } -static method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% +static extension-member method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% return (self::E|get#f::T% t) → self::E|get#f::T% => t; static method method1(self::method1::S% s) → dynamic { (self::method1::S%) → self::method1::S% f = self::E|get#f(s); diff --git a/pkg/front_end/testcases/nnbd/issue43591.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/issue43591.dart.strong.transformed.expect index ccb1b66a2a1..2fab08b1e04 100644 --- a/pkg/front_end/testcases/nnbd/issue43591.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue43591.dart.strong.transformed.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension E on T% { get f = self::E|get#f; } -static method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% +static extension-member method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% return (self::E|get#f::T% t) → self::E|get#f::T% => t; static method method1(self::method1::S% s) → dynamic { (self::method1::S%) → self::method1::S% f = self::E|get#f(s); diff --git a/pkg/front_end/testcases/nnbd/issue43591.dart.weak.expect b/pkg/front_end/testcases/nnbd/issue43591.dart.weak.expect index ccb1b66a2a1..2fab08b1e04 100644 --- a/pkg/front_end/testcases/nnbd/issue43591.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/issue43591.dart.weak.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension E on T% { get f = self::E|get#f; } -static method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% +static extension-member method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% return (self::E|get#f::T% t) → self::E|get#f::T% => t; static method method1(self::method1::S% s) → dynamic { (self::method1::S%) → self::method1::S% f = self::E|get#f(s); diff --git a/pkg/front_end/testcases/nnbd/issue43591.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/issue43591.dart.weak.modular.expect index ccb1b66a2a1..2fab08b1e04 100644 --- a/pkg/front_end/testcases/nnbd/issue43591.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/issue43591.dart.weak.modular.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension E on T% { get f = self::E|get#f; } -static method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% +static extension-member method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% return (self::E|get#f::T% t) → self::E|get#f::T% => t; static method method1(self::method1::S% s) → dynamic { (self::method1::S%) → self::method1::S% f = self::E|get#f(s); diff --git a/pkg/front_end/testcases/nnbd/issue43591.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/issue43591.dart.weak.outline.expect index ebcaf264d30..9e800f32d2f 100644 --- a/pkg/front_end/testcases/nnbd/issue43591.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/issue43591.dart.weak.outline.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension E on T% { get f = self::E|get#f; } -static method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% +static extension-member method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% ; static method method1(self::method1::S% s) → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/issue43591.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/issue43591.dart.weak.transformed.expect index ccb1b66a2a1..2fab08b1e04 100644 --- a/pkg/front_end/testcases/nnbd/issue43591.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue43591.dart.weak.transformed.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension E on T% { get f = self::E|get#f; } -static method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% +static extension-member method E|get#f(lowered final self::E|get#f::T% #this) → (self::E|get#f::T%) → self::E|get#f::T% return (self::E|get#f::T% t) → self::E|get#f::T% => t; static method method1(self::method1::S% s) → dynamic { (self::method1::S%) → self::method1::S% f = self::E|get#f(s); diff --git a/pkg/front_end/testcases/nnbd/issue44595.dart.strong.expect b/pkg/front_end/testcases/nnbd/issue44595.dart.strong.expect index a6008723f16..cb881544ee4 100644 --- a/pkg/front_end/testcases/nnbd/issue44595.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/issue44595.dart.strong.expect @@ -20,8 +20,8 @@ static method main() → dynamic async /* futureValueType= dynamic */ { self::_extension#0|checkStaticType(#t2); } =>#t2; } -static method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} -static method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void +static extension-member method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} +static extension-member method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void return () → void => self::_extension#0|checkStaticType(#this); static method contextType(core::Object? o) → self::contextType::T% return o as self::contextType::T%; diff --git a/pkg/front_end/testcases/nnbd/issue44595.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/issue44595.dart.strong.transformed.expect index a6008723f16..cb881544ee4 100644 --- a/pkg/front_end/testcases/nnbd/issue44595.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue44595.dart.strong.transformed.expect @@ -20,8 +20,8 @@ static method main() → dynamic async /* futureValueType= dynamic */ { self::_extension#0|checkStaticType(#t2); } =>#t2; } -static method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} -static method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void +static extension-member method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} +static extension-member method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void return () → void => self::_extension#0|checkStaticType(#this); static method contextType(core::Object? o) → self::contextType::T% return o as self::contextType::T%; diff --git a/pkg/front_end/testcases/nnbd/issue44595.dart.weak.expect b/pkg/front_end/testcases/nnbd/issue44595.dart.weak.expect index a6008723f16..cb881544ee4 100644 --- a/pkg/front_end/testcases/nnbd/issue44595.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/issue44595.dart.weak.expect @@ -20,8 +20,8 @@ static method main() → dynamic async /* futureValueType= dynamic */ { self::_extension#0|checkStaticType(#t2); } =>#t2; } -static method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} -static method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void +static extension-member method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} +static extension-member method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void return () → void => self::_extension#0|checkStaticType(#this); static method contextType(core::Object? o) → self::contextType::T% return o as self::contextType::T%; diff --git a/pkg/front_end/testcases/nnbd/issue44595.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/issue44595.dart.weak.modular.expect index a6008723f16..cb881544ee4 100644 --- a/pkg/front_end/testcases/nnbd/issue44595.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/issue44595.dart.weak.modular.expect @@ -20,8 +20,8 @@ static method main() → dynamic async /* futureValueType= dynamic */ { self::_extension#0|checkStaticType(#t2); } =>#t2; } -static method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} -static method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void +static extension-member method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} +static extension-member method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void return () → void => self::_extension#0|checkStaticType(#this); static method contextType(core::Object? o) → self::contextType::T% return o as self::contextType::T%; diff --git a/pkg/front_end/testcases/nnbd/issue44595.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/issue44595.dart.weak.outline.expect index aa19cd7171e..3761a0cfdd3 100644 --- a/pkg/front_end/testcases/nnbd/issue44595.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/issue44595.dart.weak.outline.expect @@ -13,9 +13,9 @@ static method id(self::id::T% value) → self ; static method main() → dynamic async ; -static method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void +static extension-member method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void ; -static method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void +static extension-member method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void return () → void => self::_extension#0|checkStaticType(#this); static method contextType(core::Object? o) → self::contextType::T% ; diff --git a/pkg/front_end/testcases/nnbd/issue44595.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/issue44595.dart.weak.transformed.expect index a6008723f16..cb881544ee4 100644 --- a/pkg/front_end/testcases/nnbd/issue44595.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue44595.dart.weak.transformed.expect @@ -20,8 +20,8 @@ static method main() → dynamic async /* futureValueType= dynamic */ { self::_extension#0|checkStaticType(#t2); } =>#t2; } -static method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} -static method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void +static extension-member method _extension#0|checkStaticType(lowered final self::_extension#0|checkStaticType::T% #this) → void {} +static extension-member method _extension#0|get#checkStaticType(lowered final self::_extension#0|get#checkStaticType::T% #this) → () → void return () → void => self::_extension#0|checkStaticType(#this); static method contextType(core::Object? o) → self::contextType::T% return o as self::contextType::T%; diff --git a/pkg/front_end/testcases/nnbd/language_issue1182.dart.strong.expect b/pkg/front_end/testcases/nnbd/language_issue1182.dart.strong.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/nnbd/language_issue1182.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/language_issue1182.dart.strong.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/nnbd/language_issue1182.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/language_issue1182.dart.strong.transformed.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/nnbd/language_issue1182.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/language_issue1182.dart.strong.transformed.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.expect b/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.modular.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.modular.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.outline.expect index 6071eb7658e..6d4cea4be91 100644 --- a/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.outline.expect @@ -11,7 +11,7 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% ; static method main() → void ; diff --git a/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.transformed.expect index 75c9c2c9d23..d62e150b87c 100644 --- a/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/language_issue1182.dart.weak.transformed.expect @@ -13,6 +13,6 @@ class Foo extends core::Object { extension Test on T% { get test = self::Test|get#test; } -static method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% +static extension-member method Test|get#test(lowered final self::Test|get#test::T% #this) → (self::Test|get#test::T%) → self::Test|get#test::T% return (self::Test|get#test::T% a) → self::Test|get#test::T% => #this; static method main() → void {} diff --git a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.strong.expect b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.strong.expect index f0215b9ce1c..c78614774f1 100644 --- a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.strong.expect @@ -166,18 +166,18 @@ extension Extension on core::int? { static method topLevelMethodAndSetter() → dynamic {} static set topLevelMethodAndSetter(dynamic value) → void {} static set classAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndSetter(#this); -static method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} -static method Extension|extensionStaticMethodAndSetter() → dynamic {} -static set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndSetter() → dynamic {} +static extension-member set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} +static extension-member method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndStaticSetter(#this); -static set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} -static method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} -static method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} +static extension-member method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart:47:3: Error: Setter not found: 'topLevelMethodAndSetter'. topLevelMethodAndSetter = topLevelMethodAndSetter(); diff --git a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.strong.transformed.expect index f0215b9ce1c..c78614774f1 100644 --- a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.strong.transformed.expect @@ -166,18 +166,18 @@ extension Extension on core::int? { static method topLevelMethodAndSetter() → dynamic {} static set topLevelMethodAndSetter(dynamic value) → void {} static set classAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndSetter(#this); -static method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} -static method Extension|extensionStaticMethodAndSetter() → dynamic {} -static set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndSetter() → dynamic {} +static extension-member set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} +static extension-member method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndStaticSetter(#this); -static set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} -static method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} -static method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} +static extension-member method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart:47:3: Error: Setter not found: 'topLevelMethodAndSetter'. topLevelMethodAndSetter = topLevelMethodAndSetter(); diff --git a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.expect b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.expect index f0215b9ce1c..c78614774f1 100644 --- a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.expect @@ -166,18 +166,18 @@ extension Extension on core::int? { static method topLevelMethodAndSetter() → dynamic {} static set topLevelMethodAndSetter(dynamic value) → void {} static set classAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndSetter(#this); -static method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} -static method Extension|extensionStaticMethodAndSetter() → dynamic {} -static set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndSetter() → dynamic {} +static extension-member set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} +static extension-member method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndStaticSetter(#this); -static set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} -static method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} -static method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} +static extension-member method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart:47:3: Error: Setter not found: 'topLevelMethodAndSetter'. topLevelMethodAndSetter = topLevelMethodAndSetter(); diff --git a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.modular.expect index f0215b9ce1c..c78614774f1 100644 --- a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.modular.expect @@ -166,18 +166,18 @@ extension Extension on core::int? { static method topLevelMethodAndSetter() → dynamic {} static set topLevelMethodAndSetter(dynamic value) → void {} static set classAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndSetter(#this); -static method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} -static method Extension|extensionStaticMethodAndSetter() → dynamic {} -static set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndSetter() → dynamic {} +static extension-member set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} +static extension-member method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndStaticSetter(#this); -static set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} -static method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} -static method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} +static extension-member method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart:47:3: Error: Setter not found: 'topLevelMethodAndSetter'. topLevelMethodAndSetter = topLevelMethodAndSetter(); diff --git a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.outline.expect index 08fc18354ee..055e7078a3d 100644 --- a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.outline.expect @@ -142,25 +142,25 @@ static set topLevelMethodAndSetter(dynamic value) → void ; static set classAndSetter(dynamic value) → void ; -static method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic +static extension-member method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic ; -static method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndSetter(#this); -static method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void +static extension-member method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void ; -static method Extension|extensionStaticMethodAndSetter() → dynamic +static extension-member method Extension|extensionStaticMethodAndSetter() → dynamic ; -static set Extension|extensionStaticMethodAndSetter(dynamic value) → void +static extension-member set Extension|extensionStaticMethodAndSetter(dynamic value) → void ; -static method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic +static extension-member method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic ; -static method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndStaticSetter(#this); -static set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void +static extension-member set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void ; -static method Extension|extensionStaticMethodAndInstanceSetter() → dynamic +static extension-member method Extension|extensionStaticMethodAndInstanceSetter() → dynamic ; -static method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void +static extension-member method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void ; static method test() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.transformed.expect index f0215b9ce1c..c78614774f1 100644 --- a/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart.weak.transformed.expect @@ -166,18 +166,18 @@ extension Extension on core::int? { static method topLevelMethodAndSetter() → dynamic {} static set topLevelMethodAndSetter(dynamic value) → void {} static set classAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|extensionInstanceMethodAndSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndSetter(#this); -static method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} -static method Extension|extensionStaticMethodAndSetter() → dynamic {} -static set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} -static method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} -static method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic +static extension-member method Extension|set#extensionInstanceMethodAndSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndSetter() → dynamic {} +static extension-member set Extension|extensionStaticMethodAndSetter(dynamic value) → void {} +static extension-member method Extension|extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → dynamic {} +static extension-member method Extension|get#extensionInstanceMethodAndStaticSetter(lowered final core::int? #this) → () → dynamic return () → dynamic => self::Extension|extensionInstanceMethodAndStaticSetter(#this); -static set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} -static method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} -static method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} +static extension-member set Extension|extensionInstanceMethodAndStaticSetter(dynamic value) → void {} +static extension-member method Extension|extensionStaticMethodAndInstanceSetter() → dynamic {} +static extension-member method Extension|set#extensionStaticMethodAndInstanceSetter(lowered final core::int? #this, dynamic value) → void {} static method test() → dynamic { invalid-expression "pkg/front_end/testcases/nnbd/nonfield_vs_setter.dart:47:3: Error: Setter not found: 'topLevelMethodAndSetter'. topLevelMethodAndSetter = topLevelMethodAndSetter(); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.strong.expect b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.strong.expect index 11177d13fff..658c94a22aa 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.strong.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final self::Class #this) → self::Class +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → self::Class return #this; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class return () → self::Class => self::Extension|extensionMethod(#this); static method main() → dynamic { self::Class? c; diff --git a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.strong.transformed.expect index 11177d13fff..658c94a22aa 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.strong.transformed.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final self::Class #this) → self::Class +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → self::Class return #this; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class return () → self::Class => self::Extension|extensionMethod(#this); static method main() → dynamic { self::Class? c; diff --git a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.expect b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.expect index 11177d13fff..658c94a22aa 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final self::Class #this) → self::Class +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → self::Class return #this; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class return () → self::Class => self::Extension|extensionMethod(#this); static method main() → dynamic { self::Class? c; diff --git a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.modular.expect index 11177d13fff..658c94a22aa 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.modular.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final self::Class #this) → self::Class +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → self::Class return #this; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class return () → self::Class => self::Extension|extensionMethod(#this); static method main() → dynamic { self::Class? c; diff --git a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.outline.expect index ea0e436a533..1d982b14cf7 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.outline.expect @@ -12,9 +12,9 @@ extension Extension on self::Class { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final self::Class #this) → self::Class +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → self::Class ; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class return () → self::Class => self::Extension|extensionMethod(#this); static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.transformed.expect index 11177d13fff..658c94a22aa 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_cascade.dart.weak.transformed.expect @@ -13,9 +13,9 @@ extension Extension on self::Class { method extensionMethod = self::Extension|extensionMethod; tearoff extensionMethod = self::Extension|get#extensionMethod; } -static method Extension|extensionMethod(lowered final self::Class #this) → self::Class +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → self::Class return #this; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → self::Class return () → self::Class => self::Extension|extensionMethod(#this); static method main() → dynamic { self::Class? c; diff --git a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.strong.expect b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.strong.expect index 15dd869ad76..6b37c8ff721 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.strong.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.strong.transformed.expect index 15dd869ad76..6b37c8ff721 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.strong.transformed.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.expect b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.expect index 15dd869ad76..6b37c8ff721 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.modular.expect index 15dd869ad76..6b37c8ff721 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.modular.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.outline.expect index 9305e02a16d..6f53fec9a87 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.outline.expect @@ -53,43 +53,43 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? ; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void ; -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 ; -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? ; -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void ; -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? ; -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? ; -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 ; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 ; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 ; -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 ; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void ; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 ; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 ; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 ; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void ; -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.transformed.expect index 15dd869ad76..6b37c8ff721 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_explicit_extension.dart.weak.transformed.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.strong.expect b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.strong.expect index 78a219f0367..43db53da579 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.strong.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.strong.transformed.expect index 78a219f0367..43db53da579 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.strong.transformed.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.expect b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.expect index 78a219f0367..43db53da579 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.modular.expect index 78a219f0367..43db53da579 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.modular.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.outline.expect index 9305e02a16d..6f53fec9a87 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.outline.expect @@ -53,43 +53,43 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? ; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void ; -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 ; -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? ; -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void ; -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? ; -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? ; -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 ; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 ; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 ; -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 ; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void ; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 ; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 ; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 ; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void ; -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.transformed.expect index 78a219f0367..43db53da579 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_extension.dart.weak.transformed.expect @@ -79,46 +79,46 @@ extension Extension2 on self::Class2 { extension Extension3 on self::Class3 { operator [] = self::Extension3|[]; } -static method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|get#nullable1(lowered final self::Class1 #this) → self::Class1? return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { +static extension-member method Extension1|set#nullable1(lowered final self::Class1 #this, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|nonNullable1Method(lowered final self::Class1 #this) → self::Class1 return self::Extension1|get#nonNullable1(#this); -static method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 +static extension-member method Extension1|get#nonNullable1Method(lowered final self::Class1 #this) → () → self::Class1 return () → self::Class1 => self::Extension1|nonNullable1Method(#this); -static method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? +static extension-member method Extension1|[](lowered final self::Class1 #this, self::Class1? key) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { +static extension-member method Extension1|[]=(lowered final self::Class1 #this, self::Class1? key, self::Class1? value) → void { #this.{self::Class1::property} = value; } -static method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? +static extension-member method Extension1|+(lowered final self::Class1 #this, core::int value) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? +static extension-member method Extension1|unary-(lowered final self::Class1 #this) → self::Class1? return self::Extension1|get#nullable1(#this); -static method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 +static extension-member method Extension1|get#nonNullable1(lowered final self::Class1 #this) → self::Class1 return #this.{self::Class1::property1}{self::Class1}; -static method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 +static extension-member method Extension1|get#nonNullable2(lowered final self::Class1 #this) → self::Class2 return #this.{self::Class1::property2}{self::Class2}; -static method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|nonNullable2Method(lowered final self::Class2 #this) → self::Class2 return self::Extension2|get#nonNullable2(#this); -static method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 +static extension-member method Extension2|get#nonNullable2Method(lowered final self::Class2 #this) → () → self::Class2 return () → self::Class2 => self::Extension2|nonNullable2Method(#this); -static method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2? key) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2? key, self::Class2? value) → void return #this.{self::Class2::property}{self::Class2}; -static method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 +static extension-member method Extension2|+(lowered final self::Class2 #this, core::int value) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|unary-(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 +static extension-member method Extension2|get#nonNullable2(lowered final self::Class2 #this) → self::Class2 return #this.{self::Class2::property}{self::Class2}; -static method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { +static extension-member method Extension2|set#nonNullable2(lowered final self::Class2 #this, self::Class2 value) → void { #this.{self::Class2::property} = value; } -static method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? +static extension-member method Extension3|[](lowered final self::Class3 #this, self::Class3? key) → self::Class2? return #this.{self::Class3::property}{self::Class2?}; static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.strong.expect b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.strong.expect index 1b974e89f3c..c80c333602c 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.strong.expect @@ -77,9 +77,9 @@ extension Extension on self::Class2 { operator [] = self::Extension|[]; operator []= = self::Extension|[]=; } -static method Extension|[](lowered final self::Class2 #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class2 #this, core::int index) → core::int return #this.{self::Class2::field}{core::int}; -static method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { +static extension-member method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { #this.{self::Class2::field} = value; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.strong.transformed.expect index 734b3e846d1..7849cb1b000 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.strong.transformed.expect @@ -77,9 +77,9 @@ extension Extension on self::Class2 { operator [] = self::Extension|[]; operator []= = self::Extension|[]=; } -static method Extension|[](lowered final self::Class2 #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class2 #this, core::int index) → core::int return #this.{self::Class2::field}{core::int}; -static method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { +static extension-member method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { #this.{self::Class2::field} = value; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.expect b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.expect index 1b974e89f3c..c80c333602c 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.expect @@ -77,9 +77,9 @@ extension Extension on self::Class2 { operator [] = self::Extension|[]; operator []= = self::Extension|[]=; } -static method Extension|[](lowered final self::Class2 #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class2 #this, core::int index) → core::int return #this.{self::Class2::field}{core::int}; -static method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { +static extension-member method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { #this.{self::Class2::field} = value; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.modular.expect index 1b974e89f3c..c80c333602c 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.modular.expect @@ -77,9 +77,9 @@ extension Extension on self::Class2 { operator [] = self::Extension|[]; operator []= = self::Extension|[]=; } -static method Extension|[](lowered final self::Class2 #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class2 #this, core::int index) → core::int return #this.{self::Class2::field}{core::int}; -static method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { +static extension-member method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { #this.{self::Class2::field} = value; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.outline.expect index f79d460d877..a3114568cd3 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.outline.expect @@ -21,9 +21,9 @@ extension Extension on self::Class2 { operator [] = self::Extension|[]; operator []= = self::Extension|[]=; } -static method Extension|[](lowered final self::Class2 #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class2 #this, core::int index) → core::int ; -static method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void +static extension-member method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.transformed.expect index 1be2925a4b3..556e8cd95dd 100644 --- a/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/null_shorting_index.dart.weak.transformed.expect @@ -77,9 +77,9 @@ extension Extension on self::Class2 { operator [] = self::Extension|[]; operator []= = self::Extension|[]=; } -static method Extension|[](lowered final self::Class2 #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class2 #this, core::int index) → core::int return #this.{self::Class2::field}{core::int}; -static method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { +static extension-member method Extension|[]=(lowered final self::Class2 #this, core::int index, core::int value) → void { #this.{self::Class2::field} = value; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/nullable_extension.dart.strong.expect b/pkg/front_end/testcases/nnbd/nullable_extension.dart.strong.expect index 67b602e7bc3..fe8668eefe2 100644 --- a/pkg/front_end/testcases/nnbd/nullable_extension.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/nullable_extension.dart.strong.expect @@ -11,7 +11,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final self::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final self::A? #this) → core::String return "Lily was here"; static method main() → void { has-declared-initializer self::A? a = null; diff --git a/pkg/front_end/testcases/nnbd/nullable_extension.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/nullable_extension.dart.strong.transformed.expect index 67b602e7bc3..fe8668eefe2 100644 --- a/pkg/front_end/testcases/nnbd/nullable_extension.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/nullable_extension.dart.strong.transformed.expect @@ -11,7 +11,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final self::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final self::A? #this) → core::String return "Lily was here"; static method main() → void { has-declared-initializer self::A? a = null; diff --git a/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.expect b/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.expect index 67b602e7bc3..fe8668eefe2 100644 --- a/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.expect @@ -11,7 +11,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final self::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final self::A? #this) → core::String return "Lily was here"; static method main() → void { has-declared-initializer self::A? a = null; diff --git a/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.modular.expect index 67b602e7bc3..fe8668eefe2 100644 --- a/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.modular.expect @@ -11,7 +11,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final self::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final self::A? #this) → core::String return "Lily was here"; static method main() → void { has-declared-initializer self::A? a = null; diff --git a/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.outline.expect index e562a0e8ee2..140330a55ef 100644 --- a/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.outline.expect @@ -10,7 +10,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final self::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final self::A? #this) → core::String ; static method main() → void ; diff --git a/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.transformed.expect index 67b602e7bc3..fe8668eefe2 100644 --- a/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/nullable_extension.dart.weak.transformed.expect @@ -11,7 +11,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final self::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final self::A? #this) → core::String return "Lily was here"; static method main() → void { has-declared-initializer self::A? a = null; diff --git a/pkg/front_end/testcases/nnbd/nullable_setter.dart.strong.expect b/pkg/front_end/testcases/nnbd/nullable_setter.dart.strong.expect index 8f64f636332..a131c6fce86 100644 --- a/pkg/front_end/testcases/nnbd/nullable_setter.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/nullable_setter.dart.strong.expect @@ -14,10 +14,10 @@ extension /* unnamed */ _extension#0 on self::C? { operator []= = self::_extension#0|[]=; set setter = self::_extension#0|set#setter; } -static method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { +static extension-member method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { let final self::C? #t1 = #this in #t1 == null ?{core::String?} null : #t1{self::C}.{self::C::m} = v; } -static method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { +static extension-member method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { let final self::C? #t2 = #this in #t2 == null ?{core::String?} null : #t2{self::C}.{self::C::m} = "${index}${value}"; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/nullable_setter.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/nullable_setter.dart.strong.transformed.expect index 5ee802fe1ee..3f4cf095ed6 100644 --- a/pkg/front_end/testcases/nnbd/nullable_setter.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/nullable_setter.dart.strong.transformed.expect @@ -14,10 +14,10 @@ extension /* unnamed */ _extension#0 on self::C? { operator []= = self::_extension#0|[]=; set setter = self::_extension#0|set#setter; } -static method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { +static extension-member method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { let final self::C? #t1 = #this in #t1 == null ?{core::String?} null : #t1{self::C}.{self::C::m} = v; } -static method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { +static extension-member method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { let final self::C? #t2 = #this in #t2 == null ?{core::String?} null : #t2{self::C}.{self::C::m} = "${index}${value}"; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.expect b/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.expect index 8f64f636332..a131c6fce86 100644 --- a/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.expect @@ -14,10 +14,10 @@ extension /* unnamed */ _extension#0 on self::C? { operator []= = self::_extension#0|[]=; set setter = self::_extension#0|set#setter; } -static method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { +static extension-member method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { let final self::C? #t1 = #this in #t1 == null ?{core::String?} null : #t1{self::C}.{self::C::m} = v; } -static method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { +static extension-member method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { let final self::C? #t2 = #this in #t2 == null ?{core::String?} null : #t2{self::C}.{self::C::m} = "${index}${value}"; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.modular.expect index 8f64f636332..a131c6fce86 100644 --- a/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.modular.expect @@ -14,10 +14,10 @@ extension /* unnamed */ _extension#0 on self::C? { operator []= = self::_extension#0|[]=; set setter = self::_extension#0|set#setter; } -static method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { +static extension-member method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { let final self::C? #t1 = #this in #t1 == null ?{core::String?} null : #t1{self::C}.{self::C::m} = v; } -static method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { +static extension-member method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { let final self::C? #t2 = #this in #t2 == null ?{core::String?} null : #t2{self::C}.{self::C::m} = "${index}${value}"; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.outline.expect index 85e2bbfa4c8..cb1b2982f6e 100644 --- a/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.outline.expect @@ -15,9 +15,9 @@ extension /* unnamed */ _extension#0 on self::C? { operator []= = self::_extension#0|[]=; set setter = self::_extension#0|set#setter; } -static method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void +static extension-member method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void ; -static method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void +static extension-member method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.transformed.expect index 5ee802fe1ee..3f4cf095ed6 100644 --- a/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/nullable_setter.dart.weak.transformed.expect @@ -14,10 +14,10 @@ extension /* unnamed */ _extension#0 on self::C? { operator []= = self::_extension#0|[]=; set setter = self::_extension#0|set#setter; } -static method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { +static extension-member method _extension#0|set#setter(lowered final self::C? #this, core::String v) → void { let final self::C? #t1 = #this in #t1 == null ?{core::String?} null : #t1{self::C}.{self::C::m} = v; } -static method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { +static extension-member method _extension#0|[]=(lowered final self::C? #this, core::int index, core::String value) → void { let final self::C? #t2 = #this in #t2 == null ?{core::String?} null : #t2{self::C}.{self::C::m} = "${index}${value}"; } static method main() → dynamic { diff --git a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.strong.expect b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.strong.expect index e42706b8906..a4d33063216 100644 --- a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.strong.expect @@ -617,27 +617,27 @@ static field void topLevelExtensionFunctionTypeGetter = invalid-expression "pkg/ Try calling using ?.call instead. nullableClass.extensionFunctionTypeGetter(); ^" in self::Extension|get#extensionFunctionTypeGetter(self::nullableClass)(){() → void}; -static method Extension|+(lowered final self::Class #this, core::int value) → core::int +static extension-member method Extension|+(lowered final self::Class #this, core::int value) → core::int return 0; -static method Extension|unary-(lowered final self::Class #this) → core::int +static extension-member method Extension|unary-(lowered final self::Class #this) → core::int return 0; -static method Extension|[](lowered final self::Class #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class #this, core::int index) → core::int return 0; -static method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} -static method Extension|call(lowered final self::Class #this) → core::int +static extension-member method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} +static extension-member method Extension|call(lowered final self::Class #this) → core::int return 0; -static method Extension|get#call(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#call(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|call(#this); -static method Extension|get#extensionProperty(lowered final self::Class #this) → core::int +static extension-member method Extension|get#extensionProperty(lowered final self::Class #this) → core::int return 0; -static method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} -static method Extension|extensionMethod(lowered final self::Class #this) → core::int +static extension-member method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → core::int return 0; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|extensionMethod(#this); -static method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function +static extension-member method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function return () → Null {}; -static method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void +static extension-member method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void return () → void {}; static get nullableFunction() → core::Function? return () → Null {}; diff --git a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.strong.transformed.expect index 64859bd026c..e3c39eef531 100644 --- a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.strong.transformed.expect @@ -617,27 +617,27 @@ static field void topLevelExtensionFunctionTypeGetter = invalid-expression "pkg/ Try calling using ?.call instead. nullableClass.extensionFunctionTypeGetter(); ^" in self::Extension|get#extensionFunctionTypeGetter(self::nullableClass)(){() → void}; -static method Extension|+(lowered final self::Class #this, core::int value) → core::int +static extension-member method Extension|+(lowered final self::Class #this, core::int value) → core::int return 0; -static method Extension|unary-(lowered final self::Class #this) → core::int +static extension-member method Extension|unary-(lowered final self::Class #this) → core::int return 0; -static method Extension|[](lowered final self::Class #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class #this, core::int index) → core::int return 0; -static method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} -static method Extension|call(lowered final self::Class #this) → core::int +static extension-member method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} +static extension-member method Extension|call(lowered final self::Class #this) → core::int return 0; -static method Extension|get#call(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#call(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|call(#this); -static method Extension|get#extensionProperty(lowered final self::Class #this) → core::int +static extension-member method Extension|get#extensionProperty(lowered final self::Class #this) → core::int return 0; -static method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} -static method Extension|extensionMethod(lowered final self::Class #this) → core::int +static extension-member method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → core::int return 0; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|extensionMethod(#this); -static method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function +static extension-member method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function return () → Null {}; -static method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void +static extension-member method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void return () → void {}; static get nullableFunction() → core::Function? return () → Null {}; diff --git a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.expect b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.expect index e42706b8906..a4d33063216 100644 --- a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.expect @@ -617,27 +617,27 @@ static field void topLevelExtensionFunctionTypeGetter = invalid-expression "pkg/ Try calling using ?.call instead. nullableClass.extensionFunctionTypeGetter(); ^" in self::Extension|get#extensionFunctionTypeGetter(self::nullableClass)(){() → void}; -static method Extension|+(lowered final self::Class #this, core::int value) → core::int +static extension-member method Extension|+(lowered final self::Class #this, core::int value) → core::int return 0; -static method Extension|unary-(lowered final self::Class #this) → core::int +static extension-member method Extension|unary-(lowered final self::Class #this) → core::int return 0; -static method Extension|[](lowered final self::Class #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class #this, core::int index) → core::int return 0; -static method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} -static method Extension|call(lowered final self::Class #this) → core::int +static extension-member method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} +static extension-member method Extension|call(lowered final self::Class #this) → core::int return 0; -static method Extension|get#call(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#call(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|call(#this); -static method Extension|get#extensionProperty(lowered final self::Class #this) → core::int +static extension-member method Extension|get#extensionProperty(lowered final self::Class #this) → core::int return 0; -static method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} -static method Extension|extensionMethod(lowered final self::Class #this) → core::int +static extension-member method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → core::int return 0; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|extensionMethod(#this); -static method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function +static extension-member method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function return () → Null {}; -static method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void +static extension-member method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void return () → void {}; static get nullableFunction() → core::Function? return () → Null {}; diff --git a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.modular.expect index e42706b8906..a4d33063216 100644 --- a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.modular.expect @@ -617,27 +617,27 @@ static field void topLevelExtensionFunctionTypeGetter = invalid-expression "pkg/ Try calling using ?.call instead. nullableClass.extensionFunctionTypeGetter(); ^" in self::Extension|get#extensionFunctionTypeGetter(self::nullableClass)(){() → void}; -static method Extension|+(lowered final self::Class #this, core::int value) → core::int +static extension-member method Extension|+(lowered final self::Class #this, core::int value) → core::int return 0; -static method Extension|unary-(lowered final self::Class #this) → core::int +static extension-member method Extension|unary-(lowered final self::Class #this) → core::int return 0; -static method Extension|[](lowered final self::Class #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class #this, core::int index) → core::int return 0; -static method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} -static method Extension|call(lowered final self::Class #this) → core::int +static extension-member method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} +static extension-member method Extension|call(lowered final self::Class #this) → core::int return 0; -static method Extension|get#call(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#call(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|call(#this); -static method Extension|get#extensionProperty(lowered final self::Class #this) → core::int +static extension-member method Extension|get#extensionProperty(lowered final self::Class #this) → core::int return 0; -static method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} -static method Extension|extensionMethod(lowered final self::Class #this) → core::int +static extension-member method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → core::int return 0; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|extensionMethod(#this); -static method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function +static extension-member method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function return () → Null {}; -static method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void +static extension-member method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void return () → void {}; static get nullableFunction() → core::Function? return () → Null {}; diff --git a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.outline.expect index 282f08b8f51..eedeee983e6 100644 --- a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.outline.expect @@ -272,29 +272,29 @@ static field core::int topLevelExtensionFunctionTypeExplicitCall; static field () → core::int topLevelExtensionFunctionTypeTearOff; static field dynamic topLevelExtensionFunctionGetter; static field void topLevelExtensionFunctionTypeGetter; -static method Extension|+(lowered final self::Class #this, core::int value) → core::int +static extension-member method Extension|+(lowered final self::Class #this, core::int value) → core::int ; -static method Extension|unary-(lowered final self::Class #this) → core::int +static extension-member method Extension|unary-(lowered final self::Class #this) → core::int ; -static method Extension|[](lowered final self::Class #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class #this, core::int index) → core::int ; -static method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void +static extension-member method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void ; -static method Extension|call(lowered final self::Class #this) → core::int +static extension-member method Extension|call(lowered final self::Class #this) → core::int ; -static method Extension|get#call(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#call(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|call(#this); -static method Extension|get#extensionProperty(lowered final self::Class #this) → core::int +static extension-member method Extension|get#extensionProperty(lowered final self::Class #this) → core::int ; -static method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void +static extension-member method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void ; -static method Extension|extensionMethod(lowered final self::Class #this) → core::int +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → core::int ; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|extensionMethod(#this); -static method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function +static extension-member method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function ; -static method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void +static extension-member method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void ; static get nullableFunction() → core::Function? ; diff --git a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.transformed.expect index 64859bd026c..e3c39eef531 100644 --- a/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/potentially_nullable_access.dart.weak.transformed.expect @@ -617,27 +617,27 @@ static field void topLevelExtensionFunctionTypeGetter = invalid-expression "pkg/ Try calling using ?.call instead. nullableClass.extensionFunctionTypeGetter(); ^" in self::Extension|get#extensionFunctionTypeGetter(self::nullableClass)(){() → void}; -static method Extension|+(lowered final self::Class #this, core::int value) → core::int +static extension-member method Extension|+(lowered final self::Class #this, core::int value) → core::int return 0; -static method Extension|unary-(lowered final self::Class #this) → core::int +static extension-member method Extension|unary-(lowered final self::Class #this) → core::int return 0; -static method Extension|[](lowered final self::Class #this, core::int index) → core::int +static extension-member method Extension|[](lowered final self::Class #this, core::int index) → core::int return 0; -static method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} -static method Extension|call(lowered final self::Class #this) → core::int +static extension-member method Extension|[]=(lowered final self::Class #this, core::int index, core::int value) → void {} +static extension-member method Extension|call(lowered final self::Class #this) → core::int return 0; -static method Extension|get#call(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#call(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|call(#this); -static method Extension|get#extensionProperty(lowered final self::Class #this) → core::int +static extension-member method Extension|get#extensionProperty(lowered final self::Class #this) → core::int return 0; -static method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} -static method Extension|extensionMethod(lowered final self::Class #this) → core::int +static extension-member method Extension|set#extensionProperty(lowered final self::Class #this, core::int value) → void {} +static extension-member method Extension|extensionMethod(lowered final self::Class #this) → core::int return 0; -static method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int +static extension-member method Extension|get#extensionMethod(lowered final self::Class #this) → () → core::int return () → core::int => self::Extension|extensionMethod(#this); -static method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function +static extension-member method Extension|get#extensionFunctionGetter(lowered final self::Class #this) → core::Function return () → Null {}; -static method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void +static extension-member method Extension|get#extensionFunctionTypeGetter(lowered final self::Class #this) → () → void return () → void {}; static get nullableFunction() → core::Function? return () → Null {}; diff --git a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.strong.expect b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.strong.expect index b06358cac6c..86fe442fe0d 100644 --- a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.strong.expect @@ -325,10 +325,10 @@ extension Extension2 on self::Class2 { operator []= = self::Extension2|[]=; } static field core::bool b = true; -static method Extension|[](lowered final core::int #this, self::Class cls) → self::Class +static extension-member method Extension|[](lowered final core::int #this, self::Class cls) → self::Class return new self::Class::•(); -static method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} -static method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 +static extension-member method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.strong.transformed.expect index b06358cac6c..86fe442fe0d 100644 --- a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.strong.transformed.expect @@ -325,10 +325,10 @@ extension Extension2 on self::Class2 { operator []= = self::Extension2|[]=; } static field core::bool b = true; -static method Extension|[](lowered final core::int #this, self::Class cls) → self::Class +static extension-member method Extension|[](lowered final core::int #this, self::Class cls) → self::Class return new self::Class::•(); -static method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} -static method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 +static extension-member method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.expect b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.expect index b06358cac6c..86fe442fe0d 100644 --- a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.expect @@ -325,10 +325,10 @@ extension Extension2 on self::Class2 { operator []= = self::Extension2|[]=; } static field core::bool b = true; -static method Extension|[](lowered final core::int #this, self::Class cls) → self::Class +static extension-member method Extension|[](lowered final core::int #this, self::Class cls) → self::Class return new self::Class::•(); -static method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} -static method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 +static extension-member method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.modular.expect index b06358cac6c..86fe442fe0d 100644 --- a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.modular.expect @@ -325,10 +325,10 @@ extension Extension2 on self::Class2 { operator []= = self::Extension2|[]=; } static field core::bool b = true; -static method Extension|[](lowered final core::int #this, self::Class cls) → self::Class +static extension-member method Extension|[](lowered final core::int #this, self::Class cls) → self::Class return new self::Class::•(); -static method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} -static method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 +static extension-member method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.outline.expect index 4d594866ea5..cc65807941a 100644 --- a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.outline.expect @@ -61,13 +61,13 @@ extension Extension2 on self::Class2 { operator []= = self::Extension2|[]=; } static field core::bool b; -static method Extension|[](lowered final core::int #this, self::Class cls) → self::Class +static extension-member method Extension|[](lowered final core::int #this, self::Class cls) → self::Class ; -static method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void +static extension-member method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void ; -static method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 ; -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.transformed.expect index b06358cac6c..86fe442fe0d 100644 --- a/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/pure_index_expressions.dart.weak.transformed.expect @@ -325,10 +325,10 @@ extension Extension2 on self::Class2 { operator []= = self::Extension2|[]=; } static field core::bool b = true; -static method Extension|[](lowered final core::int #this, self::Class cls) → self::Class +static extension-member method Extension|[](lowered final core::int #this, self::Class cls) → self::Class return new self::Class::•(); -static method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} -static method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 +static extension-member method Extension|[]=(lowered final core::int #this, self::Class cls, self::Class value) → void {} +static extension-member method Extension2|[](lowered final self::Class2 #this, self::Class2 cls) → self::Class2 return new self::Class2::•(); -static method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} +static extension-member method Extension2|[]=(lowered final self::Class2 #this, self::Class2 cls, self::Class2 value) → void {} static method main() → dynamic {} diff --git a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.strong.expect b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.strong.expect index decfa9d1b51..a8cfe4008f8 100644 --- a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.strong.expect @@ -125,10 +125,10 @@ extension E on core::String { operator []= = self::E|[]=; operator [] = self::E|[]; } -static method E|get#foo(lowered final core::String #this) → core::int +static extension-member method E|get#foo(lowered final core::String #this) → core::int return 42; -static method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} -static method E|[](lowered final core::String #this, core::int index) → core::int +static extension-member method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} +static extension-member method E|[](lowered final core::String #this, core::int index) → core::int return 42; static method warning(core::String s, core::List l, core::Map m) → dynamic { let final core::String #t2 = s in #t2 == null ?{core::int?} null : #t2.{core::String::length}{core::int}; diff --git a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.strong.transformed.expect index 833c331730e..c849f9d6f30 100644 --- a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.strong.transformed.expect @@ -125,10 +125,10 @@ extension E on core::String { operator []= = self::E|[]=; operator [] = self::E|[]; } -static method E|get#foo(lowered final core::String #this) → core::int +static extension-member method E|get#foo(lowered final core::String #this) → core::int return 42; -static method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} -static method E|[](lowered final core::String #this, core::int index) → core::int +static extension-member method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} +static extension-member method E|[](lowered final core::String #this, core::int index) → core::int return 42; static method warning(core::String s, core::List l, core::Map m) → dynamic { let final core::String #t2 = s in #t2 == null ?{core::int?} null : #t2.{core::String::length}{core::int}; diff --git a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.expect b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.expect index decfa9d1b51..a8cfe4008f8 100644 --- a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.expect @@ -125,10 +125,10 @@ extension E on core::String { operator []= = self::E|[]=; operator [] = self::E|[]; } -static method E|get#foo(lowered final core::String #this) → core::int +static extension-member method E|get#foo(lowered final core::String #this) → core::int return 42; -static method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} -static method E|[](lowered final core::String #this, core::int index) → core::int +static extension-member method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} +static extension-member method E|[](lowered final core::String #this, core::int index) → core::int return 42; static method warning(core::String s, core::List l, core::Map m) → dynamic { let final core::String #t2 = s in #t2 == null ?{core::int?} null : #t2.{core::String::length}{core::int}; diff --git a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.modular.expect index decfa9d1b51..a8cfe4008f8 100644 --- a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.modular.expect @@ -125,10 +125,10 @@ extension E on core::String { operator []= = self::E|[]=; operator [] = self::E|[]; } -static method E|get#foo(lowered final core::String #this) → core::int +static extension-member method E|get#foo(lowered final core::String #this) → core::int return 42; -static method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} -static method E|[](lowered final core::String #this, core::int index) → core::int +static extension-member method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} +static extension-member method E|[](lowered final core::String #this, core::int index) → core::int return 42; static method warning(core::String s, core::List l, core::Map m) → dynamic { let final core::String #t2 = s in #t2 == null ?{core::int?} null : #t2.{core::String::length}{core::int}; diff --git a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.outline.expect index e5232ff1f96..b27794d8b55 100644 --- a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.outline.expect @@ -21,11 +21,11 @@ extension E on core::String { operator []= = self::E|[]=; operator [] = self::E|[]; } -static method E|get#foo(lowered final core::String #this) → core::int +static extension-member method E|get#foo(lowered final core::String #this) → core::int ; -static method E|[]=(lowered final core::String #this, core::int index, core::int value) → void +static extension-member method E|[]=(lowered final core::String #this, core::int index, core::int value) → void ; -static method E|[](lowered final core::String #this, core::int index) → core::int +static extension-member method E|[](lowered final core::String #this, core::int index) → core::int ; static method warning(core::String s, core::List l, core::Map m) → dynamic ; diff --git a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.transformed.expect index 833c331730e..c849f9d6f30 100644 --- a/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd/strictly_non_nullable_warnings.dart.weak.transformed.expect @@ -125,10 +125,10 @@ extension E on core::String { operator []= = self::E|[]=; operator [] = self::E|[]; } -static method E|get#foo(lowered final core::String #this) → core::int +static extension-member method E|get#foo(lowered final core::String #this) → core::int return 42; -static method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} -static method E|[](lowered final core::String #this, core::int index) → core::int +static extension-member method E|[]=(lowered final core::String #this, core::int index, core::int value) → void {} +static extension-member method E|[](lowered final core::String #this, core::int index) → core::int return 42; static method warning(core::String s, core::List l, core::Map m) → dynamic { let final core::String #t2 = s in #t2 == null ?{core::int?} null : #t2.{core::String::length}{core::int}; diff --git a/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.expect index d419af8d451..e44d64310aa 100644 --- a/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.expect @@ -51,9 +51,9 @@ extension E on core::int { method m = iss::E|m; tearoff m = iss::E|get#m; } -static method E|m(lowered final core::int #this) → core::String +static extension-member method E|m(lowered final core::int #this) → core::String return "m"; -static method E|get#m(lowered final core::int #this) → () → core::String +static extension-member method E|get#m(lowered final core::int #this) → () → core::String return () → core::String => iss::E|m(#this); static method f() → core::int? return 4; diff --git a/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.modular.expect index d419af8d451..e44d64310aa 100644 --- a/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.modular.expect @@ -51,9 +51,9 @@ extension E on core::int { method m = iss::E|m; tearoff m = iss::E|get#m; } -static method E|m(lowered final core::int #this) → core::String +static extension-member method E|m(lowered final core::int #this) → core::String return "m"; -static method E|get#m(lowered final core::int #this) → () → core::String +static extension-member method E|get#m(lowered final core::int #this) → () → core::String return () → core::String => iss::E|m(#this); static method f() → core::int? return 4; diff --git a/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.outline.expect index c1c492ed51f..aa81f7d43d5 100644 --- a/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.outline.expect @@ -28,9 +28,9 @@ extension E on core::int { method m = self2::E|m; tearoff m = self2::E|get#m; } -static method E|m(lowered final core::int #this) → core::String +static extension-member method E|m(lowered final core::int #this) → core::String ; -static method E|get#m(lowered final core::int #this) → () → core::String +static extension-member method E|get#m(lowered final core::int #this) → () → core::String return () → core::String => self2::E|m(#this); static method f() → core::int? ; diff --git a/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.transformed.expect index d419af8d451..e44d64310aa 100644 --- a/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd_mixed/issue42660.dart.weak.transformed.expect @@ -51,9 +51,9 @@ extension E on core::int { method m = iss::E|m; tearoff m = iss::E|get#m; } -static method E|m(lowered final core::int #this) → core::String +static extension-member method E|m(lowered final core::int #this) → core::String return "m"; -static method E|get#m(lowered final core::int #this) → () → core::String +static extension-member method E|get#m(lowered final core::int #this) → () → core::String return () → core::String => iss::E|m(#this); static method f() → core::int? return 4; diff --git a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.expect index d82ba5597d4..1d5d807f739 100644 --- a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.expect @@ -28,23 +28,23 @@ extension Extension on self::Class* { operator unary- = self::Extension|unary-; set field = self::Extension|set#field; } -static method Extension|get#field(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|get#field(lowered final self::Class* #this) → self::Class* return #this.{self::Class::_field}{self::Class*}; -static method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { +static extension-member method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { #this.{self::Class::_field} = value; } -static method Extension|method(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|method(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); -static method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* return () → self::Class* => self::Extension|method(#this); -static method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* +static extension-member method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* return self::Extension|get#field(#this); -static method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { +static extension-member method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { self::Extension|set#field(#this, value); } -static method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* +static extension-member method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* return self::Extension|get#field(#this); -static method Extension|unary-(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|unary-(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.modular.expect index d82ba5597d4..1d5d807f739 100644 --- a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.modular.expect @@ -28,23 +28,23 @@ extension Extension on self::Class* { operator unary- = self::Extension|unary-; set field = self::Extension|set#field; } -static method Extension|get#field(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|get#field(lowered final self::Class* #this) → self::Class* return #this.{self::Class::_field}{self::Class*}; -static method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { +static extension-member method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { #this.{self::Class::_field} = value; } -static method Extension|method(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|method(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); -static method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* return () → self::Class* => self::Extension|method(#this); -static method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* +static extension-member method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* return self::Extension|get#field(#this); -static method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { +static extension-member method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { self::Extension|set#field(#this, value); } -static method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* +static extension-member method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* return self::Extension|get#field(#this); -static method Extension|unary-(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|unary-(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.outline.expect index 059cce4a328..f6f1494567e 100644 --- a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.outline.expect @@ -27,21 +27,21 @@ extension Extension on self::Class* { operator unary- = self::Extension|unary-; set field = self::Extension|set#field; } -static method Extension|get#field(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|get#field(lowered final self::Class* #this) → self::Class* ; -static method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void +static extension-member method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void ; -static method Extension|method(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|method(lowered final self::Class* #this) → self::Class* ; -static method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* return () → self::Class* => self::Extension|method(#this); -static method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* +static extension-member method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* ; -static method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void +static extension-member method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void ; -static method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* +static extension-member method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* ; -static method Extension|unary-(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|unary-(lowered final self::Class* #this) → self::Class* ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.transformed.expect index d82ba5597d4..1d5d807f739 100644 --- a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_explicit_extension.dart.weak.transformed.expect @@ -28,23 +28,23 @@ extension Extension on self::Class* { operator unary- = self::Extension|unary-; set field = self::Extension|set#field; } -static method Extension|get#field(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|get#field(lowered final self::Class* #this) → self::Class* return #this.{self::Class::_field}{self::Class*}; -static method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { +static extension-member method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { #this.{self::Class::_field} = value; } -static method Extension|method(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|method(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); -static method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* return () → self::Class* => self::Extension|method(#this); -static method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* +static extension-member method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* return self::Extension|get#field(#this); -static method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { +static extension-member method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { self::Extension|set#field(#this, value); } -static method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* +static extension-member method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* return self::Extension|get#field(#this); -static method Extension|unary-(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|unary-(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.expect index 3d82cdd1940..95a725471d7 100644 --- a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.expect @@ -28,23 +28,23 @@ extension Extension on self::Class* { operator unary- = self::Extension|unary-; set field = self::Extension|set#field; } -static method Extension|get#field(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|get#field(lowered final self::Class* #this) → self::Class* return #this.{self::Class::_field}{self::Class*}; -static method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { +static extension-member method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { #this.{self::Class::_field} = value; } -static method Extension|method(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|method(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); -static method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* return () → self::Class* => self::Extension|method(#this); -static method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* +static extension-member method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* return self::Extension|get#field(#this); -static method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { +static extension-member method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { self::Extension|set#field(#this, value); } -static method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* +static extension-member method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* return self::Extension|get#field(#this); -static method Extension|unary-(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|unary-(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.modular.expect index 3d82cdd1940..95a725471d7 100644 --- a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.modular.expect @@ -28,23 +28,23 @@ extension Extension on self::Class* { operator unary- = self::Extension|unary-; set field = self::Extension|set#field; } -static method Extension|get#field(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|get#field(lowered final self::Class* #this) → self::Class* return #this.{self::Class::_field}{self::Class*}; -static method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { +static extension-member method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { #this.{self::Class::_field} = value; } -static method Extension|method(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|method(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); -static method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* return () → self::Class* => self::Extension|method(#this); -static method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* +static extension-member method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* return self::Extension|get#field(#this); -static method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { +static extension-member method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { self::Extension|set#field(#this, value); } -static method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* +static extension-member method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* return self::Extension|get#field(#this); -static method Extension|unary-(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|unary-(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.outline.expect index 059cce4a328..f6f1494567e 100644 --- a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.outline.expect @@ -27,21 +27,21 @@ extension Extension on self::Class* { operator unary- = self::Extension|unary-; set field = self::Extension|set#field; } -static method Extension|get#field(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|get#field(lowered final self::Class* #this) → self::Class* ; -static method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void +static extension-member method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void ; -static method Extension|method(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|method(lowered final self::Class* #this) → self::Class* ; -static method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* return () → self::Class* => self::Extension|method(#this); -static method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* +static extension-member method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* ; -static method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void +static extension-member method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void ; -static method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* +static extension-member method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* ; -static method Extension|unary-(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|unary-(lowered final self::Class* #this) → self::Class* ; static method main() → dynamic ; diff --git a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.transformed.expect index 3d82cdd1940..95a725471d7 100644 --- a/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd_mixed/no_null_shorting_extension.dart.weak.transformed.expect @@ -28,23 +28,23 @@ extension Extension on self::Class* { operator unary- = self::Extension|unary-; set field = self::Extension|set#field; } -static method Extension|get#field(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|get#field(lowered final self::Class* #this) → self::Class* return #this.{self::Class::_field}{self::Class*}; -static method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { +static extension-member method Extension|set#field(lowered final self::Class* #this, self::Class* value) → void { #this.{self::Class::_field} = value; } -static method Extension|method(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|method(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); -static method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* +static extension-member method Extension|get#method(lowered final self::Class* #this) → () →* self::Class* return () → self::Class* => self::Extension|method(#this); -static method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* +static extension-member method Extension|[](lowered final self::Class* #this, self::Class* key) → self::Class* return self::Extension|get#field(#this); -static method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { +static extension-member method Extension|[]=(lowered final self::Class* #this, self::Class* key, self::Class* value) → void { self::Extension|set#field(#this, value); } -static method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* +static extension-member method Extension|+(lowered final self::Class* #this, core::int* value) → self::Class* return self::Extension|get#field(#this); -static method Extension|unary-(lowered final self::Class* #this) → self::Class* +static extension-member method Extension|unary-(lowered final self::Class* #this) → self::Class* return self::Extension|get#field(#this); static method main() → dynamic { self::propertyAccess(null); diff --git a/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.expect index 288000a36ff..bfb5103e0f6 100644 --- a/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.expect @@ -8,7 +8,7 @@ import "org-dartlang-testcase:///nullable_extension_on_opt_out_lib.dart"; extension /* unnamed */ _extension#0 on nul::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final nul::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final nul::A? #this) → core::String return "Lily was here"; static method main() → void { has-declared-initializer nul::A? a = null; diff --git a/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.modular.expect index 288000a36ff..bfb5103e0f6 100644 --- a/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.modular.expect @@ -8,7 +8,7 @@ import "org-dartlang-testcase:///nullable_extension_on_opt_out_lib.dart"; extension /* unnamed */ _extension#0 on nul::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final nul::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final nul::A? #this) → core::String return "Lily was here"; static method main() → void { has-declared-initializer nul::A? a = null; diff --git a/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.outline.expect index 2431293374d..fe1bb770083 100644 --- a/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.outline.expect @@ -8,7 +8,7 @@ import "org-dartlang-testcase:///nullable_extension_on_opt_out_lib.dart"; extension /* unnamed */ _extension#0 on nul::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final nul::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final nul::A? #this) → core::String ; static method main() → void ; diff --git a/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.transformed.expect index 288000a36ff..bfb5103e0f6 100644 --- a/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd_mixed/nullable_extension_on_opt_out.dart.weak.transformed.expect @@ -8,7 +8,7 @@ import "org-dartlang-testcase:///nullable_extension_on_opt_out_lib.dart"; extension /* unnamed */ _extension#0 on nul::A? { get text = self::_extension#0|get#text; } -static method _extension#0|get#text(lowered final nul::A? #this) → core::String +static extension-member method _extension#0|get#text(lowered final nul::A? #this) → core::String return "Lily was here"; static method main() → void { has-declared-initializer nul::A? a = null; diff --git a/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.expect index ccde1756d49..285d0a85c10 100644 --- a/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.expect @@ -112,9 +112,9 @@ static method isNotNullOptOut2(core::int* i) → dynamic return !(i == null); static method ifNullOptOut(core::int* i) → dynamic return let final core::int* #t6 = i in #t6 == null ?{core::int*} 42 : #t6; -static method OptOutExtension|[](lowered final self::OptOutClass1* #this, core::int* index) → core::int* +static extension-member method OptOutExtension|[](lowered final self::OptOutClass1* #this, core::int* index) → core::int* return index; -static method OptOutExtension|[]=(lowered final self::OptOutClass1* #this, core::int* index, core::int* value) → void {} +static extension-member method OptOutExtension|[]=(lowered final self::OptOutClass1* #this, core::int* index, core::int* value) → void {} static method extensionIfNullOptOut1(core::int* i) → dynamic return let final self::OptOutClass1* #t7 = new self::OptOutClass1::•() in let final core::int* #t8 = i in let final core::int* #t9 = self::OptOutExtension|[](#t7, #t8) in #t9 == null ?{core::int*} let final core::int* #t10 = 42 in let final void #t11 = self::OptOutExtension|[]=(#t7, #t8, #t10) in #t10 : #t9; static method extensionIfNullOptOut1ForEffect(core::int* i) → dynamic { @@ -452,9 +452,9 @@ static method isNotNullOptIn2(core::int i) → dynamic return !(i == null); static method ifNullOptIn(core::int i) → dynamic return let final core::int #t40 = i in #t40 == null ?{core::int} 42 : #t40; -static method OptInExtension|[](lowered final uns::OptInClass1 #this, core::int index) → core::int +static extension-member method OptInExtension|[](lowered final uns::OptInClass1 #this, core::int index) → core::int return index; -static method OptInExtension|[]=(lowered final uns::OptInClass1 #this, core::int index, core::int value) → void {} +static extension-member method OptInExtension|[]=(lowered final uns::OptInClass1 #this, core::int index, core::int value) → void {} static method extensionIfNullOptIn1(core::int i) → dynamic return let final uns::OptInClass1 #t41 = new uns::OptInClass1::•() in let final core::int #t42 = i in let final core::int #t43 = uns::OptInExtension|[](#t41, #t42) in #t43 == null ?{core::int} let final core::int #t44 = 42 in let final void #t45 = uns::OptInExtension|[]=(#t41, #t42, #t44) in #t44 : #t43; static method extensionIfNullOptIn1ForEffect(core::int i) → dynamic { diff --git a/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.modular.expect index ccde1756d49..285d0a85c10 100644 --- a/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.modular.expect @@ -112,9 +112,9 @@ static method isNotNullOptOut2(core::int* i) → dynamic return !(i == null); static method ifNullOptOut(core::int* i) → dynamic return let final core::int* #t6 = i in #t6 == null ?{core::int*} 42 : #t6; -static method OptOutExtension|[](lowered final self::OptOutClass1* #this, core::int* index) → core::int* +static extension-member method OptOutExtension|[](lowered final self::OptOutClass1* #this, core::int* index) → core::int* return index; -static method OptOutExtension|[]=(lowered final self::OptOutClass1* #this, core::int* index, core::int* value) → void {} +static extension-member method OptOutExtension|[]=(lowered final self::OptOutClass1* #this, core::int* index, core::int* value) → void {} static method extensionIfNullOptOut1(core::int* i) → dynamic return let final self::OptOutClass1* #t7 = new self::OptOutClass1::•() in let final core::int* #t8 = i in let final core::int* #t9 = self::OptOutExtension|[](#t7, #t8) in #t9 == null ?{core::int*} let final core::int* #t10 = 42 in let final void #t11 = self::OptOutExtension|[]=(#t7, #t8, #t10) in #t10 : #t9; static method extensionIfNullOptOut1ForEffect(core::int* i) → dynamic { @@ -452,9 +452,9 @@ static method isNotNullOptIn2(core::int i) → dynamic return !(i == null); static method ifNullOptIn(core::int i) → dynamic return let final core::int #t40 = i in #t40 == null ?{core::int} 42 : #t40; -static method OptInExtension|[](lowered final uns::OptInClass1 #this, core::int index) → core::int +static extension-member method OptInExtension|[](lowered final uns::OptInClass1 #this, core::int index) → core::int return index; -static method OptInExtension|[]=(lowered final uns::OptInClass1 #this, core::int index, core::int value) → void {} +static extension-member method OptInExtension|[]=(lowered final uns::OptInClass1 #this, core::int index, core::int value) → void {} static method extensionIfNullOptIn1(core::int i) → dynamic return let final uns::OptInClass1 #t41 = new uns::OptInClass1::•() in let final core::int #t42 = i in let final core::int #t43 = uns::OptInExtension|[](#t41, #t42) in #t43 == null ?{core::int} let final core::int #t44 = 42 in let final void #t45 = uns::OptInExtension|[]=(#t41, #t42, #t44) in #t44 : #t43; static method extensionIfNullOptIn1ForEffect(core::int i) → dynamic { diff --git a/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.outline.expect index 616845cd8c1..14702d7cb7a 100644 --- a/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.outline.expect @@ -106,9 +106,9 @@ static method isNotNullOptOut2(core::int* i) → dynamic ; static method ifNullOptOut(core::int* i) → dynamic ; -static method OptOutExtension|[](lowered final self::OptOutClass1* #this, core::int* index) → core::int* +static extension-member method OptOutExtension|[](lowered final self::OptOutClass1* #this, core::int* index) → core::int* ; -static method OptOutExtension|[]=(lowered final self::OptOutClass1* #this, core::int* index, core::int* value) → void +static extension-member method OptOutExtension|[]=(lowered final self::OptOutClass1* #this, core::int* index, core::int* value) → void ; static method extensionIfNullOptOut1(core::int* i) → dynamic ; @@ -225,9 +225,9 @@ static method isNotNullOptIn2(core::int i) → dynamic ; static method ifNullOptIn(core::int i) → dynamic ; -static method OptInExtension|[](lowered final self2::OptInClass1 #this, core::int index) → core::int +static extension-member method OptInExtension|[](lowered final self2::OptInClass1 #this, core::int index) → core::int ; -static method OptInExtension|[]=(lowered final self2::OptInClass1 #this, core::int index, core::int value) → void +static extension-member method OptInExtension|[]=(lowered final self2::OptInClass1 #this, core::int index, core::int value) → void ; static method extensionIfNullOptIn1(core::int i) → dynamic ; diff --git a/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.transformed.expect index 63e6c078fe9..5b9e6e6770b 100644 --- a/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd_mixed/unsound_checks.dart.weak.transformed.expect @@ -112,9 +112,9 @@ static method isNotNullOptOut2(core::int* i) → dynamic return !(i == null); static method ifNullOptOut(core::int* i) → dynamic return let final core::int* #t6 = i in #t6 == null ?{core::int*} 42 : #t6; -static method OptOutExtension|[](lowered final self::OptOutClass1* #this, core::int* index) → core::int* +static extension-member method OptOutExtension|[](lowered final self::OptOutClass1* #this, core::int* index) → core::int* return index; -static method OptOutExtension|[]=(lowered final self::OptOutClass1* #this, core::int* index, core::int* value) → void {} +static extension-member method OptOutExtension|[]=(lowered final self::OptOutClass1* #this, core::int* index, core::int* value) → void {} static method extensionIfNullOptOut1(core::int* i) → dynamic return let final self::OptOutClass1* #t7 = new self::OptOutClass1::•() in let final core::int* #t8 = i in let final core::int* #t9 = self::OptOutExtension|[](#t7, #t8) in #t9 == null ?{core::int*} let final core::int* #t10 = 42 in let final void #t11 = self::OptOutExtension|[]=(#t7, #t8, #t10) in #t10 : #t9; static method extensionIfNullOptOut1ForEffect(core::int* i) → dynamic { @@ -452,9 +452,9 @@ static method isNotNullOptIn2(core::int i) → dynamic return !(i == null); static method ifNullOptIn(core::int i) → dynamic return let final core::int #t40 = i in #t40 == null ?{core::int} 42 : #t40; -static method OptInExtension|[](lowered final uns::OptInClass1 #this, core::int index) → core::int +static extension-member method OptInExtension|[](lowered final uns::OptInClass1 #this, core::int index) → core::int return index; -static method OptInExtension|[]=(lowered final uns::OptInClass1 #this, core::int index, core::int value) → void {} +static extension-member method OptInExtension|[]=(lowered final uns::OptInClass1 #this, core::int index, core::int value) → void {} static method extensionIfNullOptIn1(core::int i) → dynamic return let final uns::OptInClass1 #t41 = new uns::OptInClass1::•() in let final core::int #t42 = i in let final core::int #t43 = uns::OptInExtension|[](#t41, #t42) in #t43 == null ?{core::int} let final core::int #t44 = 42 in let final void #t45 = uns::OptInExtension|[]=(#t41, #t42, #t44) in #t44 : #t43; static method extensionIfNullOptIn1ForEffect(core::int i) → dynamic { diff --git a/pkg/front_end/testcases/patterns/extension_access.dart.strong.expect b/pkg/front_end/testcases/patterns/extension_access.dart.strong.expect index 5cb0b27d62a..b3f9fdceb84 100644 --- a/pkg/front_end/testcases/patterns/extension_access.dart.strong.expect +++ b/pkg/front_end/testcases/patterns/extension_access.dart.strong.expect @@ -18,9 +18,9 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on self::I { get member = self::_extension#1|get#member; } -static method _extension#0|get#member(lowered final self::A #this) → core::int +static extension-member method _extension#0|get#member(lowered final self::A #this) → core::int return 87; -static method _extension#1|get#member(lowered final self::I #this) → core::int +static extension-member method _extension#1|get#member(lowered final self::I #this) → core::int return 42; static method method(self::A a) → dynamic return block { diff --git a/pkg/front_end/testcases/patterns/extension_access.dart.strong.transformed.expect b/pkg/front_end/testcases/patterns/extension_access.dart.strong.transformed.expect index 311f61715d6..a7f69635d80 100644 --- a/pkg/front_end/testcases/patterns/extension_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/patterns/extension_access.dart.strong.transformed.expect @@ -18,9 +18,9 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on self::I { get member = self::_extension#1|get#member; } -static method _extension#0|get#member(lowered final self::A #this) → core::int +static extension-member method _extension#0|get#member(lowered final self::A #this) → core::int return 87; -static method _extension#1|get#member(lowered final self::I #this) → core::int +static extension-member method _extension#1|get#member(lowered final self::I #this) → core::int return 42; static method method(self::A a) → dynamic return block { diff --git a/pkg/front_end/testcases/patterns/extension_access.dart.weak.expect b/pkg/front_end/testcases/patterns/extension_access.dart.weak.expect index 199c7761a8c..5b2dfc43983 100644 --- a/pkg/front_end/testcases/patterns/extension_access.dart.weak.expect +++ b/pkg/front_end/testcases/patterns/extension_access.dart.weak.expect @@ -19,9 +19,9 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on self::I { get member = self::_extension#1|get#member; } -static method _extension#0|get#member(lowered final self::A #this) → core::int +static extension-member method _extension#0|get#member(lowered final self::A #this) → core::int return 87; -static method _extension#1|get#member(lowered final self::I #this) → core::int +static extension-member method _extension#1|get#member(lowered final self::I #this) → core::int return 42; static method method(self::A a) → dynamic return block { diff --git a/pkg/front_end/testcases/patterns/extension_access.dart.weak.modular.expect b/pkg/front_end/testcases/patterns/extension_access.dart.weak.modular.expect index 199c7761a8c..5b2dfc43983 100644 --- a/pkg/front_end/testcases/patterns/extension_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/patterns/extension_access.dart.weak.modular.expect @@ -19,9 +19,9 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on self::I { get member = self::_extension#1|get#member; } -static method _extension#0|get#member(lowered final self::A #this) → core::int +static extension-member method _extension#0|get#member(lowered final self::A #this) → core::int return 87; -static method _extension#1|get#member(lowered final self::I #this) → core::int +static extension-member method _extension#1|get#member(lowered final self::I #this) → core::int return 42; static method method(self::A a) → dynamic return block { diff --git a/pkg/front_end/testcases/patterns/extension_access.dart.weak.outline.expect b/pkg/front_end/testcases/patterns/extension_access.dart.weak.outline.expect index ebe8d3ca956..c23f0beb24a 100644 --- a/pkg/front_end/testcases/patterns/extension_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/patterns/extension_access.dart.weak.outline.expect @@ -16,9 +16,9 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on self::I { get member = self::_extension#1|get#member; } -static method _extension#0|get#member(lowered final self::A #this) → core::int +static extension-member method _extension#0|get#member(lowered final self::A #this) → core::int ; -static method _extension#1|get#member(lowered final self::I #this) → core::int +static extension-member method _extension#1|get#member(lowered final self::I #this) → core::int ; static method method(self::A a) → dynamic ; diff --git a/pkg/front_end/testcases/patterns/extension_access.dart.weak.transformed.expect b/pkg/front_end/testcases/patterns/extension_access.dart.weak.transformed.expect index f69a8f5ae7c..2b921338d24 100644 --- a/pkg/front_end/testcases/patterns/extension_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/patterns/extension_access.dart.weak.transformed.expect @@ -19,9 +19,9 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on self::I { get member = self::_extension#1|get#member; } -static method _extension#0|get#member(lowered final self::A #this) → core::int +static extension-member method _extension#0|get#member(lowered final self::A #this) → core::int return 87; -static method _extension#1|get#member(lowered final self::I #this) → core::int +static extension-member method _extension#1|get#member(lowered final self::I #this) → core::int return 42; static method method(self::A a) → dynamic return block { diff --git a/pkg/front_end/testcases/patterns/generic_extension_access.dart.strong.expect b/pkg/front_end/testcases/patterns/generic_extension_access.dart.strong.expect index 9648f054784..8b54019e11e 100644 --- a/pkg/front_end/testcases/patterns/generic_extension_access.dart.strong.expect +++ b/pkg/front_end/testcases/patterns/generic_extension_access.dart.strong.expect @@ -30,7 +30,7 @@ extension /* unnamed */ _extension#0 on self: get member = self::_extension#0|get#member; } static field core::int counter = 0; -static method _extension#0|get#member(lowered final self::I #this) → core::num { +static extension-member method _extension#0|get#member(lowered final self::I #this) → core::num { self::counter = self::counter.{core::num::+}(1){(core::num) → core::int}; return self::_extension#0|get#member::T% =={core::Type::==}{(core::Object) → core::bool} #C1 ?{core::num} 0.5 : 1.{core::int::unary-}(){() → core::int}; } diff --git a/pkg/front_end/testcases/patterns/generic_extension_access.dart.strong.transformed.expect b/pkg/front_end/testcases/patterns/generic_extension_access.dart.strong.transformed.expect index 37f9cbe41f1..fc9caaeb334 100644 --- a/pkg/front_end/testcases/patterns/generic_extension_access.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/patterns/generic_extension_access.dart.strong.transformed.expect @@ -30,7 +30,7 @@ extension /* unnamed */ _extension#0 on self: get member = self::_extension#0|get#member; } static field core::int counter = 0; -static method _extension#0|get#member(lowered final self::I #this) → core::num { +static extension-member method _extension#0|get#member(lowered final self::I #this) → core::num { self::counter = self::counter.{core::num::+}(1){(core::num) → core::int}; return self::_extension#0|get#member::T% =={core::Type::==}{(core::Object) → core::bool} #C1 ?{core::num} 0.5 : 1.{core::int::unary-}(){() → core::int}; } diff --git a/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.expect b/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.expect index 0b59edb9210..fe6e0eb0c69 100644 --- a/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.expect +++ b/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.expect @@ -31,7 +31,7 @@ extension /* unnamed */ _extension#0 on self: get member = self::_extension#0|get#member; } static field core::int counter = 0; -static method _extension#0|get#member(lowered final self::I #this) → core::num { +static extension-member method _extension#0|get#member(lowered final self::I #this) → core::num { self::counter = self::counter.{core::num::+}(1){(core::num) → core::int}; return self::_extension#0|get#member::T% =={core::Type::==}{(core::Object) → core::bool} #C1 ?{core::num} 0.5 : 1.{core::int::unary-}(){() → core::int}; } diff --git a/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.modular.expect b/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.modular.expect index 0b59edb9210..fe6e0eb0c69 100644 --- a/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.modular.expect +++ b/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.modular.expect @@ -31,7 +31,7 @@ extension /* unnamed */ _extension#0 on self: get member = self::_extension#0|get#member; } static field core::int counter = 0; -static method _extension#0|get#member(lowered final self::I #this) → core::num { +static extension-member method _extension#0|get#member(lowered final self::I #this) → core::num { self::counter = self::counter.{core::num::+}(1){(core::num) → core::int}; return self::_extension#0|get#member::T% =={core::Type::==}{(core::Object) → core::bool} #C1 ?{core::num} 0.5 : 1.{core::int::unary-}(){() → core::int}; } diff --git a/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.outline.expect b/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.outline.expect index 73beb86c106..fefe58d865c 100644 --- a/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.outline.expect +++ b/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.outline.expect @@ -18,7 +18,7 @@ extension /* unnamed */ _extension#0 on self: get member = self::_extension#0|get#member; } static field core::int counter; -static method _extension#0|get#member(lowered final self::I #this) → core::num +static extension-member method _extension#0|get#member(lowered final self::I #this) → core::num ; static method method1(self::I i) → core::num ; diff --git a/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.transformed.expect b/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.transformed.expect index 0f728a056fd..dc07a585d65 100644 --- a/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/patterns/generic_extension_access.dart.weak.transformed.expect @@ -31,7 +31,7 @@ extension /* unnamed */ _extension#0 on self: get member = self::_extension#0|get#member; } static field core::int counter = 0; -static method _extension#0|get#member(lowered final self::I #this) → core::num { +static extension-member method _extension#0|get#member(lowered final self::I #this) → core::num { self::counter = self::counter.{core::num::+}(1){(core::num) → core::int}; return self::_extension#0|get#member::T% =={core::Type::==}{(core::Object) → core::bool} #C1 ?{core::num} 0.5 : 1.{core::int::unary-}(){() → core::int}; } diff --git a/pkg/front_end/testcases/patterns/issue51009.dart.strong.expect b/pkg/front_end/testcases/patterns/issue51009.dart.strong.expect index 0aa2b3f3622..1e8c5ee7ffd 100644 --- a/pkg/front_end/testcases/patterns/issue51009.dart.strong.expect +++ b/pkg/front_end/testcases/patterns/issue51009.dart.strong.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension /* unnamed */ _extension#0 on core::Object { get q = self::_extension#0|get#q; } -static method _extension#0|get#q(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#q(lowered final core::Object #this) → core::int return 42; static method main() → void { #L1: diff --git a/pkg/front_end/testcases/patterns/issue51009.dart.strong.transformed.expect b/pkg/front_end/testcases/patterns/issue51009.dart.strong.transformed.expect index 8ee8efad8e0..9729eb0c72e 100644 --- a/pkg/front_end/testcases/patterns/issue51009.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/patterns/issue51009.dart.strong.transformed.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension /* unnamed */ _extension#0 on core::Object { get q = self::_extension#0|get#q; } -static method _extension#0|get#q(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#q(lowered final core::Object #this) → core::int return 42; static method main() → void { #L1: diff --git a/pkg/front_end/testcases/patterns/issue51009.dart.weak.expect b/pkg/front_end/testcases/patterns/issue51009.dart.weak.expect index 0aa2b3f3622..1e8c5ee7ffd 100644 --- a/pkg/front_end/testcases/patterns/issue51009.dart.weak.expect +++ b/pkg/front_end/testcases/patterns/issue51009.dart.weak.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension /* unnamed */ _extension#0 on core::Object { get q = self::_extension#0|get#q; } -static method _extension#0|get#q(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#q(lowered final core::Object #this) → core::int return 42; static method main() → void { #L1: diff --git a/pkg/front_end/testcases/patterns/issue51009.dart.weak.modular.expect b/pkg/front_end/testcases/patterns/issue51009.dart.weak.modular.expect index 0aa2b3f3622..1e8c5ee7ffd 100644 --- a/pkg/front_end/testcases/patterns/issue51009.dart.weak.modular.expect +++ b/pkg/front_end/testcases/patterns/issue51009.dart.weak.modular.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension /* unnamed */ _extension#0 on core::Object { get q = self::_extension#0|get#q; } -static method _extension#0|get#q(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#q(lowered final core::Object #this) → core::int return 42; static method main() → void { #L1: diff --git a/pkg/front_end/testcases/patterns/issue51009.dart.weak.outline.expect b/pkg/front_end/testcases/patterns/issue51009.dart.weak.outline.expect index f946bd447ee..001c7433a3f 100644 --- a/pkg/front_end/testcases/patterns/issue51009.dart.weak.outline.expect +++ b/pkg/front_end/testcases/patterns/issue51009.dart.weak.outline.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension /* unnamed */ _extension#0 on core::Object { get q = self::_extension#0|get#q; } -static method _extension#0|get#q(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#q(lowered final core::Object #this) → core::int ; static method main() → void ; diff --git a/pkg/front_end/testcases/patterns/issue51009.dart.weak.transformed.expect b/pkg/front_end/testcases/patterns/issue51009.dart.weak.transformed.expect index 8ee8efad8e0..9729eb0c72e 100644 --- a/pkg/front_end/testcases/patterns/issue51009.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/patterns/issue51009.dart.weak.transformed.expect @@ -5,7 +5,7 @@ import "dart:core" as core; extension /* unnamed */ _extension#0 on core::Object { get q = self::_extension#0|get#q; } -static method _extension#0|get#q(lowered final core::Object #this) → core::int +static extension-member method _extension#0|get#q(lowered final core::Object #this) → core::int return 42; static method main() → void { #L1: diff --git a/pkg/front_end/testcases/patterns/issue51437.dart.strong.expect b/pkg/front_end/testcases/patterns/issue51437.dart.strong.expect index 43730edc2e2..fcce66da671 100644 --- a/pkg/front_end/testcases/patterns/issue51437.dart.strong.expect +++ b/pkg/front_end/testcases/patterns/issue51437.dart.strong.expect @@ -20,7 +20,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A { get g = self::_extension#0|get#g; } -static method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% +static extension-member method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% return #this.{self::A::x}{self::_extension#0|get#g::X%}; static method foo(self::A it) → void { #L1: diff --git a/pkg/front_end/testcases/patterns/issue51437.dart.strong.transformed.expect b/pkg/front_end/testcases/patterns/issue51437.dart.strong.transformed.expect index 80520f091c4..f561875780e 100644 --- a/pkg/front_end/testcases/patterns/issue51437.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/patterns/issue51437.dart.strong.transformed.expect @@ -20,7 +20,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A { get g = self::_extension#0|get#g; } -static method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% +static extension-member method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% return #this.{self::A::x}{self::_extension#0|get#g::X%}; static method foo(self::A it) → void { #L1: diff --git a/pkg/front_end/testcases/patterns/issue51437.dart.weak.expect b/pkg/front_end/testcases/patterns/issue51437.dart.weak.expect index 43730edc2e2..fcce66da671 100644 --- a/pkg/front_end/testcases/patterns/issue51437.dart.weak.expect +++ b/pkg/front_end/testcases/patterns/issue51437.dart.weak.expect @@ -20,7 +20,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A { get g = self::_extension#0|get#g; } -static method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% +static extension-member method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% return #this.{self::A::x}{self::_extension#0|get#g::X%}; static method foo(self::A it) → void { #L1: diff --git a/pkg/front_end/testcases/patterns/issue51437.dart.weak.modular.expect b/pkg/front_end/testcases/patterns/issue51437.dart.weak.modular.expect index 43730edc2e2..fcce66da671 100644 --- a/pkg/front_end/testcases/patterns/issue51437.dart.weak.modular.expect +++ b/pkg/front_end/testcases/patterns/issue51437.dart.weak.modular.expect @@ -20,7 +20,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A { get g = self::_extension#0|get#g; } -static method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% +static extension-member method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% return #this.{self::A::x}{self::_extension#0|get#g::X%}; static method foo(self::A it) → void { #L1: diff --git a/pkg/front_end/testcases/patterns/issue51437.dart.weak.outline.expect b/pkg/front_end/testcases/patterns/issue51437.dart.weak.outline.expect index 6901b36ea95..36912f3c38d 100644 --- a/pkg/front_end/testcases/patterns/issue51437.dart.weak.outline.expect +++ b/pkg/front_end/testcases/patterns/issue51437.dart.weak.outline.expect @@ -10,7 +10,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A { get g = self::_extension#0|get#g; } -static method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% +static extension-member method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% ; static method foo(self::A it) → void ; diff --git a/pkg/front_end/testcases/patterns/issue51437.dart.weak.transformed.expect b/pkg/front_end/testcases/patterns/issue51437.dart.weak.transformed.expect index 80520f091c4..f561875780e 100644 --- a/pkg/front_end/testcases/patterns/issue51437.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/patterns/issue51437.dart.weak.transformed.expect @@ -20,7 +20,7 @@ class A extends core::Object { extension /* unnamed */ _extension#0 on self::A { get g = self::_extension#0|get#g; } -static method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% +static extension-member method _extension#0|get#g(lowered final self::A #this) → self::_extension#0|get#g::X% return #this.{self::A::x}{self::_extension#0|get#g::X%}; static method foo(self::A it) → void { #L1: diff --git a/pkg/front_end/testcases/patterns/pattern_types.dart.strong.expect b/pkg/front_end/testcases/patterns/pattern_types.dart.strong.expect index 8a163368a95..d20e98b3889 100644 --- a/pkg/front_end/testcases/patterns/pattern_types.dart.strong.expect +++ b/pkg/front_end/testcases/patterns/pattern_types.dart.strong.expect @@ -176,22 +176,22 @@ extension /* unnamed */ _extension#2 on core::String { extension /* unnamed */ _extension#3 on core::String { operator <= = self::_extension#3|<=; } -static method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int return 42; -static method _extension#0|extensionMethod(lowered final self::Class #this) → void {} -static method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void +static extension-member method _extension#0|extensionMethod(lowered final self::Class #this) → void {} +static extension-member method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void return () → void => self::_extension#0|extensionMethod(#this); -static method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool +static extension-member method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool return true; -static method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int +static extension-member method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int return 0; -static method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int return 42; -static method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String +static extension-member method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String return "42"; -static method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool return true; -static method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool return true; static method objectPattern(dynamic o) → dynamic { #L1: diff --git a/pkg/front_end/testcases/patterns/pattern_types.dart.strong.transformed.expect b/pkg/front_end/testcases/patterns/pattern_types.dart.strong.transformed.expect index 1af4344bf8e..24bc5fcfcd2 100644 --- a/pkg/front_end/testcases/patterns/pattern_types.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/patterns/pattern_types.dart.strong.transformed.expect @@ -176,22 +176,22 @@ extension /* unnamed */ _extension#2 on core::String { extension /* unnamed */ _extension#3 on core::String { operator <= = self::_extension#3|<=; } -static method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int return 42; -static method _extension#0|extensionMethod(lowered final self::Class #this) → void {} -static method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void +static extension-member method _extension#0|extensionMethod(lowered final self::Class #this) → void {} +static extension-member method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void return () → void => self::_extension#0|extensionMethod(#this); -static method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool +static extension-member method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool return true; -static method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int +static extension-member method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int return 0; -static method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int return 42; -static method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String +static extension-member method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String return "42"; -static method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool return true; -static method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool return true; static method objectPattern(dynamic o) → dynamic { #L1: diff --git a/pkg/front_end/testcases/patterns/pattern_types.dart.weak.expect b/pkg/front_end/testcases/patterns/pattern_types.dart.weak.expect index c5cc552c9c1..5b6ae92ad5f 100644 --- a/pkg/front_end/testcases/patterns/pattern_types.dart.weak.expect +++ b/pkg/front_end/testcases/patterns/pattern_types.dart.weak.expect @@ -177,22 +177,22 @@ extension /* unnamed */ _extension#2 on core::String { extension /* unnamed */ _extension#3 on core::String { operator <= = self::_extension#3|<=; } -static method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int return 42; -static method _extension#0|extensionMethod(lowered final self::Class #this) → void {} -static method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void +static extension-member method _extension#0|extensionMethod(lowered final self::Class #this) → void {} +static extension-member method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void return () → void => self::_extension#0|extensionMethod(#this); -static method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool +static extension-member method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool return true; -static method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int +static extension-member method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int return 0; -static method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int return 42; -static method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String +static extension-member method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String return "42"; -static method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool return true; -static method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool return true; static method objectPattern(dynamic o) → dynamic { #L1: diff --git a/pkg/front_end/testcases/patterns/pattern_types.dart.weak.modular.expect b/pkg/front_end/testcases/patterns/pattern_types.dart.weak.modular.expect index c5cc552c9c1..5b6ae92ad5f 100644 --- a/pkg/front_end/testcases/patterns/pattern_types.dart.weak.modular.expect +++ b/pkg/front_end/testcases/patterns/pattern_types.dart.weak.modular.expect @@ -177,22 +177,22 @@ extension /* unnamed */ _extension#2 on core::String { extension /* unnamed */ _extension#3 on core::String { operator <= = self::_extension#3|<=; } -static method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int return 42; -static method _extension#0|extensionMethod(lowered final self::Class #this) → void {} -static method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void +static extension-member method _extension#0|extensionMethod(lowered final self::Class #this) → void {} +static extension-member method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void return () → void => self::_extension#0|extensionMethod(#this); -static method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool +static extension-member method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool return true; -static method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int +static extension-member method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int return 0; -static method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int return 42; -static method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String +static extension-member method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String return "42"; -static method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool return true; -static method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool return true; static method objectPattern(dynamic o) → dynamic { #L1: diff --git a/pkg/front_end/testcases/patterns/pattern_types.dart.weak.outline.expect b/pkg/front_end/testcases/patterns/pattern_types.dart.weak.outline.expect index 5d62845ec94..9634f532ae3 100644 --- a/pkg/front_end/testcases/patterns/pattern_types.dart.weak.outline.expect +++ b/pkg/front_end/testcases/patterns/pattern_types.dart.weak.outline.expect @@ -56,23 +56,23 @@ extension /* unnamed */ _extension#2 on core::String { extension /* unnamed */ _extension#3 on core::String { operator <= = self::_extension#3|<=; } -static method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int ; -static method _extension#0|extensionMethod(lowered final self::Class #this) → void +static extension-member method _extension#0|extensionMethod(lowered final self::Class #this) → void ; -static method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void +static extension-member method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void return () → void => self::_extension#0|extensionMethod(#this); -static method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool +static extension-member method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool ; -static method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int +static extension-member method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int ; -static method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int ; -static method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String +static extension-member method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String ; -static method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool ; -static method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool ; static method objectPattern(dynamic o) → dynamic ; diff --git a/pkg/front_end/testcases/patterns/pattern_types.dart.weak.transformed.expect b/pkg/front_end/testcases/patterns/pattern_types.dart.weak.transformed.expect index 053c0185ab6..6cc7e103641 100644 --- a/pkg/front_end/testcases/patterns/pattern_types.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/patterns/pattern_types.dart.weak.transformed.expect @@ -177,22 +177,22 @@ extension /* unnamed */ _extension#2 on core::String { extension /* unnamed */ _extension#3 on core::String { operator <= = self::_extension#3|<=; } -static method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#extensionGetter(lowered final self::Class #this) → core::int return 42; -static method _extension#0|extensionMethod(lowered final self::Class #this) → void {} -static method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void +static extension-member method _extension#0|extensionMethod(lowered final self::Class #this) → void {} +static extension-member method _extension#0|get#extensionMethod(lowered final self::Class #this) → () → void return () → void => self::_extension#0|extensionMethod(#this); -static method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool +static extension-member method _extension#0|<=(lowered final self::Class #this, core::int i) → core::bool return true; -static method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int +static extension-member method _extension#0|>=(lowered final self::Class #this, core::int i) → core::int return 0; -static method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int +static extension-member method _extension#0|get#ambiguousField(lowered final self::Class #this) → core::int return 42; -static method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String +static extension-member method _extension#1|get#ambiguousField(lowered final self::Class #this) → core::String return "42"; -static method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#2|<=(lowered final core::String #this, dynamic other) → core::bool return true; -static method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool +static extension-member method _extension#3|<=(lowered final core::String #this, dynamic other) → core::bool return true; static method objectPattern(dynamic o) → dynamic { #L1: diff --git a/pkg/front_end/testcases/records/issue50157.dart.strong.expect b/pkg/front_end/testcases/records/issue50157.dart.strong.expect index 78a11a80de4..ebdcf053cf0 100644 --- a/pkg/front_end/testcases/records/issue50157.dart.strong.expect +++ b/pkg/front_end/testcases/records/issue50157.dart.strong.expect @@ -30,8 +30,8 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on ({required foo: core::int}) { set foo = self::_extension#1|set#foo; } -static method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} -static method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} +static extension-member method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} +static extension-member method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} static method test(self::A a, ({required foo: core::int}) r) → dynamic { a.{self::A::foo}{core::int}; invalid-expression "pkg/front_end/testcases/records/issue50157.dart:21:5: Error: The setter 'foo' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/records/issue50157.dart.strong.transformed.expect b/pkg/front_end/testcases/records/issue50157.dart.strong.transformed.expect index 78a11a80de4..ebdcf053cf0 100644 --- a/pkg/front_end/testcases/records/issue50157.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/records/issue50157.dart.strong.transformed.expect @@ -30,8 +30,8 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on ({required foo: core::int}) { set foo = self::_extension#1|set#foo; } -static method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} -static method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} +static extension-member method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} +static extension-member method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} static method test(self::A a, ({required foo: core::int}) r) → dynamic { a.{self::A::foo}{core::int}; invalid-expression "pkg/front_end/testcases/records/issue50157.dart:21:5: Error: The setter 'foo' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/records/issue50157.dart.weak.expect b/pkg/front_end/testcases/records/issue50157.dart.weak.expect index 78a11a80de4..ebdcf053cf0 100644 --- a/pkg/front_end/testcases/records/issue50157.dart.weak.expect +++ b/pkg/front_end/testcases/records/issue50157.dart.weak.expect @@ -30,8 +30,8 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on ({required foo: core::int}) { set foo = self::_extension#1|set#foo; } -static method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} -static method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} +static extension-member method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} +static extension-member method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} static method test(self::A a, ({required foo: core::int}) r) → dynamic { a.{self::A::foo}{core::int}; invalid-expression "pkg/front_end/testcases/records/issue50157.dart:21:5: Error: The setter 'foo' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/records/issue50157.dart.weak.modular.expect b/pkg/front_end/testcases/records/issue50157.dart.weak.modular.expect index 78a11a80de4..ebdcf053cf0 100644 --- a/pkg/front_end/testcases/records/issue50157.dart.weak.modular.expect +++ b/pkg/front_end/testcases/records/issue50157.dart.weak.modular.expect @@ -30,8 +30,8 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on ({required foo: core::int}) { set foo = self::_extension#1|set#foo; } -static method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} -static method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} +static extension-member method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} +static extension-member method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} static method test(self::A a, ({required foo: core::int}) r) → dynamic { a.{self::A::foo}{core::int}; invalid-expression "pkg/front_end/testcases/records/issue50157.dart:21:5: Error: The setter 'foo' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/records/issue50157.dart.weak.outline.expect b/pkg/front_end/testcases/records/issue50157.dart.weak.outline.expect index 779a086ebf0..f1caef9234b 100644 --- a/pkg/front_end/testcases/records/issue50157.dart.weak.outline.expect +++ b/pkg/front_end/testcases/records/issue50157.dart.weak.outline.expect @@ -15,9 +15,9 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on ({required foo: core::int}) { set foo = self::_extension#1|set#foo; } -static method _extension#0|set#foo(lowered final self::A #this, core::int value) → void +static extension-member method _extension#0|set#foo(lowered final self::A #this, core::int value) → void ; -static method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void +static extension-member method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void ; static method test(self::A a, ({required foo: core::int}) r) → dynamic ; diff --git a/pkg/front_end/testcases/records/issue50157.dart.weak.transformed.expect b/pkg/front_end/testcases/records/issue50157.dart.weak.transformed.expect index 78a11a80de4..ebdcf053cf0 100644 --- a/pkg/front_end/testcases/records/issue50157.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/records/issue50157.dart.weak.transformed.expect @@ -30,8 +30,8 @@ extension /* unnamed */ _extension#0 on self::A { extension /* unnamed */ _extension#1 on ({required foo: core::int}) { set foo = self::_extension#1|set#foo; } -static method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} -static method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} +static extension-member method _extension#0|set#foo(lowered final self::A #this, core::int value) → void {} +static extension-member method _extension#1|set#foo(lowered final({required foo: core::int}) #this, core::int value) → void {} static method test(self::A a, ({required foo: core::int}) r) → dynamic { a.{self::A::foo}{core::int}; invalid-expression "pkg/front_end/testcases/records/issue50157.dart:21:5: Error: The setter 'foo' isn't defined for the class 'A'. diff --git a/pkg/front_end/testcases/records/null_shorting.dart.strong.expect b/pkg/front_end/testcases/records/null_shorting.dart.strong.expect index f29031bc884..77b33835353 100644 --- a/pkg/front_end/testcases/records/null_shorting.dart.strong.expect +++ b/pkg/front_end/testcases/records/null_shorting.dart.strong.expect @@ -165,12 +165,12 @@ Try calling using ?.call instead. let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t29 = list in #t29 == null ?{() →? void} null : #t29{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.f{() → void}.call; let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t30 = list in #t30 == null ?{() →? void} null : #t30{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.c{self::Class}.{self::Class::call}{() → void}; } -static method _extension#0|call(lowered final core::int #this) → void {} -static method _extension#0|get#call(lowered final core::int #this) → () → void +static extension-member method _extension#0|call(lowered final core::int #this) → void {} +static extension-member method _extension#0|get#call(lowered final core::int #this) → () → void return () → void => self::_extension#0|call(#this); -static method _extension#1|call(lowered final core::String #this) → void {} -static method _extension#1|get#call(lowered final core::String #this) → () → void +static extension-member method _extension#1|call(lowered final core::String #this) → void {} +static extension-member method _extension#1|get#call(lowered final core::String #this) → () → void return () → void => self::_extension#1|call(#this); -static method _extension#2|call(lowered final core::double #this) → void {} -static method _extension#2|get#call(lowered final core::double #this) → () → void +static extension-member method _extension#2|call(lowered final core::double #this) → void {} +static extension-member method _extension#2|get#call(lowered final core::double #this) → () → void return () → void => self::_extension#2|call(#this); diff --git a/pkg/front_end/testcases/records/null_shorting.dart.strong.transformed.expect b/pkg/front_end/testcases/records/null_shorting.dart.strong.transformed.expect index f29031bc884..77b33835353 100644 --- a/pkg/front_end/testcases/records/null_shorting.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/records/null_shorting.dart.strong.transformed.expect @@ -165,12 +165,12 @@ Try calling using ?.call instead. let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t29 = list in #t29 == null ?{() →? void} null : #t29{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.f{() → void}.call; let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t30 = list in #t30 == null ?{() →? void} null : #t30{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.c{self::Class}.{self::Class::call}{() → void}; } -static method _extension#0|call(lowered final core::int #this) → void {} -static method _extension#0|get#call(lowered final core::int #this) → () → void +static extension-member method _extension#0|call(lowered final core::int #this) → void {} +static extension-member method _extension#0|get#call(lowered final core::int #this) → () → void return () → void => self::_extension#0|call(#this); -static method _extension#1|call(lowered final core::String #this) → void {} -static method _extension#1|get#call(lowered final core::String #this) → () → void +static extension-member method _extension#1|call(lowered final core::String #this) → void {} +static extension-member method _extension#1|get#call(lowered final core::String #this) → () → void return () → void => self::_extension#1|call(#this); -static method _extension#2|call(lowered final core::double #this) → void {} -static method _extension#2|get#call(lowered final core::double #this) → () → void +static extension-member method _extension#2|call(lowered final core::double #this) → void {} +static extension-member method _extension#2|get#call(lowered final core::double #this) → () → void return () → void => self::_extension#2|call(#this); diff --git a/pkg/front_end/testcases/records/null_shorting.dart.weak.expect b/pkg/front_end/testcases/records/null_shorting.dart.weak.expect index f29031bc884..77b33835353 100644 --- a/pkg/front_end/testcases/records/null_shorting.dart.weak.expect +++ b/pkg/front_end/testcases/records/null_shorting.dart.weak.expect @@ -165,12 +165,12 @@ Try calling using ?.call instead. let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t29 = list in #t29 == null ?{() →? void} null : #t29{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.f{() → void}.call; let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t30 = list in #t30 == null ?{() →? void} null : #t30{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.c{self::Class}.{self::Class::call}{() → void}; } -static method _extension#0|call(lowered final core::int #this) → void {} -static method _extension#0|get#call(lowered final core::int #this) → () → void +static extension-member method _extension#0|call(lowered final core::int #this) → void {} +static extension-member method _extension#0|get#call(lowered final core::int #this) → () → void return () → void => self::_extension#0|call(#this); -static method _extension#1|call(lowered final core::String #this) → void {} -static method _extension#1|get#call(lowered final core::String #this) → () → void +static extension-member method _extension#1|call(lowered final core::String #this) → void {} +static extension-member method _extension#1|get#call(lowered final core::String #this) → () → void return () → void => self::_extension#1|call(#this); -static method _extension#2|call(lowered final core::double #this) → void {} -static method _extension#2|get#call(lowered final core::double #this) → () → void +static extension-member method _extension#2|call(lowered final core::double #this) → void {} +static extension-member method _extension#2|get#call(lowered final core::double #this) → () → void return () → void => self::_extension#2|call(#this); diff --git a/pkg/front_end/testcases/records/null_shorting.dart.weak.modular.expect b/pkg/front_end/testcases/records/null_shorting.dart.weak.modular.expect index f29031bc884..77b33835353 100644 --- a/pkg/front_end/testcases/records/null_shorting.dart.weak.modular.expect +++ b/pkg/front_end/testcases/records/null_shorting.dart.weak.modular.expect @@ -165,12 +165,12 @@ Try calling using ?.call instead. let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t29 = list in #t29 == null ?{() →? void} null : #t29{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.f{() → void}.call; let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t30 = list in #t30 == null ?{() →? void} null : #t30{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.c{self::Class}.{self::Class::call}{() → void}; } -static method _extension#0|call(lowered final core::int #this) → void {} -static method _extension#0|get#call(lowered final core::int #this) → () → void +static extension-member method _extension#0|call(lowered final core::int #this) → void {} +static extension-member method _extension#0|get#call(lowered final core::int #this) → () → void return () → void => self::_extension#0|call(#this); -static method _extension#1|call(lowered final core::String #this) → void {} -static method _extension#1|get#call(lowered final core::String #this) → () → void +static extension-member method _extension#1|call(lowered final core::String #this) → void {} +static extension-member method _extension#1|get#call(lowered final core::String #this) → () → void return () → void => self::_extension#1|call(#this); -static method _extension#2|call(lowered final core::double #this) → void {} -static method _extension#2|get#call(lowered final core::double #this) → () → void +static extension-member method _extension#2|call(lowered final core::double #this) → void {} +static extension-member method _extension#2|get#call(lowered final core::double #this) → () → void return () → void => self::_extension#2|call(#this); diff --git a/pkg/front_end/testcases/records/null_shorting.dart.weak.outline.expect b/pkg/front_end/testcases/records/null_shorting.dart.weak.outline.expect index 5827acfadea..9c967df6ac2 100644 --- a/pkg/front_end/testcases/records/null_shorting.dart.weak.outline.expect +++ b/pkg/front_end/testcases/records/null_shorting.dart.weak.outline.expect @@ -22,15 +22,15 @@ extension /* unnamed */ _extension#2 on core::double { } static method test((core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})? record, core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? list) → dynamic ; -static method _extension#0|call(lowered final core::int #this) → void +static extension-member method _extension#0|call(lowered final core::int #this) → void ; -static method _extension#0|get#call(lowered final core::int #this) → () → void +static extension-member method _extension#0|get#call(lowered final core::int #this) → () → void return () → void => self::_extension#0|call(#this); -static method _extension#1|call(lowered final core::String #this) → void +static extension-member method _extension#1|call(lowered final core::String #this) → void ; -static method _extension#1|get#call(lowered final core::String #this) → () → void +static extension-member method _extension#1|get#call(lowered final core::String #this) → () → void return () → void => self::_extension#1|call(#this); -static method _extension#2|call(lowered final core::double #this) → void +static extension-member method _extension#2|call(lowered final core::double #this) → void ; -static method _extension#2|get#call(lowered final core::double #this) → () → void +static extension-member method _extension#2|get#call(lowered final core::double #this) → () → void return () → void => self::_extension#2|call(#this); diff --git a/pkg/front_end/testcases/records/null_shorting.dart.weak.transformed.expect b/pkg/front_end/testcases/records/null_shorting.dart.weak.transformed.expect index f29031bc884..77b33835353 100644 --- a/pkg/front_end/testcases/records/null_shorting.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/records/null_shorting.dart.weak.transformed.expect @@ -165,12 +165,12 @@ Try calling using ?.call instead. let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t29 = list in #t29 == null ?{() →? void} null : #t29{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.f{() → void}.call; let final core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>? #t30 = list in #t30 == null ?{() →? void} null : #t30{core::List<(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})>}.{core::Iterable::first}{(core::int, core::String, {required c: self::Class, required d: core::double, required f: () → void})}.c{self::Class}.{self::Class::call}{() → void}; } -static method _extension#0|call(lowered final core::int #this) → void {} -static method _extension#0|get#call(lowered final core::int #this) → () → void +static extension-member method _extension#0|call(lowered final core::int #this) → void {} +static extension-member method _extension#0|get#call(lowered final core::int #this) → () → void return () → void => self::_extension#0|call(#this); -static method _extension#1|call(lowered final core::String #this) → void {} -static method _extension#1|get#call(lowered final core::String #this) → () → void +static extension-member method _extension#1|call(lowered final core::String #this) → void {} +static extension-member method _extension#1|get#call(lowered final core::String #this) → () → void return () → void => self::_extension#1|call(#this); -static method _extension#2|call(lowered final core::double #this) → void {} -static method _extension#2|get#call(lowered final core::double #this) → () → void +static extension-member method _extension#2|call(lowered final core::double #this) → void {} +static extension-member method _extension#2|get#call(lowered final core::double #this) → () → void return () → void => self::_extension#2|call(#this); diff --git a/pkg/front_end/testcases/records/nullable_access_extension.dart.strong.expect b/pkg/front_end/testcases/records/nullable_access_extension.dart.strong.expect index 306553b3ba0..6ea262c508f 100644 --- a/pkg/front_end/testcases/records/nullable_access_extension.dart.strong.expect +++ b/pkg/front_end/testcases/records/nullable_access_extension.dart.strong.expect @@ -29,7 +29,7 @@ static method method((core::int, {required a: core::String})? r) → dynamic { core::String? l7 = let final(core::int, {required a: core::String}) #t4 = r{(core::int, {required a: core::String})} in #t4 == null ?{core::String?} null : #t4.a{core::String}; } } -static method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int +static extension-member method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int return 0; -static method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String +static extension-member method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String return ""; diff --git a/pkg/front_end/testcases/records/nullable_access_extension.dart.strong.transformed.expect b/pkg/front_end/testcases/records/nullable_access_extension.dart.strong.transformed.expect index 306553b3ba0..6ea262c508f 100644 --- a/pkg/front_end/testcases/records/nullable_access_extension.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/records/nullable_access_extension.dart.strong.transformed.expect @@ -29,7 +29,7 @@ static method method((core::int, {required a: core::String})? r) → dynamic { core::String? l7 = let final(core::int, {required a: core::String}) #t4 = r{(core::int, {required a: core::String})} in #t4 == null ?{core::String?} null : #t4.a{core::String}; } } -static method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int +static extension-member method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int return 0; -static method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String +static extension-member method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String return ""; diff --git a/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.expect b/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.expect index 306553b3ba0..6ea262c508f 100644 --- a/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.expect +++ b/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.expect @@ -29,7 +29,7 @@ static method method((core::int, {required a: core::String})? r) → dynamic { core::String? l7 = let final(core::int, {required a: core::String}) #t4 = r{(core::int, {required a: core::String})} in #t4 == null ?{core::String?} null : #t4.a{core::String}; } } -static method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int +static extension-member method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int return 0; -static method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String +static extension-member method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String return ""; diff --git a/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.modular.expect b/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.modular.expect index 306553b3ba0..6ea262c508f 100644 --- a/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.modular.expect +++ b/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.modular.expect @@ -29,7 +29,7 @@ static method method((core::int, {required a: core::String})? r) → dynamic { core::String? l7 = let final(core::int, {required a: core::String}) #t4 = r{(core::int, {required a: core::String})} in #t4 == null ?{core::String?} null : #t4.a{core::String}; } } -static method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int +static extension-member method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int return 0; -static method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String +static extension-member method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String return ""; diff --git a/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.outline.expect b/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.outline.expect index af0bfadb68d..e2c9b6e31c6 100644 --- a/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.outline.expect +++ b/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.outline.expect @@ -8,7 +8,7 @@ extension /* unnamed */ _extension#0 on (core::int, {required a: core::String})? } static method method((core::int, {required a: core::String})? r) → dynamic ; -static method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int +static extension-member method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int ; -static method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String +static extension-member method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String ; diff --git a/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.transformed.expect b/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.transformed.expect index 306553b3ba0..6ea262c508f 100644 --- a/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/records/nullable_access_extension.dart.weak.transformed.expect @@ -29,7 +29,7 @@ static method method((core::int, {required a: core::String})? r) → dynamic { core::String? l7 = let final(core::int, {required a: core::String}) #t4 = r{(core::int, {required a: core::String})} in #t4 == null ?{core::String?} null : #t4.a{core::String}; } } -static method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int +static extension-member method _extension#0|get#$1(lowered final(core::int, {required a: core::String})? #this) → core::int return 0; -static method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String +static extension-member method _extension#0|get#a(lowered final(core::int, {required a: core::String})? #this) → core::String return ""; diff --git a/pkg/kernel/lib/text/ast_to_text.dart b/pkg/kernel/lib/text/ast_to_text.dart index 04b536c6f28..4e0701a3cb6 100644 --- a/pkg/kernel/lib/text/ast_to_text.dart +++ b/pkg/kernel/lib/text/ast_to_text.dart @@ -1134,6 +1134,8 @@ class Printer extends Visitor with VisitorVoidMixin { writeModifier(node.isAbstract, 'abstract'); writeModifier(node.isForwardingStub, 'forwarding-stub'); writeModifier(node.isForwardingSemiStub, 'forwarding-semi-stub'); + writeModifier(node.isExtensionMember, 'extension-member'); + writeModifier(node.isInlineClassMember, 'inline-class-member'); switch (node.stubKind) { case ProcedureStubKind.Regular: case ProcedureStubKind.AbstractForwardingStub: diff --git a/pkg/kernel/lib/verifier.dart b/pkg/kernel/lib/verifier.dart index b7a0f8edfaa..1a130284bae 100644 --- a/pkg/kernel/lib/verifier.dart +++ b/pkg/kernel/lib/verifier.dart @@ -135,6 +135,10 @@ class VerifyingVisitor extends RecursiveResultVisitor { final List variableStack = []; final Map typedefState = {}; final Set seenConstants = {}; + + Map? _extensionsMembers; + Map? _inlineClassMembers; + bool classTypeParametersAreInScope = false; /// The compilation stage at which this verification is performed. @@ -364,6 +368,49 @@ class VerifyingVisitor extends RecursiveResultVisitor { super.visitLibrary(node); currentLibrary = null; exitTreeNode(node); + _extensionsMembers = null; + _inlineClassMembers = null; + } + + Map _computeExtensionMembers( + Library library) { + if (_extensionsMembers == null) { + Map map = _extensionsMembers = {}; + for (Extension extension in library.extensions) { + for (ExtensionMemberDescriptor descriptor in extension.members) { + map[descriptor.member] = descriptor; + Member member = descriptor.member.asMember; + if (!member.isExtensionMember) { + problem( + member, + "Member $member (${descriptor}) from $extension is not marked " + "as an extension member."); + } + } + } + } + return _extensionsMembers!; + } + + Map _computeInlineClassMembers( + Library library) { + if (_inlineClassMembers == null) { + Map map = + _inlineClassMembers = {}; + for (InlineClass inlineClass in library.inlineClasses) { + for (InlineClassMemberDescriptor descriptor in inlineClass.members) { + map[descriptor.member] = descriptor; + Member member = descriptor.member.asMember; + if (!member.isInlineClassMember) { + problem( + member, + "Member $member (${descriptor}) from $inlineClass is not " + "marked as an inline class member."); + } + } + } + } + return _inlineClassMembers!; } @override @@ -371,6 +418,7 @@ class VerifyingVisitor extends RecursiveResultVisitor { enterTreeNode(node); fileUri = checkLocation(node, node.name, node.fileUri); currentExtension = node; + _computeExtensionMembers(node.enclosingLibrary); declareTypeParameters(node.typeParameters); final TreeNode? oldParent = enterParent(node); node.visitChildren(this); @@ -385,6 +433,7 @@ class VerifyingVisitor extends RecursiveResultVisitor { enterTreeNode(node); fileUri = checkLocation(node, node.name, node.fileUri); currentInlineClass = node; + _computeInlineClassMembers(node.enclosingLibrary); declareTypeParameters(node.typeParameters); final TreeNode? oldParent = enterParent(node); node.visitChildren(this); @@ -426,6 +475,30 @@ class VerifyingVisitor extends RecursiveResultVisitor { exitTreeNode(node); } + void _findExtensionMember(Member node) { + assert(node.isExtensionMember); + Map extensionMembers = + _computeExtensionMembers(node.enclosingLibrary); + if (!extensionMembers.containsKey(node.reference)) { + problem( + node, + "Extension member $node is not found in any extension of the " + "enclosing library."); + } + } + + void _findInlineClassMember(Member node) { + assert(node.isInlineClassMember); + Map inlineClassMembers = + _computeInlineClassMembers(node.enclosingLibrary); + if (!inlineClassMembers.containsKey(node.reference)) { + problem( + node, + "Inline class member $node is not found in any inline class of the " + "enclosing library."); + } + } + @override void visitField(Field node) { enterTreeNode(node); @@ -462,6 +535,12 @@ class VerifyingVisitor extends RecursiveResultVisitor { } } } + if (node.isExtensionMember) { + _findExtensionMember(node); + } + if (node.isInlineClassMember) { + _findInlineClassMember(node); + } classTypeParametersAreInScope = !node.isStatic; node.initializer?.accept(this); node.type.accept(this); @@ -476,6 +555,12 @@ class VerifyingVisitor extends RecursiveResultVisitor { void visitProcedure(Procedure node) { enterTreeNode(node); fileUri = checkLocation(node, node.name.text, node.fileUri); + if (node.isExtensionMember) { + _findExtensionMember(node); + } + if (node.isInlineClassMember) { + _findInlineClassMember(node); + } if (node.isRedirectingFactory && node.function.redirectingFactoryTarget == null) { @@ -563,6 +648,13 @@ class VerifyingVisitor extends RecursiveResultVisitor { fileUri = checkLocation(node, node.name.text, node.fileUri); currentMember = node; classTypeParametersAreInScope = true; + if (node.isExtensionMember) { + _findExtensionMember(node); + } + if (node.isInlineClassMember) { + _findInlineClassMember(node); + } + // The constructor member needs special treatment due to parameters being // in scope in the initializer list. TreeNode? oldParent = enterParent(node); diff --git a/pkg/vm/testcases/transformations/ffi/finalizable_extension_method.dart.aot.expect b/pkg/vm/testcases/transformations/ffi/finalizable_extension_method.dart.aot.expect index 9c80738495c..5a3c525c229 100644 --- a/pkg/vm/testcases/transformations/ffi/finalizable_extension_method.dart.aot.expect +++ b/pkg/vm/testcases/transformations/ffi/finalizable_extension_method.dart.aot.expect @@ -23,14 +23,14 @@ static method main() → void { let final core::Object #t1 = new core::Object::•() in self::_extension#1|baz(foo); _in::reachabilityFence(foo); } -[@vm.unboxing-info.metadata=(b)->i]static method _extension#0|bar([@vm.inferred-type.metadata=#lib::Foo] lowered final ffi::Finalizable #this) → core::int { +[@vm.unboxing-info.metadata=(b)->i]static extension-member method _extension#0|bar([@vm.inferred-type.metadata=#lib::Foo] lowered final ffi::Finalizable #this) → core::int { core::print("123"); return block { final synthesized core::int :expressionValueWrappedFinalizable = 4; _in::reachabilityFence(#this); } =>:expressionValueWrappedFinalizable; } -[@vm.unboxing-info.metadata=(b)->i]static method _extension#1|baz([@vm.inferred-type.metadata=#lib::Foo] self::Foo foo) → core::int { +[@vm.unboxing-info.metadata=(b)->i]static extension-member method _extension#1|baz([@vm.inferred-type.metadata=#lib::Foo] self::Foo foo) → core::int { core::print("456"); return block { final synthesized core::int :expressionValueWrappedFinalizable = 5; diff --git a/pkg/vm/testcases/transformations/ffi/finalizable_extension_method.dart.expect b/pkg/vm/testcases/transformations/ffi/finalizable_extension_method.dart.expect index 15124f2a4d1..65574f28f7a 100644 --- a/pkg/vm/testcases/transformations/ffi/finalizable_extension_method.dart.expect +++ b/pkg/vm/testcases/transformations/ffi/finalizable_extension_method.dart.expect @@ -25,14 +25,14 @@ static method main() → void { self::_extension#1|baz(new core::Object::•(), foo); _in::reachabilityFence(foo); } -static method _extension#0|bar(lowered final ffi::Finalizable #this) → core::int { +static extension-member method _extension#0|bar(lowered final ffi::Finalizable #this) → core::int { core::print("123"); return block { final synthesized core::int :expressionValueWrappedFinalizable = 4; _in::reachabilityFence(#this); } =>:expressionValueWrappedFinalizable; } -static method _extension#0|get#bar(lowered final ffi::Finalizable #this) → () → core::int +static extension-member method _extension#0|get#bar(lowered final ffi::Finalizable #this) → () → core::int return block { final synthesized () → core::int :expressionValueWrappedFinalizable = () → core::int => block { final synthesized core::int :expressionValueWrappedFinalizable = self::_extension#0|bar(#this); @@ -40,14 +40,14 @@ static method _extension#0|get#bar(lowered final ffi::Finalizable #this) → () } =>:expressionValueWrappedFinalizable; _in::reachabilityFence(#this); } =>:expressionValueWrappedFinalizable; -static method _extension#1|baz(lowered final core::Object #this, self::Foo foo) → core::int { +static extension-member method _extension#1|baz(lowered final core::Object #this, self::Foo foo) → core::int { core::print("456"); return block { final synthesized core::int :expressionValueWrappedFinalizable = 5; _in::reachabilityFence(foo); } =>:expressionValueWrappedFinalizable; } -static method _extension#1|get#baz(lowered final core::Object #this) → (self::Foo) → core::int +static extension-member method _extension#1|get#baz(lowered final core::Object #this) → (self::Foo) → core::int return (self::Foo foo) → core::int => block { final synthesized core::int :expressionValueWrappedFinalizable = self::_extension#1|baz(#this, foo); _in::reachabilityFence(foo);