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

Unified Diff: pkg/analyzer/tool/summary/idl.dart

Issue 1524443002: Track implicit vs explicit types in summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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 | « pkg/analyzer/test/src/summary/summary_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/tool/summary/idl.dart
diff --git a/pkg/analyzer/tool/summary/idl.dart b/pkg/analyzer/tool/summary/idl.dart
index fa71eec04a011b7bccaa038da0bf8ef2c24cff67..92beaf020b7fa9d865bd886a4b7a8c535f0cf320 100644
--- a/pkg/analyzer/tool/summary/idl.dart
+++ b/pkg/analyzer/tool/summary/idl.dart
@@ -349,6 +349,12 @@ class UnlinkedExecutable {
* Indicates whether the executable is declared using the `factory` keyword.
*/
bool isFactory;
+
+ /**
+ * Indicates whether the executable lacks an explicit return type
+ * declaration. False for constructors and setters.
+ */
+ bool hasImplicitReturnType;
}
/**
@@ -533,6 +539,12 @@ class UnlinkedParam {
* declared using `this.` syntax).
*/
bool isInitializingFormal;
+
+ /**
+ * Indicates whether this parameter lacks an explicit type declaration.
+ * Always false for a function-typed parameter.
+ */
+ bool hasImplicitType;
}
/**
@@ -730,4 +742,9 @@ class UnlinkedVariable {
* Indicates whether the variable is declared using the `const` keyword.
*/
bool isConst;
+
+ /**
+ * Indicates whether this variable lacks an explicit type declaration.
+ */
+ bool hasImplicitType;
}
« no previous file with comments | « pkg/analyzer/test/src/summary/summary_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698