Fix Awaitable return types
commit3aad362432ccd5c5a5d55b396ce172eda2e3f1f0
authorScott Owens <sowens@meta.com>
Thu, 22 Sep 2022 13:05:55 +0000 (22 06:05 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 22 Sep 2022 13:05:55 +0000 (22 06:05 -0700)
tree777fe50ce312757f6ef152956e00003e1e45815f
parent9893a3da25d119e2e3c30bbd1de721dc9e232161
Fix Awaitable return types

Summary: hhvm enforces the type inside of the Awaitable of an async function, if it is enforceable.

Reviewed By: vassilmladenov

Differential Revision: D39576945

fbshipit-source-id: 879fce1ee30c08284bcaacd775550687e4abbe55
hphp/hack/src/decl/decl_enforceability.ml
hphp/hack/src/decl/decl_enforceability.mli