Don't show HH\ on collection types
commit8a7372ea6a4ae035e8c22f2baf7fa75c1c079999
authorWilfred Hughes <wilfred@fb.com>
Fri, 28 Jan 2022 18:32:51 +0000 (28 10:32 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 28 Jan 2022 18:34:01 +0000 (28 10:34 -0800)
tree94861ff427f65126155e2e90d8234c1459fcf089
parent94d0840792ebd2d2aa51d39957b82913e65c419a
Don't show HH\ on collection types

Summary: Users generally write `Vector` rather than `HH\Vector` (this type is autoimported). Ensure hover types also use this shorter syntax.

Differential Revision: D33804256

fbshipit-source-id: 27887b54362148b61676ee26016c51fd543317f3
hphp/hack/src/server/serverHover.ml
hphp/hack/src/utils/core/utils.ml
hphp/hack/src/utils/core/utils.mli
hphp/hack/test/hover/collection.php [new file with mode: 0644]
hphp/hack/test/hover/collection.php.exp [new file with mode: 0644]
hphp/hack/test/integration_ml/test_coeffects.ml