Add basic support for consts without type hints to the direct decl parser.
commit70705bac0ace70557a23822febc34ba5b0241318
authorJake Bailey (Hacklang) <jakebailey@fb.com>
Tue, 31 Mar 2020 23:43:29 +0000 (31 16:43 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 31 Mar 2020 23:57:06 +0000 (31 16:57 -0700)
tree647176fb3d207a3ecf8a708ce7dd2708843be1ac
parenta4f9bb9942a9ce9d1079db32dd87cb05068ed540
Add basic support for consts without type hints to the direct decl parser.

Reviewed By: Wilfred

Differential Revision: D20204134

fbshipit-source-id: 57849d9a4dba30c326b58780d72eed25c105322f
hphp/hack/src/decl/direct_decl_smart_constructors.rs
hphp/hack/test/decl/classes_inferred_constant_types.php [new file with mode: 0644]
hphp/hack/test/decl/classes_inferred_constant_types.php.exp [new file with mode: 0644]