Fix inout TAST check
commitbe27c18e639261784e151481686fea262507d959
authorScott Owens <sowens@meta.com>
Wed, 12 Oct 2022 09:27:04 +0000 (12 02:27 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 12 Oct 2022 09:27:04 +0000 (12 02:27 -0700)
tree3ef8071dbe40eb5e26f118f1d815eabf8d0a937f
parent4eb0185ceb9b576267647ad333ad581c30e2e5d7
Fix inout TAST check

Summary: This had been failing for any intersection type, but it should succeed if one of the component types is ok.

Reviewed By: andrewjkennedy

Differential Revision: D40272675

fbshipit-source-id: 492842cf3451ffd8985cbd290124f33cfacfc2eb
hphp/hack/src/typing/tast_check/callconv_check.ml