Run readonly check only when unstable feature is on
commit3e412ef7bc63c5d7448beedab648b7b0fe129ac1
authorJames Wu <jjwu@fb.com>
Fri, 12 Feb 2021 20:29:05 +0000 (12 12:29 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 12 Feb 2021 20:31:41 +0000 (12 12:31 -0800)
treed43a11c21f4244be0e812ca1ec1e780fb8151333
parentf23999a71abf7742bec007519ff5b615c0c1d789
Run readonly check only when unstable feature is on

Summary: This only turns on the readonly tast check where it's necessary, at least for now.

Reviewed By: madgen, Wilfred

Differential Revision: D26426409

fbshipit-source-id: c201704eebce8dfb883162adfac8e3ff7c32bbe1
hphp/hack/src/naming/naming_special_names.ml
hphp/hack/src/options/globalOptions.ml
hphp/hack/src/options/globalOptions.mli
hphp/hack/src/options/typecheckerOptions.ml
hphp/hack/src/oxidized/gen/global_options.rs
hphp/hack/src/oxidized/manual/global_options_impl.rs
hphp/hack/src/oxidized_by_ref/gen/global_options.rs
hphp/hack/src/oxidized_by_ref/manual/global_options_impl.rs
hphp/hack/src/typing/tast_check/readonly_check.ml
hphp/hack/src/typing/typing.ml