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

Unified Diff: tests/standalone/vmservice/field_script.dart

Issue 25873005: Compile error on const instance variables (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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
Index: tests/standalone/vmservice/field_script.dart
===================================================================
--- tests/standalone/vmservice/field_script.dart (revision 28233)
+++ tests/standalone/vmservice/field_script.dart (working copy)
@@ -19,7 +19,7 @@
final Float32List final_fixed_length_list;
final List fixed_length_array = new List(3);
num v;
- const c = 4;
+ final c = 4;
BadBanana() : final_fixed_length_list = new Float32List(1);
BadBanana.variable() : final_fixed_length_list = new Float32List(2);
}
« no previous file with comments | « tests/language/const_escape_frog_test.dart ('k') | tests/standalone/vmservice/isolate_class_field_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698