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

Unified Diff: pkg/analyzer/lib/src/summary/resynthesize.dart

Issue 1678753002: Summarize constructor initializers. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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/analyzer/lib/src/summary/resynthesize.dart
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
index 56102d890ce57ce3f3b7651cd3c0dd4a673f989f..0ab9299ec14bb679721022fd280b7780f82f00e9 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -432,6 +432,9 @@ class _ConstExprBuilder {
resynthesizer._buildStringLengthPropertyAccessorElement();
_push(AstFactory.propertyAccess(target, property));
break;
+ case UnlinkedConstOperation.pushConstructorParameter:
+ throw new UnimplementedError('$operation');
Paul Berry 2016/02/08 14:53:12 Nit: this should have a TODO comment.
scheglov 2016/02/08 16:29:51 Done.
+ break;
}
}
return stack.single;

Powered by Google App Engine
This is Rietveld 408576698