Convert system to use Typing_deps dependencies
commitcfdad15fbbd630ad8500c5f41d204d8ade6904f0
authorJames Wu <jjwu@fb.com>
Tue, 5 Sep 2017 22:01:35 +0000 (5 15:01 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 5 Sep 2017 22:09:01 +0000 (5 15:09 -0700)
treed01a6f2744de427b581f230e08f415c12c4bb97a
parent216ca2834b68aa988fcf2025d8bdd35966b8f44b
Convert system to use Typing_deps dependencies

Summary:
This changes the system to use the same system as Typing_deps. This doesn't guarantee that we'll use Typing_deps to actually implement storing and USING the dependencies, but right now I need it to be consistent so I can compare test files to make sure we always return a superset of what our original dependency system returns.

This diff makes it so that hh_single_type_check --dump-toplevel-deps and --dump-bazooka-deps both return consistently formatted results.

Reviewed By: dabek

Differential Revision: D5729754

fbshipit-source-id: 344a1d2d6c654d8c95a916688ad06fdf9e3e39cb
hphp/hack/src/deps/typing_deps.ml
hphp/hack/src/deps/typing_deps.mli
hphp/hack/src/gen_deps/dependency_visitors.ml
hphp/hack/src/hh_single_type_check.ml
hphp/hack/test/gen_deps/test_class.php.exp
hphp/hack/test/gen_deps/test_const.php.exp
hphp/hack/test/gen_deps/test_namespaces.php.exp
hphp/hack/test/gen_deps/test_tconst.php.exp