Factor out exhaustive case analysis to find Tclass with a helper
commit7ad2518907ff963a9897c97b3d292d564bb342bf
authorAndrew Kennedy <akenn@fb.com>
Fri, 25 Sep 2020 09:54:13 +0000 (25 02:54 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 25 Sep 2020 09:56:30 +0000 (25 02:56 -0700)
treedd85ddbdac60b96c364aecd159c63b44e7438e2a
parentf8b86a9682408312db58f4cfcc5acad91df508a5
Factor out exhaustive case analysis to find Tclass with a helper

Summary: Factor out some explicit case analysis that simply picks off `Tclass`.

Reviewed By: vsiles

Differential Revision: D23904588

fbshipit-source-id: b0807178652b1ff605c84c66b81d9a38b243ccea
hphp/hack/src/typing/typing.ml
hphp/hack/src/typing/typing_defs.ml