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
language tests: FactoryImplementationTest.dart
interface A factory B { A(int x, int y); }
// new A() invokes B constructor because B implements A. class B implements A { final int x; final int y;
B(this.x, this.y); // This factory will never be invoked. factory A(int a, int b) { return new B(0, 0); }
}
The text was updated successfully, but these errors were encountered:
Set owner to @scheglov.
Sorry, something went wrong.
http://codereview.chromium.org/8786002/
Added Fixed label.
scheglov
No branches or pull requests
language tests: FactoryImplementationTest.dart
interface A factory B {
A(int x, int y);
}
// new A() invokes B constructor because B implements A.
class B implements A {
final int x;
final int y;
B(this.x, this.y);
// This factory will never be invoked.
factory A(int a, int b) { return new B(0, 0); }
}
The text was updated successfully, but these errors were encountered: