merge tco/po flag for enum classes
commit6591c648b10aa9900ea46d824f2b91b25b90b64b
authorVincent Siles <vsiles@fb.com>
Wed, 20 Jan 2021 13:42:06 +0000 (20 05:42 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 20 Jan 2021 13:45:45 +0000 (20 05:45 -0800)
treeca51b6ca1d27d7a86bff8c620c8c825091b9ba08
parentade56f5373bacff342dd6844975cb002824d0a46
merge tco/po flag for enum classes

Summary:
Merge the two flags into the parsing one: we want to control the syntax of
enum classes, there is nothing fancy on the type side so po_ makes more sense

Reviewed By: francesco-zappa-nardelli

Differential Revision: D25970119

fbshipit-source-id: e6233242bf40684d4baad135133b1d841f85bbcf
hphp/hack/src/hh_single_type_check.ml
hphp/hack/src/options/globalOptions.ml
hphp/hack/src/options/globalOptions.mli
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/server/serverConfig.ml
hphp/hack/src/typing/nast_check/enum_classes_check.ml [moved from hphp/hack/src/typing/tast_check/enum_classes_check.ml with 77% similarity]
hphp/hack/src/typing/nast_check/nast_check.ml
hphp/hack/src/typing/tast_check/tast_check.ml