adding PU atom expressions id to the shared heap
commit2da7cf5345b35cd15a911975412058062044d684
authorVincent Siles <vsiles@fb.com>
Fri, 20 Sep 2019 11:07:24 +0000 (20 04:07 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 20 Sep 2019 11:09:24 +0000 (20 04:09 -0700)
treec5d5e0135d971e2048979efdb42e2d7ddfad43da
parent85765a0ba3319ec8a32957bb0728fbbcd4f14f65
adding PU atom expressions id to the shared heap

Summary:
Each PU atom declaration will provide some type and value expressions.
In order to check that the declarations are correctly formed, we need
to keep track of the value names too (we were only tracking the type names
and definitions)

Reviewed By: manzyuk

Differential Revision: D17497919

fbshipit-source-id: 56c6dbf04951065edb111a95b027a614f23a7f1a
hphp/hack/src/decl/decl.ml
hphp/hack/src/decl/decl_pos_utils.ml
hphp/hack/src/decl/decl_to_typing.ml
hphp/hack/src/decl/shallow_decl.ml
hphp/hack/src/decl/shallow_decl_defs.ml
hphp/hack/src/typing/typing_defs.ml