TAST for Shapes special functions
commit90b622555ffa1db001c481db9cace9ba96c3ec95
authorJake Bailey <jakebailey@fb.com>
Fri, 30 Mar 2018 22:04:10 +0000 (30 15:04 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 30 Mar 2018 22:11:17 +0000 (30 15:11 -0700)
tree5a26480f804bd12c35c15dfa88204c8c9cfe5a7a
parent53b0d4cee76e53006bd223ab588448f864e80079
TAST for Shapes special functions

Summary:
Currently, invocations of the functions defined in Shapes.hhi are not represented in the TAST.

This change builds a `Call` node for the invocation by threading the typed class ID and argument lists we were already building into `make_call`.

Reviewed By: pittsw

Differential Revision: D7445182

fbshipit-source-id: a65849161883199d508abb276fb1f2c9c0a3024f
hphp/hack/src/typing/typing.ml
hphp/hack/test/tast/shapes_special_functions.php [new file with mode: 0644]
hphp/hack/test/tast/shapes_special_functions.php.exp [new file with mode: 0644]