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

Unified Diff: tests/language_strong/compile_time_constant_checked5_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
Index: tests/language_strong/compile_time_constant_checked5_test.dart
diff --git a/tests/language_strong/compile_time_constant_checked5_test.dart b/tests/language_strong/compile_time_constant_checked5_test.dart
index d2a4aa3b00e1e6e8b778d093efd084c5515f80e5..d370dd28ce507f5c889c03c8d94d862a107beed4 100644
--- a/tests/language_strong/compile_time_constant_checked5_test.dart
+++ b/tests/language_strong/compile_time_constant_checked5_test.dart
@@ -20,51 +20,51 @@ class D extends B implements C {
}
class Test1 {
- final A x = const A(); /// 01: ok
- final A x = const B(); /// 02: ok
- final B x = const A(); /// 03: checked mode compile-time error
- final B x = const C(); /// 04: checked mode compile-time error, static type warning
- final B x = const C.d(); /// 05: static type warning
+ final A x = const A(); //# 01: ok
+ final A x = const B(); //# 02: ok
+ final B x = const A(); //# 03: checked mode compile-time error
+ final B x = const C(); //# 04: checked mode compile-time error, static type warning
+ final B x = const C.d(); //# 05: static type warning
const Test1();
}
// Will be instantiated with U=A and V=B.
class Test2<U, V> {
- final U x = const A(); /// 06: static type warning
- final U x = const B(); /// 07: static type warning
- final V x = const A(); /// 08: checked mode compile-time error, static type warning
- final V x = const C(); /// 09: checked mode compile-time error, static type warning
- final V x = const C.d(); /// 10: static type warning
+ final U x = const A(); //# 06: static type warning
+ final U x = const B(); //# 07: static type warning
+ final V x = const A(); //# 08: checked mode compile-time error, static type warning
+ final V x = const C(); //# 09: checked mode compile-time error, static type warning
+ final V x = const C.d(); //# 10: static type warning
const Test2();
}
// Will be instantiated with U=A and V=B.
class Test3<U extends A, V extends B> {
- final U x = const A(); /// 11: ok
- final U x = const B(); /// 12: static type warning
- final V x = const A(); /// 13: checked mode compile-time error
- final V x = const C(); /// 14: checked mode compile-time error, static type warning
- final V x = const C.d(); /// 15: static type warning
+ final U x = const A(); //# 11: ok
+ final U x = const B(); //# 12: static type warning
+ final V x = const A(); //# 13: checked mode compile-time error
+ final V x = const C(); //# 14: checked mode compile-time error, static type warning
+ final V x = const C.d(); //# 15: static type warning
const Test3();
}
// Will be instantiated with U=A and V=B.
class Test4<U extends A, V extends A> {
- final U x = const A(); /// 16: ok
- final U x = const B(); /// 17: static type warning
- final V x = const A(); /// 18: checked mode compile-time error
- final V x = const C(); /// 19: checked mode compile-time error, static type warning
- final V x = const C.d(); /// 20: static type warning
+ final U x = const A(); //# 16: ok
+ final U x = const B(); //# 17: static type warning
+ final V x = const A(); //# 18: checked mode compile-time error
+ final V x = const C(); //# 19: checked mode compile-time error, static type warning
+ final V x = const C.d(); //# 20: static type warning
const Test4();
}
// Will be instantiated with U=dynamic and V=dynamic.
class Test5<U extends A, V extends B> {
- final U x = const A(); /// 21: ok
- final U x = const B(); /// 22: static type warning
- final V x = const A(); /// 23: ok
- final V x = const C(); /// 24: static type warning
- final V x = const C.d(); /// 25: static type warning
+ final U x = const A(); //# 21: ok
+ final U x = const B(); //# 22: static type warning
+ final V x = const A(); //# 23: ok
+ final V x = const C(); //# 24: static type warning
+ final V x = const C.d(); //# 25: static type warning
const Test5();
}

Powered by Google App Engine
This is Rietveld 408576698