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

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

Issue 545323002: Add error condition INVALID_OVERLAY_CHANGE to analysis server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/test/mocks.dart ('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 e4459a31bc214087c3ebb111dd9d732488dc7943..80fc1901a52c8f556a18f00e076538da8ec28f21 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -1638,6 +1638,11 @@
a file content overlay or that has had its overlay removed via
<a href="#type_RemoveContentOverlay">RemoveContentOverlay</a>.
</p>
+ <p>
+ If any of the edits cannot be applied due to its offset or
+ length being out of range, an INVALID_OVERLAY_CHANGE error
+ will be reported.
+ </p>
<object>
<field name="type" value="change"><ref>String</ref></field>
<field name="edits">
@@ -2615,6 +2620,15 @@
</p>
</value>
<value>
+ <code>INVALID_OVERLAY_CHANGE</code>
+ <p>
+ An analysis.updateContent request contained a
+ ChangeContentOverlay object which can't be applied, due
+ to an edit having an offset or length that is out of
+ range.
+ </p>
+ </value>
+ <value>
<code>INVALID_PARAMETER</code>
<p>
One of the method parameters was invalid.
« no previous file with comments | « pkg/analysis_server/test/mocks.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698