mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 21:21:32 +00:00
9e3842d624
The method ObservatoryApplication._switchVM calls newVM.onDisconnect and requires the resulting future to be completed with a String. In normal operation, this is satisfied and we just need to change a few static types to enforce it. But when FakeVM was in use, the future was completed with `this`. Since ObservatoryApplication._switchVM is the only call site that cares what the future is completed with, it makes sense to just change all the types to Future<String> and modify FakeVM accordingly. Change-Id: Id94d27ac6a42f31ab19ccc9ad8dd270ecf4042b4 Reviewed-on: https://dart-review.googlesource.com/57400 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Paul Berry <paulberry@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
maintainers | ||
tests | ||
tool | ||
web | ||
.analysis_options | ||
.gitignore | ||
.packages | ||
BUILD.gn | ||
dart2js.packages | ||
HACKING.md | ||
observatory_sources.gni | ||
pubspec.lock | ||
update_sources.py |