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

Unified Diff: pkg/analysis_server/test/integration/integration_test_methods.dart

Issue 484313002: Make search.findElementReferences.result.element field optional. (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/test/integration/integration_test_methods.dart
diff --git a/pkg/analysis_server/test/integration/integration_test_methods.dart b/pkg/analysis_server/test/integration/integration_test_methods.dart
index df4cbfa2ef107852f63b89bcbaa1a5b054de13bd..5603df52066c264f47913af46f2da86b733f7715 100644
--- a/pkg/analysis_server/test/integration/integration_test_methods.dart
+++ b/pkg/analysis_server/test/integration/integration_test_methods.dart
@@ -768,10 +768,13 @@ abstract class IntegrationTestMixin {
*
* The identifier used to associate results with this search request.
*
- * element ( Element )
+ * element ( optional Element )
*
* The element referenced or defined at the given offset and whose
* references will be returned in the search results.
+ *
+ * If no element was found at the given location, this field will be
+ * absent.
*/
Future sendSearchFindElementReferences(String file, int offset, bool includePotential, {bool checkTypes: true}) {
Map<String, dynamic> params = {};
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698