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

Unified Diff: frog/value.dart

Issue 8586020: Treat assignment to final as an error (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: update status Created 9 years, 1 month 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: frog/value.dart
diff --git a/frog/value.dart b/frog/value.dart
index 4466f3f3fb9d916b9e998cb46e3b054e9703ad8a..5bd7095492d443b7df11f4d27592c2afc73ad65d 100644
--- a/frog/value.dart
+++ b/frog/value.dart
@@ -21,6 +21,9 @@ class Value {
/** Is this a pretend first-class type? */
bool isType = false;
+ /** Is this a final variable? */
+ bool isFinal = false;
jimhug 2011/11/17 15:36:15 Okay for now - but this is a reminder that I need
+
/** If we reference this value multiple times, do we need a temp? */
bool needsTemp;
« frog/tree.dart ('K') | « frog/tree.dart ('k') | tests/language/language.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698