Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: tests/language/factory2_test.dart

Issue 10660030: Remove warning about instantiating an abstract class without implementing a member (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/factory2_test.dart
diff --git a/tests/language/factory2_test.dart b/tests/language/factory2_test.dart
index 50ccbfeb653451fc4c205caf53fef6f48dca7ef4..ff2172beb865d2a865ffd68a58413fe4a61126a8 100644
--- a/tests/language/factory2_test.dart
+++ b/tests/language/factory2_test.dart
@@ -21,7 +21,7 @@ class LinkFactory<T> {
}
// Does not implement all of Iterable
-class AbstractLink<T> implements Link<T> { /// static type warning
+class AbstractLink<T> implements Link<T> {
const AbstractLink();
Link<T> prepend(T element) {
return new Link<T>(element, this);
@@ -29,13 +29,13 @@ class AbstractLink<T> implements Link<T> { /// static type warning
}
// Does not implement all of Iterable
-class LinkTail<T> extends AbstractLink<T> /// static type warning
+class LinkTail<T> extends AbstractLink<T>
implements EmptyLink<T> {
const LinkTail();
}
// Does not implement all of Iterable
-class LinkEntry<T> extends AbstractLink<T> { /// static type warning
+class LinkEntry<T> extends AbstractLink<T> {
LinkEntry(T head, Link<T> realTail);
}
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698