Allow __construct to parse as name
commit2dbe26a907f14e6b78c79e8abf4d54b4a99b383e
authorVassil Mladenov <vmladenov@fb.com>
Thu, 8 Mar 2018 20:30:16 +0000 (8 12:30 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 8 Mar 2018 20:33:52 +0000 (8 12:33 -0800)
tree353963819c4c30f1208555d1feb77cdb196b8627
parent5c692418a61906828b3e138991af788603112349
Allow __construct to parse as name

Summary: Construct token was falling through to | _ case instead of parsing as a literal name

Reviewed By: jamesjwu

Differential Revision: D7077444

fbshipit-source-id: 176d03aabf229b65127cf47df01cc8248f3027e9
hphp/hack/src/parser/full_fidelity_declaration_parser.ml
hphp/test/hhcodegen_failing_tests_zend