blob: ff3180c983b0c5cc2ffe7a46b1dacae30f57bd99 [file] [log] [blame]
part 'field_promotion_name_conflicts_part.dart';
abstract class C {
C(int? i)
: _f1 = i,
_f2 = i,
_f3 = i,
_f4 = i,
_f5 = i,
_f6 = i,
_f7 = i,
_f8 = i,
_f9 = i,
_f10 = i,
_f11 = i,
_f12 = i,
_f13 = i;
final int? _f1;
final int? _f10;
final int? _f11;
final int? _f12;
final int? _f13;
final int? _f2;
final int? _f3;
final int? _f4;
final int? _f5;
final int? _f6;
final int? _f7;
final int? _f8;
final int? _f9;
}
abstract class D {
D(int? i) : _f1 = i;
final int? _f1;
int? _f2;
int? get _f3;
int? get _f4 => 0;
set _f5(int? i) {}
static int? _f6;
static int? get _f7 => 0;
}
extension on String {
int? get _f10 => 0;
}
int? _f8;
int? get _f9 => 0;
main() {}
mixin M {
int? _f12;
int? get _f13 => 0;
}
void acceptsInt(int x) {}
void testAbstractGetter(C c) {}
void testConcreteGetter(C c) {}
void testExtensionGetter(C c) {}
void testFieldInMixin(C c) {}
void testFinalField(C c) {}
void testGetterInMixin(C c) {}
void testGetterInPart(C c) {}
void testNonFinalField(C c) {}
void testSetter(C c) {}
void testStaticField(C c) {}
void testStaticGetter(C c) {}
void testTopLevelField(C c) {}
void testTopLevelGetter(C c) {}