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

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: 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 2f336a4528c1cef32962e0a062f60b2595480e35..ffb3b406c0b9f2a7332b2300f16162bcaaf5e4ec 100644
--- a/pkg/dartdoc/mirrors/dart2js_mirror.dart
+++ b/pkg/dartdoc/mirrors/dart2js_mirror.dart
@@ -1356,6 +1356,7 @@ class Dart2JsFieldMirror extends Dart2JsElementMirror
bool get isStatic() => _variable.modifiers.isStatic();
+ // TODO(johnniwinther): Should this return true on const as well?
ngeoffray 2012/08/22 14:24:23 Why don't you do what you did in the compiler with
Johnni Winther 2012/08/22 16:13:16 I need to coordinate with turnidge and gbracha.
bool get isFinal() => _variable.modifiers.isFinal();
TypeMirror get type() => _convertTypeToTypeMirror(system,

Powered by Google App Engine
This is Rietveld 408576698