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

Unified Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 1385523002: AnalysisError `hasFix` attr (Implements #23874). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Doc typo fix. Created 5 years, 2 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 | « pkg/analysis_server/tool/spec/generated/java/types/AnalysisError.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/spec_input.html
diff --git a/pkg/analysis_server/tool/spec/spec_input.html b/pkg/analysis_server/tool/spec/spec_input.html
index 06de8fff576dbd11d6bac9a0e1d997342cf4d93c..f058610d93d40dde95daa4e7d0f5bf96f105b091 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -6,7 +6,7 @@
</head>
<body>
<h1>Analysis Server API Specification</h1>
- <h1 style="color:#999999">Version <version>1.10.0</version></h1>
+ <h1 style="color:#999999">Version <version>1.11.0</version></h1>
<p>
This document contains a specification of the API provided by the
analysis server. The API in this document is currently under
@@ -2027,6 +2027,21 @@
message associated with the error code.
</p>
</field>
+ <field name="hasFix" optional="true">
+ <ref>bool</ref>
+ <p>
+ A hint to indicate to interested clients that this error has
+ an associated fix (or fixes). The absence of this field implies
+ there are not known to be fixes. Note that since the operation
+ to calculate whether fixes apply needs to be performant it is
+ possible that complicated tests will be skipped and a false
+ negative returned. For this reason, this attribute should be
+ treated as a "hint". Despite the possibility of false negatives,
+ no false positives should be returned. If a client sees this
+ flag set they can proceed with the confidence that there are in
+ fact associated fixes.
+ </p>
+ </field>
</object>
</type>
<type name="AnalysisErrorFixes">
« no previous file with comments | « pkg/analysis_server/tool/spec/generated/java/types/AnalysisError.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698