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

Unified Diff: frog/tree.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/tree.dart
diff --git a/frog/tree.dart b/frog/tree.dart
index dd846941282bb61cd899cf7705abdb868612c651..ac21d6bb3bb4a310c252c97f262c44e5324b294e 100644
--- a/frog/tree.dart
+++ b/frog/tree.dart
@@ -45,6 +45,8 @@ class TypeReference extends Node {
TypeReference(SourceSpan span, [this.type=null]): super(span) {}
visit(TreeVisitor visitor) => visitor.visitTypeReference(this);
+
+ bool get isFinal() => false;
jimhug 2011/11/17 15:36:15 You mean you're going to get the type system right
}
// TODO(jimhug): Clean-up and factor out of core.

Powered by Google App Engine
This is Rietveld 408576698