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

Unified Diff: tests/language/factory2_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: Created 3 years, 9 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 | « tests/language/factory1_test.dart ('k') | tests/language/factory6_test.dart » ('j') | 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 963d8384943b4290c957789e5ef83dd4a761717e..85985a4174d4cce13a4f75effd65289c7353dbd5 100644
--- a/tests/language/factory2_test.dart
+++ b/tests/language/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
}
« no previous file with comments | « tests/language/factory1_test.dart ('k') | tests/language/factory6_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698