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

Unified Diff: tests/language/compile_time_constant_k_test.dart

Issue 10871071: - Change "static final" to "static const" in the tests/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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/isolate/timer_test.dart ('k') | tests/language/const_init_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/compile_time_constant_k_test.dart
===================================================================
--- tests/language/compile_time_constant_k_test.dart (revision 11349)
+++ tests/language/compile_time_constant_k_test.dart (working copy)
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-final x = const { 'a': 3, 'a': 4 };
-final y = const { 'a': 10, 'b': 11, 'a': 12, 'b': 13, 'a': 14 };
-final z = const { '__proto__': 496,
+const x = const { 'a': 3, 'a': 4 };
+const y = const { 'a': 10, 'b': 11, 'a': 12, 'b': 13, 'a': 14 };
+const z = const { '__proto__': 496,
'__proto__': 497,
'__proto__': 498,
'__proto__': 499 };
« no previous file with comments | « tests/isolate/timer_test.dart ('k') | tests/language/const_init_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698