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

Unified Diff: tests/language/compile_time_constant_b_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/compile_time_constant_a_test.dart ('k') | tests/language/compile_time_constant_c_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_b_test.dart
diff --git a/tests/language/compile_time_constant_b_test.dart b/tests/language/compile_time_constant_b_test.dart
index ecdfbd57d8d74c7edc7f6c6d45d13743bef6dc5d..ef4451cb316969604568ba7ff80ea8d8f5001544 100644
--- a/tests/language/compile_time_constant_b_test.dart
+++ b/tests/language/compile_time_constant_b_test.dart
@@ -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 m1 = const { '__proto__': 400 + 99 };
-final m2 = const { 'a': 499, 'b': 42 };
-final m3 = const { '__proto__': 499 };
+const m1 = const { '__proto__': 400 + 99 };
+const m2 = const { 'a': 499, 'b': 42 };
+const m3 = const { '__proto__': 499 };
bool isIllegalAccessException(o) => o is IllegalAccessException;
« no previous file with comments | « tests/language/compile_time_constant_a_test.dart ('k') | tests/language/compile_time_constant_c_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698