blob: 8e5e60cc87128829fa927ae25279ffc6ab4159bc [file] [log] [blame]
library;
//
// Problems in library:
//
// 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'.
// Try changing the operand or remove the type arguments.
// var b1 = this.it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:20:16: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
// Try changing the operand or remove the type arguments.
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:21:19: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c1 = this.it = 42; // Error, should not resolve to extension method.
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:22:14: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c2 = it = 42; // Error, should not resolve to extension method.
// ^^
//
// 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'.
// Try changing the operand or remove the type arguments.
// var b1 = this.it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:35:16: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T'.
// Try changing the operand or remove the type arguments.
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:36:19: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c1 = this.it = t; // Error, should not resolve to extension method.
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:37:14: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c2 = it = t; // Error, should not resolve to extension method.
// ^^
//
// 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()'.
// Try changing the operand or remove the type arguments.
// var b1 = this.it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:50:16: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T Function()'.
// Try changing the operand or remove the type arguments.
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:51:19: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c1 = this.it = t; // Error, should not resolve to extension method.
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:52:14: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c2 = it = t; // Error, should not resolve to extension method.
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:72:24: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 't'.
// var c1 = this.it = t; // Error, should not resolve to extension method.
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:72:19: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c1 = this.it = t; // Error, should not resolve to extension method.
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:73:19: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 't'.
// var c2 = it = t; // Error, should not resolve to extension method.
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:73:14: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c2 = it = t; // Error, should not resolve to extension method.
// ^^
//
// 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'.
// Try changing the operand or remove the type arguments.
// var b1 = this.it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:93:16: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
// Try changing the operand or remove the type arguments.
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:94:19: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c1 = this.it = 42; // Error, should not resolve to extension method.
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:95:14: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c2 = it = 42; // Error, should not resolve to extension method.
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:112:19: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
// var a3 = this.b; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:113:14: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
// var a4 = b; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:114:20: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
// Try changing the operand or remove the type arguments.
// var b1 = this.a<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:115:15: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
// Try changing the operand or remove the type arguments.
// var b2 = a<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:116:19: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
// var b3 = this.b<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:116:20: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
// Try changing the operand or remove the type arguments.
// var b3 = this.b<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:117:14: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
// var b4 = b<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:117:15: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
// Try changing the operand or remove the type arguments.
// var b4 = b<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:118:19: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'a'.
// var c1 = this.a = 42; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:119:14: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'a'.
// var c2 = a = 42; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:120:19: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'b'.
// var c3 = this.b = '42'; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:121:14: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'b'.
// var c4 = b = '42'; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:122:20: Error: The method 'call' isn't defined for the class 'int'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var d1 = this.a(); // Error
// ^^^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:123:15: Error: The method 'call' isn't defined for the class 'int'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var d2 = a(); // Error
// ^^^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:124:21: Error: The method 'call' isn't defined for the class 'int'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var d3 = this.a.call(); // Error
// ^^^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:125:16: Error: The method 'call' isn't defined for the class 'int'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var d4 = a.call(); // Error
// ^^^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:126:19: Error: The method 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing method, or defining a method named 'b'.
// var e1 = this.b(); // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:127:14: Error: The method 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing method, or defining a method named 'b'.
// var e2 = b(); // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:128:19: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
// var e3 = this.b.call(); // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:129:14: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
// var e4 = b.call(); // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:143:26: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
// Try changing the operand or remove the type arguments.
// var a2 = inlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:144:24: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var a3 = inlineClass.it = 42; // Error,
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:148:33: Error: The static type of the explicit instantiation operand must be a generic function type but is 'String'.
// Try changing the operand or remove the type arguments.
// var b2 = genericInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:149:31: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<String>'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var b3 = genericInlineClass.it = '42'; // Error, should not
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:153:34: Error: The static type of the explicit instantiation operand must be a generic function type but is 'String Function()'.
// Try changing the operand or remove the type arguments.
// var c2 = functionInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:156:32: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<String>'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var c5 = functionInlineClass.it = () => '42'; // Error, should not
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:164:39: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var d6 = genericFunctionInlineClass.it = <T>() => throw ''; // Error, should
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:168:33: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
// Try changing the operand or remove the type arguments.
// var e2 = dynamicInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:170:31: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
// var e4 = dynamicInlineClass.it = '42'; // Error, should not resolve
// ^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:174:34: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
// Try changing the operand or remove the type arguments.
// var f2 = erroneousInlineClass.a<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:175:33: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'a'.
// var f3 = erroneousInlineClass.a = 42; // Error, should not resolve
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:177:33: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
// var g1 = erroneousInlineClass.b;
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:178:34: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
// Try changing the operand or remove the type arguments.
// var g2 = erroneousInlineClass.a<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:179:33: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'b'.
// var g3 = erroneousInlineClass.b = '42'; // Error, should not resolve
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:182:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named '_it'.
// var h1 = privateInlineClass._it; // Error
// ^^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:183:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named '_it'.
// var h2 = privateInlineClass._it<int>; // Error
// ^^^
//
// pkg/front_end/testcases/inline_class/field_access.dart:183:34: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
// Try changing the operand or remove the type arguments.
// var h2 = privateInlineClass._it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access.dart:184:31: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named '_it'.
// var h3 = privateInlineClass._it = 42; // Error
// ^^^
//
import self as self;
import "dart:core" as core;
import "org-dartlang-testcase:///field_access_lib.dart";
extension /* unnamed */ _extension#0 on dynamic {
set it = self::_extension#0|set#it;
}
inline class InlineClass /* declaredRepresentationType = core::int */ {
method test = self::InlineClass|test;
tearoff test = self::InlineClass|get#test;
constructor = self::InlineClass|;
tearoff = self::InlineClass|_#new#tearOff;
}
inline class GenericInlineClass<T extends core::Object? = dynamic> /* declaredRepresentationType = T% */ {
method test = self::GenericInlineClass|test;
tearoff test = self::GenericInlineClass|get#test;
constructor = self::GenericInlineClass|;
tearoff = self::GenericInlineClass|_#new#tearOff;
}
inline class FunctionInlineClass<T extends core::Object? = dynamic> /* declaredRepresentationType = () → T% */ {
method test = self::FunctionInlineClass|test;
tearoff test = self::FunctionInlineClass|get#test;
constructor = self::FunctionInlineClass|;
tearoff = self::FunctionInlineClass|_#new#tearOff;
}
inline class GenericFunctionInlineClass /* declaredRepresentationType = <T extends core::Object? = dynamic>() → T% */ {
method test = self::GenericFunctionInlineClass|test;
tearoff test = self::GenericFunctionInlineClass|get#test;
constructor = self::GenericFunctionInlineClass|;
tearoff = self::GenericFunctionInlineClass|_#new#tearOff;
}
inline class DynamicInlineClass /* declaredRepresentationType = dynamic */ {
method test = self::DynamicInlineClass|test;
tearoff test = self::DynamicInlineClass|get#test;
constructor = self::DynamicInlineClass|;
tearoff = self::DynamicInlineClass|_#new#tearOff;
}
inline class ErroneousInlineClass /* declaredRepresentationType = core::int */ {
method test = self::ErroneousInlineClass|test;
tearoff test = self::ErroneousInlineClass|get#test;
constructor = self::ErroneousInlineClass|;
tearoff = self::ErroneousInlineClass|_#new#tearOff;
}
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 inline-class-member method InlineClass|_#new#tearOff(core::int it) → self::InlineClass
return self::InlineClass|(it);
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'.
Try changing the operand or remove the type arguments.
var b1 = this.it<int>; // Error
^";
invalid-type b2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:20:16: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:21:19: Error: The setter 'it' isn't defined for the class 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c1 = this.it = 42; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = 42;
core::int c2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:22:14: Error: The setter 'it' isn't defined for the class 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c2 = it = 42; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = 42;
}
static inline-class-member method InlineClass|get#test(lowered final self::InlineClass #this) → () → void
return () void => self::InlineClass|test(#this);
static inline-class-member method GenericInlineClass|<T extends core::Object? = dynamic>(self::GenericInlineClass|::T% it) self::GenericInlineClass<self::GenericInlineClass|::T%> {
lowered final self::GenericInlineClass<self::GenericInlineClass|::T%> #this = it;
return #this;
}
static inline-class-member method GenericInlineClass|_#new#tearOff<T extends core::Object? = dynamic>(self::GenericInlineClass|_#new#tearOff::T% it) → self::GenericInlineClass<self::GenericInlineClass|_#new#tearOff::T%>
return self::GenericInlineClass|<self::GenericInlineClass|_#new#tearOff::T%>(it);
static inline-class-member method GenericInlineClass|test<T extends core::Object? = dynamic>(lowered final self::GenericInlineClass<self::GenericInlineClass|test::T%> #this, self::GenericInlineClass|test::T% t) → void {
self::GenericInlineClass|test::T% a1 = #this as{Unchecked} self::GenericInlineClass|test::T%;
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'.
Try changing the operand or remove the type arguments.
var b1 = this.it<int>; // Error
^";
invalid-type b2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:35:16: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T'.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
self::GenericInlineClass|test::T% c1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:36:19: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c1 = this.it = t; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = t;
self::GenericInlineClass|test::T% c2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:37:14: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c2 = it = t; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = t;
}
static inline-class-member method GenericInlineClass|get#test<T extends core::Object? = dynamic>(lowered final self::GenericInlineClass<self::GenericInlineClass|get#test::T%> #this) → (self::GenericInlineClass|get#test::T%) → void
return (self::GenericInlineClass|get#test::T% t) → void => self::GenericInlineClass|test<self::GenericInlineClass|get#test::T%>(#this, t);
static inline-class-member method FunctionInlineClass|<T extends core::Object? = dynamic>(() self::FunctionInlineClass|::T% it) self::FunctionInlineClass<self::FunctionInlineClass|::T%> {
lowered final self::FunctionInlineClass<self::FunctionInlineClass|::T%> #this = it;
return #this;
}
static inline-class-member method FunctionInlineClass|_#new#tearOff<T extends core::Object? = dynamic>(() → self::FunctionInlineClass|_#new#tearOff::T% it) → self::FunctionInlineClass<self::FunctionInlineClass|_#new#tearOff::T%>
return self::FunctionInlineClass|<self::FunctionInlineClass|_#new#tearOff::T%>(it);
static inline-class-member method FunctionInlineClass|test<T extends core::Object? = dynamic>(lowered final self::FunctionInlineClass<self::FunctionInlineClass|test::T%> #this, () → self::FunctionInlineClass|test::T% t) → void {
() self::FunctionInlineClass|test::T% a1 = #this as{Unchecked} () → self::FunctionInlineClass|test::T%;
() 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()'.
Try changing the operand or remove the type arguments.
var b1 = this.it<int>; // Error
^";
invalid-type b2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:50:16: Error: The static type of the explicit instantiation operand must be a generic function type but is 'T Function()'.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
() self::FunctionInlineClass|test::T% c1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:51:19: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c1 = this.it = t; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = t;
() self::FunctionInlineClass|test::T% c2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:52:14: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c2 = it = t; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = t;
self::FunctionInlineClass|test::T% d1 = (#this as{Unchecked} () self::FunctionInlineClass|test::T%)(){() self::FunctionInlineClass|test::T%};
self::FunctionInlineClass|test::T% d2 = (#this as{Unchecked} () self::FunctionInlineClass|test::T%)(){() self::FunctionInlineClass|test::T%};
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 inline-class-member method FunctionInlineClass|get#test<T extends core::Object? = dynamic>(lowered final self::FunctionInlineClass<self::FunctionInlineClass|get#test::T%> #this) → (() → self::FunctionInlineClass|get#test::T%) → void
return (() self::FunctionInlineClass|get#test::T% t) → void => self::FunctionInlineClass|test<self::FunctionInlineClass|get#test::T%>(#this, t);
static inline-class-member method GenericFunctionInlineClass|(<T extends core::Object? = dynamic>() T% it) self::GenericFunctionInlineClass {
lowered final self::GenericFunctionInlineClass #this = it;
return #this;
}
static inline-class-member method GenericFunctionInlineClass|_#new#tearOff(<T extends core::Object? = dynamic>() → T% it) → self::GenericFunctionInlineClass
return self::GenericFunctionInlineClass|(it);
static inline-class-member method GenericFunctionInlineClass|test(lowered final self::GenericFunctionInlineClass #this) → void {
<T extends core::Object? = dynamic>() T% a1 = #this as{Unchecked} <T extends core::Object? = dynamic>() → T%;
<T extends core::Object? = dynamic>() T% a2 = #this as{Unchecked} <T extends core::Object? = dynamic>() → T%;
() core::int a3 = (#this as{Unchecked} <T extends core::Object? = dynamic>() T%)<core::int>;
() core::int a4 = (#this as{Unchecked} <T extends core::Object? = dynamic>() T%)<core::int>;
() core::int b1 = (#this as{Unchecked} <T extends core::Object? = dynamic>() T%)<core::int>;
() core::int b2 = (#this as{Unchecked} <T extends core::Object? = dynamic>() T%)<core::int>;
dynamic c1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:72:19: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c1 = this.it = t; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:72:24: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 't'.
var c1 = this.it = t; // Error, should not resolve to extension method.
^" in #this{<unresolved>}.t;
dynamic c2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:73:14: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c2 = it = t; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:73:19: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 't'.
var c2 = it = t; // Error, should not resolve to extension method.
^" in #this{<unresolved>}.t;
dynamic d1 = (#this as{Unchecked} <T extends core::Object? = dynamic>() → T%)<dynamic>(){() → dynamic};
dynamic d2 = (#this as{Unchecked} <T extends core::Object? = dynamic>() → T%)<dynamic>(){() → dynamic};
dynamic d3 = (#this as{Unchecked} <T extends core::Object? = dynamic>() → T%)<dynamic>(){() → dynamic};
dynamic d4 = (#this as{Unchecked} <T extends core::Object? = dynamic>() → T%)<dynamic>(){() → dynamic};
core::int e1 = (#this as{Unchecked} <T extends core::Object? = dynamic>() → T%)<core::int>(){() → core::int};
core::int e2 = (#this as{Unchecked} <T extends core::Object? = dynamic>() → T%)<core::int>(){() → core::int};
}
static inline-class-member method GenericFunctionInlineClass|get#test(lowered final self::GenericFunctionInlineClass #this) → () → void
return () → void => self::GenericFunctionInlineClass|test(#this);
static inline-class-member method DynamicInlineClass|(dynamic it) → self::DynamicInlineClass {
lowered final self::DynamicInlineClass #this = it;
return #this;
}
static inline-class-member method DynamicInlineClass|_#new#tearOff(dynamic it) → self::DynamicInlineClass
return self::DynamicInlineClass|(it);
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'.
Try changing the operand or remove the type arguments.
var b1 = this.it<int>; // Error
^";
invalid-type b2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:93:16: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:94:19: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c1 = this.it = 42; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = 42;
core::int c2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:95:14: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c2 = it = 42; // Error, should not resolve to extension method.
^^" in #this{<unresolved>}.it = 42;
dynamic d1 = (#this as{Unchecked} dynamic){dynamic}.call();
dynamic d2 = (#this as{Unchecked} dynamic){dynamic}.call();
dynamic d3 = (#this as{Unchecked} dynamic){dynamic}.call();
dynamic d4 = (#this as{Unchecked} dynamic){dynamic}.call();
}
static inline-class-member method DynamicInlineClass|get#test(lowered final self::DynamicInlineClass #this) → () → void
return () → void => self::DynamicInlineClass|test(#this);
static inline-class-member method ErroneousInlineClass|(core::int a, core::String b) → self::ErroneousInlineClass {
lowered final self::ErroneousInlineClass #this = b;
return #this;
}
static inline-class-member method ErroneousInlineClass|_#new#tearOff(core::int a, core::String b) → self::ErroneousInlineClass
return self::ErroneousInlineClass|(a, b);
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'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
var a3 = this.b; // Error
^" in #this{<unresolved>}.b;
dynamic a4 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:113:14: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
var a4 = b; // Error
^" in #this{<unresolved>}.b;
invalid-type b1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:114:20: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
Try changing the operand or remove the type arguments.
var b1 = this.a<int>; // Error
^";
invalid-type b2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:115:15: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
Try changing the operand or remove the type arguments.
var b2 = a<int>; // Error
^";
invalid-type b3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:116:20: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
Try changing the operand or remove the type arguments.
var b3 = this.b<int>; // Error
^";
invalid-type b4 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:117:15: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
Try changing the operand or remove the type arguments.
var b4 = b<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:118:19: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'a'.
var c1 = this.a = 42; // Error
^" in #this{<unresolved>}.a = 42;
core::int c2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:119:14: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'a'.
var c2 = a = 42; // Error
^" in #this{<unresolved>}.a = 42;
core::String c3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:120:19: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'b'.
var c3 = this.b = '42'; // Error
^" in #this{<unresolved>}.b = "42";
core::String c4 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:121:14: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'b'.
var c4 = b = '42'; // Error
^" in #this{<unresolved>}.b = "42";
dynamic d1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:122:20: Error: The method 'call' isn't defined for the class 'int'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var d1 = this.a(); // Error
^^^^" in (#this as{Unchecked} core::int){<unresolved>}.call();
dynamic d2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:123:15: Error: The method 'call' isn't defined for the class 'int'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var d2 = a(); // Error
^^^^" in (#this as{Unchecked} core::int){<unresolved>}.call();
dynamic d3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:124:21: Error: The method 'call' isn't defined for the class 'int'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var d3 = this.a.call(); // Error
^^^^" in (#this as{Unchecked} core::int){<unresolved>}.call();
dynamic d4 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:125:16: Error: The method 'call' isn't defined for the class 'int'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var d4 = a.call(); // Error
^^^^" in (#this as{Unchecked} core::int){<unresolved>}.call();
dynamic e1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:126:19: Error: The method 'b' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing method, or defining a method named 'b'.
var e1 = this.b(); // Error
^" in #this{<unresolved>}.b();
dynamic e2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:127:14: Error: The method 'b' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing method, or defining a method named 'b'.
var e2 = b(); // Error
^" in #this{<unresolved>}.b();
dynamic e3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:128:19: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
var e3 = this.b.call(); // Error
^" in #this{<unresolved>}.b{dynamic}.call();
dynamic e4 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:129:14: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
var e4 = b.call(); // Error
^" in #this{<unresolved>}.b{dynamic}.call();
}
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<core::String> genericInlineClass, self::FunctionInlineClass<core::String> functionInlineClass, self::GenericFunctionInlineClass genericFunctionInlineClass, self::DynamicInlineClass dynamicInlineClass, self::ErroneousInlineClass erroneousInlineClass, #lib1::PrivateInlineClass privateInlineClass) → void {
core::int a1 = inlineClass as{Unchecked} core::int;
invalid-type a2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:143:26: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
Try changing the operand or remove the type arguments.
var a2 = inlineClass.it<int>; // Error
^";
core::int a3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:144:24: Error: The setter 'it' isn't defined for the class 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var a3 = inlineClass.it = 42; // Error,
^^" in inlineClass{<unresolved>}.it = 42;
core::String b1 = genericInlineClass as{Unchecked} core::String;
invalid-type b2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:148:33: Error: The static type of the explicit instantiation operand must be a generic function type but is 'String'.
Try changing the operand or remove the type arguments.
var b2 = genericInlineClass.it<int>; // Error
^";
core::String b3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:149:31: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<String>'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var b3 = genericInlineClass.it = '42'; // Error, should not
^^" in genericInlineClass{<unresolved>}.it = "42";
() → core::String c1 = functionInlineClass as{Unchecked} () → core::String;
invalid-type c2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:153:34: Error: The static type of the explicit instantiation operand must be a generic function type but is 'String Function()'.
Try changing the operand or remove the type arguments.
var c2 = functionInlineClass.it<int>; // Error
^";
core::String c3 = (functionInlineClass as{Unchecked} () → core::String)(){() → core::String};
core::String c4 = (functionInlineClass as{Unchecked} () → core::String)(){() → core::String};
() → core::String c5 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:156:32: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<String>'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var c5 = functionInlineClass.it = () => '42'; // Error, should not
^^" in functionInlineClass{<unresolved>}.it = () → core::String => "42";
<T extends core::Object? = dynamic>() → T% d1 = genericFunctionInlineClass as{Unchecked} <T extends core::Object? = dynamic>() → T%;
() → core::int d2 = (genericFunctionInlineClass as{Unchecked} <T extends core::Object? = dynamic>() → T%)<core::int>;
() → core::int d3 = (genericFunctionInlineClass as{Unchecked} <T extends core::Object? = dynamic>() → T%)<core::int>;
core::int d4 = (genericFunctionInlineClass as{Unchecked} <T extends core::Object? = dynamic>() → T%)<core::int>(){() → core::int};
core::int d5 = (genericFunctionInlineClass as{Unchecked} <T extends core::Object? = dynamic>() → T%)<core::int>(){() → core::int};
<T extends core::Object? = dynamic>() → Never d6 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:164:39: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var d6 = genericFunctionInlineClass.it = <T>() => throw ''; // Error, should
^^" in genericFunctionInlineClass{<unresolved>}.it = <T extends core::Object? = dynamic>() → Never => throw "";
dynamic e1 = dynamicInlineClass as{Unchecked} dynamic;
invalid-type e2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:168:33: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
Try changing the operand or remove the type arguments.
var e2 = dynamicInlineClass.it<int>; // Error
^";
dynamic e3 = (dynamicInlineClass as{Unchecked} dynamic){dynamic}.call();
core::String e4 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:170:31: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'it'.
var e4 = dynamicInlineClass.it = '42'; // Error, should not resolve
^^" in dynamicInlineClass{<unresolved>}.it = "42";
core::int f1 = erroneousInlineClass as{Unchecked} core::int;
invalid-type f2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:174:34: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
Try changing the operand or remove the type arguments.
var f2 = erroneousInlineClass.a<int>; // Error
^";
core::int f3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:175:33: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'a'.
var f3 = erroneousInlineClass.a = 42; // Error, should not resolve
^" in erroneousInlineClass{<unresolved>}.a = 42;
dynamic g1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:177:33: Error: The getter 'b' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
var g1 = erroneousInlineClass.b;
^" in erroneousInlineClass{<unresolved>}.b;
invalid-type g2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:178:34: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
Try changing the operand or remove the type arguments.
var g2 = erroneousInlineClass.a<int>; // Error
^";
core::String g3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:179:33: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'b'.
var g3 = erroneousInlineClass.b = '42'; // Error, should not resolve
^" in erroneousInlineClass{<unresolved>}.b = "42";
dynamic h1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:182:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named '_it'.
var h1 = privateInlineClass._it; // Error
^^^" in privateInlineClass{<unresolved>}._it;
invalid-type h2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:183:34: Error: The static type of the explicit instantiation operand must be a generic function type but is 'dynamic'.
Try changing the operand or remove the type arguments.
var h2 = privateInlineClass._it<int>; // Error
^";
core::int h3 = invalid-expression "pkg/front_end/testcases/inline_class/field_access.dart:184:31: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named '_it'.
var h3 = privateInlineClass._it = 42; // Error
^^^" in privateInlineClass{<unresolved>}._it = 42;
}
library;
//
// Problems in library:
//
// 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'.
// Try changing the operand or remove the type arguments.
// var b1 = this._it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access_lib.dart:14:17: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
// Try changing the operand or remove the type arguments.
// var b2 = _it<int>; // Error
// ^
//
// pkg/front_end/testcases/inline_class/field_access_lib.dart:15:19: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named '_it'.
// var c1 = this._it = 42; // Error, should not resolve to extension method.
// ^^^
//
// pkg/front_end/testcases/inline_class/field_access_lib.dart:16:14: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named '_it'.
// var c2 = _it = 42; // Error, should not resolve to extension method.
// ^^^
//
import self as self2;
import "dart:core" as core;
inline class PrivateInlineClass /* declaredRepresentationType = core::int */ {
method test = self2::PrivateInlineClass|test;
tearoff test = self2::PrivateInlineClass|get#test;
constructor • = self2::PrivateInlineClass|;
tearoff • = self2::PrivateInlineClass|_#new#tearOff;
}
static inline-class-member method PrivateInlineClass|(core::int _it) → self2::PrivateInlineClass {
lowered final self2::PrivateInlineClass #this = _it;
return #this;
}
static inline-class-member method PrivateInlineClass|_#new#tearOff(core::int _it) → self2::PrivateInlineClass
return self2::PrivateInlineClass|(_it);
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'.
Try changing the operand or remove the type arguments.
var b1 = this._it<int>; // Error
^";
invalid-type b2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access_lib.dart:14:17: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
Try changing the operand or remove the type arguments.
var b2 = _it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/inline_class/field_access_lib.dart:15:19: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named '_it'.
var c1 = this._it = 42; // Error, should not resolve to extension method.
^^^" in #this{<unresolved>}._it = 42;
core::int c2 = invalid-expression "pkg/front_end/testcases/inline_class/field_access_lib.dart:16:14: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named '_it'.
var c2 = _it = 42; // Error, should not resolve to extension method.
^^^" in #this{<unresolved>}._it = 42;
}
static inline-class-member method PrivateInlineClass|get#test(lowered final self2::PrivateInlineClass #this) → () → void
return () → void => self2::PrivateInlineClass|test(#this);