Delete provisional syntax for capabilities
commit5a5d2787039965fa12d36d30820a724a5c0f041d
authorVassil Mladenov <vmladenov@fb.com>
Mon, 14 Dec 2020 20:24:02 +0000 (14 12:24 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 14 Dec 2020 20:26:03 +0000 (14 12:26 -0800)
tree89f680f591894bc6dc388fd5e8d881a51374f00d
parent2e8733de9697f0616e121599777ef2625617e84f
Delete provisional syntax for capabilities

Summary: Delete old syntax because it blocks the cap -> ctxs codemod.

Reviewed By: DavidSnider

Differential Revision: D25513846

fbshipit-source-id: 09dbee7fde17476a12e47b051724d0a0a2ed1963
263 files changed:
hphp/hack/src/decl/direct_decl_smart_constructors.rs
hphp/hack/src/decl/direct_decl_smart_constructors_generated.rs
hphp/hack/src/facts/facts_smart_constructors.rs
hphp/hack/src/facts/facts_smart_constructors_generated.rs
hphp/hack/src/hackfmt/hack_format.ml
hphp/hack/src/parser/core/declaration_parser.rs
hphp/hack/src/parser/decl_mode_smart_constructors_generated.rs
hphp/hack/src/parser/flatten_smart_constructors.rs
hphp/hack/src/parser/full_fidelity_syntax.ml
hphp/hack/src/parser/full_fidelity_syntax_kind.ml
hphp/hack/src/parser/full_fidelity_syntax_type.ml
hphp/hack/src/parser/full_fidelity_validated_syntax.ml
hphp/hack/src/parser/js/full_fidelity_schema.json
hphp/hack/src/parser/lowerer/lowerer.rs
hphp/hack/src/parser/minimal_smart_constructors.rs
hphp/hack/src/parser/ocaml_syntax_generated.rs
hphp/hack/src/parser/positioned_smart_constructors.rs
hphp/hack/src/parser/rust_parser_errors.rs
hphp/hack/src/parser/schema/schema_definition.ml
hphp/hack/src/parser/smart_constructors_generated.rs
hphp/hack/src/parser/smart_constructors_wrappers.rs
hphp/hack/src/parser/syntax_by_ref/syntax_children_iterator_generated.rs
hphp/hack/src/parser/syntax_by_ref/syntax_impl_generated.rs
hphp/hack/src/parser/syntax_by_ref/syntax_type_impl_generated.rs
hphp/hack/src/parser/syntax_by_ref/syntax_variant_generated.rs
hphp/hack/src/parser/syntax_generated.rs
hphp/hack/src/parser/syntax_kind.rs
hphp/hack/src/parser/syntax_sig.ml
hphp/hack/src/parser/syntax_smart_constructors_generated.rs
hphp/hack/src/parser/syntax_type.rs
hphp/hack/src/parser/verify_smart_constructors_generated.rs
hphp/hack/test/enum_class/parsing/enum_class_definition.good.php.exp
hphp/hack/test/enum_class/parsing/enum_class_extension.good.php.exp
hphp/hack/test/full_fidelity/cases/atted_attribute_syntax/test_atted_attribute_syntax.php.json.exp
hphp/hack/test/full_fidelity/cases/atted_attribute_syntax/test_atted_edge_cases.php.json.exp
hphp/hack/test/full_fidelity/cases/atted_attribute_syntax/test_no_soft_typehints.php.json.exp
hphp/hack/test/full_fidelity/cases/await_as_an_expression/await_as_an_expression_assignment_inside_lambda.php.json.exp
hphp/hack/test/full_fidelity/cases/await_as_an_expression/await_as_an_expression_lambda.php.json.exp
hphp/hack/test/full_fidelity/cases/await_as_an_expression/await_as_an_expression_simple.php.json.exp
hphp/hack/test/full_fidelity/cases/await_as_an_expression/error/await_as_an_expression_invalid_location.php.json.exp
hphp/hack/test/full_fidelity/cases/await_as_an_expression/error/await_as_an_expression_reuse_lval_1.php.json.exp
hphp/hack/test/full_fidelity/cases/await_as_an_expression/error/await_as_an_expression_reuse_lval_2.php.json.exp
hphp/hack/test/full_fidelity/cases/await_as_an_expression/error/await_as_an_expression_reuse_lval_3.php.json.exp
hphp/hack/test/full_fidelity/cases/await_as_an_expression/error/await_as_an_expression_reuse_lval_4.php.json.exp
hphp/hack/test/full_fidelity/cases/await_new_precedence.php.json.exp
hphp/hack/test/full_fidelity/cases/await_old_precedence.php.json.exp
hphp/hack/test/full_fidelity/cases/byref-assignment/1.php.json.exp
hphp/hack/test/full_fidelity/cases/byref-assignment/2.php.json.exp
hphp/hack/test/full_fidelity/cases/byref-assignment/3.php.json.exp
hphp/hack/test/full_fidelity/cases/byref-assignment/4.php.json.exp
hphp/hack/test/full_fidelity/cases/byref-assignment/lvarvar.php.json.exp
hphp/hack/test/full_fidelity/cases/capabilities_provisional_syntax.php [deleted file]
hphp/hack/test/full_fidelity/cases/collection_initializers1.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers10.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers11.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers12.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers13.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers14.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers15.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers16.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers2.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers3.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers4.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers5.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers6.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers7.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers8.php.json.exp
hphp/hack/test/full_fidelity/cases/collection_initializers9.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/concurrent_complex_assign.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/concurrent_nested_with_async_closure_1.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/concurrent_nested_with_async_closure_2.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/concurrent_reuse_lval_1.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/concurrent_reuse_lval_2.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/concurrent_simple.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/concurrent_with_other_await.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_complex_lval.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_empty.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_nested_concurrent.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_nested_with_async_closure_1.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_no_await.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_no_compound.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_return.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_reuse_lval_1.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_reuse_lval_2.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_reuse_lval_4.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_reuse_lval_5.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_reuse_lval_6.php.json.exp
hphp/hack/test/full_fidelity/cases/concurrent/error/concurrent_single.php.json.exp
hphp/hack/test/full_fidelity/cases/const_expression_tree.php.json.exp
hphp/hack/test/full_fidelity/cases/context/test_extra_error_trivia.php.json.exp
hphp/hack/test/full_fidelity/cases/context/test_method_decl_extra_token.php.json.exp
hphp/hack/test/full_fidelity/cases/context/test_missing_foreach_value.php.json.exp
hphp/hack/test/full_fidelity/cases/context/test_nested_function.php.json.exp
hphp/hack/test/full_fidelity/cases/context/test_nested_function_lite.php.json.exp
hphp/hack/test/full_fidelity/cases/context/test_nested_incomplete_if.php.json.exp
hphp/hack/test/full_fidelity/cases/context/test_recovery_to_classish3.php.json.exp
hphp/hack/test/full_fidelity/cases/context/test_single_extra_token_recovery.php.json.exp
hphp/hack/test/full_fidelity/cases/empty_expression_illegal.php.json.exp
hphp/hack/test/full_fidelity/cases/empty_stdClass_prop.php.json.exp
hphp/hack/test/full_fidelity/cases/function_default_args/array_non_static.php.json.exp
hphp/hack/test/full_fidelity/cases/function_default_args/await_expression.php.json.exp
hphp/hack/test/full_fidelity/cases/function_default_args/call_in_static_vec.php.json.exp
hphp/hack/test/full_fidelity/cases/function_default_args/call_in_static_vec_like_array.php.json.exp
hphp/hack/test/full_fidelity/cases/function_default_args/func_arg.php.json.exp
hphp/hack/test/full_fidelity/cases/function_default_args/list_expression.php.json.exp
hphp/hack/test/full_fidelity/cases/function_default_args/list_non_static.php.json.exp
hphp/hack/test/full_fidelity/cases/function_default_args/tuple_as_constant.php.json.exp
hphp/hack/test/full_fidelity/cases/function_default_args/yield_expression.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/bad_parse1.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/bad_parse2.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/bad_parse3.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/bad_parse4.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/chained_class_get.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/chained_class_get_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/class_get_expr.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/class_get_expr_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/class_get_variable.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/class_meth_pointer.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/class_meth_pointer_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/class_static_variable.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/class_static_variable_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/double_function_pointer.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/empty_targs_function_call.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/function_call_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/function_call_with_targs.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/function_pointer_with_targ_with_attribute.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/inst_meth.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/inst_meth_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/named_function.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/named_function_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/obj_get_expr.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/obj_get_expr_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/parenthesized_pointer.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/static_class_static_variable.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/static_class_static_variable_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/string_pointer.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/unnamed_function.php.json.exp
hphp/hack/test/full_fidelity/cases/function_pointers/unnamed_function_with_targ.php.json.exp
hphp/hack/test/full_fidelity/cases/hh_parse/unterminated_fun_decl.php.errors.exp
hphp/hack/test/full_fidelity/cases/hh_parse/unterminated_fun_decl.php.json.exp
hphp/hack/test/full_fidelity/cases/higher_kinded_types_bad1.php.json.exp
hphp/hack/test/full_fidelity/cases/higher_kinded_types_bad2.php.json.exp
hphp/hack/test/full_fidelity/cases/higher_kinded_types_bad3.php.json.exp
hphp/hack/test/full_fidelity/cases/higher_kinded_types_bad4.php.json.exp
hphp/hack/test/full_fidelity/cases/higher_kinded_types_good.php.json.exp
hphp/hack/test/full_fidelity/cases/inout_in_new.php.json.exp
hphp/hack/test/full_fidelity/cases/instanceof2.php.json.exp
hphp/hack/test/full_fidelity/cases/invalid_modifiers_function.php.json.exp
hphp/hack/test/full_fidelity/cases/invalid_modifiers_method.php.json.exp
hphp/hack/test/full_fidelity/cases/keyword_as_function_allowed.php.json.exp
hphp/hack/test/full_fidelity/cases/keyword_as_function_unexpected.php.json.exp
hphp/hack/test/full_fidelity/cases/keyword_as_member.php.json.exp
hphp/hack/test/full_fidelity/cases/keyword_as_method.php.json.exp
hphp/hack/test/full_fidelity/cases/keyword_as_static_method.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/array_non_static.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/await_expression.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/call_in_static_vec.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/call_in_static_vec_like_array.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/default_borrowed_variable.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/default_local_variable.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/func_arg.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/list_expression.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/list_non_static.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/tuple_as_constant.php.json.exp
hphp/hack/test/full_fidelity/cases/lambda_default_args/yield_expression.php.json.exp
hphp/hack/test/full_fidelity/cases/legacy_attribute_syntax/no_legacy_attribute_syntax.php.json.exp
hphp/hack/test/full_fidelity/cases/legacy_soft_typehints/no_legacy_soft_typehints.php.json.exp
hphp/hack/test/full_fidelity/cases/local_with_type.php.json.exp
hphp/hack/test/full_fidelity/cases/lval_as_an_expression/error/lval_as_an_expression_simple_error.php.json.exp
hphp/hack/test/full_fidelity/cases/lval_as_an_expression/lval_as_an_expression_simple.php.json.exp
hphp/hack/test/full_fidelity/cases/method_dispatch_06.php.json.exp
hphp/hack/test/full_fidelity/cases/method_dispatch_07.php.json.exp
hphp/hack/test/full_fidelity/cases/method_dispatch_15.php.json.exp
hphp/hack/test/full_fidelity/cases/method_dispatch_16.php.json.exp
hphp/hack/test/full_fidelity/cases/methodish_trait_resolution.php.json.exp
hphp/hack/test/full_fidelity/cases/namespaces/preceding_backslash_name.php.json.exp
hphp/hack/test/full_fidelity/cases/namespaces/reserved_namespace_token.php.json.exp
hphp/hack/test/full_fidelity/cases/namespaces/reserved_namespace_token2.php.json.exp
hphp/hack/test/full_fidelity/cases/namespaces/trailing_backslashes.php.json.exp
hphp/hack/test/full_fidelity/cases/nested_expression_trees.php.json.exp
hphp/hack/test/full_fidelity/cases/node_lval_type.php.json.exp
hphp/hack/test/full_fidelity/cases/parameter_promotion.php.json.exp
hphp/hack/test/full_fidelity/cases/purity-v1/parse_multiple_rx+pure.php.json.exp
hphp/hack/test/full_fidelity/cases/reassign_this.php.json.exp
hphp/hack/test/full_fidelity/cases/reassign_this2.php.json.exp
hphp/hack/test/full_fidelity/cases/reference_array.php.json.exp
hphp/hack/test/full_fidelity/cases/reference_varray.php.json.exp
hphp/hack/test/full_fidelity/cases/superglobal-reference.php.json.exp
hphp/hack/test/full_fidelity/cases/test_abstract_final_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_abstract_methodish_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_array_expression.php.json.exp
hphp/hack/test/full_fidelity/cases/test_array_key_value_precedence.php.json.exp
hphp/hack/test/full_fidelity/cases/test_as_expression_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_async_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_atted_attributes_without_flag.php.json.exp
hphp/hack/test/full_fidelity/cases/test_attribute_spec.php.json.exp
hphp/hack/test/full_fidelity/cases/test_awaitable_creation.php.json.exp
hphp/hack/test/full_fidelity/cases/test_class_method_declaration.php.json.exp
hphp/hack/test/full_fidelity/cases/test_classish_inside_function_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_closure_type.php.json.exp
hphp/hack/test/full_fidelity/cases/test_conditional.php.json.exp
hphp/hack/test/full_fidelity/cases/test_constructor_destructor.php.json.exp
hphp/hack/test/full_fidelity/cases/test_correct_code1.php.json.exp
hphp/hack/test/full_fidelity/cases/test_default_param_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_dynamic_property.php.json.exp
hphp/hack/test/full_fidelity/cases/test_errors_array_type.php.json.exp
hphp/hack/test/full_fidelity/cases/test_errors_dynamic_method_call.php.json.exp
hphp/hack/test/full_fidelity/cases/test_errors_method.php.json.exp
hphp/hack/test/full_fidelity/cases/test_errors_not_strict.php.json.exp
hphp/hack/test/full_fidelity/cases/test_errors_statements.php.json.exp
hphp/hack/test/full_fidelity/cases/test_errors_strict.php.json.exp
hphp/hack/test/full_fidelity/cases/test_errors_variadic_param.php.json.exp
hphp/hack/test/full_fidelity/cases/test_errors_variadic_param_default.php.json.exp
hphp/hack/test/full_fidelity/cases/test_expression_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_expression_trees.php.json.exp
hphp/hack/test/full_fidelity/cases/test_for_statements.php.json.exp
hphp/hack/test/full_fidelity/cases/test_foreach_statements.php.json.exp
hphp/hack/test/full_fidelity/cases/test_function_call.php.json.exp
hphp/hack/test/full_fidelity/cases/test_incomplete_file.php.json.exp
hphp/hack/test/full_fidelity/cases/test_inout_params.php.json.exp
hphp/hack/test/full_fidelity/cases/test_inout_params_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_interface_method_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_is_expression_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_lambda_no_typehints_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_legal_php.php.json.exp
hphp/hack/test/full_fidelity/cases/test_like_types.php.json.exp
hphp/hack/test/full_fidelity/cases/test_list_expression.php.json.exp
hphp/hack/test/full_fidelity/cases/test_list_expression_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_literals.php.json.exp
hphp/hack/test/full_fidelity/cases/test_method_modifier_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_namespace.php.json.exp
hphp/hack/test/full_fidelity/cases/test_no_errors_strict.php.json.exp
hphp/hack/test/full_fidelity/cases/test_null_coalesce_assignment.php.json.exp
hphp/hack/test/full_fidelity/cases/test_php_blocks_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_prefixed_string.php.json.exp
hphp/hack/test/full_fidelity/cases/test_prefixed_string_errors_whitespace.php.json.exp
hphp/hack/test/full_fidelity/cases/test_reified_generic_attributes.php.json.exp
hphp/hack/test/full_fidelity/cases/test_reified_generics.php.json.exp
hphp/hack/test/full_fidelity/cases/test_simple.php.json.exp
hphp/hack/test/full_fidelity/cases/test_soft_attribute.php.json.exp
hphp/hack/test/full_fidelity/cases/test_spaces_preserved_in_string_containing_expression.php.json.exp
hphp/hack/test/full_fidelity/cases/test_splice.php.json.exp
hphp/hack/test/full_fidelity/cases/test_statement_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_statements.php.json.exp
hphp/hack/test/full_fidelity/cases/test_string_interpolation_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/test_trailing_commas.php.json.exp
hphp/hack/test/full_fidelity/cases/test_trivia.php.json.exp
hphp/hack/test/full_fidelity/cases/test_try_statement.php.json.exp
hphp/hack/test/full_fidelity/cases/test_tuple_type_keyword.php.json.exp
hphp/hack/test/full_fidelity/cases/test_types_type_const.php.json.exp
hphp/hack/test/full_fidelity/cases/test_using.php.json.exp
hphp/hack/test/full_fidelity/cases/test_using_bad.php.json.exp
hphp/hack/test/full_fidelity/cases/test_variadic_ref_decorators.php.json.exp
hphp/hack/test/full_fidelity/cases/test_variadic_type_hint.php.json.exp
hphp/hack/test/full_fidelity/cases/test_varray_darray_expressions.php.json.exp
hphp/hack/test/full_fidelity/cases/test_visibility_modifier_errors.php.json.exp
hphp/hack/test/full_fidelity/cases/this_in_static.php.json.exp
hphp/hack/test/nast/capabilities_provisional.php [deleted file]
hphp/hack/test/typecheck/coeffects/experimental_gating.php
hphp/hack/test/typecheck/coeffects/experimental_gating.php.exp
hphp/hack/test/typecheck/coeffects/function_provisional.php [deleted file]
hphp/hack/test/typecheck/coeffects/method_provisional.php [deleted file]
hphp/hack/test/typecheck/coeffects/rx_example_provisional.php [deleted file]