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

Unified Diff: pkg/dartdoc/mirrors/dart2js_mirror.dart

Issue 10879003: Const variables handled as final (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comment shortened 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
Index: pkg/dartdoc/mirrors/dart2js_mirror.dart
diff --git a/pkg/dartdoc/mirrors/dart2js_mirror.dart b/pkg/dartdoc/mirrors/dart2js_mirror.dart
index edbbd328344d242e40362901397014c38cdb6fae..444a0e16212aa97b4c8f5bb7768c30b430f42bf5 100644
--- a/pkg/dartdoc/mirrors/dart2js_mirror.dart
+++ b/pkg/dartdoc/mirrors/dart2js_mirror.dart
@@ -1359,6 +1359,7 @@ class Dart2JsFieldMirror extends Dart2JsElementMirror
bool get isStatic() => _variable.modifiers.isStatic();
+ // TODO(johnniwinther): Should this return true on const as well?
bool get isFinal() => _variable.modifiers.isFinal();
TypeMirror get type() => _convertTypeToTypeMirror(system,

Powered by Google App Engine
This is Rietveld 408576698