| Index: tests/language_strong/factory2_test.dart
|
| diff --git a/tests/language_strong/factory2_test.dart b/tests/language_strong/factory2_test.dart
|
| index 882ec7b303f391d4472622c47f6f0bbc74d67592..d2d3715bd904e3a3c4b3ddbebf50884d873240f4 100644
|
| --- a/tests/language_strong/factory2_test.dart
|
| +++ b/tests/language_strong/factory2_test.dart
|
| @@ -6,7 +6,7 @@ import "dart:collection";
|
|
|
| abstract class Link<T> extends IterableBase<T> {
|
| // does not match constructor for LinkFactory
|
| - factory Link(T head, [Link<T> tail]) = LinkFactory<T>; /// static type warning
|
| + factory Link(T head, [Link<T> tail]) = LinkFactory<T>; //# static type warning
|
| Link<T> prepend(T element);
|
| }
|
|
|
| @@ -39,14 +39,14 @@ class LinkEntry<T> extends AbstractLink<T> {
|
|
|
| class Fisk {
|
| // instantiation of abstract class
|
| - Link<String> nodes = const EmptyLink(); /// static type warning
|
| + Link<String> nodes = const EmptyLink(); //# static type warning
|
| }
|
|
|
| main() {
|
| new Fisk();
|
| // instantiation of abstract class
|
| - new EmptyLink<String>().prepend('hest'); /// static type warning
|
| + new EmptyLink<String>().prepend('hest'); //# static type warning
|
| // instantiation of abstract class
|
| - const EmptyLink<String>().prepend('fisk'); /// static type warning
|
| + const EmptyLink<String>().prepend('fisk'); //# static type warning
|
| }
|
|
|
|
|