@@ -44,108 +44,130 @@ abstract base class ImplementsLegacyMixinOnFinal implements LegacyMixinOnFinal {
44
44
// Not allowed to omit base on classes with base/final superclasses.
45
45
46
46
abstract class ExtendsLegacyImplementsFinal extends LegacyImplementsFinal {
47
- // ^
47
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
48
49
// [cfe] The type 'ExtendsLegacyImplementsFinal' must be 'base', 'final' or 'sealed' because the supertype 'MapEntry' is 'final'.
49
50
}
50
51
51
52
abstract class ExtendsLegacyImplementsFinal2 = LegacyImplementsFinal
52
- // ^
53
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
54
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
53
55
// [cfe] The type 'ExtendsLegacyImplementsFinal2' must be 'base', 'final' or 'sealed' because the supertype 'MapEntry' is 'final'.
54
56
with
55
57
_AnyMixin ;
56
58
57
59
abstract class ExtendsLegacyExtendsFinal extends LegacyExtendsFinal {}
58
- // ^
60
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^
61
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
59
62
// [cfe] The type 'ExtendsLegacyExtendsFinal' must be 'base', 'final' or 'sealed' because the supertype 'ListQueue' is 'final'.
60
63
61
64
abstract class ExtendsLegacyExtendsFinal2 = LegacyExtendsFinal2 with _AnyMixin ;
62
- // ^
65
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^
66
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
63
67
// [cfe] The type 'ExtendsLegacyExtendsFinal2' must be 'base', 'final' or 'sealed' because the supertype 'ListQueue' is 'final'.
64
68
65
69
abstract class ExtendsLegacyMixesInFinal extends LegacyMixesInFinal {}
66
- // ^
70
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^
71
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
67
72
// [cfe] The type 'ExtendsLegacyMixesInFinal' must be 'base', 'final' or 'sealed' because the supertype 'BigInt' is 'final'.
68
73
69
74
abstract class ExtendsLegacyMixesInFinal2 = LegacyMixesInFinal2 with _AnyMixin ;
70
- // ^
75
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^
76
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
71
77
// [cfe] The type 'ExtendsLegacyMixesInFinal2' must be 'base', 'final' or 'sealed' because the supertype 'BigInt' is 'final'.
72
78
73
79
abstract class ExtendsLegacyImplementsBase extends LegacyImplementsBase {}
74
- // ^
80
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^
81
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
75
82
// [cfe] The type 'ExtendsLegacyImplementsBase' must be 'base', 'final' or 'sealed' because the supertype 'LinkedList' is 'base'.
76
83
77
84
abstract class ExtendsLegacyImplementsBase2 = LegacyImplementsBase
78
- // ^
85
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
86
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
79
87
// [cfe] The type 'ExtendsLegacyImplementsBase2' must be 'base', 'final' or 'sealed' because the supertype 'LinkedList' is 'base'.
80
88
with
81
89
_AnyMixin ;
82
90
83
91
abstract class MixesInLegacyImplementsFinal with LegacyImplementsFinal {}
84
- // ^
92
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
85
94
// [cfe] The type 'MixesInLegacyImplementsFinal' must be 'base', 'final' or 'sealed' because the supertype 'MapEntry' is 'final'.
86
95
87
96
abstract class MixesInLegacyImplementsFinal2 = Object
88
- // ^
97
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
98
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
89
99
// [cfe] The type 'MixesInLegacyImplementsFinal2' must be 'base', 'final' or 'sealed' because the supertype 'MapEntry' is 'final'.
90
100
with
91
101
LegacyImplementsFinal ;
92
102
93
103
abstract class MixesInLegacyMixesInFinal with LegacyMixesInFinal2 {}
94
- // ^
104
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^
105
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
95
106
// [cfe] The type 'MixesInLegacyMixesInFinal' must be 'base', 'final' or 'sealed' because the supertype 'BigInt' is 'final'.
96
107
97
108
abstract class MixesInLegacyMixesInFinal2 = Object with LegacyMixesInFinal2 ;
98
- // ^
109
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^
110
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
99
111
// [cfe] The type 'MixesInLegacyMixesInFinal2' must be 'base', 'final' or 'sealed' because the supertype 'BigInt' is 'final'.
100
112
101
113
abstract class MixesInLegacyImplementsBase with LegacyImplementsBase {}
102
- // ^
114
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^
115
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
103
116
// [cfe] The type 'MixesInLegacyImplementsBase' must be 'base', 'final' or 'sealed' because the supertype 'LinkedList' is 'base'.
104
117
105
118
abstract class MixesInLegacyImplementsBase2 = Object with LegacyImplementsBase ;
106
- // ^
119
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
107
121
// [cfe] The type 'MixesInLegacyImplementsBase2' must be 'base', 'final' or 'sealed' because the supertype 'LinkedList' is 'base'.
108
122
109
123
abstract class MixesInMixinOnFinal extends LegacyImplementsFinal
110
- // ^
124
+ // ^^^^^^^^^^^^^^^^^^^
125
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
111
126
// [cfe] The type 'MixesInMixinOnFinal' must be 'base', 'final' or 'sealed' because the supertype 'MapEntry' is 'final'.
112
127
with
113
128
LegacyMixinOnFinal {}
114
129
115
130
abstract class MixesInMixinOnFinal2 = LegacyImplementsFinal
116
- // ^
131
+ // ^^^^^^^^^^^^^^^^^^^^
132
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
117
133
// [cfe] The type 'MixesInMixinOnFinal2' must be 'base', 'final' or 'sealed' because the supertype 'MapEntry' is 'final'.
118
134
with
119
135
LegacyMixinOnFinal ;
120
136
121
137
abstract class MixesInMixinOnBase extends LegacyMixinOnBaseSuper
122
- // ^
138
+ // ^^^^^^^^^^^^^^^^^^
139
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
123
140
// [cfe] The type 'MixesInMixinOnBase' must be 'base', 'final' or 'sealed' because the supertype 'LinkedListEntry' is 'base'.
124
141
with
125
142
LegacyMixinOnBase {}
126
143
127
144
abstract class MixesInMixinOnBase2 = LegacyMixinOnBaseSuper
128
- // ^
145
+ // ^^^^^^^^^^^^^^^^^^^
146
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
129
147
// [cfe] The type 'MixesInMixinOnBase2' must be 'base', 'final' or 'sealed' because the supertype 'LinkedListEntry' is 'base'.
130
148
with
131
149
LegacyMixinOnBase ;
132
150
133
151
abstract class MixesInMixinImplementsFinal with LegacyMixinImplementsFinal {}
134
- // ^
152
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^
153
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
135
154
// [cfe] The type 'MixesInMixinImplementsFinal' must be 'base', 'final' or 'sealed' because the supertype 'MapEntry' is 'final'.
136
155
137
156
abstract class MixesInMixinImplementsFinal2 = Object
138
- // ^
157
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
158
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
139
159
// [cfe] The type 'MixesInMixinImplementsFinal2' must be 'base', 'final' or 'sealed' because the supertype 'MapEntry' is 'final'.
140
160
with
141
161
LegacyMixinImplementsFinal ;
142
162
143
163
abstract class MixesInMixinImplementsBase with LegacyMixinImplementsBase {}
144
- // ^
164
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^
165
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
145
166
// [cfe] The type 'MixesInMixinImplementsBase' must be 'base', 'final' or 'sealed' because the supertype 'LinkedList' is 'base'.
146
167
147
168
abstract class MixesInMixinImplementsBase2 = Object
148
- // ^
169
+ // ^^^^^^^^^^^^^^^^^^^^^^^^^^^
170
+ // [analyzer] COMPILE_TIME_ERROR.SUBTYPE_OF_BASE_OR_FINAL_IS_NOT_BASE_FINAL_OR_SEALED
149
171
// [cfe] The type 'MixesInMixinImplementsBase2' must be 'base', 'final' or 'sealed' because the supertype 'LinkedList' is 'base'.
150
172
with
151
173
LegacyMixinImplementsBase ;
0 commit comments