mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* test: correctly handle types option * refactor: map flow parser test options * chore: update flow parset test commit * fix: incorrect return type
32 KiB
32 KiB
Allowlist for build/flow/src/parser/test/flow
[!NOTE]> This file is automatically generated by
utils/parser-test-runner. Only single-line comments after the list item will be preserved.
15 invalid programs did not produce a parsing error
- JSX_invalid/migrated_0000.js
- arrow_function_invalid/migrated_0002.js
- class_method_kinds/polymorphic_getter.js
- class_properties/migrated_0026.js
- export_statements/invalid_export_enum_disabled.js
- for_await_loops/migrated_0000.js
- ts_syntax/invalid_alias_keyof.js
- ts_syntax/invalid_alias_never.js
- ts_syntax/invalid_alias_readonly.js
- ts_syntax/invalid_alias_undefined.js
- ts_syntax/invalid_alias_unknown.js
- ts_syntax/invalid_readonly_type.js
- types/aliases/invalid_keyword_symbol.js
- types/reserved/function.js
- types/typeof/with-targs-bad-newline.js
254 valid programs produced a parsing error
- ES6/modules/migrated_0020.js
- JSX/gt_at_start_of_child_text.js
- JSX/jsx_type_args_implicit.js
- JSX/rcurly_at_start_of_child_text.js
- abstract_class/abstract_method.js
- abstract_class/abstract_property.js
- abstract_class/basic.js
- abstract_class/declare_abstract_method.js
- abstract_class/declare_class.js
- abstract_class/declare_export_abstract_class.js
- abstract_class/protected_abstract_method.js
- abstract_class/protected_abstract_property.js
- abstract_class/public_abstract_method.js
- ambient_declarations/component_in_module.js
- ambient_declarations/component_in_namespace.js
- ambient_declarations/component_in_namespace_error.js
- ambient_declarations/function_no_semi_in_namespace.js
- ambient_declarations/function_no_semi_single_line_namespace.js
- ambient_declarations/getter_setter_in_namespace.js
- ambient_declarations/getter_setter_no_semi_in_namespace.js
- ambient_declarations/namespace.js
- ambient_declarations/restricted_names_in_module.js
- ambient_declarations/variable_in_module.js
- arrow_function/object_return_type.js
- assert_operator/lhs.js
- assert_operator/private.js
- async_await/migrated_0020.js
- async_await/migrated_0024.js
- async_await/migrated_0027.js
- call_properties_invalid/migrated_0000.js
- class_declare_method/basic.js
- class_declare_method/generic.js
- class_declare_method/mixed.js
- class_declare_method/overloads.js
- class_declare_method/static.js
- class_properties/migrated_0021.js
- class_properties/migrated_0029.js
- class_properties/migrated_0030.js
- comment_interning/class_method.js
- comment_interning/class_property.js
- comment_interning/declare_export_declaration.js
- comment_interning/declare_interface.js
- comment_interning/declare_type_alias.js
- comment_interning/decorator.js
- comment_interning/enum_member_init_comment_stripping.js
- comment_interning/function_declaration.js
- comment_interning/import.js
- comment_interning/interface.js
- comment_interning/object_type.js
- comment_interning/remove_type_trailing_comments.js
- comment_interning/super.js
- comment_interning/type_alias.js
- components/async_component.js
- components/async_hook.js
- components/component.js
- components/component_params.js
- components/component_params_as.js
- components/component_params_default.js
- components/component_params_rest.js
- components/component_type.js
- components/component_type_params.js
- components/component_type_paren.js
- components/declare_component.js
- components/declare_component_params_rest.js
- computed_keys/well_known_symbol_declare_class.js
- computed_keys/well_known_symbol_interface.js
- computed_keys/well_known_symbol_object.js
- decorators/migrated_0003.js
- decorators/migrated_0005.js
- enums/const-enum.js
- enums/declare-const-enum.js
- enums/declare-enum.js
- enums/declare-export-const-enum.js
- enums/enum-boolean-member-not-initialized-explicit.js
- enums/enum-boolean-member-not-initialized-implicit.js
- enums/enum-duplicate-member-name.js
- enums/enum-inconsistent-member-values-majority-defaulted.js
- enums/enum-inconsistent-member-values-mixed-initializers.js
- enums/enum-lower-member-name.js
- enums/enum-member-initializer-boolean-explicit-string.js
- enums/enum-member-initializer-literal-explicit-symbol.js
- enums/enum-member-initializer-number-explicit-boolean.js
- enums/enum-member-initializer-number-explicit-string.js
- enums/enum-member-initializer-string-explicit-boolean.js
- enums/enum-member-initializer-string-explicit-number.js
- enums/enum-number-member-not-initialized-explicit.js
- enums/enum-number-member-not-initialized-implicit.js
- enums/enum-string-literal-member-name.js
- enums/enum-string-member-inconsistently-initialized-majority-defaulted.js
- enums/enum-string-member-inconsistently-initialized-majority-initialized.js
- enums/enum-valid-bigint-explicit.js
- enums/enum-valid-bigint-implicit.js
- enums/enum-valid-number-negative-explicit.js
- enums/enum-valid-number-negative-implicit.js
- enums/export-const-enum.js
- enums/export-declare-const-enum.js
- export_assignment/export_assignment_expression.js
- export_assignment/export_assignment_identifier.js
- export_import_reserved_words/migrated_0003.js
- export_statements/export_specifier_await.js
- export_statements/export_specifier_reserved_alias.js
- export_statements/export_trailing_comma.js
- hook_syntax/declare_hook.js
- hook_syntax/hook_decl.js
- hook_syntax/hook_type.js
- import_equals_declaration/export_import_equals_require.js
- import_equals_declaration/export_import_type_equals_require.js
- import_equals_declaration/import_equals_qualified_name.js
- import_equals_declaration/import_equals_require.js
- import_equals_declaration/import_type_equals_require.js
- match/as-identifier.js
- match/export.js
- match/expression-colon.js
- match/expression-empty.js
- match/expression-guards.js
- match/expression-multiple-args.js
- match/expression-no-final-case-separator.js
- match/expression.js
- match/invalid-case-syntax.js
- match/pattern-array.js
- match/pattern-core.js
- match/pattern-instance.js
- match/pattern-leading-bar.js
- match/pattern-member.js
- match/pattern-object.js
- match/pattern-or-as.js
- match/statement-colon.js
- match/statement-comma-separator.js
- match/statement-empty.js
- match/statement-guards.js
- match/statement-multiple-args.js
- match/statement-nonblock-body.js
- match/statement.js
- records/declaration-basic.js
- records/declaration-comments.js
- records/declaration-export-default.js
- records/declaration-export-named.js
- records/declaration-full.js
- records/declaration-invalid-infix-equals.js
- records/declaration-invalid-optional.js
- records/declaration-invalid-semicolon-suffix.js
- records/declaration-invalid-variance.js
- records/declaration-literal-keys.js
- records/declaration-methods-basic.js
- records/declaration-methods-full.js
- records/declaration-special-case-props.js
- records/declaration-static-literal-keys.js
- records/declaration-static-props.js
- records/expression-basic.js
- records/expression-contexts.js
- records/expression-keys.js
- records/expression-multiline.js
- records/expression-shorthand.js
- records/expression-spread.js
- records/expression-typeargs.js
- ts_syntax/as.js
- ts_syntax/declare_class_accessibility.js
- ts_syntax/declare_mixin_extends.js
- ts_syntax/export_as_namespace.js
- ts_syntax/export_type_specifier.js
- ts_syntax/implements_dotted_path.js
- ts_syntax/in_out_variance.js
- ts_syntax/mapped_type_key_remapping.js
- ts_syntax/mapped_type_variance_op.js
- ts_syntax/optional_class_property.js
- ts_syntax/optional_indexer.js
- ts_syntax/optional_shorthand_method.js
- ts_syntax/optional_unlabeled_tuple_element.js
- ts_syntax/override.js
- ts_syntax/override_declare_class.js
- ts_syntax/parameter_properties.js
- ts_syntax/private.js
- ts_syntax/private_class_field.js
- ts_syntax/property_value_initializer.js
- ts_syntax/protected.js
- ts_syntax/public.js
- ts_syntax/readonly_type.js
- ts_syntax/readonly_type_precedence.js
- ts_syntax/readonly_variance.js
- ts_syntax/reserved_word_property_names.js
- ts_syntax/satisfies.js
- ts_syntax/template_literal_type.js
- ts_syntax/type_predicate_reserved.js
- ts_syntax/type_value_declaration_merging.js
- ts_syntax/typeof_import.js
- ts_syntax/typeof_this.js
- ts_syntax/underscore_type.js
- ts_syntax/unique_symbol.js
- type_guards/arrows.js
- type_guards/asserts_is.js
- type_guards/callback.js
- type_guards/class.js
- type_guards/comment_type.js
- type_guards/declare_functions.js
- type_guards/functions.js
- type_guards/implies_as_type_guard_type.js
- type_guards/interface.js
- type_guards/invalid/keyword_as_param_2.js
- type_guards/is_as_parameter.js
- type_guards/poly_guard.js
- type_guards/reserved_word_as_param.js
- type_guards/type_annotations.js
- types/conditional_types/passing.js
- types/declare_class/method_without_return_type.js
- types/declare_export/declare_export_namespace.js
- types/declare_export/declare_export_type_alias.js
- types/declare_export/var/const.js
- types/declare_export/var/let.js
- types/declare_module/enum.js
- types/declare_module_exports/migrated_0002.js
- types/declare_module_exports_invalid/migrated_0001.js
- types/declare_module_invalid/migrated_0002.js
- types/declare_module_invalid/migrated_0003.js
- types/declare_module_invalid/migrated_0004.js
- types/declare_module_with_exports/enum.js
- types/declare_namespace/empty.js
- types/declare_namespace/enum.js
- types/declare_namespace/global.js
- types/declare_namespace/import_type_in_namespace.js
- types/declare_namespace/multiple.js
- types/declare_namespace/unsupported-children.js
- types/declare_statements/decalre_let.js
- types/declare_statements/declare_const.js
- types/declare_statements/declare_var_literal_init.js
- types/declare_statements/declare_var_multiple.js
- types/declare_statements/declare_var_multiple_with_init.js
- types/export_declare/class.js
- types/export_declare/default_function.js
- types/export_declare/function.js
- types/export_declare/type.js
- types/export_declare/var.js
- types/import_type/import_type_basic.js
- types/import_types/namespace.js
- types/import_types/namespace_reserved_value.js
- types/mapped_types/minus_optional.js
- types/mapped_types/multiple_props.js
- types/mapped_types/optional.js
- types/mapped_types/optional_with_variance.js
- types/mapped_types/plain.js
- types/mapped_types/plus_optional.js
- types/mapped_types/variance.js
- types/opaque_aliases/valid/opaque_subtype.js
- types/render_types/renders_maybe.js
- types/render_types/renders_star.js
- types/tuples/inexact.js
- types/tuples/labeled.js
- types/tuples/optional.js
- types/tuples/spread.js
- types/tuples/variance.js
- types/type_params/class_const_params.js
- types/type_params/function_const_params.js
- types/type_params/type_const_params.js
- types/typeof/type-like-argument.js
- types/writeonly_variance/writeonly_variance.js