Don't use Aast.Any for typing errors
commit2deab81cd5598bd36a52733f4aa7cf0160c42c09
authorWilfred Hughes <wilfred@fb.com>
Tue, 27 Aug 2019 16:32:09 +0000 (27 09:32 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 27 Aug 2019 16:34:11 +0000 (27 09:34 -0700)
tree59f5ba4a0416ea349f76f5af3862c270d355dda9
parenta8f706f73e5b51049645819de5a497cd956efcfd
Don't use Aast.Any for typing errors

Summary:
Don't replace AAST nodes with `Aast.Any` when we encounter a typing error. Instead, return the AAST value with a type of `Tany` everywhere.

Ignore hack_lto which has been repeatedly OOMing.

Differential Revision: D16622235

fbshipit-source-id: 2ee75b14af472862128de820f763f5a2066f061e
hphp/hack/src/typing/typing.ml
hphp/hack/test/tast/re_prefixed_string/re_prefixed_string.php.exp