refactoring in Typing_union
commite3b7397551d6ff0ced68804d3ca7c033dab56857
authorCatherine Gasnier <catg@fb.com>
Fri, 8 Feb 2019 18:09:18 +0000 (8 10:09 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 8 Feb 2019 18:58:16 +0000 (8 10:58 -0800)
tree944604caddc070030b255e362c59d47c4092a928
parent913458541a26d903b2058f8d449622c219bb0e3a
refactoring in Typing_union

Summary:
Refactor some code into a `make_union` function.
Needed for a later diff.

Reviewed By: kmeht

Differential Revision: D14006966

fbshipit-source-id: bd361042885081986a1a220a78fdb3345a1e89bf
hphp/hack/src/typing/typing_union.ml