You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/front_end/testcases/extension_types/field_access.dart.strong.expect
+4
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@ library;
2
2
//
3
3
// Problems in library:
4
4
//
5
+
// pkg/front_end/testcases/extension_types/field_access.dart:83:36: Error: Each extension type should have exactly one representation field.
6
+
// extension type ErroneousInlineClass(int a, String b) {
7
+
// ^
8
+
//
5
9
// pkg/front_end/testcases/extension_types/field_access.dart:15:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
6
10
// Try changing the operand or remove the type arguments.
Copy file name to clipboardExpand all lines: pkg/front_end/testcases/extension_types/field_access.dart.strong.transformed.expect
+4
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@ library;
2
2
//
3
3
// Problems in library:
4
4
//
5
+
// pkg/front_end/testcases/extension_types/field_access.dart:83:36: Error: Each extension type should have exactly one representation field.
6
+
// extension type ErroneousInlineClass(int a, String b) {
7
+
// ^
8
+
//
5
9
// pkg/front_end/testcases/extension_types/field_access.dart:15:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
6
10
// Try changing the operand or remove the type arguments.
Copy file name to clipboardExpand all lines: pkg/front_end/testcases/extension_types/field_access.dart.weak.expect
+4
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@ library;
2
2
//
3
3
// Problems in library:
4
4
//
5
+
// pkg/front_end/testcases/extension_types/field_access.dart:83:36: Error: Each extension type should have exactly one representation field.
6
+
// extension type ErroneousInlineClass(int a, String b) {
7
+
// ^
8
+
//
5
9
// pkg/front_end/testcases/extension_types/field_access.dart:15:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
6
10
// Try changing the operand or remove the type arguments.
Copy file name to clipboardExpand all lines: pkg/front_end/testcases/extension_types/field_access.dart.weak.modular.expect
+4
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@ library;
2
2
//
3
3
// Problems in library:
4
4
//
5
+
// pkg/front_end/testcases/extension_types/field_access.dart:83:36: Error: Each extension type should have exactly one representation field.
6
+
// extension type ErroneousInlineClass(int a, String b) {
7
+
// ^
8
+
//
5
9
// pkg/front_end/testcases/extension_types/field_access.dart:15:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
6
10
// Try changing the operand or remove the type arguments.
Copy file name to clipboardExpand all lines: pkg/front_end/testcases/extension_types/field_access.dart.weak.transformed.expect
+4
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@ library;
2
2
//
3
3
// Problems in library:
4
4
//
5
+
// pkg/front_end/testcases/extension_types/field_access.dart:83:36: Error: Each extension type should have exactly one representation field.
6
+
// extension type ErroneousInlineClass(int a, String b) {
7
+
// ^
8
+
//
5
9
// pkg/front_end/testcases/extension_types/field_access.dart:15:21: Error: The static type of the explicit instantiation operand must be a generic function type but is 'int'.
6
10
// Try changing the operand or remove the type arguments.
Copy file name to clipboardExpand all lines: pkg/front_end/testcases/extension_types/representation_field_error.dart.strong.expect
+42
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,18 @@ library;
53
53
// extension type E7(const var foo) {} // Error.
54
54
// ^^^
55
55
//
56
+
// pkg/front_end/testcases/extension_types/representation_field_error.dart:12:18: Error: Expected a representation field.
57
+
// extension type E8() {} // Error.
58
+
// ^
59
+
//
60
+
// pkg/front_end/testcases/extension_types/representation_field_error.dart:13:18: Error: Each extension type should have exactly one representation field.
61
+
// extension type E9(int foo, String bar) {} // Error.
62
+
// ^
63
+
//
64
+
// pkg/front_end/testcases/extension_types/representation_field_error.dart:14:19: Error: Each extension type should have exactly one representation field.
65
+
// extension type E10(num foo, bool bar, double baz) {} // Error.
66
+
// ^
67
+
//
56
68
import self as self;
57
69
import "dart:core" as core;
58
70
@@ -84,6 +96,18 @@ extension type E7(dynamic foo) {
0 commit comments