blob: 6db41094e78cfd4f74752796e27510682389d537 [file] [log] [blame]
// @dart = 2.9
class A {
A()
: this.x = 41,
this.x = 42 {}
int x;
}
class B {
B()
: this.x = 41,
this.x = 42 {}
final int x;
}
class C {
C()
: this.x = 41,
this.x = 42 {}
final int x = 2;
}
class D {
D()
: this.x = 41,
this.named(),
this.y = 42 {}
D.named()
: this.x = 41,
this.y = 42 {}
final int x;
final int y;
}
class E {
E()
: this.named(),
this.x = 1,
this.y = 2 {}
E.named()
: this.x = 41,
this.y = 42 {}
E.named2()
: this.x = 1,
this.named(),
this.y = 2;
E.named3()
: super(),
this.named(),
this.x = 1,
this.y = 2;
E.named4()
: this.x = 1,
this.y = 2,
this.named();
E.named5()
: assert(true),
this.named();
E.named6()
: this.named(),
assert(true);
final int x;
final int y;
}
class F {
F()
: this.named(),
super() {}
F.named() {}
}
class G {
G()
: super(),
this.named(),
super() {}
G.named() {}
}
class H {
H()
: this.named(),
this.named();
H.named() {}
}
class I {
I()
: super(),
super() {}
}
class J {
J()
: super(),
this.x = 42 {}
int x;
}
main() {}