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

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

Issue 456613004: Integration test search.getTypeHierarchy and make some minor fixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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/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 679f230d8c1ffee94a22b14451f4816ab441808d..746aad98a2a73b9a24abc33807f820c2e510905a 100644
--- a/pkg/analysis_server/tool/spec/spec_input.html
+++ b/pkg/analysis_server/tool/spec/spec_input.html
@@ -990,7 +990,7 @@
</field>
</params>
<result>
- <field name="hierarchyItems">
+ <field name="hierarchyItems" optional="true">
<list><ref>TypeHierarchyItem</ref></list>
<p>
A list of the types in the requested hierarchy. The
@@ -1000,6 +1000,12 @@
correspond to the integers used to reference supertype
and subtype items within the items.
</p>
+ <p>
+ This field will be absent if the code at the given file
+ and offset does not represent a type, or if the file has
+ not been sufficiently analyzed to allow a type hierarchy
+ to be produced.
+ </p>
</field>
</result>
</request>

Powered by Google App Engine
This is Rietveld 408576698