| Index: pkg/analysis_server/lib/src/search/search_domain.dart
|
| diff --git a/pkg/analysis_server/lib/src/search/search_domain.dart b/pkg/analysis_server/lib/src/search/search_domain.dart
|
| index 3f59feba2f4c7bef1e16f545b033f6487e84b15d..e80756ed21eddc07de8be897fcdf9d4e3d4bfb12 100644
|
| --- a/pkg/analysis_server/lib/src/search/search_domain.dart
|
| +++ b/pkg/analysis_server/lib/src/search/search_domain.dart
|
| @@ -80,7 +80,7 @@ class SearchDomainHandler implements RequestHandler {
|
| response.setResult(ID, searchId);
|
| if (elements.isNotEmpty) {
|
| var serverElement = new se.Element.fromEngine(elements[0]);
|
| - response.setResult(ELEMENT, serverElement);
|
| + response.setResult(ELEMENT, objectToJson(serverElement));
|
| }
|
| return response;
|
| }
|
| @@ -182,7 +182,7 @@ class SearchDomainHandler implements RequestHandler {
|
| Notification notification = new Notification(SEARCH_RESULTS);
|
| notification.setParameter(ID, searchId);
|
| notification.setParameter(LAST, isLast);
|
| - notification.setParameter(RESULTS, results);
|
| + notification.setParameter(RESULTS, objectToJson(results));
|
| server.sendNotification(notification);
|
| }
|
|
|
|
|