Switch statementnightly-2021.08.27
commit2e3e0065c1adcebcd05f9f1d35db8052a7de2bbb
authorJames Wu <jjwu@fb.com>
Fri, 27 Aug 2021 00:06:59 +0000 (26 17:06 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 27 Aug 2021 00:08:33 +0000 (26 17:08 -0700)
tree5d0cc8aa6ed8b89437a2a0be6babd49e89e0c1b5
parentd1467ded5e0aa3ca68bc050515d904ceb4a3a5ff
Switch statement

Summary: Handle switch statement flows checks

Reviewed By: oulgen

Differential Revision: D30231090

fbshipit-source-id: 9a4252234f620cda23293318700b4f6a28e6fae2
hphp/hack/src/parser/readonly_check.rs
hphp/test/slow/readonly/switch.php [new file with mode: 0644]
hphp/test/slow/readonly/switch.php.expectf [new file with mode: 0644]