dart-sdk/runtime/observatory
Paul Berry 9e3842d624 Observatory strong mode fix: fix type errors with onDisconnect.
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>
2018-05-30 20:50:24 +00:00
..
bin Observatory strong mode fixes: make callback parameter types more general. 2018-05-24 23:07:55 +00:00
lib Observatory strong mode fix: fix type errors with onDisconnect. 2018-05-30 20:50:24 +00:00
maintainers
tests Observatory strong mode fix: Pass through a type parameter in the implements clause for GuardedMock. 2018-05-29 21:12:06 +00:00
tool
web [observatory] Remove references to pkg:browser from web/index.html 2018-03-30 21:13:52 +00:00
.analysis_options Tweaks to the Observatory timeline landing page UI. 2018-02-06 16:39:23 +00:00
.gitignore
.packages Add memory-dashboard page to Observatory 2017-08-03 15:52:23 -07:00
BUILD.gn [Observatory] Refactor observatory build to prepare for Fuchsia prebuilt 2018-05-29 16:35:34 +00:00
dart2js.packages Build Observatory directly with dart2js 2018-04-24 21:56:09 +00:00
HACKING.md
observatory_sources.gni Add searchBar to VirtualCollections in Observatory 2017-09-07 20:54:44 +00:00
pubspec.lock Update observatory_pub_packages dependency 2017-07-31 13:03:35 -07:00
update_sources.py [infra] Translate _sources.gypi files to _sources.gni files 2017-08-14 21:54:36 -07:00