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

Unified Diff: tests/language/compile_time_constant_d_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_c_test.dart ('k') | tests/language/compile_time_constant_e_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_d_test.dart
diff --git a/tests/language/compile_time_constant_d_test.dart b/tests/language/compile_time_constant_d_test.dart
index 9a3ea68e64a0f4f0c61c82d00f6dd1f65e71aef8..6695fbeb03b84163d72fee7d164e11bf04d90526 100644
--- a/tests/language/compile_time_constant_d_test.dart
+++ b/tests/language/compile_time_constant_d_test.dart
@@ -15,9 +15,9 @@ class A {
toString() => "A $x $y $z $t";
}
-final a1 = const A(99, 100);
-final a2 = const A.named(99, 100);
-final a3 = const A.named2(1, 2, 3, 4);
+const a1 = const A(99, 100);
+const a2 = const A.named(99, 100);
+const a3 = const A.named2(1, 2, 3, 4);
main() {
Expect.equals(3, a1.x);
« no previous file with comments | « tests/language/compile_time_constant_c_test.dart ('k') | tests/language/compile_time_constant_e_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698