We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following program crashes the compiler:
Main.dart: import "lib.dart" deferred as lib;
void main() { lib.loadLibrary().then((_) { new lib.A2(); new lib.B2(); new lib.C3(); new lib.D3(10); }); }
lib.dart: a() => print("123");
b() => print("123");
c() => print("123");
d() => print("123");
class B { B() { b(); } }
class B2 extends B { // No constructor creates a synthetic constructor that has an implicit // super-call. }
class A { A() { a(); } }
class A2 extends A { // Implicit super call. A2(); }
class C1 {}
class C2 { C2() { c(); } }
class C2p { C2() { c(); } }
class C3 extends C2 with C1 { // Implicit redirecting "super" call via mixin. }
class D1 { }
class D2 { D2(x) { d(); } }
// Implicit redirecting "super" call with a parameter via mixin. class D3 = D2 with D1;
The text was updated successfully, but these errors were encountered:
Added AssumedStale label.
Sorry, something went wrong.
sigurdm
No branches or pull requests
The following program crashes the compiler:
Main.dart:
import "lib.dart" deferred as lib;
void main() {
lib.loadLibrary().then((_) {
new lib.A2();
new lib.B2();
new lib.C3();
new lib.D3(10);
});
}
lib.dart:
a() => print("123");
b() => print("123");
c() => print("123");
d() => print("123");
class B {
B() {
b();
}
}
class B2 extends B {
// No constructor creates a synthetic constructor that has an implicit
// super-call.
}
class A {
A() {
a();
}
}
class A2 extends A {
// Implicit super call.
A2();
}
class C1 {}
class C2 {
C2() {
c();
}
}
class C2p {
C2() {
c();
}
}
class C3 extends C2 with C1 {
// Implicit redirecting "super" call via mixin.
}
class D1 {
}
class D2 {
D2(x) {
d();
}
}
// Implicit redirecting "super" call with a parameter via mixin.
class D3 = D2 with D1;
The text was updated successfully, but these errors were encountered: