Closed

Description
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); }
}
Metadata
Metadata
Assignees
Labels
No labels
Activity
scheglov commentedon Nov 28, 2011
Set owner to @scheglov.
scheglov commentedon Dec 6, 2011
http://codereview.chromium.org/8786002/
Added Fixed label.