Fix parent constructor call position in parent_construct_hook.
commit8aac2ed1b84a00497ba07425aee5ea99c1c44ba3
authorManuel Fahndrich <fahndrich@fb.com>
Thu, 13 Apr 2017 03:18:27 +0000 (12 20:18 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 13 Apr 2017 03:20:03 +0000 (12 20:20 -0700)
tree4b62474151f75aa217f59b1afaa9531cf39f911d
parentdddf2c875901c172d0db3725b383e067675dd002
Fix parent constructor call position in parent_construct_hook.

Summary:
Fix position in parent_construct_hook to pass in the callee position as is done in the remaining call hooks.

Facebook

This seems to be used only by Zoncolan. The position was always wrong, which means we never properly dealt with parent constructor calls in the past.

Differential Revision: D4871297

fbshipit-source-id: 066aaed9e1ba25af26fe2c5ee521395244a9bbb9
hphp/hack/src/typing/typing.ml