Add hhi defs for readonly reflection
commit21443ec266aee0ce9dfb9675b74bedc5aa2e94c9
authorJames Wu <jjwu@fb.com>
Thu, 11 Nov 2021 02:40:10 +0000 (10 18:40 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 11 Nov 2021 02:41:29 +0000 (10 18:41 -0800)
tree7af9e67ee6d00550d3987eaec7d9952ae0bff355
parente973891d2153159681eeef4e7470203ac0876018
Add hhi defs for readonly reflection

Summary:
Based on those made available by D32079586 (https://github.com/facebook/hhvm/commit/5585d4637f43f31f4851d32e700fa2031a3665cb)

Will land after D32079586 (https://github.com/facebook/hhvm/commit/5585d4637f43f31f4851d32e700fa2031a3665cb) makes it into prod

Reviewed By: viratyosin

Differential Revision: D32082313

fbshipit-source-id: 96c139288e0993ad5541de72e55125b8c91f0ee3
hphp/hack/hhi/reflection.hhi
hphp/hack/test/enum_class_label/typing/closure.php.exp
hphp/hack/test/enum_class_label/typing/closure.php.legacy_decl.exp [copied from hphp/hack/test/enum_class_label/typing/closure.php.exp with 95% similarity]
hphp/hack/test/typecheck/readonly/reflection.php [new file with mode: 0644]
hphp/hack/test/typecheck/readonly/reflection.php.exp [new file with mode: 0644]