9756ab92db
This reuses the existing code for child variables for building responses to `evaluate` so that we compute lengths for paging data. We have to copy them over from the variable to the EvaluateResponse because these are two unrelated types that happen to have the same fields for this data. Fixes https://github.com/Dart-Code/Dart-Code/issues/5532 Change-Id: I7ca4c522cdb27ce8dce3f7c3a78189417eb93bf1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/432941 Reviewed-by: Ben Konyi <bkonyi@google.com> Reviewed-by: Derek Xu <derekx@google.com> Commit-Queue: Derek Xu <derekx@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com>