Add missing check for unsafe_rx
commitdbeeec1b7db616cf4f1d45c5b1926f309ba55337
authorFred Emmott <fe@fb.com>
Wed, 31 Oct 2018 19:18:10 +0000 (31 12:18 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 31 Oct 2018 19:21:23 +0000 (31 12:21 -0700)
tree7e6b6138e031ef445d1d38ccb698c8ff03f1da26
parentd7fa33206c88a44d56732e74c7ed09d9aa78e51a
Add missing check for unsafe_rx

Summary: fixes facebook/hhvm#8378

Reviewed By: vladima

Differential Revision: D12868386

fbshipit-source-id: b003c92b713c811b63920fc56cb25742041cce18
hphp/hack/src/typing/typing_subtype.ml
hphp/hack/src/typing/typing_unify.ml
hphp/hack/test/typecheck/reactive/unsafe/return-maybe-reactive.php [new file with mode: 0644]
hphp/hack/test/typecheck/reactive/unsafe/return-maybe-reactive.php.exp [new file with mode: 0644]