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

Unified Diff: tests/language/top_level_in_initializer_test.dart

Issue 10837359: Language tests updated to use const instead of final. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 8 years, 4 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/top_level_file2.dart ('k') | tests/language/top_level_var_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/top_level_in_initializer_test.dart
diff --git a/tests/language/top_level_in_initializer_test.dart b/tests/language/top_level_in_initializer_test.dart
index e1d05abc5e7c301e0d1bcccfac6d5b0a33b431b7..4c379bf05ff02ceb71c7e6fa806e1da79f00d462 100644
--- a/tests/language/top_level_in_initializer_test.dart
+++ b/tests/language/top_level_in_initializer_test.dart
@@ -4,7 +4,7 @@
// Test that constructor initializers can access top level elements.
-final topLevelField = 1;
+const topLevelField = 1;
topLevelMethod() => 1;
get topLevelGetter { return 1; }
« no previous file with comments | « tests/language/top_level_file2.dart ('k') | tests/language/top_level_var_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698