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

Unified Diff: tests/language/type_parameter_test.dart

Issue 637303005: Type check constant variable declarations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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/type_parameter_test.dart
diff --git a/tests/language/type_parameter_test.dart b/tests/language/type_parameter_test.dart
index 9493e22acab5f750e66b586933a002b6ac607c79..eb39d1bdf1994051c8e674c7b6a38fe5959b5f9d 100644
--- a/tests/language/type_parameter_test.dart
+++ b/tests/language/type_parameter_test.dart
@@ -33,7 +33,7 @@ class A<T> {
staticFinalField = "not_null";
static const
- T /// 05: static type warning, dynamic type error
+ T /// 05: static type warning, checked mode compile-time error
staticConstField = "not_null";
static not_null() => "not_null";
« pkg/analyzer/lib/src/generated/error.dart ('K') | « tests/language/language_analyzer2.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698