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

Unified Diff: tests/language/type_parameter_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/type_literal_prefix_call_test.dart ('k') | tests/language/type_promotion_assign_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_parameter_test.dart
diff --git a/tests/language/type_parameter_test.dart b/tests/language/type_parameter_test.dart
index eb39d1bdf1994051c8e674c7b6a38fe5959b5f9d..1b91d0a8e4466bac6423a5028fd20b369759444a 100644
--- a/tests/language/type_parameter_test.dart
+++ b/tests/language/type_parameter_test.dart
@@ -17,28 +17,28 @@ class A<T> {
}
static
- T /// 01: static type warning, dynamic type error
+ T //# 01: static type warning, dynamic type error
staticMethod(
- T /// 02: static type warning, dynamic type error
+ T //# 02: static type warning, dynamic type error
a) {
final
- T /// 03: static type warning, dynamic type error
+ T //# 03: static type warning, dynamic type error
a = "not_null";
print(a);
return a;
}
static final
- T /// 04: static type warning, dynamic type error
+ T //# 04: static type warning, dynamic type error
staticFinalField = "not_null";
static const
- T /// 05: static type warning, checked mode compile-time error
+ T //# 05: static type warning, checked mode compile-time error
staticConstField = "not_null";
static not_null() => "not_null";
static final
- T /// 06: static type warning, dynamic type error
+ T //# 06: static type warning, dynamic type error
staticFinalField2 = not_null();
// Assigning null to a malformed type is not a dynamic error.
« no previous file with comments | « tests/language/type_literal_prefix_call_test.dart ('k') | tests/language/type_promotion_assign_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698