From 4b450cc985de4244f566cd4483c64179e473b970 Mon Sep 17 00:00:00 2001 From: Boshen <1430279+Boshen@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:35:31 +0000 Subject: [PATCH] chore(transformer): mark all `CompilerAssumptions` as not Implemented (#6984) --- .../src/compiler_assumptions.rs | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/crates/oxc_transformer/src/compiler_assumptions.rs b/crates/oxc_transformer/src/compiler_assumptions.rs index f58b9947f4d89..f37995fa930cd 100644 --- a/crates/oxc_transformer/src/compiler_assumptions.rs +++ b/crates/oxc_transformer/src/compiler_assumptions.rs @@ -9,49 +9,94 @@ use serde::Deserialize; #[serde(rename_all = "camelCase", deny_unknown_fields)] pub struct CompilerAssumptions { #[serde(default)] + #[deprecated = "Not Implemented"] pub array_like_is_iterable: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub constant_reexports: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub constant_super: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub enumerable_module_meta: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub ignore_function_length: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub ignore_to_primitive_hint: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub iterable_is_array: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub mutable_template_object: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub no_class_calls: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub no_document_all: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub no_incomplete_ns_import_detection: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub no_new_arrows: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub no_uninitialized_private_field_access: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub object_rest_no_symbols: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub private_fields_as_symbols: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub private_fields_as_properties: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub pure_getters: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub set_class_methods: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub set_computed_properties: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub set_public_class_fields: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub set_spread_properties: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub skip_for_of_iterator_closing: bool, + #[serde(default)] + #[deprecated = "Not Implemented"] pub super_is_callable_constructor: bool, }