Use namingGlobal to check for types
commit4050f38746420e44e5c590374807d19774972ebe
authorJames Wu <jjwu@fb.com>
Fri, 1 Sep 2017 20:10:04 +0000 (1 13:10 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 1 Sep 2017 20:11:49 +0000 (1 13:11 -0700)
tree485091dfbab0e8fb399dde82c74c8b2e8e0d43e0
parentd02eea7f646e024cd7c0c49fc6e8b1dba09d92a2
Use namingGlobal to check for types

Summary: This lets us actually check if types are toplevel entities, allowing us to actually create dependencies.

Reviewed By: dabek

Differential Revision: D5654912

fbshipit-source-id: d1184d39e6517ef70127cbc0e7fb6321451ed7dc
hphp/hack/src/gen_deps/dependency_visitors.ml
hphp/hack/test/gen_deps/test_class.php.exp
hphp/hack/test/gen_deps/test_tconst.php [new file with mode: 0644]
hphp/hack/test/gen_deps/test_tconst.php.exp [new file with mode: 0644]