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

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

Issue 2167263002: fix #26141, add support for type arguments to constants (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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/idl.dart
diff --git a/pkg/analyzer/lib/src/summary/idl.dart b/pkg/analyzer/lib/src/summary/idl.dart
index 505ade8855078f11d43b869fa4e25538db8d00fb..fb02bc06b82a4ad95f734a2c7b6318e3fc0033dc 100644
--- a/pkg/analyzer/lib/src/summary/idl.dart
+++ b/pkg/analyzer/lib/src/summary/idl.dart
@@ -1719,6 +1719,20 @@ abstract class UnlinkedExecutable extends base.SummaryClass {
List<UnlinkedConstructorInitializer> get constantInitializers;
/**
+ * If a constant [UnlinkedExecutableKind.constructor], the field
Paul Berry 2016/07/21 20:42:14 It should not be necessary to change the summary f
Jennifer Messerly 2016/07/28 22:28:05 :D ... moar reverts
+ * initializers. Otherwise empty.
+ */
+ @Id(30)
+ List<UnlinkedVariableDeclaration> get fieldInitializers;
+
+ /**
+ * If a constant [UnlinkedExecutableKind.constructor], the default parameter
+ * initializers. Otherwise empty.
+ */
+ @Id(31)
+ List<UnlinkedDefaultFormalParameter> get parameterInitializers;
+
+ /**
* If [kind] is [UnlinkedExecutableKind.constructor] and [isConst] is `true`,
* a nonzero slot id which is unique within this compilation unit. If this id
* is found in [LinkedUnit.constCycles], then this constructor is part of a

Powered by Google App Engine
This is Rietveld 408576698