Ensure resolved class type in Class_get in TAST
commit796557bf0b52296c967411acee6a5f05639c1b03
authorJake Bailey <jakebailey@fb.com>
Thu, 25 Jan 2018 05:01:42 +0000 (24 21:01 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 25 Jan 2018 05:05:57 +0000 (24 21:05 -0800)
treea7c59f08479d3187ed2d4c6b3f4a5778869d0580
parent22d77eb6d1ba8fa902f6485ef15f541247ebb75a
Ensure resolved class type in Class_get in TAST

Summary: Ensure that Class_get nodes always contain the resolved class type in their class_id by invoking `static_class_id` for uses of fake members.

Reviewed By: andrewjkennedy

Differential Revision: D6629603

fbshipit-source-id: 596ad901fd74a7f73804e13c14a6e67b2bf5f3f2
hphp/hack/src/typing/typing.ml
hphp/hack/test/tast/class_get.php.exp