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

Unified Diff: tests/language_strong/type_parameter_test.dart

Issue 2765693002: Update all tests (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/type_parameter_test.dart
diff --git a/tests/language_strong/type_parameter_test.dart b/tests/language_strong/type_parameter_test.dart
index eb39d1bdf1994051c8e674c7b6a38fe5959b5f9d..1b91d0a8e4466bac6423a5028fd20b369759444a 100644
--- a/tests/language_strong/type_parameter_test.dart
+++ b/tests/language_strong/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.

Powered by Google App Engine
This is Rietveld 408576698