Fixed bug where if and else blocks were swapped.
commit41c2ab318080d657c4c4e092e9bc52468d41a58c
authorVarun Ramesh <varunramesh@fb.com>
Tue, 1 Aug 2017 16:50:34 +0000 (1 09:50 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 1 Aug 2017 16:55:15 +0000 (1 09:55 -0700)
tree22ade1021cc8ce20277e2fa751a86498ac617436
parent5c13347768853fea86c6d8b2fd3948e44fc0a7d7
Fixed bug where if and else blocks were swapped.

Summary: This is a simple fix for a typo that resulted in if and else blocks being swapped in the TAST.

Reviewed By: oulgen

Differential Revision: D5531098

fbshipit-source-id: 65e43354e760a882a949c80c33e697f1020a25fd
hphp/hack/src/typing/typing.ml