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

Unified Diff: tests/language/compile_time_constant_l_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_k_test.dart ('k') | tests/language/compile_time_constant_m_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_l_test.dart
diff --git a/tests/language/compile_time_constant_l_test.dart b/tests/language/compile_time_constant_l_test.dart
index 66be376d496c8c444680df6e113a6b8c8bdc258f..d8f8a8642c6bd5677bec7f91c9eaae47199dbb29 100644
--- a/tests/language/compile_time_constant_l_test.dart
+++ b/tests/language/compile_time_constant_l_test.dart
@@ -17,7 +17,7 @@ class C extends B {
final y;
}
-final v = const C(42);
+const v = const C(42);
main() {
Expect.equals(42, v.y);
« no previous file with comments | « tests/language/compile_time_constant_k_test.dart ('k') | tests/language/compile_time_constant_m_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698