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

Unified Diff: tests/language/compile_time_constant_g_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_f_test.dart ('k') | tests/language/compile_time_constant_h_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_g_test.dart
diff --git a/tests/language/compile_time_constant_g_test.dart b/tests/language/compile_time_constant_g_test.dart
index 7aa241223901d93ac93100a37f12db116a1d3a03..469aa623aebad77b339e8f759ce266914abe108c 100644
--- a/tests/language/compile_time_constant_g_test.dart
+++ b/tests/language/compile_time_constant_g_test.dart
@@ -17,11 +17,11 @@ class B extends A {
const B.named2(x) : super.named2(x + 10);
}
-final b1 = const B(0);
-final b2 = const B.named_();
-final b3 = const B.named(1);
-final b4 = const B.named2_();
-final b5 = const B.named2(3);
+const b1 = const B(0);
+const b2 = const B.named_();
+const b3 = const B.named(1);
+const b4 = const B.named2_();
+const b5 = const B.named2(3);
main() {
Expect.equals(10, b1.x);
« no previous file with comments | « tests/language/compile_time_constant_f_test.dart ('k') | tests/language/compile_time_constant_h_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698