Disable type constant enforcement
commitf598a1f4379490ac6a4b23ae87558ca3bd854ae5
authorScott Owens <sowens@meta.com>
Fri, 16 Dec 2022 18:06:58 +0000 (16 10:06 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 16 Dec 2022 18:06:58 +0000 (16 10:06 -0800)
treef1e34e04851751700a4078658f05dd54c555c379
parent11f1cce43a6f9482d9d37ba873499bde20c54983
Disable type constant enforcement

Summary: Disable default enforcement of type constants under implicit pessimisation, but keep an option to enable it

Reviewed By: andrewjkennedy

Differential Revision: D42099052

fbshipit-source-id: 6005be3eaa203db006997c8afa65e5015ff8f3f5
hphp/hack/src/decl/decl_enforceability.ml
hphp/hack/src/hh_single_type_check.ml
hphp/hack/src/options/typecheckerOptions.ml