Support constants of type varray_or_darray<_>
commita65c47da766bbbac0de390d54d97e737f097972b
authorSasha Manzyuk <manzyuk@fb.com>
Thu, 31 Oct 2019 15:32:22 +0000 (31 08:32 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 31 Oct 2019 15:34:32 +0000 (31 08:34 -0700)
treee86200b2f361d9d8b38c0ddac28d90ebb4e85305
parent1fa4d03968eb6a4398889966cb2b9c5f062fafae
Support constants of type varray_or_darray<_>

Summary: Currently the tool crashes with an `Unsupported` exception in `get_init_from_type` when the type is `Tvarray_or_darray _`.

Reviewed By: Wilfred

Differential Revision: D18244597

fbshipit-source-id: 2af05a993649c975e4a5c61864c0264b5e3469a3
hphp/hack/src/server/serverExtractStandalone.ml
hphp/hack/test/integration/data/dependencies/constants.php
hphp/hack/test/integration/data/dependencies/expected/__with_constants.php.exp