[cfe] Update message for undefined access

This updates the message text for undefined access. Instead of saying
that the member is not defined on the "class", it now says on the "type".

Closes #60290

Change-Id: I9387f892e99ba109b9b1d99af25714ab83b5350c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/433941
Reviewed-by: Erik Ernst <eernst@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Jens Johansen <jensj@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
This commit is contained in:
Johnni Winther
2025-06-17 04:03:26 -07:00
committed by Commit Queue
parent b85d7622f5
commit b8b072ed3b
406 changed files with 3459 additions and 3348 deletions
@@ -1067,7 +1067,7 @@ void runAgnosticSharedTestsShard1(
expression: 'notInScope',
expectedError:
"Error: The getter 'notInScope' isn't defined for the"
" class 'C'.",
" type 'C'.",
);
});
@@ -1077,7 +1077,7 @@ void runAgnosticSharedTestsShard1(
expression: 'innerNotInScope',
expectedError:
"Error: The getter 'innerNotInScope' isn't defined for the"
" class 'C'.",
" type 'C'.",
);
});
});
@@ -1183,7 +1183,7 @@ void runAgnosticSharedTestsShard1(
await driver.checkInFrame(
breakpointId: 'methodBP',
expression: 'typo',
expectedError: "The getter 'typo' isn't defined for the class 'C'",
expectedError: "The getter 'typo' isn't defined for the type 'C'",
);
});
@@ -1510,7 +1510,7 @@ void runAgnosticSharedTestsShard2(
await driver.checkInFrame(
breakpointId: 'constructorBP',
expression: 'typo',
expectedError: "The getter 'typo' isn't defined for the class 'C'",
expectedError: "The getter 'typo' isn't defined for the type 'C'",
);
});
@@ -1645,7 +1645,7 @@ void runAgnosticSharedTestsShard2(
await driver.checkInFrame(
breakpointId: 'asyncTestBP1',
expression: 'typo',
expectedError: "The getter 'typo' isn't defined for the class 'D'",
expectedError: "The getter 'typo' isn't defined for the type 'D'",
);
});
@@ -4801,7 +4801,7 @@ const Template<Message Function(String name, DartType _type)>
const Template<Message Function(String name, DartType _type)>(
"UndefinedGetter",
problemMessageTemplate:
r"""The getter '#name' isn't defined for the class '#type'.""",
r"""The getter '#name' isn't defined for the type '#type'.""",
correctionMessageTemplate:
r"""Try correcting the name to the name of an existing getter, or defining a getter or field named '#name'.""",
withArguments: _withArgumentsUndefinedGetter,
@@ -4824,7 +4824,7 @@ Message _withArgumentsUndefinedGetter(String name, DartType _type) {
return new Message(
codeUndefinedGetter,
problemMessage:
"""The getter '${name}' isn't defined for the class '${type}'.""" +
"""The getter '${name}' isn't defined for the type '${type}'.""" +
labeler.originMessages,
correctionMessage:
"""Try correcting the name to the name of an existing getter, or defining a getter or field named '${name}'.""",
@@ -4841,7 +4841,7 @@ const Template<Message Function(String name, DartType _type)>
const Template<Message Function(String name, DartType _type)>(
"UndefinedMethod",
problemMessageTemplate:
r"""The method '#name' isn't defined for the class '#type'.""",
r"""The method '#name' isn't defined for the type '#type'.""",
correctionMessageTemplate:
r"""Try correcting the name to the name of an existing method, or defining a method named '#name'.""",
withArguments: _withArgumentsUndefinedMethod,
@@ -4864,7 +4864,7 @@ Message _withArgumentsUndefinedMethod(String name, DartType _type) {
return new Message(
codeUndefinedMethod,
problemMessage:
"""The method '${name}' isn't defined for the class '${type}'.""" +
"""The method '${name}' isn't defined for the type '${type}'.""" +
labeler.originMessages,
correctionMessage:
"""Try correcting the name to the name of an existing method, or defining a method named '${name}'.""",
@@ -4881,7 +4881,7 @@ const Template<Message Function(String name, DartType _type)>
const Template<Message Function(String name, DartType _type)>(
"UndefinedOperator",
problemMessageTemplate:
r"""The operator '#name' isn't defined for the class '#type'.""",
r"""The operator '#name' isn't defined for the type '#type'.""",
correctionMessageTemplate:
r"""Try correcting the operator to an existing operator, or defining a '#name' operator.""",
withArguments: _withArgumentsUndefinedOperator,
@@ -4905,7 +4905,7 @@ Message _withArgumentsUndefinedOperator(String name, DartType _type) {
return new Message(
codeUndefinedOperator,
problemMessage:
"""The operator '${name}' isn't defined for the class '${type}'.""" +
"""The operator '${name}' isn't defined for the type '${type}'.""" +
labeler.originMessages,
correctionMessage:
"""Try correcting the operator to an existing operator, or defining a '${name}' operator.""",
@@ -4922,7 +4922,7 @@ const Template<Message Function(String name, DartType _type)>
const Template<Message Function(String name, DartType _type)>(
"UndefinedSetter",
problemMessageTemplate:
r"""The setter '#name' isn't defined for the class '#type'.""",
r"""The setter '#name' isn't defined for the type '#type'.""",
correctionMessageTemplate:
r"""Try correcting the name to the name of an existing setter, or defining a setter or field named '#name'.""",
withArguments: _withArgumentsUndefinedSetter,
@@ -4945,7 +4945,7 @@ Message _withArgumentsUndefinedSetter(String name, DartType _type) {
return new Message(
codeUndefinedSetter,
problemMessage:
"""The setter '${name}' isn't defined for the class '${type}'.""" +
"""The setter '${name}' isn't defined for the type '${type}'.""" +
labeler.originMessages,
correctionMessage:
"""Try correcting the name to the name of an existing setter, or defining a setter or field named '${name}'.""",
+4 -4
View File
@@ -4160,7 +4160,7 @@ InvalidUseOfNullAwareAccess:
analyzerCode: INVALID_USE_OF_NULL_AWARE_ACCESS
UndefinedGetter:
problemMessage: "The getter '#name' isn't defined for the class '#type'."
problemMessage: "The getter '#name' isn't defined for the type '#type'."
correctionMessage: "Try correcting the name to the name of an existing getter, or defining a getter or field named '#name'."
analyzerCode: UNDEFINED_GETTER
script: >
@@ -4170,7 +4170,7 @@ UndefinedGetter:
}
UndefinedSetter:
problemMessage: "The setter '#name' isn't defined for the class '#type'."
problemMessage: "The setter '#name' isn't defined for the type '#type'."
correctionMessage: "Try correcting the name to the name of an existing setter, or defining a setter or field named '#name'."
analyzerCode: UNDEFINED_SETTER
script: >
@@ -4180,7 +4180,7 @@ UndefinedSetter:
}
UndefinedMethod:
problemMessage: "The method '#name' isn't defined for the class '#type'."
problemMessage: "The method '#name' isn't defined for the type '#type'."
correctionMessage: "Try correcting the name to the name of an existing method, or defining a method named '#name'."
analyzerCode: UNDEFINED_METHOD
script: >
@@ -4190,7 +4190,7 @@ UndefinedMethod:
}
UndefinedOperator:
problemMessage: "The operator '#name' isn't defined for the class '#type'."
problemMessage: "The operator '#name' isn't defined for the type '#type'."
correctionMessage: "Try correcting the operator to an existing operator, or defining a '#name' operator."
analyzerCode: UNDEFINED_METHOD
script: >
+1 -1
View File
@@ -130,7 +130,7 @@ void _internal() {
"""dartdoctest:tester:3:20: Error: This expression has type 'void' and can't be used.
dartDocTest.test(_internal() + 2, 42);
^
dartdoctest:tester:3:32: Error: The operator '+' isn't defined for the class 'void'.
dartdoctest:tester:3:32: Error: The operator '+' isn't defined for the type 'void'.
Try correcting the operator to an existing operator, or defining a '+' operator.
dartDocTest.test(_internal() + 2, 42);
^""",
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'invalidProperty'.
// return x.invalidProperty;
@@ -70,7 +70,7 @@ static const field core::int firstException = invalid-expression "Unhandled core
static const field core::int lastException = invalid-expression "Unhandled core exception: Bad state: No element";
static const field core::int singleException = invalid-expression "Unhandled core exception: Bad state: No element";
static const field core::int singleExceptionMulti = invalid-expression "Unhandled core exception: Bad state: Too many elements";
static const field core::int invalidProperty = invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the class 'List<int>'.
static const field core::int invalidProperty = invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'invalidProperty'.
return x.invalidProperty;
@@ -94,7 +94,7 @@ static method singleExceptionMultiFn() → core::int {
return #C4.{core::Iterable::single}{core::int};
}
static method invalidPropertyFn() → core::int {
return invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the class 'List<int>'.
return invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'invalidProperty'.
return x.invalidProperty;
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'invalidProperty'.
// return x.invalidProperty;
@@ -70,7 +70,7 @@ static const field core::int firstException = invalid-expression "Unhandled core
static const field core::int lastException = invalid-expression "Unhandled core exception: Bad state: No element";
static const field core::int singleException = invalid-expression "Unhandled core exception: Bad state: No element";
static const field core::int singleExceptionMulti = invalid-expression "Unhandled core exception: Bad state: Too many elements";
static const field core::int invalidProperty = invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the class 'List<int>'.
static const field core::int invalidProperty = invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'invalidProperty'.
return x.invalidProperty;
@@ -94,7 +94,7 @@ static method singleExceptionMultiFn() → core::int {
return #C4.{core::Iterable::single}{core::int};
}
static method invalidPropertyFn() → core::int {
return invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the class 'List<int>'.
return invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'invalidProperty'.
return x.invalidProperty;
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'invalidProperty'.
// return x.invalidProperty;
@@ -70,7 +70,7 @@ static const field core::int firstException = invalid-expression "Unhandled core
static const field core::int lastException = invalid-expression "Unhandled core exception: Bad state: No element";
static const field core::int singleException = invalid-expression "Unhandled core exception: Bad state: No element";
static const field core::int singleExceptionMulti = invalid-expression "Unhandled core exception: Bad state: Too many elements";
static const field core::int invalidProperty = invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the class 'List<int>'.
static const field core::int invalidProperty = invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'invalidProperty'.
return x.invalidProperty;
@@ -94,7 +94,7 @@ static method singleExceptionMultiFn() → core::int {
return #C4.{core::Iterable::single}{core::int};
}
static method invalidPropertyFn() → core::int {
return invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the class 'List<int>'.
return invalid-expression "pkg/front_end/testcases/const_functions/const_functions_list_error.dart:36:12: Error: The getter 'invalidProperty' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'invalidProperty'.
return x.invalidProperty;
@@ -125,13 +125,13 @@ library;
// Class<int><int>.named<int><int>();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>();
@@ -143,73 +143,73 @@ library;
// Class<int>.named<int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named;
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'named'.
// Class<int><int>.named();
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named<int>;
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int>();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'named'.
// Class<int><int>.named<int>();
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int><int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named<int><int>;
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int><int>();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named<int><int>();
@@ -229,12 +229,12 @@ class Class<T extends core::Object? = dynamic> extends core::Object {
static method test() → dynamic {
#C1;
new self::Class::•<core::int>();
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(<core::int>[]);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>();
@@ -249,56 +249,56 @@ Try changing the operand or remove the type arguments.
Class<int>.named<int>;
^";
new self::Class::named<core::int>();
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named;
^^^^^" in <core::int>[]{<unresolved>}.named);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named();
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'named'.
Class<int><int>.named();
^^^^^" in <core::int>[]{<unresolved>}.named());
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int>;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named<int>;
^^^^^" in <core::int>[]{<unresolved>}.named);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int>();
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'named'.
Class<int><int>.named<int>();
^^^^^" in <core::int>[]{<unresolved>}.named<core::int>());
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int><int>;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named<int><int>;
^^^^^" in <core::int>[]{<unresolved>}.named){dynamic}.<(#C3){dynamic}.>(<core::int>[]);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int><int>();
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named<int><int>();
@@ -125,13 +125,13 @@ library;
// Class<int><int>.named<int><int>();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>();
@@ -143,73 +143,73 @@ library;
// Class<int>.named<int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named;
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'named'.
// Class<int><int>.named();
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named<int>;
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int>();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'named'.
// Class<int><int>.named<int>();
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int><int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named<int><int>;
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int><int>();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named<int><int>();
@@ -229,12 +229,12 @@ class Class<T extends core::Object? = dynamic> extends core::Object {
static method test() → dynamic {
#C1;
new self::Class::•<core::int>();
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(<core::int>[]);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>();
@@ -249,56 +249,56 @@ Try changing the operand or remove the type arguments.
Class<int>.named<int>;
^";
new self::Class::named<core::int>();
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named;
^^^^^" in <core::int>[]{<unresolved>}.named);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named();
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'named'.
Class<int><int>.named();
^^^^^" in <core::int>[]{<unresolved>}.named());
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int>;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named<int>;
^^^^^" in <core::int>[]{<unresolved>}.named);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int>();
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'named'.
Class<int><int>.named<int>();
^^^^^" in <core::int>[]{<unresolved>}.named<core::int>());
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int><int>;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named<int><int>;
^^^^^" in <core::int>[]{<unresolved>}.named){dynamic}.<(#C3){dynamic}.>(<core::int>[]);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int><int>();
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named<int><int>();
@@ -125,13 +125,13 @@ library;
// Class<int><int>.named<int><int>();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>();
@@ -143,73 +143,73 @@ library;
// Class<int>.named<int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named;
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'named'.
// Class<int><int>.named();
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named<int>;
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int>();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'named'.
// Class<int><int>.named<int>();
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int><int>;
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named<int><int>;
// ^^^^^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the class 'Type'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the type 'Type'.
// - 'Type' is from 'dart:core'.
// Try correcting the operator to an existing operator, or defining a '<' operator.
// Class<int><int>.named<int><int>();
// ^
//
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
// pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
// Class<int><int>.named<int><int>();
@@ -229,12 +229,12 @@ class Class<T extends core::Object? = dynamic> extends core::Object {
static method test() → dynamic {
#C1;
new self::Class::•<core::int>();
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:13:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(core::_GrowableList::•<core::int>(0));
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:14:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>();
@@ -249,56 +249,56 @@ Try changing the operand or remove the type arguments.
Class<int>.named<int>;
^";
new self::Class::named<core::int>();
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:19:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named;
^^^^^" in core::_GrowableList::•<core::int>(0){<unresolved>}.named);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named();
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:20:19: Error: The method 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'named'.
Class<int><int>.named();
^^^^^" in core::_GrowableList::•<core::int>(0){<unresolved>}.named());
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int>;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:21:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named<int>;
^^^^^" in core::_GrowableList::•<core::int>(0){<unresolved>}.named);
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int>();
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:22:19: Error: The method 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'named'.
Class<int><int>.named<int>();
^^^^^" in core::_GrowableList::•<core::int>(0){<unresolved>}.named<core::int>());
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int><int>;
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:23:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named<int><int>;
^^^^^" in core::_GrowableList::•<core::int>(0){<unresolved>}.named){dynamic}.<(#C3){dynamic}.>(core::_GrowableList::•<core::int>(0));
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the class 'Type'.
invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:8: Error: The operator '<' isn't defined for the type 'Type'.
- 'Type' is from 'dart:core'.
Try correcting the operator to an existing operator, or defining a '<' operator.
Class<int><int>.named<int><int>();
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the class 'List<int>'.
^" in #C2{<unresolved>}.<(#C3){dynamic}.>(invalid-expression "pkg/front_end/testcases/constructor_tearoffs/duplicate_instantiation.dart:24:19: Error: The getter 'named' isn't defined for the type 'List<int>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'named'.
Class<int><int>.named<int><int>();
@@ -2,31 +2,31 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
// request.response; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
// request.readyState; // error
@@ -49,7 +49,7 @@ class HttpRequest extends core::Object {
return new self::HttpRequest::•();
}
static method testA(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -59,7 +59,7 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{_in::Interceptor::hashCode}{core::int};
}
static method testB(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -69,17 +69,17 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{_in::Interceptor::hashCode}{core::int};
}
static method testC(self::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error
^^^^^^^^^^^" in request{<unresolved>}.certificate;
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
request.response; // error
^^^^^^^^" in request{<unresolved>}.response;
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
request.readyState; // error
@@ -2,31 +2,31 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
// request.response; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
// request.readyState; // error
@@ -49,7 +49,7 @@ class HttpRequest extends core::Object {
return new self::HttpRequest::•();
}
static method testA(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -59,7 +59,7 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{_in::Interceptor::hashCode}{core::int};
}
static method testB(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -69,17 +69,17 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{_in::Interceptor::hashCode}{core::int};
}
static method testC(self::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error
^^^^^^^^^^^" in request{<unresolved>}.certificate;
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
request.response; // error
^^^^^^^^" in request{<unresolved>}.response;
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
request.readyState; // error
@@ -2,31 +2,31 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
// request.response; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
// request.readyState; // error
@@ -49,7 +49,7 @@ class HttpRequest extends core::Object {
return new self::HttpRequest::•();
}
static method testA(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -59,7 +59,7 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{_in::Interceptor::hashCode}{core::int};
}
static method testB(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -69,17 +69,17 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{_in::Interceptor::hashCode}{core::int};
}
static method testC(self::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error
^^^^^^^^^^^" in request{<unresolved>}.certificate;
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
request.response; // error
^^^^^^^^" in request{<unresolved>}.response;
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dart2js/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dart2js/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
request.readyState; // error
@@ -2,31 +2,31 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
// request.response; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
// request.readyState; // error
@@ -48,7 +48,7 @@ class HttpRequest extends core::Object {
return new self::HttpRequest::•();
}
static method testA(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -58,7 +58,7 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{core::Object::hashCode}{core::int};
}
static method testB(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -68,17 +68,17 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{core::Object::hashCode}{core::int};
}
static method testC(self::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error
^^^^^^^^^^^" in request{<unresolved>}.certificate;
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
request.response; // error
^^^^^^^^" in request{<unresolved>}.response;
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
request.readyState; // error
@@ -2,31 +2,31 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
// request.response; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
// request.readyState; // error
@@ -48,7 +48,7 @@ class HttpRequest extends core::Object {
return new self::HttpRequest::•();
}
static method testA(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -58,7 +58,7 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{core::Object::hashCode}{core::int};
}
static method testB(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -68,17 +68,17 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{core::Object::hashCode}{core::int};
}
static method testC(self::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error
^^^^^^^^^^^" in request{<unresolved>}.certificate;
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
request.response; // error
^^^^^^^^" in request{<unresolved>}.response;
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
request.readyState; // error
@@ -2,31 +2,31 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'dart:html'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error (from dart:io)
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
// request.certificate; // error
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
// request.response; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
// pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
// - 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
// request.readyState; // error
@@ -48,7 +48,7 @@ class HttpRequest extends core::Object {
return new self::HttpRequest::•();
}
static method testA(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:20:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -58,7 +58,7 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{core::Object::hashCode}{core::int};
}
static method testB(html::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:27:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'dart:html'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error (from dart:io)
@@ -68,17 +68,17 @@ Try correcting the name to the name of an existing getter, or defining a getter
request.{core::Object::hashCode}{core::int};
}
static method testC(self::HttpRequest request) → dynamic {
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:34:11: Error: The getter 'certificate' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'certificate'.
request.certificate; // error
^^^^^^^^^^^" in request{<unresolved>}.certificate;
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:35:11: Error: The getter 'response' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'response'.
request.response; // error
^^^^^^^^" in request{<unresolved>}.response;
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the class 'HttpRequest'.
invalid-expression "pkg/front_end/testcases/dartdevc/conditional_import.dart:36:11: Error: The getter 'readyState' isn't defined for the type 'HttpRequest'.
- 'HttpRequest' is from 'pkg/front_end/testcases/dartdevc/conditional_import.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'readyState'.
request.readyState; // error
@@ -2,13 +2,13 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the class 'C'.
// pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// C c1 = .id1();
// ^
//
// pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the class 'C'.
// pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// C c2 = .id2();
@@ -26,12 +26,12 @@ class C extends core::Object /*hasConstConstructor*/ {
return #C1;
}
static method test() → void {
self::C c1 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the class 'C'.
self::C c1 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
C c1 = .id1();
^" in self::C::id1{<unresolved>}.call() as{TypeError,ForDynamic} self::C;
self::C c2 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the class 'C'.
self::C c2 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
C c2 = .id2();
@@ -2,13 +2,13 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the class 'C'.
// pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// C c1 = .id1();
// ^
//
// pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the class 'C'.
// pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// C c2 = .id2();
@@ -26,12 +26,12 @@ class C extends core::Object /*hasConstConstructor*/ {
return #C1;
}
static method test() → void {
self::C c1 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the class 'C'.
self::C c1 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
C c1 = .id1();
^" in self::C::id1{<unresolved>}.call() as{TypeError,ForDynamic} self::C;
self::C c2 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the class 'C'.
self::C c2 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
C c2 = .id2();
@@ -2,13 +2,13 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the class 'C'.
// pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// C c1 = .id1();
// ^
//
// pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the class 'C'.
// pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// C c2 = .id2();
@@ -26,12 +26,12 @@ class C extends core::Object /*hasConstConstructor*/ {
return #C1;
}
static method test() → void {
self::C c1 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the class 'C'.
self::C c1 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:13:10: Error: The method 'call' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
C c1 = .id1();
^" in self::C::id1{<unresolved>}.call() as{TypeError,ForDynamic,Unchecked} self::C;
self::C c2 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the class 'C'.
self::C c2 = invalid-expression "pkg/front_end/testcases/dot_shorthands/call_error.dart:14:10: Error: The method 'call' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/dot_shorthands/call_error.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
C c2 = .id2();
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the class 'Color'.
// pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the type 'Color'.
// - 'Color' is from 'pkg/front_end/testcases/dot_shorthands/static_method_error.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// Color c = .red();
@@ -30,7 +30,7 @@ class Color extends core::Object {
return new self::Color::•(1);
}
static method test() → void {
self::Color c = invalid-expression "pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the class 'Color'.
self::Color c = invalid-expression "pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the type 'Color'.
- 'Color' is from 'pkg/front_end/testcases/dot_shorthands/static_method_error.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
Color c = .red();
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the class 'Color'.
// pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the type 'Color'.
// - 'Color' is from 'pkg/front_end/testcases/dot_shorthands/static_method_error.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// Color c = .red();
@@ -30,7 +30,7 @@ class Color extends core::Object {
return new self::Color::•(1);
}
static method test() → void {
self::Color c = invalid-expression "pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the class 'Color'.
self::Color c = invalid-expression "pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the type 'Color'.
- 'Color' is from 'pkg/front_end/testcases/dot_shorthands/static_method_error.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
Color c = .red();
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the class 'Color'.
// pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the type 'Color'.
// - 'Color' is from 'pkg/front_end/testcases/dot_shorthands/static_method_error.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// Color c = .red();
@@ -30,7 +30,7 @@ class Color extends core::Object {
return new self::Color::•(1);
}
static method test() → void {
self::Color c = invalid-expression "pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the class 'Color'.
self::Color c = invalid-expression "pkg/front_end/testcases/dot_shorthands/static_method_error.dart:12:13: Error: The method 'call' isn't defined for the type 'Color'.
- 'Color' is from 'pkg/front_end/testcases/dot_shorthands/static_method_error.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
Color c = .red();
@@ -12,13 +12,13 @@ library;
// (Object?, int) testMethod2(E e) => e.method(); // Error
// ^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod3(E e) => e.method().$1.unresolved(); // Error
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod4(E e) => e.method().$2.unresolved(); // Error
@@ -54,13 +54,13 @@ library;
// (int, Object?) f3 = f; // Error
// ^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod5(E e) => f.$1.unresolved(); // Error
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod6(E e) => f.$2.unresolved(); // Error
@@ -76,13 +76,13 @@ library;
// (int, Object?) g3 = g; // Error
// ^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testGetter5(E e) => g.$1.unresolved(); // Error
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testGetter6(E e) => g.$2.unresolved(); // Error
@@ -165,13 +165,13 @@ static method testMethod2(self::E /* erasure=self::C */ e) → (core::Object?, c
(Object?, int) testMethod2(E e) => e.method(); // Error
^" in e.{self::A::method}(){() → (core::Object?, core::Object?)} as{TypeError} (core::Object?, core::int);
static method testMethod3(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod3(E e) => e.method().\$1.unresolved(); // Error
^^^^^^^^^^" in e.{self::A::method}(){() → (core::Object?, core::Object?)}.$1{core::Object?}{<unresolved>}.unresolved();
static method testMethod4(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod4(E e) => e.method().\$2.unresolved(); // Error
@@ -200,25 +200,25 @@ static method testSetter(self::E /* erasure=self::C */ e) → void {
^" in (a as core::int, b) as{TypeError} (core::int, core::int);
}
static method testMethod5(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod5(E e) => f.\$1.unresolved(); // Error
^^^^^^^^^^" in self::f.$1{core::Object?}{<unresolved>}.unresolved();
static method testMethod6(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod6(E e) => f.\$2.unresolved(); // Error
^^^^^^^^^^" in self::f.$2{core::Object?}{<unresolved>}.unresolved();
static method testGetter5(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testGetter5(E e) => g.\$1.unresolved(); // Error
^^^^^^^^^^" in self::g.$1{core::Object?}{<unresolved>}.unresolved();
static method testGetter6(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testGetter6(E e) => g.\$2.unresolved(); // Error
@@ -12,13 +12,13 @@ library;
// (Object?, int) testMethod2(E e) => e.method(); // Error
// ^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod3(E e) => e.method().$1.unresolved(); // Error
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod4(E e) => e.method().$2.unresolved(); // Error
@@ -54,13 +54,13 @@ library;
// (int, Object?) f3 = f; // Error
// ^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod5(E e) => f.$1.unresolved(); // Error
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod6(E e) => f.$2.unresolved(); // Error
@@ -76,13 +76,13 @@ library;
// (int, Object?) g3 = g; // Error
// ^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testGetter5(E e) => g.$1.unresolved(); // Error
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testGetter6(E e) => g.$2.unresolved(); // Error
@@ -165,13 +165,13 @@ static method testMethod2(self::E /* erasure=self::C */ e) → (core::Object?, c
(Object?, int) testMethod2(E e) => e.method(); // Error
^" in e.{self::A::method}(){() → (core::Object?, core::Object?)} as{TypeError} (core::Object?, core::int);
static method testMethod3(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod3(E e) => e.method().\$1.unresolved(); // Error
^^^^^^^^^^" in e.{self::A::method}(){() → (core::Object?, core::Object?)}.$1{core::Object?}{<unresolved>}.unresolved();
static method testMethod4(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod4(E e) => e.method().\$2.unresolved(); // Error
@@ -200,25 +200,25 @@ static method testSetter(self::E /* erasure=self::C */ e) → void {
^" in (a as core::int, b) as{TypeError} (core::int, core::int);
}
static method testMethod5(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod5(E e) => f.\$1.unresolved(); // Error
^^^^^^^^^^" in self::f.$1{core::Object?}{<unresolved>}.unresolved();
static method testMethod6(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod6(E e) => f.\$2.unresolved(); // Error
^^^^^^^^^^" in self::f.$2{core::Object?}{<unresolved>}.unresolved();
static method testGetter5(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testGetter5(E e) => g.\$1.unresolved(); // Error
^^^^^^^^^^" in self::g.$1{core::Object?}{<unresolved>}.unresolved();
static method testGetter6(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testGetter6(E e) => g.\$2.unresolved(); // Error
@@ -12,13 +12,13 @@ library;
// (Object?, int) testMethod2(E e) => e.method(); // Error
// ^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod3(E e) => e.method().$1.unresolved(); // Error
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod4(E e) => e.method().$2.unresolved(); // Error
@@ -54,13 +54,13 @@ library;
// (int, Object?) f3 = f; // Error
// ^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod5(E e) => f.$1.unresolved(); // Error
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testMethod6(E e) => f.$2.unresolved(); // Error
@@ -76,13 +76,13 @@ library;
// (int, Object?) g3 = g; // Error
// ^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testGetter5(E e) => g.$1.unresolved(); // Error
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
// pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
// testGetter6(E e) => g.$2.unresolved(); // Error
@@ -165,13 +165,13 @@ static method testMethod2(self::E /* erasure=self::C */ e) → (core::Object?, c
(Object?, int) testMethod2(E e) => e.method(); // Error
^" in e.{self::A::method}(){() → (core::Object?, core::Object?)} as{TypeError} (core::Object?, core::int);
static method testMethod3(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:28:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod3(E e) => e.method().\$1.unresolved(); // Error
^^^^^^^^^^" in e.{self::A::method}(){() → (core::Object?, core::Object?)}.$1{core::Object?}{<unresolved>}.unresolved();
static method testMethod4(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:29:35: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod4(E e) => e.method().\$2.unresolved(); // Error
@@ -200,25 +200,25 @@ static method testSetter(self::E /* erasure=self::C */ e) → void {
^" in (a as core::int, b) as{TypeError} (core::int, core::int);
}
static method testMethod5(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:47:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod5(E e) => f.\$1.unresolved(); // Error
^^^^^^^^^^" in self::f.$1{core::Object?}{<unresolved>}.unresolved();
static method testMethod6(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:48:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testMethod6(E e) => f.\$2.unresolved(); // Error
^^^^^^^^^^" in self::f.$2{core::Object?}{<unresolved>}.unresolved();
static method testGetter5(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:54:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testGetter5(E e) => g.\$1.unresolved(); // Error
^^^^^^^^^^" in self::g.$1{core::Object?}{<unresolved>}.unresolved();
static method testGetter6(self::E /* erasure=self::C */ e) → dynamic
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the class 'Object?'.
return invalid-expression "pkg/front_end/testcases/extension_types/combined_member_signature.dart:55:26: Error: The method 'unresolved' isn't defined for the type 'Object?'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'unresolved'.
testGetter6(E e) => g.\$2.unresolved(); // Error
@@ -16,12 +16,12 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -36,12 +36,12 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -56,32 +56,32 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the type '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/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the type '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/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -96,12 +96,12 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -126,62 +126,62 @@ library;
// var b4 = b<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e1 = this.b(); // Error
// ^^^^
//
// pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e2 = b(); // Error
// ^^^^
//
// pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e3 = this.b.call(); // Error
// ^^^^
//
// pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e4 = b.call(); // Error
// ^^^^
@@ -191,7 +191,7 @@ library;
// var a2 = inlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the type '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,
// ^^
@@ -201,7 +201,7 @@ library;
// var b2 = genericInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<String>'.
// pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the type '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
// ^^
@@ -211,12 +211,12 @@ library;
// var c2 = functionInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<String>'.
// pkg/front_end/testcases/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the type '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
// ^^
@@ -226,7 +226,7 @@ library;
// var e2 = dynamicInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the type '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
// ^^
@@ -236,7 +236,7 @@ library;
// var f2 = erroneousInlineClass.a<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the type '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
// ^
@@ -246,22 +246,22 @@ library;
// var g2 = erroneousInlineClass.a<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the type '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/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the type '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/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the type '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
// ^^^
@@ -335,11 +335,11 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the class 'InlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the class 'InlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the type '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;
@@ -363,11 +363,11 @@ Try changing the operand or remove the type arguments.
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/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
self::GenericInlineClass|test::T% c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
self::GenericInlineClass|test::T% c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the type '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;
@@ -391,11 +391,11 @@ Try changing the operand or remove the type arguments.
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/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
() → self::FunctionInlineClass|test::T% c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
() → self::FunctionInlineClass|test::T% c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the type '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;
@@ -419,17 +419,17 @@ static extension-type-member method GenericFunctionInlineClass|test(lowered fina
() → 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/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
dynamic c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
^^" in #this.{<unresolved>}it = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the type '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/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
dynamic c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
^^" in #this.{<unresolved>}it = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the type '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;
@@ -459,11 +459,11 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the type '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;
@@ -501,51 +501,51 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b4 = b<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
core::String c3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
core::String c4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the class 'int'.
dynamic d1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the class 'int'.
dynamic d2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the class 'int'.
dynamic d3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the class 'int'.
dynamic d4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the class 'String'.
dynamic e1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e1 = this.b(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
dynamic e2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the class 'String'.
dynamic e2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e2 = b(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
dynamic e3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the class 'String'.
dynamic e3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e3 = this.b.call(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
dynamic e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the class 'String'.
dynamic e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e4 = b.call(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
@@ -558,7 +558,7 @@ static method test(self::InlineClass% /* erasure=core::int, declared=! */ inline
Try changing the operand or remove the type arguments.
var a2 = inlineClass.it<int>; // Error
^";
core::int a3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the class 'InlineClass'.
core::int a3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the type '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;
@@ -567,7 +567,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
Try changing the operand or remove the type arguments.
var b2 = genericInlineClass.it<int>; // Error
^";
core::String b3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<String>'.
core::String b3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the type '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";
@@ -578,7 +578,7 @@ Try changing the operand or remove the type arguments.
^";
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/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<String>'.
() → core::String c5 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the type '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";
@@ -587,7 +587,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
() → 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/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
<T extends core::Object? = dynamic>() → Never d6 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the type '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 "";
@@ -597,7 +597,7 @@ Try changing the operand or remove the type arguments.
var e2 = dynamicInlineClass.it<int>; // Error
^";
dynamic e3 = (dynamicInlineClass as{Unchecked} dynamic){dynamic}();
core::String e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
core::String e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the type '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";
@@ -606,7 +606,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
Try changing the operand or remove the type arguments.
var f2 = erroneousInlineClass.a<int>; // Error
^";
core::int f3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
core::int f3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the type '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;
@@ -615,19 +615,19 @@ Try correcting the name to the name of an existing setter, or defining a setter
Try changing the operand or remove the type arguments.
var g2 = erroneousInlineClass.a<int>; // Error
^";
core::String g3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
core::String g3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
dynamic h1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the type '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;
dynamic h2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
dynamic h2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the type '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
^^^" in privateInlineClass{<unresolved>}._it;
core::int h3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
core::int h3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the type '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;
@@ -647,12 +647,12 @@ library;
// var b2 = _it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the type '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/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the type '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.
// ^^^
@@ -684,11 +684,11 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b2 = _it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the type '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/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the type '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;
@@ -16,12 +16,12 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -36,12 +36,12 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -56,32 +56,32 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the type '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/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the type '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/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -96,12 +96,12 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -126,62 +126,62 @@ library;
// var b4 = b<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e1 = this.b(); // Error
// ^^^^
//
// pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e2 = b(); // Error
// ^^^^
//
// pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e3 = this.b.call(); // Error
// ^^^^
//
// pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e4 = b.call(); // Error
// ^^^^
@@ -191,7 +191,7 @@ library;
// var a2 = inlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the type '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,
// ^^
@@ -201,7 +201,7 @@ library;
// var b2 = genericInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<String>'.
// pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the type '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
// ^^
@@ -211,12 +211,12 @@ library;
// var c2 = functionInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<String>'.
// pkg/front_end/testcases/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the type '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
// ^^
@@ -226,7 +226,7 @@ library;
// var e2 = dynamicInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the type '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
// ^^
@@ -236,7 +236,7 @@ library;
// var f2 = erroneousInlineClass.a<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the type '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
// ^
@@ -246,22 +246,22 @@ library;
// var g2 = erroneousInlineClass.a<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the type '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/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the type '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/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the type '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
// ^^^
@@ -335,11 +335,11 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the class 'InlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the class 'InlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the type '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;
@@ -363,11 +363,11 @@ Try changing the operand or remove the type arguments.
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/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
self::GenericInlineClass|test::T% c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
self::GenericInlineClass|test::T% c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the type '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;
@@ -391,11 +391,11 @@ Try changing the operand or remove the type arguments.
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/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
() → self::FunctionInlineClass|test::T% c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
() → self::FunctionInlineClass|test::T% c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the type '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;
@@ -419,17 +419,17 @@ static extension-type-member method GenericFunctionInlineClass|test(lowered fina
() → 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/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
dynamic c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
^^" in #this.{<unresolved>}it = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the type '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/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
dynamic c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
^^" in #this.{<unresolved>}it = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the type '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;
@@ -459,11 +459,11 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the type '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;
@@ -501,51 +501,51 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b4 = b<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
core::String c3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
core::String c4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the class 'int'.
dynamic d1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the class 'int'.
dynamic d2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the class 'int'.
dynamic d3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the class 'int'.
dynamic d4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the class 'String'.
dynamic e1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e1 = this.b(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
dynamic e2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the class 'String'.
dynamic e2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e2 = b(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
dynamic e3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the class 'String'.
dynamic e3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e3 = this.b.call(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
dynamic e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the class 'String'.
dynamic e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e4 = b.call(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
@@ -558,7 +558,7 @@ static method test(self::InlineClass% /* erasure=core::int, declared=! */ inline
Try changing the operand or remove the type arguments.
var a2 = inlineClass.it<int>; // Error
^";
core::int a3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the class 'InlineClass'.
core::int a3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the type '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;
@@ -567,7 +567,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
Try changing the operand or remove the type arguments.
var b2 = genericInlineClass.it<int>; // Error
^";
core::String b3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<String>'.
core::String b3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the type '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";
@@ -578,7 +578,7 @@ Try changing the operand or remove the type arguments.
^";
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/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<String>'.
() → core::String c5 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the type '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";
@@ -587,7 +587,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
() → 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/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
<T extends core::Object? = dynamic>() → Never d6 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the type '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 "";
@@ -597,7 +597,7 @@ Try changing the operand or remove the type arguments.
var e2 = dynamicInlineClass.it<int>; // Error
^";
dynamic e3 = (dynamicInlineClass as{Unchecked} dynamic){dynamic}();
core::String e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
core::String e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the type '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";
@@ -606,7 +606,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
Try changing the operand or remove the type arguments.
var f2 = erroneousInlineClass.a<int>; // Error
^";
core::int f3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
core::int f3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the type '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;
@@ -615,19 +615,19 @@ Try correcting the name to the name of an existing setter, or defining a setter
Try changing the operand or remove the type arguments.
var g2 = erroneousInlineClass.a<int>; // Error
^";
core::String g3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
core::String g3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
dynamic h1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the type '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;
dynamic h2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
dynamic h2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the type '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
^^^" in privateInlineClass{<unresolved>}._it;
core::int h3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
core::int h3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the type '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;
@@ -647,12 +647,12 @@ library;
// var b2 = _it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the type '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/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the type '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.
// ^^^
@@ -684,11 +684,11 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b2 = _it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the type '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/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the type '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;
@@ -16,12 +16,12 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -36,12 +36,12 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -56,32 +56,32 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
// pkg/front_end/testcases/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the type '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/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the type '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/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -96,12 +96,12 @@ library;
// var b2 = it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the type '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.
// ^^
@@ -126,62 +126,62 @@ library;
// var b4 = b<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the class 'int'.
// pkg/front_end/testcases/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e1 = this.b(); // Error
// ^^^^
//
// pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e2 = b(); // Error
// ^^^^
//
// pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e3 = this.b.call(); // Error
// ^^^^
//
// pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the class 'String'.
// pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// var e4 = b.call(); // Error
// ^^^^
@@ -191,7 +191,7 @@ library;
// var a2 = inlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the type '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,
// ^^
@@ -201,7 +201,7 @@ library;
// var b2 = genericInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<String>'.
// pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the type '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
// ^^
@@ -211,12 +211,12 @@ library;
// var c2 = functionInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<String>'.
// pkg/front_end/testcases/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the type '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
// ^^
@@ -226,7 +226,7 @@ library;
// var e2 = dynamicInlineClass.it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the type '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
// ^^
@@ -236,7 +236,7 @@ library;
// var f2 = erroneousInlineClass.a<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the type '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
// ^
@@ -246,22 +246,22 @@ library;
// var g2 = erroneousInlineClass.a<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the type '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/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the type '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/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the type '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
// ^^^
@@ -335,11 +335,11 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the class 'InlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:17:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the class 'InlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:18:14: Error: The setter 'it' isn't defined for the type '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;
@@ -363,11 +363,11 @@ Try changing the operand or remove the type arguments.
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/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
self::GenericInlineClass|test::T% c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:28:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<T>'.
self::GenericInlineClass|test::T% c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:29:14: Error: The setter 'it' isn't defined for the type '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;
@@ -391,11 +391,11 @@ Try changing the operand or remove the type arguments.
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/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
() → self::FunctionInlineClass|test::T% c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:39:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<T>'.
() → self::FunctionInlineClass|test::T% c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:40:14: Error: The setter 'it' isn't defined for the type '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;
@@ -419,17 +419,17 @@ static extension-type-member method GenericFunctionInlineClass|test(lowered fina
() → 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/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
dynamic c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:56:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
^^" in #this.{<unresolved>}it = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:56:24: Error: The getter 't' isn't defined for the type '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/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
dynamic c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:57:14: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the class 'GenericFunctionInlineClass'.
^^" in #this.{<unresolved>}it = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:57:19: Error: The getter 't' isn't defined for the type '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;
@@ -459,11 +459,11 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b2 = it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:74:19: Error: The setter 'it' isn't defined for the type '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/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:75:14: Error: The setter 'it' isn't defined for the type '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;
@@ -501,51 +501,51 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b4 = b<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:93:19: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:94:14: Error: The setter 'a' isn't defined for the type '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/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
core::String c3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:95:19: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
core::String c4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:96:14: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the class 'int'.
dynamic d1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:97:20: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the class 'int'.
dynamic d2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:98:15: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the class 'int'.
dynamic d3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:99:21: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the class 'int'.
dynamic d4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:100:16: Error: The method 'call' isn't defined for the type '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/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the class 'String'.
dynamic e1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:101:20: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e1 = this.b(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
dynamic e2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the class 'String'.
dynamic e2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:102:15: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e2 = b(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
dynamic e3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the class 'String'.
dynamic e3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:103:21: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e3 = this.b.call(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
dynamic e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the class 'String'.
dynamic e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:104:16: Error: The method 'call' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
var e4 = b.call(); // Error
^^^^" in (#this as{Unchecked} core::String){<unresolved>}.call();
@@ -558,7 +558,7 @@ static method test(self::InlineClass% /* erasure=core::int, declared=! */ inline
Try changing the operand or remove the type arguments.
var a2 = inlineClass.it<int>; // Error
^";
core::int a3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the class 'InlineClass'.
core::int a3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:119:24: Error: The setter 'it' isn't defined for the type '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;
@@ -567,7 +567,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
Try changing the operand or remove the type arguments.
var b2 = genericInlineClass.it<int>; // Error
^";
core::String b3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the class 'GenericInlineClass<String>'.
core::String b3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:124:31: Error: The setter 'it' isn't defined for the type '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";
@@ -578,7 +578,7 @@ Try changing the operand or remove the type arguments.
^";
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/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the class 'FunctionInlineClass<String>'.
() → core::String c5 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:131:32: Error: The setter 'it' isn't defined for the type '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";
@@ -587,7 +587,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
() → 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/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the class 'GenericFunctionInlineClass'.
<T extends core::Object? = dynamic>() → Never d6 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:139:39: Error: The setter 'it' isn't defined for the type '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 "";
@@ -597,7 +597,7 @@ Try changing the operand or remove the type arguments.
var e2 = dynamicInlineClass.it<int>; // Error
^";
dynamic e3 = (dynamicInlineClass as{Unchecked} dynamic){dynamic}();
core::String e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the class 'DynamicInlineClass'.
core::String e4 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:145:31: Error: The setter 'it' isn't defined for the type '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";
@@ -606,7 +606,7 @@ Try correcting the name to the name of an existing setter, or defining a setter
Try changing the operand or remove the type arguments.
var f2 = erroneousInlineClass.a<int>; // Error
^";
core::int f3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the class 'ErroneousInlineClass'.
core::int f3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:150:33: Error: The setter 'a' isn't defined for the type '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;
@@ -615,19 +615,19 @@ Try correcting the name to the name of an existing setter, or defining a setter
Try changing the operand or remove the type arguments.
var g2 = erroneousInlineClass.a<int>; // Error
^";
core::String g3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the class 'ErroneousInlineClass'.
core::String g3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:154:33: Error: The setter 'b' isn't defined for the type '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/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
dynamic h1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:157:31: Error: The getter '_it' isn't defined for the type '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;
dynamic h2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the class 'PrivateInlineClass'.
dynamic h2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:158:31: Error: The getter '_it' isn't defined for the type '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
^^^" in privateInlineClass{<unresolved>}._it;
core::int h3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
core::int h3 = invalid-expression "pkg/front_end/testcases/extension_types/field_access.dart:159:31: Error: The setter '_it' isn't defined for the type '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;
@@ -647,12 +647,12 @@ library;
// var b2 = _it<int>; // Error
// ^
//
// pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the type '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/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
// pkg/front_end/testcases/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the type '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.
// ^^^
@@ -684,11 +684,11 @@ Try changing the operand or remove the type arguments.
Try changing the operand or remove the type arguments.
var b2 = _it<int>; // Error
^";
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
core::int c1 = invalid-expression "pkg/front_end/testcases/extension_types/field_access_lib.dart:11:19: Error: The setter '_it' isn't defined for the type '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/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the class 'PrivateInlineClass'.
core::int c2 = invalid-expression "pkg/front_end/testcases/extension_types/field_access_lib.dart:12:14: Error: The setter '_it' isn't defined for the type '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;
@@ -2,97 +2,97 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
// a.methodB(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// a.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// a.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// a.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
// b1.methodA(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// b1.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// b1.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// b1.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
// b2.methodA(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// b2.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// b2.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// b2.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the class 'C1'.
// pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the type 'C1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
// c1.methodB(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the class 'C1'.
// pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the type 'C1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// c1.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the class 'C1'.
// pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the type 'C1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// c1.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the class 'C2'.
// pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the type 'C2'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// c2.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the class 'C2'.
// pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the type 'C2'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// c2.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the class 'D1'.
// pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the type 'D1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
// d1.methodB(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the class 'D1'.
// pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the type 'D1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// d1.methodC2(); // Error
// ^^^^^^^^
@@ -286,79 +286,79 @@ static extension-type-member method D1|methodD1(lowered final self::D1% /* erasu
static extension-type-member method D1|get#methodD1(lowered final self::D1% /* erasure=core::int, declared=! */ #this) → () → core::int
return () → core::int => self::D1|methodD1(#this);
static method errors(self::A% /* erasure=core::int, declared=! */ a, self::B<core::String>% /* erasure=core::String, declared=! */ b1, self::B<core::num>% /* erasure=core::num, declared=! */ b2, self::C1% /* erasure=core::int, declared=! */ c1, self::C2% /* erasure=core::int, declared=! */ c2, self::D1% /* erasure=core::int, declared=! */ d1) → dynamic {
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
a.methodB(); // Error
^^^^^^^" in a{<unresolved>}.methodB();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
a.methodC1(); // Error
^^^^^^^^" in a{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
a.methodC2(); // Error
^^^^^^^^" in a{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
a.methodD1(); // Error
^^^^^^^^" in a{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
b1.methodA(); // Error
^^^^^^^" in b1{<unresolved>}.methodA();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
b1.methodC1(); // Error
^^^^^^^^" in b1{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
b1.methodC2(); // Error
^^^^^^^^" in b1{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
b1.methodD1(); // Error
^^^^^^^^" in b1{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
b2.methodA(); // Error
^^^^^^^" in b2{<unresolved>}.methodA();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
b2.methodC1(); // Error
^^^^^^^^" in b2{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
b2.methodC2(); // Error
^^^^^^^^" in b2{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
b2.methodD1(); // Error
^^^^^^^^" in b2{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the class 'C1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the type 'C1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
c1.methodB(); // Error
^^^^^^^" in c1{<unresolved>}.methodB();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the class 'C1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the type 'C1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
c1.methodC2(); // Error
^^^^^^^^" in c1{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the class 'C1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the type 'C1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
c1.methodD1(); // Error
^^^^^^^^" in c1{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the class 'C2'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the type 'C2'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
c2.methodC1(); // Error
^^^^^^^^" in c2{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the class 'C2'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the type 'C2'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
c2.methodD1(); // Error
^^^^^^^^" in c2{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the class 'D1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the type 'D1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
d1.methodB(); // Error
^^^^^^^" in d1{<unresolved>}.methodB();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the class 'D1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the type 'D1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
d1.methodC2(); // Error
^^^^^^^^" in d1{<unresolved>}.methodC2();
@@ -2,97 +2,97 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
// a.methodB(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// a.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// a.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// a.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
// b1.methodA(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// b1.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// b1.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// b1.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
// b2.methodA(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// b2.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// b2.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// b2.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the class 'C1'.
// pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the type 'C1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
// c1.methodB(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the class 'C1'.
// pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the type 'C1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// c1.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the class 'C1'.
// pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the type 'C1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// c1.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the class 'C2'.
// pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the type 'C2'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// c2.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the class 'C2'.
// pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the type 'C2'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// c2.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the class 'D1'.
// pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the type 'D1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
// d1.methodB(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the class 'D1'.
// pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the type 'D1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// d1.methodC2(); // Error
// ^^^^^^^^
@@ -286,79 +286,79 @@ static extension-type-member method D1|methodD1(lowered final self::D1% /* erasu
static extension-type-member method D1|get#methodD1(lowered final self::D1% /* erasure=core::int, declared=! */ #this) → () → core::int
return () → core::int => self::D1|methodD1(#this);
static method errors(self::A% /* erasure=core::int, declared=! */ a, self::B<core::String>% /* erasure=core::String, declared=! */ b1, self::B<core::num>% /* erasure=core::num, declared=! */ b2, self::C1% /* erasure=core::int, declared=! */ c1, self::C2% /* erasure=core::int, declared=! */ c2, self::D1% /* erasure=core::int, declared=! */ d1) → dynamic {
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
a.methodB(); // Error
^^^^^^^" in a{<unresolved>}.methodB();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
a.methodC1(); // Error
^^^^^^^^" in a{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
a.methodC2(); // Error
^^^^^^^^" in a{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
a.methodD1(); // Error
^^^^^^^^" in a{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
b1.methodA(); // Error
^^^^^^^" in b1{<unresolved>}.methodA();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
b1.methodC1(); // Error
^^^^^^^^" in b1{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
b1.methodC2(); // Error
^^^^^^^^" in b1{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
b1.methodD1(); // Error
^^^^^^^^" in b1{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
b2.methodA(); // Error
^^^^^^^" in b2{<unresolved>}.methodA();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
b2.methodC1(); // Error
^^^^^^^^" in b2{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
b2.methodC2(); // Error
^^^^^^^^" in b2{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
b2.methodD1(); // Error
^^^^^^^^" in b2{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the class 'C1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the type 'C1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
c1.methodB(); // Error
^^^^^^^" in c1{<unresolved>}.methodB();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the class 'C1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the type 'C1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
c1.methodC2(); // Error
^^^^^^^^" in c1{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the class 'C1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the type 'C1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
c1.methodD1(); // Error
^^^^^^^^" in c1{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the class 'C2'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the type 'C2'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
c2.methodC1(); // Error
^^^^^^^^" in c2{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the class 'C2'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the type 'C2'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
c2.methodD1(); // Error
^^^^^^^^" in c2{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the class 'D1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the type 'D1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
d1.methodB(); // Error
^^^^^^^" in d1{<unresolved>}.methodB();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the class 'D1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the type 'D1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
d1.methodC2(); // Error
^^^^^^^^" in d1{<unresolved>}.methodC2();
@@ -2,97 +2,97 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
// a.methodB(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// a.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// a.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the class 'A'.
// pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the type 'A'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// a.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
// b1.methodA(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// b1.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// b1.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the class 'B<String>'.
// pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the type 'B<String>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// b1.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
// b2.methodA(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// b2.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// b2.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the class 'B<num>'.
// pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the type 'B<num>'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// b2.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the class 'C1'.
// pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the type 'C1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
// c1.methodB(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the class 'C1'.
// pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the type 'C1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// c1.methodC2(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the class 'C1'.
// pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the type 'C1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// c1.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the class 'C2'.
// pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the type 'C2'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
// c2.methodC1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the class 'C2'.
// pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the type 'C2'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
// c2.methodD1(); // Error
// ^^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the class 'D1'.
// pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the type 'D1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
// d1.methodB(); // Error
// ^^^^^^^
//
// pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the class 'D1'.
// pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the type 'D1'.
// Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
// d1.methodC2(); // Error
// ^^^^^^^^
@@ -286,79 +286,79 @@ static extension-type-member method D1|methodD1(lowered final self::D1% /* erasu
static extension-type-member method D1|get#methodD1(lowered final self::D1% /* erasure=core::int, declared=! */ #this) → () → core::int
return () → core::int => self::D1|methodD1(#this);
static method errors(self::A% /* erasure=core::int, declared=! */ a, self::B<core::String>% /* erasure=core::String, declared=! */ b1, self::B<core::num>% /* erasure=core::num, declared=! */ b2, self::C1% /* erasure=core::int, declared=! */ c1, self::C2% /* erasure=core::int, declared=! */ c2, self::D1% /* erasure=core::int, declared=! */ d1) → dynamic {
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:26:5: Error: The method 'methodB' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
a.methodB(); // Error
^^^^^^^" in a{<unresolved>}.methodB();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:27:5: Error: The method 'methodC1' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
a.methodC1(); // Error
^^^^^^^^" in a{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:28:5: Error: The method 'methodC2' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
a.methodC2(); // Error
^^^^^^^^" in a{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the class 'A'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:29:5: Error: The method 'methodD1' isn't defined for the type 'A'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
a.methodD1(); // Error
^^^^^^^^" in a{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:31:6: Error: The method 'methodA' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
b1.methodA(); // Error
^^^^^^^" in b1{<unresolved>}.methodA();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:32:6: Error: The method 'methodC1' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
b1.methodC1(); // Error
^^^^^^^^" in b1{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:33:6: Error: The method 'methodC2' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
b1.methodC2(); // Error
^^^^^^^^" in b1{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the class 'B<String>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:34:6: Error: The method 'methodD1' isn't defined for the type 'B<String>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
b1.methodD1(); // Error
^^^^^^^^" in b1{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:36:6: Error: The method 'methodA' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodA'.
b2.methodA(); // Error
^^^^^^^" in b2{<unresolved>}.methodA();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:37:6: Error: The method 'methodC1' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
b2.methodC1(); // Error
^^^^^^^^" in b2{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:38:6: Error: The method 'methodC2' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
b2.methodC2(); // Error
^^^^^^^^" in b2{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the class 'B<num>'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:39:6: Error: The method 'methodD1' isn't defined for the type 'B<num>'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
b2.methodD1(); // Error
^^^^^^^^" in b2{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the class 'C1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:41:6: Error: The method 'methodB' isn't defined for the type 'C1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
c1.methodB(); // Error
^^^^^^^" in c1{<unresolved>}.methodB();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the class 'C1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:42:6: Error: The method 'methodC2' isn't defined for the type 'C1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
c1.methodC2(); // Error
^^^^^^^^" in c1{<unresolved>}.methodC2();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the class 'C1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:43:6: Error: The method 'methodD1' isn't defined for the type 'C1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
c1.methodD1(); // Error
^^^^^^^^" in c1{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the class 'C2'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:45:6: Error: The method 'methodC1' isn't defined for the type 'C2'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC1'.
c2.methodC1(); // Error
^^^^^^^^" in c2{<unresolved>}.methodC1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the class 'C2'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:46:6: Error: The method 'methodD1' isn't defined for the type 'C2'.
Try correcting the name to the name of an existing method, or defining a method named 'methodD1'.
c2.methodD1(); // Error
^^^^^^^^" in c2{<unresolved>}.methodD1();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the class 'D1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:48:6: Error: The method 'methodB' isn't defined for the type 'D1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodB'.
d1.methodB(); // Error
^^^^^^^" in d1{<unresolved>}.methodB();
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the class 'D1'.
invalid-expression "pkg/front_end/testcases/extension_types/implements.dart:49:6: Error: The method 'methodC2' isn't defined for the type 'D1'.
Try correcting the name to the name of an existing method, or defining a method named 'methodC2'.
d1.methodC2(); // Error
^^^^^^^^" in d1{<unresolved>}.methodC2();
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the class 'Id'.
// pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the type 'Id'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'unresolved'.
// print(c.unresolved); // Error
// ^^^^^^^^^^
@@ -23,7 +23,7 @@ static extension-type-member synthetic method Id|constructor#_#new#tearOff(core:
return self::Id|constructor#(id);
static method test() → dynamic {
self::Id% /* erasure=core::int, declared=! */ c = self::Id|constructor#(2);
core::print(invalid-expression "pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the class 'Id'.
core::print(invalid-expression "pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the type 'Id'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'unresolved'.
print(c.unresolved); // Error
^^^^^^^^^^" in c{<unresolved>}.unresolved);
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the class 'Id'.
// pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the type 'Id'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'unresolved'.
// print(c.unresolved); // Error
// ^^^^^^^^^^
@@ -23,7 +23,7 @@ static extension-type-member synthetic method Id|constructor#_#new#tearOff(core:
return self::Id|constructor#(id);
static method test() → dynamic {
self::Id% /* erasure=core::int, declared=! */ c = self::Id|constructor#(2);
core::print(invalid-expression "pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the class 'Id'.
core::print(invalid-expression "pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the type 'Id'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'unresolved'.
print(c.unresolved); // Error
^^^^^^^^^^" in c{<unresolved>}.unresolved);
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the class 'Id'.
// pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the type 'Id'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'unresolved'.
// print(c.unresolved); // Error
// ^^^^^^^^^^
@@ -23,7 +23,7 @@ static extension-type-member synthetic method Id|constructor#_#new#tearOff(core:
return self::Id|constructor#(id);
static method test() → dynamic {
self::Id% /* erasure=core::int, declared=! */ c = self::Id|constructor#(2);
core::print(invalid-expression "pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the class 'Id'.
core::print(invalid-expression "pkg/front_end/testcases/extension_types/issue52284.dart:9:11: Error: The getter 'unresolved' isn't defined for the type 'Id'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'unresolved'.
print(c.unresolved); // Error
^^^^^^^^^^" in c{<unresolved>}.unresolved);
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the class 'E2'.
// pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the type 'E2'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'm'.
// E2(1).m = 10; /* Error */
// ^
@@ -40,7 +40,7 @@ static extension-type-member method E2|m(lowered final self::E2% /* erasure=core
static extension-type-member method E2|get#m(lowered final self::E2% /* erasure=core::int, declared=! */ #this) → () → void
return () → void => self::E2|m(#this);
static method test() → void {
invalid-expression "pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the class 'E2'.
invalid-expression "pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the type 'E2'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'm'.
E2(1).m = 10; /* Error */
^" in self::E2|constructor#(1).{<unresolved>}m = 10;
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the class 'E2'.
// pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the type 'E2'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'm'.
// E2(1).m = 10; /* Error */
// ^
@@ -40,7 +40,7 @@ static extension-type-member method E2|m(lowered final self::E2% /* erasure=core
static extension-type-member method E2|get#m(lowered final self::E2% /* erasure=core::int, declared=! */ #this) → () → void
return () → void => self::E2|m(#this);
static method test() → void {
invalid-expression "pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the class 'E2'.
invalid-expression "pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the type 'E2'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'm'.
E2(1).m = 10; /* Error */
^" in self::E2|constructor#(1).{<unresolved>}m = 10;
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the class 'E2'.
// pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the type 'E2'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'm'.
// E2(1).m = 10; /* Error */
// ^
@@ -40,7 +40,7 @@ static extension-type-member method E2|m(lowered final self::E2% /* erasure=core
static extension-type-member method E2|get#m(lowered final self::E2% /* erasure=core::int, declared=! */ #this) → () → void
return () → void => self::E2|m(#this);
static method test() → void {
invalid-expression "pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the class 'E2'.
invalid-expression "pkg/front_end/testcases/extension_types/issue53720.dart:14:9: Error: The setter 'm' isn't defined for the type 'E2'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'm'.
E2(1).m = 10; /* Error */
^" in self::E2|constructor#(1).{<unresolved>}m = 10;
@@ -2,12 +2,12 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the class 'E2'.
// pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the type 'E2'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
// e2.m1 = 10; // Compile-time error.
// ^^
//
// pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the class 'E2'.
// pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the type 'E2'.
// Try correcting the name to the name of an existing method, or defining a method named 'm2'.
// e2.m2(); // Compile-time error.
// ^^
@@ -64,12 +64,12 @@ static extension-type-member method E2|get#m4(lowered final self::E2% /* erasure
static method test() → void {
self::E2% /* erasure=core::int, declared=! */ e2 = self::E2|constructor#(1);
self::E2|m1(e2);
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the class 'E2'.
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the type 'E2'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
e2.m1 = 10; // Compile-time error.
^^" in e2.{<unresolved>}m1 = 10;
self::E2|set#m2(e2, 10);
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the class 'E2'.
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the type 'E2'.
Try correcting the name to the name of an existing method, or defining a method named 'm2'.
e2.m2(); // Compile-time error.
^^" in e2{<unresolved>}.m2();
@@ -2,12 +2,12 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the class 'E2'.
// pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the type 'E2'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
// e2.m1 = 10; // Compile-time error.
// ^^
//
// pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the class 'E2'.
// pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the type 'E2'.
// Try correcting the name to the name of an existing method, or defining a method named 'm2'.
// e2.m2(); // Compile-time error.
// ^^
@@ -64,12 +64,12 @@ static extension-type-member method E2|get#m4(lowered final self::E2% /* erasure
static method test() → void {
self::E2% /* erasure=core::int, declared=! */ e2 = self::E2|constructor#(1);
self::E2|m1(e2);
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the class 'E2'.
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the type 'E2'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
e2.m1 = 10; // Compile-time error.
^^" in e2.{<unresolved>}m1 = 10;
self::E2|set#m2(e2, 10);
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the class 'E2'.
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the type 'E2'.
Try correcting the name to the name of an existing method, or defining a method named 'm2'.
e2.m2(); // Compile-time error.
^^" in e2{<unresolved>}.m2();
@@ -2,12 +2,12 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the class 'E2'.
// pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the type 'E2'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
// e2.m1 = 10; // Compile-time error.
// ^^
//
// pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the class 'E2'.
// pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the type 'E2'.
// Try correcting the name to the name of an existing method, or defining a method named 'm2'.
// e2.m2(); // Compile-time error.
// ^^
@@ -64,12 +64,12 @@ static extension-type-member method E2|get#m4(lowered final self::E2% /* erasure
static method test() → void {
self::E2% /* erasure=core::int, declared=! */ e2 = self::E2|constructor#(1);
self::E2|m1(e2);
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the class 'E2'.
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:22:6: Error: The setter 'm1' isn't defined for the type 'E2'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
e2.m1 = 10; // Compile-time error.
^^" in e2.{<unresolved>}m1 = 10;
self::E2|set#m2(e2, 10);
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the class 'E2'.
invalid-expression "pkg/front_end/testcases/extension_types/issue53720_2.dart:24:6: Error: The method 'm2' isn't defined for the type 'E2'.
Try correcting the name to the name of an existing method, or defining a method named 'm2'.
e2.m2(); // Compile-time error.
^^" in e2{<unresolved>}.m2();
@@ -2,32 +2,32 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// this.setter; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// setter; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// this.getter = 42; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// getter = 42; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// ic.setter; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// ic.getter = 42; // Error, should not resolve to extension method.
// ^^^^^^
@@ -82,19 +82,19 @@ static extension-type-member method InlineClass|test(lowered final self::InlineC
self::InlineClass|set#setter(#this, 87);
(core::int) → core::int h1 = self::InlineClass|get#genericMethod(#this)<core::int>;
(core::int) → core::int h2 = self::InlineClass|get#genericMethod(#this)<core::int>;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
this.setter; // Error, should not resolve to extension method.
^^^^^^" in #this{<unresolved>}.setter;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
setter; // Error, should not resolve to extension method.
^^^^^^" in #this{<unresolved>}.setter;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
this.getter = 42; // Error, should not resolve to extension method.
^^^^^^" in #this.{<unresolved>}getter = 42;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
getter = 42; // Error, should not resolve to extension method.
^^^^^^" in #this.{<unresolved>}getter = 42;
@@ -144,11 +144,11 @@ static method test(self::InlineClass% /* erasure=core::int, declared=! */ ic)
core::int g = let final core::int #t12 = 42 in let final void #t13 = self::InlineClass|set#setter(ic, #t12) in #t12;
self::InlineClass|set#setter(ic, 87);
(core::int) → core::int h = self::InlineClass|get#genericMethod(ic)<core::int>;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
ic.setter; // Error, should not resolve to extension method.
^^^^^^" in ic{<unresolved>}.setter;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
ic.getter = 42; // Error, should not resolve to extension method.
^^^^^^" in ic.{<unresolved>}getter = 42;
@@ -2,32 +2,32 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// this.setter; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// setter; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// this.getter = 42; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// getter = 42; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// ic.setter; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// ic.getter = 42; // Error, should not resolve to extension method.
// ^^^^^^
@@ -82,19 +82,19 @@ static extension-type-member method InlineClass|test(lowered final self::InlineC
self::InlineClass|set#setter(#this, 87);
(core::int) → core::int h1 = self::InlineClass|get#genericMethod(#this)<core::int>;
(core::int) → core::int h2 = self::InlineClass|get#genericMethod(#this)<core::int>;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
this.setter; // Error, should not resolve to extension method.
^^^^^^" in #this{<unresolved>}.setter;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
setter; // Error, should not resolve to extension method.
^^^^^^" in #this{<unresolved>}.setter;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
this.getter = 42; // Error, should not resolve to extension method.
^^^^^^" in #this.{<unresolved>}getter = 42;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
getter = 42; // Error, should not resolve to extension method.
^^^^^^" in #this.{<unresolved>}getter = 42;
@@ -144,11 +144,11 @@ static method test(self::InlineClass% /* erasure=core::int, declared=! */ ic)
core::int g = let final core::int #t12 = 42 in let final void #t13 = self::InlineClass|set#setter(ic, #t12) in #t12;
self::InlineClass|set#setter(ic, 87);
(core::int) → core::int h = self::InlineClass|get#genericMethod(ic)<core::int>;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
ic.setter; // Error, should not resolve to extension method.
^^^^^^" in ic{<unresolved>}.setter;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
ic.getter = 42; // Error, should not resolve to extension method.
^^^^^^" in ic.{<unresolved>}getter = 42;
@@ -2,32 +2,32 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// this.setter; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// setter; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// this.getter = 42; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// getter = 42; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// ic.setter; // Error, should not resolve to extension method.
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
// pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// ic.getter = 42; // Error, should not resolve to extension method.
// ^^^^^^
@@ -82,19 +82,19 @@ static extension-type-member method InlineClass|test(lowered final self::InlineC
self::InlineClass|set#setter(#this, 87);
(core::int) → core::int h1 = self::InlineClass|get#genericMethod(#this)<core::int>;
(core::int) → core::int h2 = self::InlineClass|get#genericMethod(#this)<core::int>;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:27:10: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
this.setter; // Error, should not resolve to extension method.
^^^^^^" in #this{<unresolved>}.setter;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:28:5: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
setter; // Error, should not resolve to extension method.
^^^^^^" in #this{<unresolved>}.setter;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:29:10: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
this.getter = 42; // Error, should not resolve to extension method.
^^^^^^" in #this.{<unresolved>}getter = 42;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:30:5: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
getter = 42; // Error, should not resolve to extension method.
^^^^^^" in #this.{<unresolved>}getter = 42;
@@ -144,11 +144,11 @@ static method test(self::InlineClass% /* erasure=core::int, declared=! */ ic)
core::int g = let final core::int #t12 = 42 in let final void #t13 = self::InlineClass|set#setter(ic, #t12) in #t12;
self::InlineClass|set#setter(ic, 87);
(core::int) → core::int h = self::InlineClass|get#genericMethod(ic)<core::int>;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:73:6: Error: The getter 'setter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
ic.setter; // Error, should not resolve to extension method.
^^^^^^" in ic{<unresolved>}.setter;
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the class 'InlineClass'.
invalid-expression "pkg/front_end/testcases/extension_types/method_access.dart:74:6: Error: The setter 'getter' isn't defined for the type 'InlineClass'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
ic.getter = 42; // Error, should not resolve to extension method.
^^^^^^" in ic.{<unresolved>}getter = 42;
@@ -2,12 +2,12 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the class 'ET1'.
// pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the type 'ET1'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// getter = getter;
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the class 'ET1'.
// pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the type 'ET1'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// setter = setter;
// ^^^^^^
@@ -53,11 +53,11 @@ static extension-type-member method ET1|get#getter(lowered final self::ET1% /* e
return 42;
static extension-type-member method ET1|set#setter(lowered final self::ET1% /* erasure=core::int, declared=! */ #this, wildcard dynamic _#wc0#formal) → void {}
static extension-type-member method ET1|method(lowered final self::ET1% /* erasure=core::int, declared=! */ #this) → dynamic {
invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the class 'ET1'.
invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the type 'ET1'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
getter = getter;
^^^^^^" in #this.{<unresolved>}getter = self::ET1|get#getter(#this);
self::ET1|set#setter(#this, invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the class 'ET1'.
self::ET1|set#setter(#this, invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the type 'ET1'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
setter = setter;
^^^^^^" in #this{<unresolved>}.setter);
@@ -2,12 +2,12 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the class 'ET1'.
// pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the type 'ET1'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// getter = getter;
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the class 'ET1'.
// pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the type 'ET1'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// setter = setter;
// ^^^^^^
@@ -53,11 +53,11 @@ static extension-type-member method ET1|get#getter(lowered final self::ET1% /* e
return 42;
static extension-type-member method ET1|set#setter(lowered final self::ET1% /* erasure=core::int, declared=! */ #this, wildcard dynamic _#wc0#formal) → void {}
static extension-type-member method ET1|method(lowered final self::ET1% /* erasure=core::int, declared=! */ #this) → dynamic {
invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the class 'ET1'.
invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the type 'ET1'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
getter = getter;
^^^^^^" in #this.{<unresolved>}getter = self::ET1|get#getter(#this);
self::ET1|set#setter(#this, invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the class 'ET1'.
self::ET1|set#setter(#this, invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the type 'ET1'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
setter = setter;
^^^^^^" in #this{<unresolved>}.setter);
@@ -2,12 +2,12 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the class 'ET1'.
// pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the type 'ET1'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
// getter = getter;
// ^^^^^^
//
// pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the class 'ET1'.
// pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the type 'ET1'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// setter = setter;
// ^^^^^^
@@ -53,11 +53,11 @@ static extension-type-member method ET1|get#getter(lowered final self::ET1% /* e
return 42;
static extension-type-member method ET1|set#setter(lowered final self::ET1% /* erasure=core::int, declared=! */ #this, wildcard dynamic _#wc0#formal) → void {}
static extension-type-member method ET1|method(lowered final self::ET1% /* erasure=core::int, declared=! */ #this) → dynamic {
invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the class 'ET1'.
invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:13:5: Error: The setter 'getter' isn't defined for the type 'ET1'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'getter'.
getter = getter;
^^^^^^" in #this.{<unresolved>}getter = self::ET1|get#getter(#this);
self::ET1|set#setter(#this, invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the class 'ET1'.
self::ET1|set#setter(#this, invalid-expression "pkg/front_end/testcases/extension_types/shadowing.dart:14:14: Error: The getter 'setter' isn't defined for the type 'ET1'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
setter = setter;
^^^^^^" in #this{<unresolved>}.setter);
@@ -2,24 +2,24 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the class 'Function'.
// pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the type 'Function'.
// - 'Function' is from 'dart:core'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
// f1.call = 0; // Error.
// ^^^^
//
// pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the class 'void Function()'.
// pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the type 'void Function()'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
// f2.call = 0; // Error.
// ^^^^
//
// pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// c1.call(); // Error.
// ^^^^
//
// pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the class 'Class?'.
// pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the type 'Class?'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
// c2.call = 0; // Error.
@@ -47,23 +47,23 @@ static extension-member method _extension#1|get#call(lowered final self::Class?
return () → void => self::_extension#1|call(#this);
static method method(core::Function f1, () → void f2, self::Class c1, self::Class? c2) → dynamic {
f1();
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the class 'Function'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the type 'Function'.
- 'Function' is from 'dart:core'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
f1.call = 0; // Error.
^^^^" in f1.{<unresolved>}call = 0;
f2(){() → void};
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the class 'void Function()'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the type 'void Function()'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
f2.call = 0; // Error.
^^^^" in f2.{<unresolved>}call = 0;
c1.{self::Class::call} = 0;
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the class 'Class'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
c1.call(); // Error.
^^^^" in c1{<unresolved>}.call();
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the class 'Class?'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the type 'Class?'.
- 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
c2.call = 0; // Error.
@@ -2,24 +2,24 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the class 'Function'.
// pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the type 'Function'.
// - 'Function' is from 'dart:core'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
// f1.call = 0; // Error.
// ^^^^
//
// pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the class 'void Function()'.
// pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the type 'void Function()'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
// f2.call = 0; // Error.
// ^^^^
//
// pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// c1.call(); // Error.
// ^^^^
//
// pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the class 'Class?'.
// pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the type 'Class?'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
// c2.call = 0; // Error.
@@ -47,23 +47,23 @@ static extension-member method _extension#1|get#call(lowered final self::Class?
return () → void => self::_extension#1|call(#this);
static method method(core::Function f1, () → void f2, self::Class c1, self::Class? c2) → dynamic {
f1();
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the class 'Function'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the type 'Function'.
- 'Function' is from 'dart:core'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
f1.call = 0; // Error.
^^^^" in f1.{<unresolved>}call = 0;
f2(){() → void};
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the class 'void Function()'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the type 'void Function()'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
f2.call = 0; // Error.
^^^^" in f2.{<unresolved>}call = 0;
c1.{self::Class::call} = 0;
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the class 'Class'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
c1.call(); // Error.
^^^^" in c1{<unresolved>}.call();
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the class 'Class?'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the type 'Class?'.
- 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
c2.call = 0; // Error.
@@ -2,24 +2,24 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the class 'Function'.
// pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the type 'Function'.
// - 'Function' is from 'dart:core'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
// f1.call = 0; // Error.
// ^^^^
//
// pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the class 'void Function()'.
// pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the type 'void Function()'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
// f2.call = 0; // Error.
// ^^^^
//
// pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// c1.call(); // Error.
// ^^^^
//
// pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the class 'Class?'.
// pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the type 'Class?'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
// c2.call = 0; // Error.
@@ -47,23 +47,23 @@ static extension-member method _extension#1|get#call(lowered final self::Class?
return () → void => self::_extension#1|call(#this);
static method method(core::Function f1, () → void f2, self::Class c1, self::Class? c2) → dynamic {
f1();
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the class 'Function'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:19:6: Error: The setter 'call' isn't defined for the type 'Function'.
- 'Function' is from 'dart:core'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
f1.call = 0; // Error.
^^^^" in f1.{<unresolved>}call = 0;
f2(){() → void};
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the class 'void Function()'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:21:6: Error: The setter 'call' isn't defined for the type 'void Function()'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
f2.call = 0; // Error.
^^^^" in f2.{<unresolved>}call = 0;
c1.{self::Class::call} = 0;
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the class 'Class'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:23:6: Error: The method 'call' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
c1.call(); // Error.
^^^^" in c1{<unresolved>}.call();
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the class 'Class?'.
invalid-expression "pkg/front_end/testcases/extensions/call_collision.dart:24:6: Error: The setter 'call' isn't defined for the type 'Class?'.
- 'Class' is from 'pkg/front_end/testcases/extensions/call_collision.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'call'.
c2.call = 0; // Error.
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -278,7 +278,7 @@ library;
// final field29 = Extension<B>(classB).genericMethod<B>(a);
// ^
//
// pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -547,7 +547,7 @@ library;
// Extension<B>(classB).genericMethod<B>(a);
// ^
//
// pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -844,7 +844,7 @@ extension Extension<T extends self::B> on self::Class<T> {
static final field self::A a = new self::A::•();
static final field self::Class<self::A> classA = new self::Class::•<self::A>();
static final field self::Class<self::B> classB = new self::Class::•<self::B>();
static final field dynamic field1 = invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the class 'Class<A>'.
static final field dynamic field1 = invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the type 'Class<A>'.
- 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
- 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -969,7 +969,7 @@ static method main() → dynamic {}
static method test(self::A a) → dynamic {
self::Class<self::A> classA = new self::Class::•<self::A>();
self::Class<self::B> classB = new self::Class::•<self::B>();
invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
- 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
- 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -1083,7 +1083,7 @@ Try correcting the name to the name of an existing method, or defining a method
static method /* from org-dartlang-testcase:///check_bounds_lib.dart */ testInPart(self::A a) → dynamic {
self::Class<self::A> classA = new self::Class::•<self::A>();
self::Class<self::B> classB = new self::Class::•<self::B>();
invalid-expression "pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
invalid-expression "pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
- 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
- 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -278,7 +278,7 @@ library;
// final field29 = Extension<B>(classB).genericMethod<B>(a);
// ^
//
// pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -547,7 +547,7 @@ library;
// Extension<B>(classB).genericMethod<B>(a);
// ^
//
// pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -844,7 +844,7 @@ extension Extension<T extends self::B> on self::Class<T> {
static final field self::A a = new self::A::•();
static final field self::Class<self::A> classA = new self::Class::•<self::A>();
static final field self::Class<self::B> classB = new self::Class::•<self::B>();
static final field dynamic field1 = invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the class 'Class<A>'.
static final field dynamic field1 = invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the type 'Class<A>'.
- 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
- 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -969,7 +969,7 @@ static method main() → dynamic {}
static method test(self::A a) → dynamic {
self::Class<self::A> classA = new self::Class::•<self::A>();
self::Class<self::B> classB = new self::Class::•<self::B>();
invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
- 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
- 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -1083,7 +1083,7 @@ Try correcting the name to the name of an existing method, or defining a method
static method /* from org-dartlang-testcase:///check_bounds_lib.dart */ testInPart(self::A a) → dynamic {
self::Class<self::A> classA = new self::Class::•<self::A>();
self::Class<self::B> classB = new self::Class::•<self::B>();
invalid-expression "pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
invalid-expression "pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
- 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
- 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -278,7 +278,7 @@ library;
// final field29 = Extension<B>(classB).genericMethod<B>(a);
// ^
//
// pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -547,7 +547,7 @@ library;
// Extension<B>(classB).genericMethod<B>(a);
// ^
//
// pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
// pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// - 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -844,7 +844,7 @@ extension Extension<T extends self::B> on self::Class<T> {
static final field self::A a = new self::A::•();
static final field self::Class<self::A> classA = new self::Class::•<self::A>();
static final field self::Class<self::B> classB = new self::Class::•<self::B>();
static final field dynamic field1 = invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the class 'Class<A>'.
static final field dynamic field1 = invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:61:23: Error: The method 'method' isn't defined for the type 'Class<A>'.
- 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
- 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -969,7 +969,7 @@ static method main() → dynamic {}
static method test(self::A a) → dynamic {
self::Class<self::A> classA = new self::Class::•<self::A>();
self::Class<self::B> classB = new self::Class::•<self::B>();
invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
invalid-expression "pkg/front_end/testcases/extensions/check_bounds.dart:24:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
- 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
- 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -1083,7 +1083,7 @@ Try correcting the name to the name of an existing method, or defining a method
static method /* from org-dartlang-testcase:///check_bounds_lib.dart */ testInPart(self::A a) → dynamic {
self::Class<self::A> classA = new self::Class::•<self::A>();
self::Class<self::B> classB = new self::Class::•<self::B>();
invalid-expression "pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the class 'Class<A>'.
invalid-expression "pkg/front_end/testcases/extensions/check_bounds_lib.dart:11:10: Error: The method 'method' isn't defined for the type 'Class<A>'.
- 'Class' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
- 'A' is from 'pkg/front_end/testcases/extensions/check_bounds.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
@@ -27,7 +27,7 @@ library;
// value = "".noSuchMethod;
// ^
//
// pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'hashCode'.
// "".hashCode = 42;
// ^^^^^^^^
@@ -76,7 +76,7 @@ static method errors() → dynamic {
- 'Invocation' is from 'dart:core'.
value = \"\".noSuchMethod;
^" in "".{core::Object::noSuchMethod}{(core::Invocation) → dynamic} as{TypeError} core::int;
invalid-expression "pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the class 'String'.
invalid-expression "pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the type 'String'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'hashCode'.
\"\".hashCode = 42;
^^^^^^^^" in "".{<unresolved>}hashCode = 42;
@@ -27,7 +27,7 @@ library;
// value = "".noSuchMethod;
// ^
//
// pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'hashCode'.
// "".hashCode = 42;
// ^^^^^^^^
@@ -76,7 +76,7 @@ static method errors() → dynamic {
- 'Invocation' is from 'dart:core'.
value = \"\".noSuchMethod;
^" in "".{core::Object::noSuchMethod}{(core::Invocation) → dynamic} as{TypeError} core::int;
invalid-expression "pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the class 'String'.
invalid-expression "pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the type 'String'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'hashCode'.
\"\".hashCode = 42;
^^^^^^^^" in "".{<unresolved>}hashCode = 42;
@@ -27,7 +27,7 @@ library;
// value = "".noSuchMethod;
// ^
//
// pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'hashCode'.
// "".hashCode = 42;
// ^^^^^^^^
@@ -76,7 +76,7 @@ static method errors() → dynamic {
- 'Invocation' is from 'dart:core'.
value = \"\".noSuchMethod;
^" in "".{core::Object::noSuchMethod}{(core::Invocation) → dynamic} as{TypeError} core::int;
invalid-expression "pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the class 'String'.
invalid-expression "pkg/front_end/testcases/extensions/conflict_with_object.dart:28:6: Error: The setter 'hashCode' isn't defined for the type 'String'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'hashCode'.
\"\".hashCode = 42;
^^^^^^^^" in "".{<unresolved>}hashCode = 42;
@@ -16,7 +16,7 @@ library;
// duplicateMethodName1() => 1;
// ^^^^^^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the class 'Class2'.
// pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the type 'Class2'.
// - 'Class2' is from 'pkg/front_end/testcases/extensions/conflicts.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'uniqueMethod2'.
// c2.uniqueMethod2();
@@ -62,7 +62,7 @@ static method main() → dynamic {
}
static method errors() → dynamic {
self::Class2 c2 = new self::Class2::•();
invalid-expression "pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the class 'Class2'.
invalid-expression "pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the type 'Class2'.
- 'Class2' is from 'pkg/front_end/testcases/extensions/conflicts.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'uniqueMethod2'.
c2.uniqueMethod2();
@@ -16,7 +16,7 @@ library;
// duplicateMethodName1() => 1;
// ^^^^^^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the class 'Class2'.
// pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the type 'Class2'.
// - 'Class2' is from 'pkg/front_end/testcases/extensions/conflicts.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'uniqueMethod2'.
// c2.uniqueMethod2();
@@ -62,7 +62,7 @@ static method main() → dynamic {
}
static method errors() → dynamic {
self::Class2 c2 = new self::Class2::•();
invalid-expression "pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the class 'Class2'.
invalid-expression "pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the type 'Class2'.
- 'Class2' is from 'pkg/front_end/testcases/extensions/conflicts.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'uniqueMethod2'.
c2.uniqueMethod2();
@@ -16,7 +16,7 @@ library;
// duplicateMethodName1() => 1;
// ^^^^^^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the class 'Class2'.
// pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the type 'Class2'.
// - 'Class2' is from 'pkg/front_end/testcases/extensions/conflicts.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'uniqueMethod2'.
// c2.uniqueMethod2();
@@ -62,7 +62,7 @@ static method main() → dynamic {
}
static method errors() → dynamic {
self::Class2 c2 = new self::Class2::•();
invalid-expression "pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the class 'Class2'.
invalid-expression "pkg/front_end/testcases/extensions/conflicts.dart:31:6: Error: The method 'uniqueMethod2' isn't defined for the type 'Class2'.
- 'Class2' is from 'pkg/front_end/testcases/extensions/conflicts.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'uniqueMethod2'.
c2.uniqueMethod2();
@@ -2,13 +2,13 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'm2'.
// expect(0, c.m2);
// ^^
//
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
// c.m1 = 2;
@@ -99,12 +99,12 @@ static method main() → dynamic {
}
static method errors() → dynamic {
self::Class c = new self::Class::•();
self::expect(0, invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the class 'Class'.
self::expect(0, invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'm2'.
expect(0, c.m2);
^^" in c{<unresolved>}.m2);
invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the class 'Class'.
invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
c.m1 = 2;
@@ -2,13 +2,13 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'm2'.
// expect(0, c.m2);
// ^^
//
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
// c.m1 = 2;
@@ -99,12 +99,12 @@ static method main() → dynamic {
}
static method errors() → dynamic {
self::Class c = new self::Class::•();
self::expect(0, invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the class 'Class'.
self::expect(0, invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'm2'.
expect(0, c.m2);
^^" in c{<unresolved>}.m2);
invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the class 'Class'.
invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
c.m1 = 2;
@@ -2,13 +2,13 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'm2'.
// expect(0, c.m2);
// ^^
//
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
// c.m1 = 2;
@@ -99,12 +99,12 @@ static method main() → dynamic {
}
static method errors() → dynamic {
self::Class c = new self::Class::•();
self::expect(0, invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the class 'Class'.
self::expect(0, invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:30:15: Error: The getter 'm2' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'm2'.
expect(0, c.m2);
^^" in c{<unresolved>}.m2);
invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the class 'Class'.
invalid-expression "pkg/front_end/testcases/extensions/getter_setter_conflict.dart:31:5: Error: The setter 'm1' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/getter_setter_conflict.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'm1'.
c.m1 = 2;
@@ -2,37 +2,37 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'staticMethod'.
// c.staticMethod();
// ^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticMethod'.
// c.staticMethod;
// ^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticProperty'.
// c.staticProperty;
// ^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticProperty'.
// c.staticProperty = 42;
// ^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticField'.
// c.staticField;
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticField'.
// c.staticField = 42;
@@ -66,32 +66,32 @@ static extension-member set Extension1|staticProperty(core::int value) → void
}
static method main() → dynamic {
self::Class1 c = new self::Class1::•();
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'staticMethod'.
c.staticMethod();
^^^^^^^^^^^^" in c{<unresolved>}.staticMethod();
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticMethod'.
c.staticMethod;
^^^^^^^^^^^^" in c{<unresolved>}.staticMethod;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticProperty'.
c.staticProperty;
^^^^^^^^^^^^^^" in c{<unresolved>}.staticProperty;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticProperty'.
c.staticProperty = 42;
^^^^^^^^^^^^^^" in c.{<unresolved>}staticProperty = 42;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticField'.
c.staticField;
^^^^^^^^^^^" in c{<unresolved>}.staticField;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticField'.
c.staticField = 42;
@@ -2,37 +2,37 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'staticMethod'.
// c.staticMethod();
// ^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticMethod'.
// c.staticMethod;
// ^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticProperty'.
// c.staticProperty;
// ^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticProperty'.
// c.staticProperty = 42;
// ^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticField'.
// c.staticField;
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticField'.
// c.staticField = 42;
@@ -66,32 +66,32 @@ static extension-member set Extension1|staticProperty(core::int value) → void
}
static method main() → dynamic {
self::Class1 c = new self::Class1::•();
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'staticMethod'.
c.staticMethod();
^^^^^^^^^^^^" in c{<unresolved>}.staticMethod();
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticMethod'.
c.staticMethod;
^^^^^^^^^^^^" in c{<unresolved>}.staticMethod;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticProperty'.
c.staticProperty;
^^^^^^^^^^^^^^" in c{<unresolved>}.staticProperty;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticProperty'.
c.staticProperty = 42;
^^^^^^^^^^^^^^" in c.{<unresolved>}staticProperty = 42;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticField'.
c.staticField;
^^^^^^^^^^^" in c{<unresolved>}.staticField;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticField'.
c.staticField = 42;
@@ -2,37 +2,37 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'staticMethod'.
// c.staticMethod();
// ^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticMethod'.
// c.staticMethod;
// ^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticProperty'.
// c.staticProperty;
// ^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticProperty'.
// c.staticProperty = 42;
// ^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticField'.
// c.staticField;
// ^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the class 'Class1'.
// pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the type 'Class1'.
// - 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticField'.
// c.staticField = 42;
@@ -66,32 +66,32 @@ static extension-member set Extension1|staticProperty(core::int value) → void
}
static method main() → dynamic {
self::Class1 c = new self::Class1::•();
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:27:5: Error: The method 'staticMethod' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'staticMethod'.
c.staticMethod();
^^^^^^^^^^^^" in c{<unresolved>}.staticMethod();
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:28:5: Error: The getter 'staticMethod' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticMethod'.
c.staticMethod;
^^^^^^^^^^^^" in c{<unresolved>}.staticMethod;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:29:5: Error: The getter 'staticProperty' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticProperty'.
c.staticProperty;
^^^^^^^^^^^^^^" in c{<unresolved>}.staticProperty;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:30:5: Error: The setter 'staticProperty' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticProperty'.
c.staticProperty = 42;
^^^^^^^^^^^^^^" in c.{<unresolved>}staticProperty = 42;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:31:5: Error: The getter 'staticField' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'staticField'.
c.staticField;
^^^^^^^^^^^" in c{<unresolved>}.staticField;
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the class 'Class1'.
invalid-expression "pkg/front_end/testcases/extensions/instance_access_of_static.dart:32:5: Error: The setter 'staticField' isn't defined for the type 'Class1'.
- 'Class1' is from 'pkg/front_end/testcases/extensions/instance_access_of_static.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'staticField'.
c.staticField = 42;
@@ -36,7 +36,7 @@ library;
// C.property3 = 42;
// ^
//
// pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the class 'int'.
// pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the type 'int'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property3'.
// 42.property3;
// ^^^^^^^^^
@@ -60,7 +60,7 @@ static method test() → void {
invalid-expression "pkg/front_end/testcases/extensions/issue38713.dart:16:15: Error: Can't assign to this.
C.property3 = 42;
^";
invalid-expression "pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the class 'int'.
invalid-expression "pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the type 'int'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property3'.
42.property3;
^^^^^^^^^" in 42{<unresolved>}.property3;
@@ -36,7 +36,7 @@ library;
// C.property3 = 42;
// ^
//
// pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the class 'int'.
// pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the type 'int'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property3'.
// 42.property3;
// ^^^^^^^^^
@@ -60,7 +60,7 @@ static method test() → void {
invalid-expression "pkg/front_end/testcases/extensions/issue38713.dart:16:15: Error: Can't assign to this.
C.property3 = 42;
^";
invalid-expression "pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the class 'int'.
invalid-expression "pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the type 'int'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property3'.
42.property3;
^^^^^^^^^" in 42{<unresolved>}.property3;
@@ -36,7 +36,7 @@ library;
// C.property3 = 42;
// ^
//
// pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the class 'int'.
// pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the type 'int'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property3'.
// 42.property3;
// ^^^^^^^^^
@@ -60,7 +60,7 @@ static method test() → void {
invalid-expression "pkg/front_end/testcases/extensions/issue38713.dart:16:15: Error: Can't assign to this.
C.property3 = 42;
^";
invalid-expression "pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the class 'int'.
invalid-expression "pkg/front_end/testcases/extensions/issue38713.dart:17:6: Error: The getter 'property3' isn't defined for the type 'int'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property3'.
42.property3;
^^^^^^^^^" in 42{<unresolved>}.property3;
@@ -72,37 +72,37 @@ library;
// ext(c).property2 = 23;
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'field'.
// c.field;
// ^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'field'.
// c.field = 23;
// ^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
// c.property;
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
// c.property = 23;
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property2'.
// c.property2;
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property2'.
// c.property2 = 23;
@@ -153,32 +153,32 @@ static extension-member method ext|get#method<T extends core::Object? = dynamic>
static method main() → dynamic {}
static method errors() → dynamic {
self::C<core::int> c = new self::C::•<core::int>();
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'field'.
c.field;
^^^^^" in c{<unresolved>}.field;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'field'.
c.field = 23;
^^^^^" in c.{<unresolved>}field = 23;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
c.property;
^^^^^^^^" in c{<unresolved>}.property;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
c.property = 23;
^^^^^^^^" in c.{<unresolved>}property = 23;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property2'.
c.property2;
^^^^^^^^^" in c{<unresolved>}.property2;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property2'.
c.property2 = 23;
@@ -72,37 +72,37 @@ library;
// ext(c).property2 = 23;
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'field'.
// c.field;
// ^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'field'.
// c.field = 23;
// ^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
// c.property;
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
// c.property = 23;
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property2'.
// c.property2;
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property2'.
// c.property2 = 23;
@@ -153,32 +153,32 @@ static extension-member method ext|get#method<T extends core::Object? = dynamic>
static method main() → dynamic {}
static method errors() → dynamic {
self::C<core::int> c = new self::C::•<core::int>();
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'field'.
c.field;
^^^^^" in c{<unresolved>}.field;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'field'.
c.field = 23;
^^^^^" in c.{<unresolved>}field = 23;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
c.property;
^^^^^^^^" in c{<unresolved>}.property;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
c.property = 23;
^^^^^^^^" in c.{<unresolved>}property = 23;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property2'.
c.property2;
^^^^^^^^^" in c{<unresolved>}.property2;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property2'.
c.property2 = 23;
@@ -72,37 +72,37 @@ library;
// ext(c).property2 = 23;
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'field'.
// c.field;
// ^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'field'.
// c.field = 23;
// ^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
// c.property;
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
// c.property = 23;
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property2'.
// c.property2;
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the class 'C<int>'.
// pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the type 'C<int>'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property2'.
// c.property2 = 23;
@@ -153,32 +153,32 @@ static extension-member method ext|get#method<T extends core::Object? = dynamic>
static method main() → dynamic {}
static method errors() → dynamic {
self::C<core::int> c = new self::C::•<core::int>();
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:34:5: Error: The getter 'field' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'field'.
c.field;
^^^^^" in c{<unresolved>}.field;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:35:5: Error: The setter 'field' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'field'.
c.field = 23;
^^^^^" in c.{<unresolved>}field = 23;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:36:5: Error: The getter 'property' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
c.property;
^^^^^^^^" in c{<unresolved>}.property;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:37:5: Error: The setter 'property' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
c.property = 23;
^^^^^^^^" in c.{<unresolved>}property = 23;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:38:5: Error: The getter 'property2' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property2'.
c.property2;
^^^^^^^^^" in c{<unresolved>}.property2;
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the class 'C<int>'.
invalid-expression "pkg/front_end/testcases/extensions/issue38745.dart:39:5: Error: The setter 'property2' isn't defined for the type 'C<int>'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38745.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property2'.
c.property2 = 23;
@@ -6,13 +6,13 @@ library;
// C._staticFoo();
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the class 'C'.
// pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
// Try correcting the name to the name of an existing method, or defining a method named '_foo'.
// c._foo();
// ^^^^
//
// pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the class 'C'.
// pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
// Try correcting the name to the name of an existing method, or defining a method named '_bar'.
// c._bar();
@@ -27,7 +27,7 @@ import "org-dartlang-testcase:///issue38750_lib2.dart";
static method main() → dynamic {}
static method errors() → dynamic {
iss::C c = new iss::C::•();
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the class 'C'.
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
Try correcting the name to the name of an existing method, or defining a method named '_foo'.
c._foo();
@@ -37,7 +37,7 @@ Try correcting the name to the name of an existing method, or defining a method
^^^^^^^^^^";
c.{iss::C::foo}(){() → dynamic};
iss::C::staticFoo();
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the class 'C'.
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
Try correcting the name to the name of an existing method, or defining a method named '_bar'.
c._bar();
@@ -87,7 +87,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the class 'C'.
// pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
// Try correcting the name to the name of an existing method, or defining a method named '_bar'.
// c._bar();
@@ -100,7 +100,7 @@ import "org-dartlang-testcase:///issue38750_lib1.dart";
static method errors() → dynamic {
iss::C c = new iss::C::•();
invalid-expression "pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the class 'C'.
invalid-expression "pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
Try correcting the name to the name of an existing method, or defining a method named '_bar'.
c._bar();
@@ -6,13 +6,13 @@ library;
// C._staticFoo();
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the class 'C'.
// pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
// Try correcting the name to the name of an existing method, or defining a method named '_foo'.
// c._foo();
// ^^^^
//
// pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the class 'C'.
// pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
// Try correcting the name to the name of an existing method, or defining a method named '_bar'.
// c._bar();
@@ -27,7 +27,7 @@ import "org-dartlang-testcase:///issue38750_lib2.dart";
static method main() → dynamic {}
static method errors() → dynamic {
iss::C c = new iss::C::•();
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the class 'C'.
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
Try correcting the name to the name of an existing method, or defining a method named '_foo'.
c._foo();
@@ -37,7 +37,7 @@ Try correcting the name to the name of an existing method, or defining a method
^^^^^^^^^^";
c.{iss::C::foo}(){() → dynamic};
iss::C::staticFoo();
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the class 'C'.
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
Try correcting the name to the name of an existing method, or defining a method named '_bar'.
c._bar();
@@ -87,7 +87,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the class 'C'.
// pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
// Try correcting the name to the name of an existing method, or defining a method named '_bar'.
// c._bar();
@@ -100,7 +100,7 @@ import "org-dartlang-testcase:///issue38750_lib1.dart";
static method errors() → dynamic {
iss::C c = new iss::C::•();
invalid-expression "pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the class 'C'.
invalid-expression "pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
Try correcting the name to the name of an existing method, or defining a method named '_bar'.
c._bar();
@@ -6,13 +6,13 @@ library;
// C._staticFoo();
// ^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the class 'C'.
// pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
// Try correcting the name to the name of an existing method, or defining a method named '_foo'.
// c._foo();
// ^^^^
//
// pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the class 'C'.
// pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
// Try correcting the name to the name of an existing method, or defining a method named '_bar'.
// c._bar();
@@ -27,7 +27,7 @@ import "org-dartlang-testcase:///issue38750_lib2.dart";
static method main() → dynamic {}
static method errors() → dynamic {
iss::C c = new iss::C::•();
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the class 'C'.
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:12:5: Error: The method '_foo' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
Try correcting the name to the name of an existing method, or defining a method named '_foo'.
c._foo();
@@ -37,7 +37,7 @@ Try correcting the name to the name of an existing method, or defining a method
^^^^^^^^^^";
c.{iss::C::foo}(){() → dynamic};
iss::C::staticFoo();
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the class 'C'.
invalid-expression "pkg/front_end/testcases/extensions/issue38750.dart:16:5: Error: The method '_bar' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
Try correcting the name to the name of an existing method, or defining a method named '_bar'.
c._bar();
@@ -87,7 +87,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the class 'C'.
// pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
// Try correcting the name to the name of an existing method, or defining a method named '_bar'.
// c._bar();
@@ -100,7 +100,7 @@ import "org-dartlang-testcase:///issue38750_lib1.dart";
static method errors() → dynamic {
iss::C c = new iss::C::•();
invalid-expression "pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the class 'C'.
invalid-expression "pkg/front_end/testcases/extensions/issue38750_lib2.dart:9:5: Error: The method '_bar' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/extensions/issue38750_lib1.dart'.
Try correcting the name to the name of an existing method, or defining a method named '_bar'.
c._bar();
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the class 'int'.
// pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the type 'int'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'id'.
// Ext(c).id++;
// ^^
@@ -30,7 +30,7 @@ static extension-member method Ext|get#id(lowered final self::C #this) → core:
return #this.{self::C::value}{core::int}.{core::num::+}(1){(core::num) → core::int};
static method test() → dynamic {
self::C c = new self::C::•();
let final self::C #t1 = c in invalid-expression "pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the class 'int'.
let final self::C #t1 = c in invalid-expression "pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the type 'int'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'id'.
Ext(c).id++;
^^" in #t1.{<unresolved>}id = self::Ext|get#id(#t1).{core::num::+}(1){(core::num) → core::int};
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the class 'int'.
// pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the type 'int'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'id'.
// Ext(c).id++;
// ^^
@@ -30,7 +30,7 @@ static extension-member method Ext|get#id(lowered final self::C #this) → core:
return #this.{self::C::value}{core::int}.{core::num::+}(1){(core::num) → core::int};
static method test() → dynamic {
self::C c = new self::C::•();
let final self::C #t1 = c in invalid-expression "pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the class 'int'.
let final self::C #t1 = c in invalid-expression "pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the type 'int'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'id'.
Ext(c).id++;
^^" in #t1.{<unresolved>}id = self::Ext|get#id(#t1).{core::num::+}(1){(core::num) → core::int};
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the class 'int'.
// pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the type 'int'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'id'.
// Ext(c).id++;
// ^^
@@ -30,7 +30,7 @@ static extension-member method Ext|get#id(lowered final self::C #this) → core:
return #this.{self::C::value}{core::int}.{core::num::+}(1){(core::num) → core::int};
static method test() → dynamic {
self::C c = new self::C::•();
let final self::C #t1 = c in invalid-expression "pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the class 'int'.
let final self::C #t1 = c in invalid-expression "pkg/front_end/testcases/extensions/issue43218.dart:24:10: Error: The setter 'id' isn't defined for the type 'int'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'id'.
Ext(c).id++;
^^" in #t1.{<unresolved>}id = self::Ext|get#id(#t1).{core::num::+}(1){(core::num) → core::int};
@@ -9,7 +9,7 @@ library;
// void foo(String bar) {
// ^^^
//
// pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the class 'List<String>'.
// pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the type 'List<String>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'foo'.
// args.foo('1', 2);
@@ -23,7 +23,7 @@ extension /* unnamed */ _extension#0 on core::List<core::String> {
method tearoff foo = self::_extension#0|get#foo;
}
static method test(core::List<core::String> args) → void {
invalid-expression "pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the class 'List<String>'.
invalid-expression "pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the type 'List<String>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'foo'.
args.foo('1', 2);
@@ -9,7 +9,7 @@ library;
// void foo(String bar) {
// ^^^
//
// pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the class 'List<String>'.
// pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the type 'List<String>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'foo'.
// args.foo('1', 2);
@@ -23,7 +23,7 @@ extension /* unnamed */ _extension#0 on core::List<core::String> {
method tearoff foo = self::_extension#0|get#foo;
}
static method test(core::List<core::String> args) → void {
invalid-expression "pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the class 'List<String>'.
invalid-expression "pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the type 'List<String>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'foo'.
args.foo('1', 2);
@@ -9,7 +9,7 @@ library;
// void foo(String bar) {
// ^^^
//
// pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the class 'List<String>'.
// pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the type 'List<String>'.
// - 'List' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'foo'.
// args.foo('1', 2);
@@ -23,7 +23,7 @@ extension /* unnamed */ _extension#0 on core::List<core::String> {
method tearoff foo = self::_extension#0|get#foo;
}
static method test(core::List<core::String> args) → void {
invalid-expression "pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the class 'List<String>'.
invalid-expression "pkg/front_end/testcases/extensions/issue44003.dart:6:8: Error: The method 'foo' isn't defined for the type 'List<String>'.
- 'List' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'foo'.
args.foo('1', 2);
@@ -9,7 +9,7 @@ library;
// static int foo = 2;
// ^^^
//
// pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the class 'int'.
// pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the type 'int'.
// Try correcting the name to the name of an existing method, or defining a method named 'foo'.
// 3.foo();
// ^^^
@@ -22,7 +22,7 @@ extension /* unnamed */ _extension#0 on core::int {
}
static field core::int _extension#0|foo = 2;
static method test() → void {
invalid-expression "pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the class 'int'.
invalid-expression "pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the type 'int'.
Try correcting the name to the name of an existing method, or defining a method named 'foo'.
3.foo();
^^^" in 3{<unresolved>}.foo();
@@ -9,7 +9,7 @@ library;
// static int foo = 2;
// ^^^
//
// pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the class 'int'.
// pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the type 'int'.
// Try correcting the name to the name of an existing method, or defining a method named 'foo'.
// 3.foo();
// ^^^
@@ -22,7 +22,7 @@ extension /* unnamed */ _extension#0 on core::int {
}
static field core::int _extension#0|foo = 2;
static method test() → void {
invalid-expression "pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the class 'int'.
invalid-expression "pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the type 'int'.
Try correcting the name to the name of an existing method, or defining a method named 'foo'.
3.foo();
^^^" in 3{<unresolved>}.foo();
@@ -9,7 +9,7 @@ library;
// static int foo = 2;
// ^^^
//
// pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the class 'int'.
// pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the type 'int'.
// Try correcting the name to the name of an existing method, or defining a method named 'foo'.
// 3.foo();
// ^^^
@@ -22,7 +22,7 @@ extension /* unnamed */ _extension#0 on core::int {
}
static field core::int _extension#0|foo = 2;
static method test() → void {
invalid-expression "pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the class 'int'.
invalid-expression "pkg/front_end/testcases/extensions/issue44844.dart:11:5: Error: The method 'foo' isn't defined for the type 'int'.
Try correcting the name to the name of an existing method, or defining a method named 'foo'.
3.foo();
^^^" in 3{<unresolved>}.foo();
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/missing_toplevel.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// var missingGetter = c.setter += 42;
@@ -20,7 +20,7 @@ extension Extension on self::Class {
set setter = self::Extension|set#setter;
}
static field self::Class c = new self::Class::•();
static field dynamic missingGetter = let final self::Class #t1 = self::c in let final dynamic #t2 = invalid-expression "pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the class 'Class'.
static field dynamic missingGetter = let final self::Class #t1 = self::c in let final dynamic #t2 = invalid-expression "pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/missing_toplevel.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
var missingGetter = c.setter += 42;
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/missing_toplevel.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// var missingGetter = c.setter += 42;
@@ -20,7 +20,7 @@ extension Extension on self::Class {
set setter = self::Extension|set#setter;
}
static field self::Class c = new self::Class::•();
static field dynamic missingGetter = let final self::Class #t1 = self::c in let final dynamic #t2 = invalid-expression "pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the class 'Class'.
static field dynamic missingGetter = let final self::Class #t1 = self::c in let final dynamic #t2 = invalid-expression "pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/missing_toplevel.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
var missingGetter = c.setter += 42;
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/missing_toplevel.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// var missingGetter = c.setter += 42;
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the class 'Class'.
// pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the type 'Class'.
// - 'Class' is from 'pkg/front_end/testcases/extensions/missing_toplevel.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
// var missingGetter = c.setter += 42;
@@ -20,7 +20,7 @@ extension Extension on self::Class {
set setter = self::Extension|set#setter;
}
static field self::Class c = new self::Class::•();
static field dynamic missingGetter = let final self::Class #t1 = self::c in let final dynamic #t2 = invalid-expression "pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the class 'Class'.
static field dynamic missingGetter = let final self::Class #t1 = self::c in let final dynamic #t2 = invalid-expression "pkg/front_end/testcases/extensions/missing_toplevel.dart:13:23: Error: The getter 'setter' isn't defined for the type 'Class'.
- 'Class' is from 'pkg/front_end/testcases/extensions/missing_toplevel.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'setter'.
var missingGetter = c.setter += 42;
@@ -33,7 +33,7 @@ library;
// nonStruct.method(); // error
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
// nonStruct.method(); // error
@@ -47,31 +47,31 @@ library;
// nonStruct.property = nonStruct.property; // error
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
// nonStruct.property = nonStruct.property; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
// nonStruct.property = nonStruct.property; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
// new NonStruct().method(); // error
// ^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
// new NonStruct().property; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
// new NonStruct().property = null; // error
@@ -164,37 +164,37 @@ static method errors() → dynamic {
}
static method testNonStruct() → dynamic {
self::NonStruct nonStruct;
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
nonStruct.method(); // error
^^^^^^" in invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:3: Error: Non-nullable variable 'nonStruct' must be assigned before it can be used.
nonStruct.method(); // error
^^^^^^^^^" in nonStruct{<unresolved>}.method();
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
nonStruct.property = nonStruct.property; // error
^^^^^^^^" in invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:3: Error: Non-nullable variable 'nonStruct' must be assigned before it can be used.
nonStruct.property = nonStruct.property; // error
^^^^^^^^^" in nonStruct.{<unresolved>}property = invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the class 'NonStruct'.
^^^^^^^^^" in nonStruct.{<unresolved>}property = invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
nonStruct.property = nonStruct.property; // error
^^^^^^^^" in invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:24: Error: Non-nullable variable 'nonStruct' must be assigned before it can be used.
nonStruct.property = nonStruct.property; // error
^^^^^^^^^" in nonStruct{<unresolved>}.property;
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
new NonStruct().method(); // error
^^^^^^" in new self::NonStruct::•(){<unresolved>}.method();
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
new NonStruct().property; // error
^^^^^^^^" in new self::NonStruct::•(){<unresolved>}.property;
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
new NonStruct().property = null; // error
@@ -33,7 +33,7 @@ library;
// nonStruct.method(); // error
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
// nonStruct.method(); // error
@@ -47,31 +47,31 @@ library;
// nonStruct.property = nonStruct.property; // error
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
// nonStruct.property = nonStruct.property; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
// nonStruct.property = nonStruct.property; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
// new NonStruct().method(); // error
// ^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
// new NonStruct().property; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
// new NonStruct().property = null; // error
@@ -164,37 +164,37 @@ static method errors() → dynamic {
}
static method testNonStruct() → dynamic {
self::NonStruct nonStruct;
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
nonStruct.method(); // error
^^^^^^" in invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:3: Error: Non-nullable variable 'nonStruct' must be assigned before it can be used.
nonStruct.method(); // error
^^^^^^^^^" in nonStruct{<unresolved>}.method();
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
nonStruct.property = nonStruct.property; // error
^^^^^^^^" in invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:3: Error: Non-nullable variable 'nonStruct' must be assigned before it can be used.
nonStruct.property = nonStruct.property; // error
^^^^^^^^^" in nonStruct.{<unresolved>}property = invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the class 'NonStruct'.
^^^^^^^^^" in nonStruct.{<unresolved>}property = invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
nonStruct.property = nonStruct.property; // error
^^^^^^^^" in invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:24: Error: Non-nullable variable 'nonStruct' must be assigned before it can be used.
nonStruct.property = nonStruct.property; // error
^^^^^^^^^" in nonStruct{<unresolved>}.property;
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
new NonStruct().method(); // error
^^^^^^" in new self::NonStruct::•(){<unresolved>}.method();
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
new NonStruct().property; // error
^^^^^^^^" in new self::NonStruct::•(){<unresolved>}.property;
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
new NonStruct().property = null; // error
@@ -33,7 +33,7 @@ library;
// nonStruct.method(); // error
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
// nonStruct.method(); // error
@@ -47,31 +47,31 @@ library;
// nonStruct.property = nonStruct.property; // error
// ^^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
// nonStruct.property = nonStruct.property; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
// nonStruct.property = nonStruct.property; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method'.
// new NonStruct().method(); // error
// ^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
// new NonStruct().property; // error
// ^^^^^^^^
//
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the class 'NonStruct'.
// pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the type 'NonStruct'.
// - 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
// Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
// new NonStruct().property = null; // error
@@ -164,37 +164,37 @@ static method errors() → dynamic {
}
static method testNonStruct() → dynamic {
self::NonStruct nonStruct;
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:13: Error: The method 'method' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
nonStruct.method(); // error
^^^^^^" in invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:59:3: Error: Non-nullable variable 'nonStruct' must be assigned before it can be used.
nonStruct.method(); // error
^^^^^^^^^" in nonStruct{<unresolved>}.method();
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:13: Error: The setter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
nonStruct.property = nonStruct.property; // error
^^^^^^^^" in invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:3: Error: Non-nullable variable 'nonStruct' must be assigned before it can be used.
nonStruct.property = nonStruct.property; // error
^^^^^^^^^" in nonStruct.{<unresolved>}property = invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the class 'NonStruct'.
^^^^^^^^^" in nonStruct.{<unresolved>}property = invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:34: Error: The getter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
nonStruct.property = nonStruct.property; // error
^^^^^^^^" in invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:60:24: Error: Non-nullable variable 'nonStruct' must be assigned before it can be used.
nonStruct.property = nonStruct.property; // error
^^^^^^^^^" in nonStruct{<unresolved>}.property;
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:61:19: Error: The method 'method' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method'.
new NonStruct().method(); // error
^^^^^^" in new self::NonStruct::•(){<unresolved>}.method();
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:62:19: Error: The getter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'property'.
new NonStruct().property; // error
^^^^^^^^" in new self::NonStruct::•(){<unresolved>}.property;
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the class 'NonStruct'.
invalid-expression "pkg/front_end/testcases/extensions/on_type_variable_inference.dart:63:19: Error: The setter 'property' isn't defined for the type 'NonStruct'.
- 'NonStruct' is from 'pkg/front_end/testcases/extensions/on_type_variable_inference.dart'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'property'.
new NonStruct().property = null; // error
@@ -26,27 +26,27 @@ library;
// expect(732, PublicExtension._privateStaticMethod2());
// ^^^^^^^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'publicMethod1'.
// expect(42, "".publicMethod1());
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named '_privateMethod1'.
// expect(87, ""._privateMethod1());
// ^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named '_privateMethod2'.
// expect(237, ""._privateMethod2());
// ^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'publicMethod3'.
// expect(473, "".publicMethod3());
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named '_privateMethod3'.
// expect(586, ""._privateMethod3());
// ^^^^^^^^^^^^^^^
@@ -63,23 +63,23 @@ static method main() → dynamic {
pri::expect(321, pri::PublicExtension|publicStaticMethod2());
}
static method errors() → dynamic {
pri::expect(42, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the class 'String'.
pri::expect(42, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'publicMethod1'.
expect(42, \"\".publicMethod1());
^^^^^^^^^^^^^" in ""{<unresolved>}.publicMethod1());
pri::expect(87, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the class 'String'.
pri::expect(87, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named '_privateMethod1'.
expect(87, \"\"._privateMethod1());
^^^^^^^^^^^^^^^" in ""{<unresolved>}._privateMethod1());
pri::expect(237, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the class 'String'.
pri::expect(237, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named '_privateMethod2'.
expect(237, \"\"._privateMethod2());
^^^^^^^^^^^^^^^" in ""{<unresolved>}._privateMethod2());
pri::expect(473, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the class 'String'.
pri::expect(473, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'publicMethod3'.
expect(473, \"\".publicMethod3());
^^^^^^^^^^^^^" in ""{<unresolved>}.publicMethod3());
pri::expect(586, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the class 'String'.
pri::expect(586, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named '_privateMethod3'.
expect(586, \"\"._privateMethod3());
^^^^^^^^^^^^^^^" in ""{<unresolved>}._privateMethod3());
@@ -26,27 +26,27 @@ library;
// expect(732, PublicExtension._privateStaticMethod2());
// ^^^^^^^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'publicMethod1'.
// expect(42, "".publicMethod1());
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named '_privateMethod1'.
// expect(87, ""._privateMethod1());
// ^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named '_privateMethod2'.
// expect(237, ""._privateMethod2());
// ^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'publicMethod3'.
// expect(473, "".publicMethod3());
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named '_privateMethod3'.
// expect(586, ""._privateMethod3());
// ^^^^^^^^^^^^^^^
@@ -63,23 +63,23 @@ static method main() → dynamic {
pri::expect(321, pri::PublicExtension|publicStaticMethod2());
}
static method errors() → dynamic {
pri::expect(42, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the class 'String'.
pri::expect(42, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'publicMethod1'.
expect(42, \"\".publicMethod1());
^^^^^^^^^^^^^" in ""{<unresolved>}.publicMethod1());
pri::expect(87, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the class 'String'.
pri::expect(87, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named '_privateMethod1'.
expect(87, \"\"._privateMethod1());
^^^^^^^^^^^^^^^" in ""{<unresolved>}._privateMethod1());
pri::expect(237, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the class 'String'.
pri::expect(237, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named '_privateMethod2'.
expect(237, \"\"._privateMethod2());
^^^^^^^^^^^^^^^" in ""{<unresolved>}._privateMethod2());
pri::expect(473, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the class 'String'.
pri::expect(473, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'publicMethod3'.
expect(473, \"\".publicMethod3());
^^^^^^^^^^^^^" in ""{<unresolved>}.publicMethod3());
pri::expect(586, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the class 'String'.
pri::expect(586, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named '_privateMethod3'.
expect(586, \"\"._privateMethod3());
^^^^^^^^^^^^^^^" in ""{<unresolved>}._privateMethod3());
@@ -26,27 +26,27 @@ library;
// expect(732, PublicExtension._privateStaticMethod2());
// ^^^^^^^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'publicMethod1'.
// expect(42, "".publicMethod1());
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named '_privateMethod1'.
// expect(87, ""._privateMethod1());
// ^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named '_privateMethod2'.
// expect(237, ""._privateMethod2());
// ^^^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named 'publicMethod3'.
// expect(473, "".publicMethod3());
// ^^^^^^^^^^^^^
//
// pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the class 'String'.
// pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the type 'String'.
// Try correcting the name to the name of an existing method, or defining a method named '_privateMethod3'.
// expect(586, ""._privateMethod3());
// ^^^^^^^^^^^^^^^
@@ -63,23 +63,23 @@ static method main() → dynamic {
pri::expect(321, pri::PublicExtension|publicStaticMethod2());
}
static method errors() → dynamic {
pri::expect(42, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the class 'String'.
pri::expect(42, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:17:17: Error: The method 'publicMethod1' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'publicMethod1'.
expect(42, \"\".publicMethod1());
^^^^^^^^^^^^^" in ""{<unresolved>}.publicMethod1());
pri::expect(87, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the class 'String'.
pri::expect(87, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:18:17: Error: The method '_privateMethod1' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named '_privateMethod1'.
expect(87, \"\"._privateMethod1());
^^^^^^^^^^^^^^^" in ""{<unresolved>}._privateMethod1());
pri::expect(237, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the class 'String'.
pri::expect(237, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:19:18: Error: The method '_privateMethod2' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named '_privateMethod2'.
expect(237, \"\"._privateMethod2());
^^^^^^^^^^^^^^^" in ""{<unresolved>}._privateMethod2());
pri::expect(473, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the class 'String'.
pri::expect(473, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:20:18: Error: The method 'publicMethod3' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named 'publicMethod3'.
expect(473, \"\".publicMethod3());
^^^^^^^^^^^^^" in ""{<unresolved>}.publicMethod3());
pri::expect(586, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the class 'String'.
pri::expect(586, invalid-expression "pkg/front_end/testcases/extensions/private_members.dart:21:18: Error: The method '_privateMethod3' isn't defined for the type 'String'.
Try correcting the name to the name of an existing method, or defining a method named '_privateMethod3'.
expect(586, \"\"._privateMethod3());
^^^^^^^^^^^^^^^" in ""{<unresolved>}._privateMethod3());
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the class 'SubClass'.
// pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the type 'SubClass'.
// - 'SubClass' is from 'pkg/front_end/testcases/extensions/type_variable_bound.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method2'.
// SubClass subClass = t3.method2() as SubClass; // error
@@ -50,7 +50,7 @@ static method test2<T extends self::Class>(self::test2::T t2) → dynamic {
}
static method test3<T extends core::Object? = dynamic>(self::test3::T% t3) → dynamic {
if(t3 is self::SubClass) {
self::SubClass subClass = invalid-expression "pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the class 'SubClass'.
self::SubClass subClass = invalid-expression "pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the type 'SubClass'.
- 'SubClass' is from 'pkg/front_end/testcases/extensions/type_variable_bound.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method2'.
SubClass subClass = t3.method2() as SubClass; // error
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the class 'SubClass'.
// pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the type 'SubClass'.
// - 'SubClass' is from 'pkg/front_end/testcases/extensions/type_variable_bound.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method2'.
// SubClass subClass = t3.method2() as SubClass; // error
@@ -50,7 +50,7 @@ static method test2<T extends self::Class>(self::test2::T t2) → dynamic {
}
static method test3<T extends core::Object? = dynamic>(self::test3::T% t3) → dynamic {
if(t3 is self::SubClass) {
self::SubClass subClass = invalid-expression "pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the class 'SubClass'.
self::SubClass subClass = invalid-expression "pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the type 'SubClass'.
- 'SubClass' is from 'pkg/front_end/testcases/extensions/type_variable_bound.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method2'.
SubClass subClass = t3.method2() as SubClass; // error
@@ -2,7 +2,7 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the class 'SubClass'.
// pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the type 'SubClass'.
// - 'SubClass' is from 'pkg/front_end/testcases/extensions/type_variable_bound.dart'.
// Try correcting the name to the name of an existing method, or defining a method named 'method2'.
// SubClass subClass = t3.method2() as SubClass; // error
@@ -50,7 +50,7 @@ static method test2<T extends self::Class>(self::test2::T t2) → dynamic {
}
static method test3<T extends core::Object? = dynamic>(self::test3::T% t3) → dynamic {
if(t3 is self::SubClass) {
self::SubClass subClass = invalid-expression "pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the class 'SubClass'.
self::SubClass subClass = invalid-expression "pkg/front_end/testcases/extensions/type_variable_bound.dart:32:28: Error: The method 'method2' isn't defined for the type 'SubClass'.
- 'SubClass' is from 'pkg/front_end/testcases/extensions/type_variable_bound.dart'.
Try correcting the name to the name of an existing method, or defining a method named 'method2'.
SubClass subClass = t3.method2() as SubClass; // error
@@ -2,13 +2,13 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the class 'C'.
// pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
// print(onlySetter);
// ^^^^^^^^^^
//
// pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the class 'C'.
// pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
// print(onlySetter);
@@ -30,7 +30,7 @@ class C extends core::Object {
}
method testC() → dynamic {
try {
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the class 'C'.
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
print(onlySetter);
@@ -43,7 +43,7 @@ Try correcting the name to the name of an existing getter, or defining a getter
this.{self::C::onlySetter} = "hest";
}
method testD() → dynamic {
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the class 'C'.
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
print(onlySetter);
@@ -2,13 +2,13 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the class 'C'.
// pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
// print(onlySetter);
// ^^^^^^^^^^
//
// pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the class 'C'.
// pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
// print(onlySetter);
@@ -30,7 +30,7 @@ class C extends core::Object {
}
method testC() → dynamic {
try {
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the class 'C'.
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
print(onlySetter);
@@ -43,7 +43,7 @@ Try correcting the name to the name of an existing getter, or defining a getter
this.{self::C::onlySetter} = "hest";
}
method testD() → dynamic {
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the class 'C'.
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
print(onlySetter);
@@ -2,13 +2,13 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the class 'C'.
// pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
// print(onlySetter);
// ^^^^^^^^^^
//
// pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the class 'C'.
// pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the type 'C'.
// - 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
// print(onlySetter);
@@ -30,7 +30,7 @@ class C extends core::Object {
}
method testC() → dynamic {
try {
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the class 'C'.
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:16:13: Error: The getter 'onlySetter' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
print(onlySetter);
@@ -43,7 +43,7 @@ Try correcting the name to the name of an existing getter, or defining a getter
this.{self::C::onlySetter} = "hest";
}
method testD() → dynamic {
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the class 'C'.
core::print(invalid-expression "pkg/front_end/testcases/general/accessors.dart:25:11: Error: The getter 'onlySetter' isn't defined for the type 'C'.
- 'C' is from 'pkg/front_end/testcases/general/accessors.dart'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'onlySetter'.
print(onlySetter);
@@ -2,19 +2,19 @@ library;
//
// Problems in library:
//
// pkg/front_end/testcases/general/bug21938.dart:6:4: Error: The method 'call' isn't defined for the class 'Object'.
// pkg/front_end/testcases/general/bug21938.dart:6:4: Error: The method 'call' isn't defined for the type 'Object'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// x();
// ^
//
// pkg/front_end/testcases/general/bug21938.dart:7:4: Error: The method 'call' isn't defined for the class 'Object'.
// pkg/front_end/testcases/general/bug21938.dart:7:4: Error: The method 'call' isn't defined for the type 'Object'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// x(3);
// ^
//
// pkg/front_end/testcases/general/bug21938.dart:9:5: Error: The method 'call' isn't defined for the class 'Object'.
// pkg/front_end/testcases/general/bug21938.dart:9:5: Error: The method 'call' isn't defined for the type 'Object'.
// - 'Object' is from 'dart:core'.
// Try correcting the name to the name of an existing method, or defining a method named 'call'.
// x.call();
@@ -24,18 +24,18 @@ import self as self;
import "dart:core" as core;
static method test(core::Object x, core::Function f) → dynamic {
invalid-expression "pkg/front_end/testcases/general/bug21938.dart:6:4: Error: The method 'call' isn't defined for the class 'Object'.
invalid-expression "pkg/front_end/testcases/general/bug21938.dart:6:4: Error: The method 'call' isn't defined for the type 'Object'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
x();
^" in x{<unresolved>}.call();
invalid-expression "pkg/front_end/testcases/general/bug21938.dart:7:4: Error: The method 'call' isn't defined for the class 'Object'.
invalid-expression "pkg/front_end/testcases/general/bug21938.dart:7:4: Error: The method 'call' isn't defined for the type 'Object'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
x(3);
^" in x{<unresolved>}.call(3);
f(5, 2);
invalid-expression "pkg/front_end/testcases/general/bug21938.dart:9:5: Error: The method 'call' isn't defined for the class 'Object'.
invalid-expression "pkg/front_end/testcases/general/bug21938.dart:9:5: Error: The method 'call' isn't defined for the type 'Object'.
- 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing method, or defining a method named 'call'.
x.call();

Some files were not shown because too many files have changed in this diff Show More