Add support for extends dependencies
commit2eab4d42269df8323f04c5c719a4f16cf825c1fe
authorJames Wu <jjwu@fb.com>
Mon, 16 Oct 2017 19:18:27 +0000 (16 12:18 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 16 Oct 2017 19:49:00 +0000 (16 12:49 -0700)
tree4089e6138c032d8e68c4834d29c46e59f0c85097
parent094f187739a87e8721844e73d8c8745ab5bc237d
Add support for extends dependencies

Summary: This diff adds special Extends dependencies to the dependency visitor as their own type. Because we treat extends dependencies specially(in that they have to be transitively accumulated), we want them to be a different data type.

Reviewed By: alexchow

Differential Revision: D5777988

fbshipit-source-id: 361ba2a7efb55ff641b84e58ec4d5c307a9cabe0
hphp/hack/src/gen_deps/dependency_visitors.ml
hphp/hack/test/gen_deps/namespaces.php.exp
hphp/hack/test/gen_deps/requirements.php.exp
hphp/hack/test/gen_deps/tconst.php.exp
hphp/hack/test/gen_deps/test_class_const.php.exp