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

Unified Diff: pkg/docgen/lib/src/models/model_helpers.dart

Issue 1116083002: Add missing override of DeferredConstantExpression in docgen. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/lib/src/models/model_helpers.dart
diff --git a/pkg/docgen/lib/src/models/model_helpers.dart b/pkg/docgen/lib/src/models/model_helpers.dart
index 2a7ead3e932b8f94a08fbecf77f7172d3cf36565..816d4d39fd322db9a3829dbda467043d8089d964 100644
--- a/pkg/docgen/lib/src/models/model_helpers.dart
+++ b/pkg/docgen/lib/src/models/model_helpers.dart
@@ -172,6 +172,12 @@ class AnnotationCreator
AnnotationInfo context) {
return createAnnotation(exp.element, context);
}
+
+ @override
+ Annotation visitDeferred(DeferredConstantExpression exp,
+ AnnotationInfo context) {
+ return exp.expression.accept(this, context);
+ }
}
/// A declaration is private if itself is private, or the owner is private.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698