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

Unified Diff: tests/language/canonical_const_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/call_through_null_getter_test.dart ('k') | tests/language/compile_time_constant2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/canonical_const_test.dart
diff --git a/tests/language/canonical_const_test.dart b/tests/language/canonical_const_test.dart
index 4fd1df8c5b8f836207239d9cbb4453e0cc0a2a4d..c10ce62b81cf025621faf71b4b3040d630ec0c69 100644
--- a/tests/language/canonical_const_test.dart
+++ b/tests/language/canonical_const_test.dart
@@ -4,8 +4,8 @@
// Check that initializers of static const fields are compile time constants.
class CanonicalConstTest {
- static final A = const C1();
- static final B = const C2();
+ static const A = const C1();
+ static const B = const C2();
static testMain() {
Expect.isTrue(null===null);
« no previous file with comments | « tests/language/call_through_null_getter_test.dart ('k') | tests/language/compile_time_constant2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698