From 919d17fc5c4d6c13652cb1f14e2be8ce7c7b2811 Mon Sep 17 00:00:00 2001 From: Boshen <1430279+Boshen@users.noreply.github.com> Date: Sat, 7 Sep 2024 16:32:53 +0000 Subject: [PATCH] fix(transform_conformance): only print semantic mismatch errors when output is correct (#5589) closes #5166 Had to rerun for mismatch errors :-/ --- crates/oxc_transformer/src/options/babel.rs | 2 +- tasks/transform_conformance/babel.snap.md | 6081 +++++++----------- tasks/transform_conformance/oxc.snap.md | 1829 ++---- tasks/transform_conformance/src/driver.rs | 19 +- tasks/transform_conformance/src/lib.rs | 4 +- tasks/transform_conformance/src/test_case.rs | 98 +- 6 files changed, 3066 insertions(+), 4967 deletions(-) diff --git a/crates/oxc_transformer/src/options/babel.rs b/crates/oxc_transformer/src/options/babel.rs index 7616691515754..ce66fd62edf52 100644 --- a/crates/oxc_transformer/src/options/babel.rs +++ b/crates/oxc_transformer/src/options/babel.rs @@ -102,7 +102,7 @@ impl BabelOptions { } pub fn is_module(&self) -> bool { - self.source_type.as_ref().map_or(false, |s| matches!(s.as_str(), "module")) + self.source_type.as_ref().map_or(false, |s| s.as_str() == "module") } pub fn is_unambiguous(&self) -> bool { diff --git a/tasks/transform_conformance/babel.snap.md b/tasks/transform_conformance/babel.snap.md index 57d2f273d6249..93e742b19f543 100644 --- a/tasks/transform_conformance/babel.snap.md +++ b/tasks/transform_conformance/babel.snap.md @@ -1,24 +1,23 @@ commit: 3bcfee23 -Passed: 334/1021 +Passed: 316/1021 # All Passed: * babel-plugin-transform-optional-catch-binding -* babel-preset-react * babel-plugin-transform-react-display-name * babel-plugin-transform-react-jsx-self * babel-plugin-transform-react-jsx-source -# babel-preset-env (101/585) +# babel-preset-env (109/585) * .plugins-overlapping/chrome-49/input.js - +x Output mismatch * .plugins-overlapping/chrome-50/input.js - +x Output mismatch * .plugins-overlapping/chrome-54/input.js - +x Output mismatch * bugfixes/_esmodules/input.js Targets: The `esmodules` is not supported @@ -27,4886 +26,3487 @@ Targets: The `esmodules` is not supported Targets: The `esmodules` is not supported * bugfixes/edge-default-params-chrome-40/input.js - +x Output mismatch * bugfixes/edge-default-params-edge-14/input.js - +x Output mismatch * bugfixes/edge-default-params-edge-15/input.js - +x Output mismatch * bugfixes/edge-default-params-edge-17/input.js - +x Output mismatch * bugfixes/edge-default-params-edge-17-no-bugfixes/input.js - +x Output mismatch * bugfixes/edge-function-name-edge-14/input.js - +x Output mismatch * bugfixes/edge-function-name-edge-14-no-bugfixes/input.js - +x Output mismatch * bugfixes/edge-function-name-edge-15/input.js - +x Output mismatch * bugfixes/safari-block-scoping-safari-10/input.js - +x Output mismatch * bugfixes/safari-block-scoping-safari-10-no-bugfixes/input.js - +x Output mismatch * bugfixes/safari-block-scoping-safari-9/input.js - +x Output mismatch * bugfixes/safari-class-fields-safari-13/input.mjs - +x Output mismatch * bugfixes/safari-class-fields-safari-15/input.mjs - +x Output mismatch * bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15/input.js - +x Output mismatch * bugfixes/safari-id-destructuring-collision-in-function-expression-safari-15-no-bugfixes/input.js - +x Output mismatch * bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89/input.js - +x Output mismatch * bugfixes/v8-spread-parameters-in-optional-chaining-chrome-89-no-bugfixes/input.js - +x Output mismatch * bugfixes-always-enabled/class-in-computed-field-firefox-50/input.js - +x Output mismatch * bugfixes-always-enabled/class-in-computed-field-firefox-90/input.js - +x Output mismatch * bugfixes-always-enabled/static-class-fields-chrome-70/input.js - +x Output mismatch * bugfixes-always-enabled/static-class-fields-chrome-90/input.js - +x Output mismatch * bugfixes-always-enabled/static-class-fields-chrome-96/input.js - +x Output mismatch * bugfixes-always-enabled/static-class-fields-chrome-97/input.js - +x Output mismatch * corejs2-babel-7/entry-all/input.mjs - +x Output mismatch * corejs2-babel-7/entry-chrome-48/input.mjs - +x Output mismatch * corejs2-babel-7/entry-chrome-49/input.mjs - +x Output mismatch * corejs2-babel-7/entry-chrome-66/input.mjs - +x Output mismatch * corejs2-babel-7/entry-chrome-71/input.mjs - +x Output mismatch * corejs2-babel-7/entry-chromeandroid/input.mjs - +x Output mismatch * corejs2-babel-7/entry-core-js-main/input.mjs - +x Output mismatch * corejs2-babel-7/entry-core-js-main-require/input.mjs - +x Output mismatch * corejs2-babel-7/entry-electron/input.mjs - +x Output mismatch * corejs2-babel-7/entry-ie-11/input.mjs - +x Output mismatch * corejs2-babel-7/entry-ie-9/input.mjs - +x Output mismatch * corejs2-babel-7/entry-import/input.mjs - +x Output mismatch * corejs2-babel-7/entry-node/input.mjs - +x Output mismatch * corejs2-babel-7/entry-node-10.13/input.mjs - +x Output mismatch * corejs2-babel-7/entry-node-11/input.mjs - +x Output mismatch * corejs2-babel-7/entry-node-web/input.mjs - +x Output mismatch * corejs2-babel-7/entry-require/input.js - +x Output mismatch * corejs2-babel-7/entry-shippedProposals/input.js - +x Output mismatch * corejs2-babel-7/exclude-built-ins/input.mjs - +x Output mismatch * corejs2-babel-7/exclude-include/input.mjs - +x Output mismatch * corejs2-babel-7/exclude-regenerator/input.mjs - +x Output mismatch * corejs2-babel-7/force-all-transforms/input.mjs - +x Output mismatch * corejs2-babel-7/include-built-ins/input.mjs - +x Output mismatch * corejs2-babel-7/usage-all/input.mjs - +x Output mismatch * corejs2-babel-7/usage-browserslist-config-ignore/input.mjs Targets: The `esmodules` is not supported * corejs2-babel-7/usage-destructuring-assignment/input.mjs - +x Output mismatch * corejs2-babel-7/usage-destructuring-catch/input.mjs - +x Output mismatch * corejs2-babel-7/usage-destructuring-for-x/input.mjs - +x Output mismatch * corejs2-babel-7/usage-destructuring-params/input.mjs - +x Output mismatch * corejs2-babel-7/usage-destructuring-variable-declaration/input.mjs - +x Output mismatch * corejs2-babel-7/usage-evaluated-class-methods/input.mjs - +x Output mismatch * corejs2-babel-7/usage-evaluated-instance-methods/input.mjs - +x Output mismatch * corejs2-babel-7/usage-evaluated-not-confident/input.mjs - +x Output mismatch * corejs2-babel-7/usage-for-of/input.mjs - +x Output mismatch * corejs2-babel-7/usage-for-of-destructure-with/input.mjs - +x Output mismatch * corejs2-babel-7/usage-instance-methods/input.mjs - +x Output mismatch * corejs2-babel-7/usage-instance-methods-native-support/input.mjs - +x Output mismatch * corejs2-babel-7/usage-modules-transform/input.mjs - +x Output mismatch * corejs2-babel-7/usage-native-support/input.mjs - +x Output mismatch * corejs2-babel-7/usage-number-ie-11/input.mjs - +x Output mismatch * corejs2-babel-7/usage-promise-all/input.mjs - +x Output mismatch * corejs2-babel-7/usage-promise-finally/input.mjs - +x Output mismatch * corejs2-babel-7/usage-promise-race/input.mjs - +x Output mismatch * corejs2-babel-7/usage-regenerator-used-async/input.mjs - +x Output mismatch * corejs2-babel-7/usage-regenerator-used-generator/input.mjs - +x Output mismatch * corejs2-babel-7/usage-remove-babel-polyfill-import/input.mjs - +x Output mismatch * corejs2-babel-7/usage-shippedProposals/input.js - +x Output mismatch * corejs2-babel-7/usage-source-type-script/input.js - +x Output mismatch * corejs2-babel-7/usage-source-type-script-query/input.js - +x Output mismatch * corejs2-babel-7/usage-symbol-iterator/input.mjs - +x Output mismatch * corejs2-babel-7/usage-symbol-iterator-in/input.mjs - +x Output mismatch * corejs2-babel-7/usage-timers/input.mjs - +x Output mismatch * corejs2-babel-7/usage-typed-array/input.mjs - +x Output mismatch * corejs2-babel-7/usage-typed-array-static/input.mjs - +x Output mismatch * corejs2-babel-7/usage-yield-star/input.mjs - +x Output mismatch * corejs3/entry-all/input.mjs - +x Output mismatch * corejs3/entry-all-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-chrome-48/input.mjs - +x Output mismatch * corejs3/entry-chrome-49/input.mjs - +x Output mismatch * corejs3/entry-chrome-66/input.mjs - +x Output mismatch * corejs3/entry-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-chromeandroid/input.mjs - +x Output mismatch * corejs3/entry-electron/input.mjs - +x Output mismatch * corejs3/entry-entries-es-proposals-stage/input.mjs - +x Output mismatch * corejs3/entry-entries-es-proposals-stage-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-entries-features/input.mjs - +x Output mismatch * corejs3/entry-entries-features-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-entries-missed/input.mjs - +x Output mismatch * corejs3/entry-entries-mixed/input.mjs - +x Output mismatch * corejs3/entry-entries-mixed-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-entries-modules/input.mjs - +x Output mismatch * corejs3/entry-entries-modules-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-entries-proposals/input.mjs - +x Output mismatch * corejs3/entry-entries-proposals-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-entries-stable/input.mjs - +x Output mismatch * corejs3/entry-entries-stable-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-entries-stage/input.mjs - +x Output mismatch * corejs3/entry-entries-stage-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-entries-web/input.mjs - +x Output mismatch * corejs3/entry-entries-web-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-ie-11/input.mjs - +x Output mismatch * corejs3/entry-ie-9/input.mjs - +x Output mismatch * corejs3/entry-import/input.mjs - +x Output mismatch * corejs3/entry-node/input.mjs - +x Output mismatch * corejs3/entry-node-10.13/input.mjs - +x Output mismatch * corejs3/entry-node-11/input.mjs - +x Output mismatch * corejs3/entry-node-web/input.mjs - +x Output mismatch * corejs3/entry-normalization/input.mjs - +x Output mismatch * corejs3/entry-require/input.js - +x Output mismatch * corejs3/entry-require-all/input.js - +x Output mismatch * corejs3/entry-require-es-chrome-71/input.js - +x Output mismatch * corejs3/entry-require-es-proposals/input.js - +x Output mismatch * corejs3/entry-specified-imports/input.mjs - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["fromEntries", "reflect"] - | rebuilt : ScopeId(0): ["reflect"] - +x Output mismatch * corejs3/entry-stable/input.mjs - +x Output mismatch * corejs3/entry-stable-chrome-71/input.mjs - +x Output mismatch * corejs3/entry-stable-samsung-8.2/input.mjs - +x Output mismatch * corejs3/exclude-built-ins/input.mjs - +x Output mismatch * corejs3/exclude-include/input.mjs - +x Output mismatch * corejs3/force-all-transforms/input.mjs - +x Output mismatch * corejs3/include-built-ins/input.mjs - +x Output mismatch * corejs3/usage-all-proposals/input.mjs - +x Output mismatch * corejs3/usage-all-proposals-chrome-71/input.mjs - +x Output mismatch * corejs3/usage-browserslist-config-ignore/input.mjs Targets: The `esmodules` is not supported * corejs3/usage-determanated-instance-methods/input.mjs - +x Output mismatch * corejs3/usage-for-of-destructure-with/input.mjs - +x Output mismatch * corejs3/usage-instance-methods/input.mjs - +x Output mismatch * corejs3/usage-modules-transform/input.mjs - +x Output mismatch * corejs3/usage-number-ie-11/input.mjs - +x Output mismatch * corejs3/usage-object-destructuring/input.mjs - +x Output mismatch * corejs3/usage-object-destructuring-with-rest/input.mjs - +x Output mismatch * corejs3/usage-promise-all/input.mjs - +x Output mismatch * corejs3/usage-promise-finally/input.mjs - +x Output mismatch * corejs3/usage-promise-race/input.mjs - +x Output mismatch * corejs3/usage-regenerator-used-async-native-support/input.mjs - +x Output mismatch * corejs3/usage-shippedProposals/input.mjs - +x Output mismatch * corejs3/usage-source-type-script/input.js - +x Output mismatch * corejs3/usage-source-type-script-query/input.js - +x Output mismatch * corejs3/usage-static-methods/input.mjs - +x Output mismatch * corejs3/usage-timers/input.mjs - +x Output mismatch * corejs3/usage-typed-array/input.mjs - +x Output mismatch * corejs3/usage-typed-array-edge-13/input.mjs - +x Output mismatch * corejs3/usage-typed-array-static/input.mjs - +x Output mismatch * corejs3/usage-yield-star/input.mjs - +x Output mismatch * corejs3-babel-7/entry-all/input.mjs - +x Output mismatch * corejs3-babel-7/entry-all-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-chrome-48/input.mjs - +x Output mismatch * corejs3-babel-7/entry-chrome-49/input.mjs - +x Output mismatch * corejs3-babel-7/entry-chrome-66/input.mjs - +x Output mismatch * corejs3-babel-7/entry-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-chromeandroid/input.mjs - +x Output mismatch * corejs3-babel-7/entry-electron/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-es-proposals-stage/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-es-proposals-stage-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-features/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-features-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-missed/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-mixed/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-mixed-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-modules/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-modules-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-proposals/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-proposals-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-stable/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-stable-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-stage/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-stage-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-web/input.mjs - +x Output mismatch * corejs3-babel-7/entry-entries-web-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-ie-11/input.mjs - +x Output mismatch * corejs3-babel-7/entry-ie-9/input.mjs - +x Output mismatch * corejs3-babel-7/entry-import/input.mjs - +x Output mismatch * corejs3-babel-7/entry-node/input.mjs - +x Output mismatch * corejs3-babel-7/entry-node-10.13/input.mjs - +x Output mismatch * corejs3-babel-7/entry-node-11/input.mjs - +x Output mismatch * corejs3-babel-7/entry-node-web/input.mjs - +x Output mismatch * corejs3-babel-7/entry-normalization/input.mjs - +x Output mismatch * corejs3-babel-7/entry-require/input.js - +x Output mismatch * corejs3-babel-7/entry-require-all/input.js - +x Output mismatch * corejs3-babel-7/entry-require-es-chrome-71/input.js - +x Output mismatch * corejs3-babel-7/entry-require-es-proposals/input.js - +x Output mismatch * corejs3-babel-7/entry-specified-imports/input.mjs - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["fromEntries", "reflect"] - | rebuilt : ScopeId(0): ["reflect"] - +x Output mismatch * corejs3-babel-7/entry-stable/input.mjs - +x Output mismatch * corejs3-babel-7/entry-stable-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/entry-stable-samsung-8.2/input.mjs - +x Output mismatch * corejs3-babel-7/exclude/input.mjs - +x Output mismatch * corejs3-babel-7/exclude-built-ins/input.mjs - +x Output mismatch * corejs3-babel-7/exclude-include/input.mjs - +x Output mismatch * corejs3-babel-7/exclude-regenerator/input.mjs - +x Output mismatch * corejs3-babel-7/force-all-transforms/input.mjs - +x Output mismatch * corejs3-babel-7/include-built-ins/input.mjs - +x Output mismatch * corejs3-babel-7/usage-all/input.mjs - +x Output mismatch * corejs3-babel-7/usage-all-proposals/input.mjs - +x Output mismatch * corejs3-babel-7/usage-all-proposals-chrome-71/input.mjs - +x Output mismatch * corejs3-babel-7/usage-browserslist-config-ignore/input.mjs Targets: The `esmodules` is not supported * corejs3-babel-7/usage-built-in-from-global-object/input.mjs - +x Output mismatch * corejs3-babel-7/usage-destructuring-assignment/input.mjs - +x Output mismatch * corejs3-babel-7/usage-destructuring-catch/input.mjs - +x Output mismatch * corejs3-babel-7/usage-destructuring-for-x/input.mjs - +x Output mismatch * corejs3-babel-7/usage-destructuring-iife/input.mjs - +x Output mismatch * corejs3-babel-7/usage-destructuring-params/input.mjs - +x Output mismatch * corejs3-babel-7/usage-destructuring-variable-declaration/input.mjs - +x Output mismatch * corejs3-babel-7/usage-determanated-instance-methods/input.mjs - +x Output mismatch * corejs3-babel-7/usage-dynamic-import/input.mjs - +x Output mismatch * corejs3-babel-7/usage-evaluated-class-methods/input.mjs - +x Output mismatch * corejs3-babel-7/usage-evaluated-instance-methods/input.mjs - +x Output mismatch * corejs3-babel-7/usage-fetch/input.mjs - +x Output mismatch * corejs3-babel-7/usage-for-of/input.mjs - +x Output mismatch * corejs3-babel-7/usage-for-of-destructure-with/input.mjs - +x Output mismatch * corejs3-babel-7/usage-in/input.mjs - +x Output mismatch * corejs3-babel-7/usage-instance-methods/input.mjs - +x Output mismatch * corejs3-babel-7/usage-modules-transform/input.mjs - +x Output mismatch * corejs3-babel-7/usage-number-ie-11/input.mjs - +x Output mismatch * corejs3-babel-7/usage-object-destructuring/input.mjs - +x Output mismatch * corejs3-babel-7/usage-object-destructuring-with-rest/input.mjs - +x Output mismatch * corejs3-babel-7/usage-promise-all/input.mjs - +x Output mismatch * corejs3-babel-7/usage-promise-finally/input.mjs - +x Output mismatch * corejs3-babel-7/usage-promise-race/input.mjs - +x Output mismatch * corejs3-babel-7/usage-regenerator-used-async/input.mjs - +x Output mismatch * corejs3-babel-7/usage-regenerator-used-async-native-support/input.mjs - +x Output mismatch * corejs3-babel-7/usage-regenerator-used-generator/input.mjs - +x Output mismatch * corejs3-babel-7/usage-shippedProposals/input.mjs - +x Output mismatch * corejs3-babel-7/usage-source-type-script/input.js - +x Output mismatch * corejs3-babel-7/usage-source-type-script-query/input.js - +x Output mismatch * corejs3-babel-7/usage-spread/input.mjs - +x Output mismatch * corejs3-babel-7/usage-static-methods/input.mjs - +x Output mismatch * corejs3-babel-7/usage-symbol-iterator/input.mjs - +x Output mismatch * corejs3-babel-7/usage-symbol-iterator-in/input.mjs - +x Output mismatch * corejs3-babel-7/usage-timers/input.mjs - +x Output mismatch * corejs3-babel-7/usage-typed-array/input.mjs - +x Output mismatch * corejs3-babel-7/usage-typed-array-edge-13/input.mjs - +x Output mismatch * corejs3-babel-7/usage-typed-array-static/input.mjs - +x Output mismatch * corejs3-babel-7/usage-yield-star/input.mjs - +x Output mismatch * debug/browserslist-env/input.mjs - +x Output mismatch * debug/browserslists-android-3/input.mjs - +x Output mismatch * debug/browserslists-defaults/input.mjs - +x Output mismatch * debug/browserslists-defaults-not-ie/input.mjs - +x Output mismatch * debug/browserslists-last-2-versions-not-ie/input.mjs - +x Output mismatch * debug/corejs-without-usebuiltins/input.mjs - +x Output mismatch * debug/entry-corejs3/input.mjs - +x Output mismatch * debug/entry-corejs3-all/input.mjs - +x Output mismatch * debug/entry-corejs3-all-chrome-71/input.mjs - +x Output mismatch * debug/entry-corejs3-android/input.mjs - +x Output mismatch * debug/entry-corejs3-babel-polyfill/input.mjs - +x Output mismatch * debug/entry-corejs3-electron/input.mjs - +x Output mismatch * debug/entry-corejs3-es/input.mjs - +x Output mismatch * debug/entry-corejs3-es-chrome-71/input.mjs - +x Output mismatch * debug/entry-corejs3-es-proposals/input.mjs - +x Output mismatch * debug/entry-corejs3-es-proposals-chrome-71/input.mjs - +x Output mismatch * debug/entry-corejs3-force-all-transforms/input.mjs - +x Output mismatch * debug/entry-corejs3-no-import/input.js - +x Output mismatch * debug/entry-corejs3-proposals/input.mjs - +x Output mismatch * debug/entry-corejs3-proposals-chrome-71/input.mjs - +x Output mismatch * debug/entry-corejs3-runtime-only/input.mjs - +x Output mismatch * debug/entry-corejs3-runtime-only-chrome-71/input.mjs - +x Output mismatch * debug/entry-corejs3-specific-entries/input.mjs - +x Output mismatch * debug/entry-corejs3-specific-entries-chrome-71/input.mjs - +x Output mismatch * debug/entry-corejs3-specific-targets/input.mjs - +x Output mismatch * debug/entry-corejs3-stable/input.mjs - +x Output mismatch * debug/entry-corejs3-stable-chrome-71/input.mjs - +x Output mismatch * debug/entry-corejs3-stable-samsung-8.2/input.mjs - +x Output mismatch * debug/entry-corejs3-stage/input.mjs - +x Output mismatch * debug/entry-corejs3-stage-chrome-71/input.mjs - - -* debug/entry-corejs3-versions-decimals/input.mjs - - -* debug/entry-corejs3-versions-strings/input.mjs - +x Output mismatch * debug/entry-corejs3-versions-strings-minor-3.0/input.mjs - +x Output mismatch * debug/entry-corejs3-versions-strings-minor-3.1/input.mjs - +x Output mismatch * debug/entry-corejs3-web/input.mjs - +x Output mismatch * debug/entry-corejs3-web-chrome-71/input.mjs - - -* debug/entry-no-corejs/input.mjs - - -* debug/entry-no-corejs-no-import/input.js - +x Output mismatch * debug/plugins-only/input.mjs - +x Output mismatch * debug/shippedProposals-chrome-80/input.mjs - +x Output mismatch * debug/shippedProposals-chrome-84/input.mjs - +x Output mismatch * debug/top-level-targets/input.mjs - +x Output mismatch * debug/top-level-targets-shadowed/input.mjs - +x Output mismatch * debug/usage-corejs3-1/input.js - +x Output mismatch * debug/usage-corejs3-2/input.js - +x Output mismatch * debug/usage-corejs3-chrome-71-1/input.js - +x Output mismatch * debug/usage-corejs3-chrome-71-2/input.js - +x Output mismatch * debug/usage-corejs3-none-1/input.js - +x Output mismatch * debug/usage-corejs3-none-2/input.js - +x Output mismatch * debug/usage-corejs3-proposals-1/input.js - +x Output mismatch * debug/usage-corejs3-proposals-2/input.js - +x Output mismatch * debug/usage-corejs3-proposals-chrome-71-1/input.js - +x Output mismatch * debug/usage-corejs3-proposals-chrome-71-2/input.js - +x Output mismatch * debug/usage-corejs3-shippedProposals-1/input.js - +x Output mismatch * debug/usage-corejs3-shippedProposals-2/input.js - +x Output mismatch * debug/usage-corejs3-versions-strings-minor-3.0-1/input.js - +x Output mismatch * debug/usage-corejs3-versions-strings-minor-3.0-2/input.js - +x Output mismatch * debug/usage-corejs3-versions-strings-minor-3.1-1/input.js - +x Output mismatch * debug/usage-corejs3-versions-strings-minor-3.1-2/input.js - +x Output mismatch * debug/usage-corejs3-with-import/input.mjs - - -* debug/usage-no-corejs/input.js - - -* debug/usage-no-corejs-none/input.js - +x Output mismatch * debug-babel-7/browserslists-android-3/input.mjs - +x Output mismatch * debug-babel-7/browserslists-defaults/input.mjs - +x Output mismatch * debug-babel-7/browserslists-defaults-not-ie/input.mjs - +x Output mismatch * debug-babel-7/browserslists-last-2-versions-not-ie/input.mjs - +x Output mismatch * debug-babel-7/corejs-without-usebuiltins/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-android/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-electron/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-force-all-transforms/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-no-import/input.js - +x Output mismatch * debug-babel-7/entry-corejs2-proposals/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-proposals-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-shippedProposals/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-shippedProposals-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-specific-targets/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-versions-decimals/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs2-versions-strings/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-all/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-all-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-android/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-babel-polyfill/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-electron/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-es/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-es-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-es-proposals/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-es-proposals-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-force-all-transforms/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-no-import/input.js - +x Output mismatch * debug-babel-7/entry-corejs3-proposals/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-proposals-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-runtime-only/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-runtime-only-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-specific-entries/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-specific-entries-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-specific-targets/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-stable/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-stable-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-stable-samsung-8.2/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-stage/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-stage-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-versions-decimals/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-versions-strings/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-versions-strings-minor-3.0/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-versions-strings-minor-3.1/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-web/input.mjs - +x Output mismatch * debug-babel-7/entry-corejs3-web-chrome-71/input.mjs - +x Output mismatch * debug-babel-7/entry-no-corejs/input.mjs - +x Output mismatch * debug-babel-7/entry-no-corejs-no-import/input.js - +x Output mismatch * debug-babel-7/entry-no-corejs-shippedProposals/input.mjs - +x Output mismatch * debug-babel-7/plugins-only/input.mjs - +x Output mismatch * debug-babel-7/shippedProposals-chrome-80/input.mjs - +x Output mismatch * debug-babel-7/shippedProposals-chrome-84/input.mjs - +x Output mismatch * debug-babel-7/top-level-targets/input.mjs - +x Output mismatch * debug-babel-7/top-level-targets-shadowed/input.mjs - +x Output mismatch * debug-babel-7/usage-corejs2-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-chrome-71-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-chrome-71-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-none-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-none-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-proposals-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-proposals-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-proposals-chrome-71-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-proposals-chrome-71-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-shippedProposals-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-shippedProposals-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs2-with-import/input.mjs - +x Output mismatch * debug-babel-7/usage-corejs3-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-chrome-71-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-chrome-71-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-none-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-none-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-proposals-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-proposals-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-proposals-chrome-71-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-proposals-chrome-71-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-shippedProposals-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-shippedProposals-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-versions-strings-minor-3.0-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-versions-strings-minor-3.0-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-versions-strings-minor-3.1-1/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-versions-strings-minor-3.1-2/input.js - +x Output mismatch * debug-babel-7/usage-corejs3-with-import/input.mjs - +x Output mismatch * debug-babel-7/usage-no-corejs-1/input.js - +x Output mismatch * debug-babel-7/usage-no-corejs-2/input.js - +x Output mismatch * debug-babel-7/usage-no-corejs-none-1/input.js - +x Output mismatch * debug-babel-7/usage-no-corejs-none-2/input.js - +x Output mismatch * dynamic-import/auto-esm-unsupported-import-unsupported/input.mjs - +x Output mismatch * dynamic-import/modules-amd/input.js - +x Output mismatch * dynamic-import/modules-cjs/input.mjs - +x Output mismatch * dynamic-import/modules-systemjs/input.mjs - +x Output mismatch * dynamic-import/modules-umd/input.mjs - +x Output mismatch * dynamic-import-babel-7/auto-esm-unsupported-import-unsupported/input.mjs - +x Output mismatch * dynamic-import-babel-7/modules-amd/input.js - +x Output mismatch * dynamic-import-babel-7/modules-cjs/input.mjs - +x Output mismatch * dynamic-import-babel-7/modules-systemjs/input.mjs - +x Output mismatch * dynamic-import-babel-7/modules-umd/input.mjs - +x Output mismatch * export-namespace-from/auto-esm-not-supported/input.mjs - +x Output mismatch * export-namespace-from/auto-export-namespace-not-supported/input.mjs - +x Output mismatch * export-namespace-from/false-export-namespace-not-supported/input.mjs - +x Output mismatch * export-namespace-from/false-export-namespace-not-supported-caller-supported/input.mjs - +x Output mismatch * modules/auto-cjs/input.mjs - +x Output mismatch * modules/auto-unknown/input.mjs - +x Output mismatch * modules/modules-cjs/input.mjs - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["a"] - | rebuilt : ScopeId(0): [] - +x Output mismatch * modules/modules-commonjs/input.mjs - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["a"] - | rebuilt : ScopeId(0): [] - +x Output mismatch * modules/modules-false/input.mjs - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["a"] - | rebuilt : ScopeId(0): [] - +x Output mismatch * modules/modules-systemjs/input.mjs - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["a"] - | rebuilt : ScopeId(0): [] - +x Output mismatch * modules/modules-umd/input.mjs - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["a"] - | rebuilt : ScopeId(0): [] - +x Output mismatch * plugins-integration/block-scoping-inside-generator/input.js - +x Output mismatch * plugins-integration/class-arrow-super-tagged-expr/input.js - +x Output mismatch * plugins-integration/class-features-node-12/input.js - +x Output mismatch * plugins-integration/for-of-array-block-scoping/input.js - +x Output mismatch * plugins-integration/for-of-array-block-scoping-2/input.js - +x Output mismatch * plugins-integration/issue-10662/input.mjs - +x Output mismatch * plugins-integration/issue-11278/input.mjs - +x Output mismatch * plugins-integration/issue-15012/input.js - +x Output mismatch * plugins-integration/issue-15170/input.js - +x Output mismatch * plugins-integration/issue-16155/input.mjs - +x Output mismatch * plugins-integration/issue-7527/input.mjs - +x Output mismatch * plugins-integration/issue-9935/input.js - +x Output mismatch * plugins-integration/regression-2892/input.mjs - +x Output mismatch * plugins-integration/regression-4855/input.js - +x Output mismatch * plugins-integration/spread-super-firefox-40/input.js - +x Output mismatch * preset-options/browserslist-config-ignore-config-with-false/input.mjs - +x Output mismatch * preset-options/browserslist-config-ignore-package-with-false/input.mjs - +x Output mismatch * preset-options/browserslist-defaults/input.mjs - +x Output mismatch * preset-options/browserslist-defaults-not-ie/input.mjs Targets: node `current` is not supported * preset-options/deno-1_0/input.mjs - +x Output mismatch * preset-options/destructuring-edge/input.js - +x Output mismatch * preset-options/duplicate-named-capturing-groups-regex-chrome-123/input.js - +x Output mismatch * preset-options/empty-options/input.mjs - +x Output mismatch * preset-options/esmodules-async-functions/input.mjs Targets: The `esmodules` is not supported * preset-options/include/input.mjs - +x Output mismatch * preset-options/include-scoped/input.mjs - +x Output mismatch * preset-options/ios-6/input.mjs - +x Output mismatch * preset-options/no-options/input.mjs - - -* preset-options/removed-loose/input.js - - -* preset-options/removed-spec/input.js - +x Output mismatch * preset-options/reserved-keys-ie8/input.mjs - +x Output mismatch * preset-options/reserved-names-ie8/input.mjs - +x Output mismatch * preset-options/rhino-1_7_13/input.mjs - +x Output mismatch * preset-options/safari-10_3-block-scoped/input.js - +x Output mismatch * preset-options/safari-tagged-template-literals/input.js - +x Output mismatch * preset-options/safari-tp/input.js failed to resolve query: failed to parse the rest of input: ...'' * preset-options/unicode-property-regex-chrome-49/input.js - +x Output mismatch * preset-options/unicode-sets-regex-chrome-111/input.js - +x Output mismatch * preset-options-babel-7/browserslist-config-ignore-config-with-false/input.mjs - +x Output mismatch * preset-options-babel-7/browserslist-config-ignore-package-with-false/input.mjs - +x Output mismatch * preset-options-babel-7/browserslist-defaults/input.mjs - +x Output mismatch * preset-options-babel-7/browserslist-defaults-not-ie/input.mjs Targets: node `current` is not supported * preset-options-babel-7/deno-1_0/input.mjs - +x Output mismatch * preset-options-babel-7/destructuring-edge/input.js - +x Output mismatch * preset-options-babel-7/duplicate-named-capturing-groups-regex-chrome-120/input.js - +x Output mismatch * preset-options-babel-7/empty-options/input.mjs - +x Output mismatch * preset-options-babel-7/esmodules-async-functions/input.mjs Targets: The `esmodules` is not supported * preset-options-babel-7/include/input.mjs - +x Output mismatch * preset-options-babel-7/include-scoped/input.mjs - +x Output mismatch * preset-options-babel-7/ios-10/input.mjs - +x Output mismatch * preset-options-babel-7/ios-10_3/input.mjs - +x Output mismatch * preset-options-babel-7/ios-6/input.mjs - +x Output mismatch * preset-options-babel-7/loose-typeof-symbol/input.mjs - +x Output mismatch * preset-options-babel-7/loose-with-typeof-symbol-includes/input.mjs - +x Output mismatch * preset-options-babel-7/no-options/input.mjs - +x Output mismatch * preset-options-babel-7/reserved-keys-ie8/input.mjs - +x Output mismatch * preset-options-babel-7/reserved-names-ie8/input.mjs - +x Output mismatch * preset-options-babel-7/rhino-1_7_13/input.mjs - +x Output mismatch * preset-options-babel-7/safari-10_3-block-scoped/input.js - +x Output mismatch * preset-options-babel-7/safari-tagged-template-literals/input.js - +x Output mismatch * preset-options-babel-7/safari-tp/input.js failed to resolve query: failed to parse the rest of input: ...'' * preset-options-babel-7/shippedProposals/input.js - +x Output mismatch * preset-options-babel-7/spec/input.js - +x Output mismatch * preset-options-babel-7/unicode-property-regex-chrome-49/input.js - +x Output mismatch * preset-options-babel-7/unicode-sets-regex-chrome-111/input.js - +x Output mismatch * preset-options-babel-7/useBuiltIns-false/input.mjs - +x Output mismatch * sanity/block-scoping-for-of/input.js - +x Output mismatch * sanity/regex-dot-all/input.js - +x Output mismatch * sanity/transform-duplicate-keys/input.js - +x Output mismatch * shipped-proposals/import-assertions/input.mjs - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["packageJson"] - | rebuilt : ScopeId(0): [] - +x Output mismatch * shipped-proposals/new-class-features-chrome-90/input.js - +x Output mismatch * shipped-proposals/new-class-features-firefox-70/input.js - +x Output mismatch # babel-plugin-transform-logical-assignment-operators (0/6) * logical-assignment/anonymous-functions-transform/input.js - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), - | ReferenceId(6), ReferenceId(7), ReferenceId(8)] - | rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5)] +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), ReferenceId(6), ReferenceId(7), ReferenceId(8)] +rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5)] +Reference flags mismatch: +after transform: ReferenceId(4): ReferenceFlags(Write) +rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(6): ReferenceFlags(Write) +rebuilt : ReferenceId(3): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(8): ReferenceFlags(Write) +rebuilt : ReferenceId(5): ReferenceFlags(Read | Write) - x Reference flags mismatch: - | after transform: ReferenceId(4): ReferenceFlags(Write) - | rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) +* logical-assignment/arrow-functions-transform/input.js +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), ReferenceId(6), ReferenceId(7), ReferenceId(8)] +rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5)] +Reference flags mismatch: +after transform: ReferenceId(4): ReferenceFlags(Write) +rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(6): ReferenceFlags(Write) +rebuilt : ReferenceId(3): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(8): ReferenceFlags(Write) +rebuilt : ReferenceId(5): ReferenceFlags(Read | Write) - x Reference flags mismatch: - | after transform: ReferenceId(6): ReferenceFlags(Write) - | rebuilt : ReferenceId(3): ReferenceFlags(Read | Write) +* logical-assignment/general-semantics/input.js +Symbol reference IDs mismatch: +after transform: SymbolId(15): [ReferenceId(117), ReferenceId(118), ReferenceId(121)] +rebuilt : SymbolId(8): [ReferenceId(87), ReferenceId(91)] +Symbol reference IDs mismatch: +after transform: SymbolId(17): [ReferenceId(122), ReferenceId(123), ReferenceId(126)] +rebuilt : SymbolId(10): [ReferenceId(99), ReferenceId(103)] +Symbol reference IDs mismatch: +after transform: SymbolId(19): [ReferenceId(127), ReferenceId(128), ReferenceId(131)] +rebuilt : SymbolId(12): [ReferenceId(111), ReferenceId(115)] +Symbol reference IDs mismatch: +after transform: SymbolId(21): [ReferenceId(132), ReferenceId(133), ReferenceId(136)] +rebuilt : SymbolId(14): [ReferenceId(123), ReferenceId(127)] +Reference flags mismatch: +after transform: ReferenceId(98): ReferenceFlags(Write) +rebuilt : ReferenceId(27): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(97): ReferenceFlags(Write) +rebuilt : ReferenceId(29): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(100): ReferenceFlags(Write) +rebuilt : ReferenceId(33): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(99): ReferenceFlags(Write) +rebuilt : ReferenceId(35): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(102): ReferenceFlags(Write) +rebuilt : ReferenceId(39): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(101): ReferenceFlags(Write) +rebuilt : ReferenceId(41): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(104): ReferenceFlags(Write) +rebuilt : ReferenceId(45): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(103): ReferenceFlags(Write) +rebuilt : ReferenceId(47): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(107): ReferenceFlags(Write) +rebuilt : ReferenceId(52): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(105): ReferenceFlags(Write) +rebuilt : ReferenceId(55): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(110): ReferenceFlags(Write) +rebuilt : ReferenceId(61): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(108): ReferenceFlags(Write) +rebuilt : ReferenceId(64): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(113): ReferenceFlags(Write) +rebuilt : ReferenceId(70): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(111): ReferenceFlags(Write) +rebuilt : ReferenceId(73): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(116): ReferenceFlags(Write) +rebuilt : ReferenceId(79): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(114): ReferenceFlags(Write) +rebuilt : ReferenceId(82): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(118): ReferenceFlags(Write) +rebuilt : ReferenceId(87): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(120): ReferenceFlags(Write) +rebuilt : ReferenceId(89): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(119): ReferenceFlags(Write) +rebuilt : ReferenceId(92): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(123): ReferenceFlags(Write) +rebuilt : ReferenceId(99): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(125): ReferenceFlags(Write) +rebuilt : ReferenceId(101): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(124): ReferenceFlags(Write) +rebuilt : ReferenceId(104): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(128): ReferenceFlags(Write) +rebuilt : ReferenceId(111): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(130): ReferenceFlags(Write) +rebuilt : ReferenceId(113): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(129): ReferenceFlags(Write) +rebuilt : ReferenceId(116): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(133): ReferenceFlags(Write) +rebuilt : ReferenceId(123): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(135): ReferenceFlags(Write) +rebuilt : ReferenceId(125): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(134): ReferenceFlags(Write) +rebuilt : ReferenceId(128): ReferenceFlags(Read) - x Reference flags mismatch: - | after transform: ReferenceId(8): ReferenceFlags(Write) - | rebuilt : ReferenceId(5): ReferenceFlags(Read | Write) +* logical-assignment/named-functions-transform/input.js +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), ReferenceId(6), ReferenceId(7), ReferenceId(8)] +rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5)] +Reference flags mismatch: +after transform: ReferenceId(4): ReferenceFlags(Write) +rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(6): ReferenceFlags(Write) +rebuilt : ReferenceId(3): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(8): ReferenceFlags(Write) +rebuilt : ReferenceId(5): ReferenceFlags(Read | Write) +* logical-assignment/null-coalescing/input.js +x Output mismatch -* logical-assignment/arrow-functions-transform/input.js - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), - | ReferenceId(6), ReferenceId(7), ReferenceId(8)] - | rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5)] +* logical-assignment/null-coalescing-without-other/input.js +Symbol reference IDs mismatch: +after transform: SymbolId(2): [ReferenceId(7), ReferenceId(8), ReferenceId(11)] +rebuilt : SymbolId(1): [ReferenceId(5), ReferenceId(8)] +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3), ReferenceId(4)] +rebuilt : SymbolId(3): [ReferenceId(0), ReferenceId(1), ReferenceId(3), ReferenceId(6)] +Reference flags mismatch: +after transform: ReferenceId(4): ReferenceFlags(Write) +rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(6): ReferenceFlags(Write) +rebuilt : ReferenceId(2): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(5): ReferenceFlags(Write) +rebuilt : ReferenceId(4): ReferenceFlags(Read) +Reference flags mismatch: +after transform: ReferenceId(8): ReferenceFlags(Write) +rebuilt : ReferenceId(5): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(10): ReferenceFlags(Write) +rebuilt : ReferenceId(7): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(9): ReferenceFlags(Write) +rebuilt : ReferenceId(9): ReferenceFlags(Read) - x Reference flags mismatch: - | after transform: ReferenceId(4): ReferenceFlags(Write) - | rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) - x Reference flags mismatch: - | after transform: ReferenceId(6): ReferenceFlags(Write) - | rebuilt : ReferenceId(3): ReferenceFlags(Read | Write) +# babel-plugin-transform-nullish-coalescing-operator (5/12) +* assumption-noDocumentAll/transform/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(8): ReferenceFlags(Write) - | rebuilt : ReferenceId(5): ReferenceFlags(Read | Write) +* assumption-noDocumentAll/transform-in-default-destructuring/input.js +x Output mismatch +* assumption-noDocumentAll/transform-in-default-param/input.js +x Output mismatch -* logical-assignment/general-semantics/input.js - x Symbol reference IDs mismatch: - | after transform: SymbolId(15): [ReferenceId(117), ReferenceId(118), - | ReferenceId(121)] - | rebuilt : SymbolId(8): [ReferenceId(87), ReferenceId(91)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(17): [ReferenceId(122), ReferenceId(123), - | ReferenceId(126)] - | rebuilt : SymbolId(10): [ReferenceId(99), ReferenceId(103)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(19): [ReferenceId(127), ReferenceId(128), - | ReferenceId(131)] - | rebuilt : SymbolId(12): [ReferenceId(111), ReferenceId(115)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(21): [ReferenceId(132), ReferenceId(133), - | ReferenceId(136)] - | rebuilt : SymbolId(14): [ReferenceId(123), ReferenceId(127)] - - x Reference flags mismatch: - | after transform: ReferenceId(98): ReferenceFlags(Write) - | rebuilt : ReferenceId(27): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(97): ReferenceFlags(Write) - | rebuilt : ReferenceId(29): ReferenceFlags(Read) - - x Reference flags mismatch: - | after transform: ReferenceId(100): ReferenceFlags(Write) - | rebuilt : ReferenceId(33): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(99): ReferenceFlags(Write) - | rebuilt : ReferenceId(35): ReferenceFlags(Read) +* assumption-noDocumentAll/transform-in-function/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(102): ReferenceFlags(Write) - | rebuilt : ReferenceId(39): ReferenceFlags(Read | Write) +* assumption-noDocumentAll/transform-static-refs-in-default/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(101): ReferenceFlags(Write) - | rebuilt : ReferenceId(41): ReferenceFlags(Read) +* assumption-noDocumentAll/transform-static-refs-in-function/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(104): ReferenceFlags(Write) - | rebuilt : ReferenceId(45): ReferenceFlags(Read | Write) +* nullish-coalescing/transform-loose/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(103): ReferenceFlags(Write) - | rebuilt : ReferenceId(47): ReferenceFlags(Read) - x Reference flags mismatch: - | after transform: ReferenceId(107): ReferenceFlags(Write) - | rebuilt : ReferenceId(52): ReferenceFlags(Read | Write) +# babel-plugin-transform-object-rest-spread (5/59) +* assumption-ignoreFunctionLength/parameters-object-rest-used-in-default/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(105): ReferenceFlags(Write) - | rebuilt : ReferenceId(55): ReferenceFlags(Read) +* assumption-objectRestNoSymbols/rest-assignment-expression/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(110): ReferenceFlags(Write) - | rebuilt : ReferenceId(61): ReferenceFlags(Read | Write) +* assumption-objectRestNoSymbols/rest-computed/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(108): ReferenceFlags(Write) - | rebuilt : ReferenceId(64): ReferenceFlags(Read) +* assumption-objectRestNoSymbols/rest-nested/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(113): ReferenceFlags(Write) - | rebuilt : ReferenceId(70): ReferenceFlags(Read | Write) +* assumption-objectRestNoSymbols/rest-var-declaration/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(111): ReferenceFlags(Write) - | rebuilt : ReferenceId(73): ReferenceFlags(Read) +* assumption-pureGetters/rest-remove-unused-excluded-keys/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(116): ReferenceFlags(Write) - | rebuilt : ReferenceId(79): ReferenceFlags(Read | Write) +* assumption-pureGetters/spread-single-call/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(114): ReferenceFlags(Write) - | rebuilt : ReferenceId(82): ReferenceFlags(Read) +* assumption-setSpreadProperties/assignment/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(118): ReferenceFlags(Write) - | rebuilt : ReferenceId(87): ReferenceFlags(Read | Write) +* assumption-setSpreadProperties/expression/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(120): ReferenceFlags(Write) - | rebuilt : ReferenceId(89): ReferenceFlags(Read | Write) +* assumption-setSpreadProperties/targets-support-object-assign/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(119): ReferenceFlags(Write) - | rebuilt : ReferenceId(92): ReferenceFlags(Read) +* assumption-setSpreadProperties-with-useBuiltIns/assignment/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(123): ReferenceFlags(Write) - | rebuilt : ReferenceId(99): ReferenceFlags(Read | Write) +* assumption-setSpreadProperties-with-useBuiltIns/expression/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(125): ReferenceFlags(Write) - | rebuilt : ReferenceId(101): ReferenceFlags(Read | Write) +* object-rest/assignment-expression/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(124): ReferenceFlags(Write) - | rebuilt : ReferenceId(104): ReferenceFlags(Read) +* object-rest/catch-clause/input.js +x Output mismatch - x Reference flags mismatch: - | after transform: ReferenceId(128): ReferenceFlags(Write) - | rebuilt : ReferenceId(111): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(130): ReferenceFlags(Write) - | rebuilt : ReferenceId(113): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(129): ReferenceFlags(Write) - | rebuilt : ReferenceId(116): ReferenceFlags(Read) - - x Reference flags mismatch: - | after transform: ReferenceId(133): ReferenceFlags(Write) - | rebuilt : ReferenceId(123): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(135): ReferenceFlags(Write) - | rebuilt : ReferenceId(125): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(134): ReferenceFlags(Write) - | rebuilt : ReferenceId(128): ReferenceFlags(Read) - - -* logical-assignment/named-functions-transform/input.js - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), - | ReferenceId(6), ReferenceId(7), ReferenceId(8)] - | rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5)] - - x Reference flags mismatch: - | after transform: ReferenceId(4): ReferenceFlags(Write) - | rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(6): ReferenceFlags(Write) - | rebuilt : ReferenceId(3): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(8): ReferenceFlags(Write) - | rebuilt : ReferenceId(5): ReferenceFlags(Read | Write) - - -* logical-assignment/null-coalescing/input.js - x Output mismatch - x Symbol reference IDs mismatch: - | after transform: SymbolId(17): [ReferenceId(86), ReferenceId(87), - | ReferenceId(90)] - | rebuilt : SymbolId(12): [ReferenceId(73), ReferenceId(79)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(20): [ReferenceId(94), ReferenceId(95), - | ReferenceId(98)] - | rebuilt : SymbolId(14): [ReferenceId(88), ReferenceId(94)] - - x Reference flags mismatch: - | after transform: ReferenceId(65): ReferenceFlags(Write) - | rebuilt : ReferenceId(27): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(64): ReferenceFlags(Write) - | rebuilt : ReferenceId(31): ReferenceFlags(Read) - - x Reference flags mismatch: - | after transform: ReferenceId(70): ReferenceFlags(Write) - | rebuilt : ReferenceId(36): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(69): ReferenceFlags(Write) - | rebuilt : ReferenceId(40): ReferenceFlags(Read) - - x Reference flags mismatch: - | after transform: ReferenceId(76): ReferenceFlags(Write) - | rebuilt : ReferenceId(48): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(74): ReferenceFlags(Write) - | rebuilt : ReferenceId(53): ReferenceFlags(Read) - - x Reference flags mismatch: - | after transform: ReferenceId(82): ReferenceFlags(Write) - | rebuilt : ReferenceId(60): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(80): ReferenceFlags(Write) - | rebuilt : ReferenceId(65): ReferenceFlags(Read) - - x Reference flags mismatch: - | after transform: ReferenceId(87): ReferenceFlags(Write) - | rebuilt : ReferenceId(73): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(89): ReferenceFlags(Write) - | rebuilt : ReferenceId(75): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(88): ReferenceFlags(Write) - | rebuilt : ReferenceId(80): ReferenceFlags(Read) - - x Reference flags mismatch: - | after transform: ReferenceId(95): ReferenceFlags(Write) - | rebuilt : ReferenceId(88): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(97): ReferenceFlags(Write) - | rebuilt : ReferenceId(90): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(96): ReferenceFlags(Write) - | rebuilt : ReferenceId(95): ReferenceFlags(Read) - - -* logical-assignment/null-coalescing-without-other/input.js - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [ReferenceId(7), ReferenceId(8), - | ReferenceId(11)] - | rebuilt : SymbolId(1): [ReferenceId(5), ReferenceId(8)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4)] - | rebuilt : SymbolId(3): [ReferenceId(0), ReferenceId(1), - | ReferenceId(3), ReferenceId(6)] - - x Reference flags mismatch: - | after transform: ReferenceId(4): ReferenceFlags(Write) - | rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(6): ReferenceFlags(Write) - | rebuilt : ReferenceId(2): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(5): ReferenceFlags(Write) - | rebuilt : ReferenceId(4): ReferenceFlags(Read) - - x Reference flags mismatch: - | after transform: ReferenceId(8): ReferenceFlags(Write) - | rebuilt : ReferenceId(5): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(10): ReferenceFlags(Write) - | rebuilt : ReferenceId(7): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(9): ReferenceFlags(Write) - | rebuilt : ReferenceId(9): ReferenceFlags(Read) - - - -# babel-plugin-transform-nullish-coalescing-operator (5/12) -* assumption-noDocumentAll/transform/input.js - - -* assumption-noDocumentAll/transform-in-default-destructuring/input.js - - -* assumption-noDocumentAll/transform-in-default-param/input.js - - -* assumption-noDocumentAll/transform-in-function/input.js - - -* assumption-noDocumentAll/transform-static-refs-in-default/input.js - - -* assumption-noDocumentAll/transform-static-refs-in-function/input.js - - -* nullish-coalescing/transform-loose/input.js - - - -# babel-plugin-transform-object-rest-spread (5/59) -* assumption-ignoreFunctionLength/parameters-object-rest-used-in-default/input.js - - -* assumption-objectRestNoSymbols/rest-assignment-expression/input.js - - -* assumption-objectRestNoSymbols/rest-computed/input.js - - -* assumption-objectRestNoSymbols/rest-nested/input.js - - -* assumption-objectRestNoSymbols/rest-var-declaration/input.js - - -* assumption-pureGetters/rest-remove-unused-excluded-keys/input.js - - -* assumption-pureGetters/spread-single-call/input.js - - -* assumption-setSpreadProperties/assignment/input.js - - -* assumption-setSpreadProperties/expression/input.js - - -* assumption-setSpreadProperties/targets-support-object-assign/input.js - - -* assumption-setSpreadProperties-with-useBuiltIns/assignment/input.js - - -* assumption-setSpreadProperties-with-useBuiltIns/expression/input.js - - -* object-rest/assignment-expression/input.js - - -* object-rest/catch-clause/input.js - - -* object-rest/duplicate-decl-bug/input.js - - -* object-rest/export/input.mjs - - -* object-rest/for-x/input.js - - -* object-rest/for-x-array-pattern/input.js - - -* object-rest/for-x-completion-record/input.js - - -* object-rest/impure-computed/input.js - - -* object-rest/nested/input.js - - -* object-rest/nested-2/input.js - - -* object-rest/nested-array/input.js - - -* object-rest/nested-array-2/input.js - - -* object-rest/nested-computed-key/input.js - - -* object-rest/nested-default-value/input.js - - -* object-rest/nested-literal-property/input.js - - -* object-rest/nested-order/input.js - - -* object-rest/non-string-computed/input.js - - -* object-rest/null-destructuring/input.js - - -* object-rest/object-ref-computed/input.js - - -* object-rest/parameters/input.js - - -* object-rest/parameters-object-rest-used-in-default/input.js - - -* object-rest/remove-unused-excluded-keys-loose/input.js - - -* object-rest/symbol/input.js - - -* object-rest/template-literal-allLiterals-true-no-hoisting/input.js - - -* object-rest/template-literal-property-allLiterals-false/input.js - - -* object-rest/template-literal-property-allLiterals-true/input.js - - -* object-rest/variable-destructuring/input.js - - -* object-rest/with-array-rest/input.js - - -* object-spread/expression/input.js - - -* object-spread/side-effect/input.js - - -* object-spread-loose/assignment/input.js - - -* object-spread-loose/expression/input.js - - -* object-spread-loose/parameters-object-rest-used-in-default/input.js - - -* object-spread-loose/side-effect/input.js - - -* object-spread-loose/variable-declaration/input.js - - -* object-spread-loose-builtins/expression/input.js - - -* object-spread-loose-builtins/side-effect/input.js - - -* regression/gh-4904/input.js - - -* regression/gh-5151/input.js - - -* regression/gh-7304/input.mjs - - -* regression/gh-7388/input.js - - -* regression/gh-8323/input.js - - - -# babel-plugin-transform-exponentiation-operator (1/4) -* exponentiation-operator/assignment/input.js - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2)] - | rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(2)] - - x Reference flags mismatch: - | after transform: ReferenceId(2): ReferenceFlags(Write) - | rebuilt : ReferenceId(0): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(1): ReferenceFlags(Write) - | rebuilt : ReferenceId(2): ReferenceFlags(Read) - - -* regression/4349/input.js - - -* regression/4403/input.js - x Reference flags mismatch: - | after transform: ReferenceId(3): ReferenceFlags(Write) - | rebuilt : ReferenceId(0): ReferenceFlags(Read | Write) - - - -# babel-plugin-transform-arrow-functions (1/6) -* assumption-newableArrowFunctions-false/basic/input.js - - -* assumption-newableArrowFunctions-false/naming/input.js - - -* assumption-newableArrowFunctions-false/self-referential/input.js - - -* spec/newableArrowFunction-default/input.js - - -* spec/newableArrowFunction-vs-spec-false/input.js - - - -# babel-preset-typescript (5/10) -* jsx-compat/ts-invalid/input.ts - x Expected `>` but found `/` - ,-[tasks/coverage/babel/packages/babel-preset-typescript/test/fixtures/jsx-compat/ts-invalid/input.ts:1:7] - 1 | (
); - : | - : `-- `>` expected - `---- - - -* node-extensions/import-in-cts/input.cts - - -* node-extensions/type-assertion-in-ts/input.ts - x Unresolved references mismatch: - | after transform: ["T", "x"] - | rebuilt : ["x"] - - -* node-extensions/type-param-arrow-in-ts/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["T"] - | rebuilt : ScopeId(1): [] - - -* opts/optimizeConstEnums/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "x"] - | rebuilt : ScopeId(1): ["A"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - - -# babel-plugin-transform-typescript (41/152) -* cast/as-expression/input.ts - x Unresolved references mismatch: - | after transform: ["T", "x"] - | rebuilt : ["x"] - - -* cast/type-assertion/input.ts - x Unresolved references mismatch: - | after transform: ["T", "x"] - | rebuilt : ["x"] - - -* class/accessor-allowDeclareFields-false/input.ts -TS(18010) - - x An accessibility modifier cannot be used with a private identifier. - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/class/accessor-allowDeclareFields-false/input.ts:8:3] - 7 | abstract accessor prop6: number; - 8 | private accessor #p: any; - : ^^^^^^^ - 9 | - `---- - - -* class/accessor-allowDeclareFields-true/input.ts -TS(18010) - - x An accessibility modifier cannot be used with a private identifier. - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/class/accessor-allowDeclareFields-true/input.ts:8:3] - 7 | abstract accessor prop6: number; - 8 | private accessor #p: any; - : ^^^^^^^ - 9 | - `---- - - -* class/head/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["T"] - | rebuilt : ScopeId(1): [] - - x Unresolved references mismatch: - | after transform: ["D", "I"] - | rebuilt : ["D"] - - -* class/methods/input.ts - x Scope children mismatch: - | after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4), - | ScopeId(5)] - | rebuilt : ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4)] - - -* class/private-method-override/input.ts - x Scope children mismatch: - | after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4)] - | rebuilt : ScopeId(1): [ScopeId(2)] - - -* declarations/const-enum/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["E"] - | rebuilt : ScopeId(0): [] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1)] - | rebuilt : ScopeId(0): [] - - -* declarations/erased/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["E", "I", "M", "N", "T", "m", "x"] - | rebuilt : ScopeId(0): [] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), - | ScopeId(4), ScopeId(5), ScopeId(6), ScopeId(7), ScopeId(8)] - | rebuilt : ScopeId(0): [] - - -* declarations/export-declare-enum/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A"] - | rebuilt : ScopeId(0): [] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1)] - | rebuilt : ScopeId(0): [] - - -* declarations/nested-namespace/input.mjs - x Bindings mismatch: - | after transform: ScopeId(0): ["P"] - | rebuilt : ScopeId(0): [] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1)] - | rebuilt : ScopeId(0): [] - - -* enum/boolean-value/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "E"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* enum/const/input.ts - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* enum/constant-folding/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["E", "a", "b", "c", "d", "e", "f", "g", "h", - | "i", "j", "k", "l", "m", "n", "o", "p", "q", "r"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* enum/enum-merging-inner-references/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["Animals", "Cat", "Dog"] - | rebuilt : ScopeId(1): ["Animals"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(2): ["Animals", "CatDog"] - | rebuilt : ScopeId(2): ["Animals"] - - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 41, end: 48 }] - | rebuilt : SymbolId(0): [] - - x Unresolved references mismatch: - | after transform: ["Cat", "Dog"] - | rebuilt : [] - - -* enum/enum-merging-inner-references-shadow/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["Animals", "Cat"] - | rebuilt : ScopeId(1): ["Animals"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(2): ["Animals", "Dog"] - | rebuilt : ScopeId(2): ["Animals"] - - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(3): ["Animals", "CatDog"] - | rebuilt : ScopeId(3): ["Animals"] - - x Scope flags mismatch: - | after transform: ScopeId(3): ScopeFlags(StrictMode) - | rebuilt : ScopeId(3): ScopeFlags(StrictMode | Function) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0)] - | rebuilt : SymbolId(0): [] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(1): [ReferenceId(1)] - | rebuilt : SymbolId(1): [] - - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(2): SymbolFlags(FunctionScopedVariable) - - x Symbol redeclarations mismatch: - | after transform: SymbolId(2): [Span { start: 65, end: 72 }, Span { start: - | 92, end: 99 }] - | rebuilt : SymbolId(2): [] - - -* enum/export/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "E"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(2): ["B", "E"] - | rebuilt : ScopeId(2): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | Export) - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 40, end: 41 }] - | rebuilt : SymbolId(0): [] - - -* enum/inferred/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["E", "x", "y"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* enum/inner-references/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["E", "a", "b"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* enum/mix-references/input.ts - x Output mismatch - x Missing ReferenceId: Foo - - x Missing ReferenceId: Bar - - x Missing ReferenceId: Baz - - x Missing ReferenceId: A - - x Missing ReferenceId: A - - x Bindings mismatch: - | after transform: ScopeId(1): ["Foo", "a", "b", "c"] - | rebuilt : ScopeId(1): ["Foo"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(2): ["Bar", "D", "E", "F", "G"] - | rebuilt : ScopeId(2): ["Bar"] - - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(3): ["Baz", "a", "b", "x"] - | rebuilt : ScopeId(3): ["Baz"] - - x Scope flags mismatch: - | after transform: ScopeId(3): ScopeFlags(StrictMode) - | rebuilt : ScopeId(3): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(4): ["A", "a", "b", "c"] - | rebuilt : ScopeId(4): ["A"] - - x Scope flags mismatch: - | after transform: ScopeId(4): ScopeFlags(StrictMode) - | rebuilt : ScopeId(4): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(1): [ReferenceId(3), ReferenceId(7), - | ReferenceId(18)] - | rebuilt : SymbolId(1): [ReferenceId(9), ReferenceId(20)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(19): [ReferenceId(11), ReferenceId(12), - | ReferenceId(13), ReferenceId(14), ReferenceId(15), ReferenceId(16), - | ReferenceId(17)] - | rebuilt : SymbolId(2): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), - | ReferenceId(6), ReferenceId(8)] - - x Symbol flags mismatch: - | after transform: SymbolId(5): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(3): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(20): [ReferenceId(19), ReferenceId(20), - | ReferenceId(21), ReferenceId(22), ReferenceId(23), ReferenceId(24), - | ReferenceId(25), ReferenceId(26), ReferenceId(27)] - | rebuilt : SymbolId(4): [ReferenceId(10), ReferenceId(11), - | ReferenceId(12), ReferenceId(13), ReferenceId(14), ReferenceId(15), - | ReferenceId(17), ReferenceId(18), ReferenceId(19), ReferenceId(21)] - - x Symbol flags mismatch: - | after transform: SymbolId(10): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(5): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(21): [ReferenceId(29), ReferenceId(30), - | ReferenceId(31), ReferenceId(32), ReferenceId(33), ReferenceId(34), - | ReferenceId(35)] - | rebuilt : SymbolId(6): [ReferenceId(23), ReferenceId(24), - | ReferenceId(25), ReferenceId(26), ReferenceId(27), ReferenceId(28), - | ReferenceId(29), ReferenceId(30)] - - x Symbol flags mismatch: - | after transform: SymbolId(14): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(7): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(22): [ReferenceId(37), ReferenceId(38), - | ReferenceId(39), ReferenceId(40), ReferenceId(41), ReferenceId(42), - | ReferenceId(43)] - | rebuilt : SymbolId(8): [ReferenceId(32), ReferenceId(33), - | ReferenceId(34), ReferenceId(35), ReferenceId(36), ReferenceId(37), - | ReferenceId(38), ReferenceId(39), ReferenceId(40)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(17): [ReferenceId(9)] - | rebuilt : SymbolId(9): [] - - -* enum/non-foldable-constant/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["E", "a", "b"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* enum/non-scoped/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["E", "x", "y"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(2): ["E", "z"] - | rebuilt : ScopeId(2): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 40, end: 41 }] - | rebuilt : SymbolId(0): [] - - -* enum/outer-references/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["IPC", "SERVER", "SOCKET", "socketType"] - | rebuilt : ScopeId(1): ["socketType"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(2): ["IPC", "SERVER", "SOCKET", "UV_READABLE", - | "UV_WRITABLE", "constants"] - | rebuilt : ScopeId(2): ["constants"] - - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(10)] - | rebuilt : SymbolId(0): [ReferenceId(7)] - - x Symbol flags mismatch: - | after transform: SymbolId(4): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(2): SymbolFlags(FunctionScopedVariable) - - -* enum/reverse-mappings-syntactically-determinable/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "B", "C", "D", "E", "Foo"] - | rebuilt : ScopeId(1): ["Foo"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4)] - | rebuilt : SymbolId(0): [ReferenceId(3), ReferenceId(7), - | ReferenceId(10)] - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable) - - -* enum/scoped/input.ts - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable) - - -* enum/string-value/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "A2", "B", "B2", "E"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* enum/string-value-template/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "E"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* enum/string-values-computed/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "E"] - | rebuilt : ScopeId(1): ["E"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* enum/ts5.0-const-foldable/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["First", "Second", "Third", "Values"] - | rebuilt : ScopeId(1): ["Values"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(2): ["Invoices", "Parts", "Routes", "x", "y"] - | rebuilt : ScopeId(2): ["Routes"] - - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(1): [ReferenceId(3), ReferenceId(4)] - | rebuilt : SymbolId(1): [] - - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(ConstEnum) - | rebuilt : SymbolId(2): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [ReferenceId(1), ReferenceId(5), - | ReferenceId(16)] - | rebuilt : SymbolId(2): [ReferenceId(10), ReferenceId(11)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(7): [ReferenceId(6)] - | rebuilt : SymbolId(5): [] - - x Symbol flags mismatch: - | after transform: SymbolId(8): SymbolFlags(ConstEnum) - | rebuilt : SymbolId(6): SymbolFlags(FunctionScopedVariable) - - -* exports/declare-namespace/input.ts - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(3)] - | rebuilt : ScopeId(0): [ScopeId(1)] - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | Class | NameSpaceModule - | | Ambient) - | rebuilt : SymbolId(0): SymbolFlags(Export | Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(2)] - | rebuilt : SymbolId(0): [ReferenceId(1)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 83, end: 84 }] - | rebuilt : SymbolId(0): [] - - -* exports/declare-shadowed/input.ts - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), - | ScopeId(4)] - | rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2)] - - x Unresolved references mismatch: - | after transform: ["Signal", "Signal2"] - | rebuilt : [] - - -* exports/declared-types/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["AA", "AA2", "BB", "BB2", "Bar", "C2", "E", - | "I", "II2", "II3", "M", "N", "T", "foo", "m", "x"] - | rebuilt : ScopeId(0): ["BB", "BB2", "C2", "foo"] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), - | ScopeId(4), ScopeId(5), ScopeId(6), ScopeId(7), ScopeId(8), ScopeId(9), - | ScopeId(10), ScopeId(11), ScopeId(12), ScopeId(13), ScopeId(14), - | ScopeId(15), ScopeId(16), ScopeId(17), ScopeId(18)] - | rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), - | ScopeId(4), ScopeId(5)] - - x Bindings mismatch: - | after transform: ScopeId(12): ["BB", "K"] - | rebuilt : ScopeId(2): ["BB"] - - x Scope flags mismatch: - | after transform: ScopeId(12): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(13): ["BB", "L"] - | rebuilt : ScopeId(3): ["BB"] - - x Scope flags mismatch: - | after transform: ScopeId(13): ScopeFlags(StrictMode) - | rebuilt : ScopeId(3): ScopeFlags(StrictMode | Function) - - x Scope flags mismatch: - | after transform: ScopeId(16): ScopeFlags(StrictMode) - | rebuilt : ScopeId(4): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(10): SymbolFlags(Export | RegularEnum) - | rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable | Export) - - x Symbol redeclarations mismatch: - | after transform: SymbolId(10): [Span { start: 495, end: 497 }] - | rebuilt : SymbolId(1): [] - - x Symbol flags mismatch: - | after transform: SymbolId(15): SymbolFlags(Export | RegularEnum) - | rebuilt : SymbolId(4): SymbolFlags(FunctionScopedVariable | Export) - - x Reference symbol mismatch: - | after transform: ReferenceId(0): Some("x") - | rebuilt : ReferenceId(0): None - - x Reference flags mismatch: - | after transform: ReferenceId(0): ReferenceFlags(Read) - | rebuilt : ReferenceId(0): ReferenceFlags(Read | Type) - - x Reference symbol mismatch: - | after transform: ReferenceId(2): Some("E") - | rebuilt : ReferenceId(1): None - - x Reference flags mismatch: - | after transform: ReferenceId(2): ReferenceFlags(Read) - | rebuilt : ReferenceId(1): ReferenceFlags(Read | Type) - - x Reference symbol mismatch: - | after transform: ReferenceId(8): Some("x") - | rebuilt : ReferenceId(2): None - - x Reference flags mismatch: - | after transform: ReferenceId(8): ReferenceFlags(Read) - | rebuilt : ReferenceId(2): ReferenceFlags(Read | Type) - - x Reference symbol mismatch: - | after transform: ReferenceId(11): Some("E") - | rebuilt : ReferenceId(3): None - - x Reference flags mismatch: - | after transform: ReferenceId(11): ReferenceFlags(Read) - | rebuilt : ReferenceId(3): ReferenceFlags(Read | Type) - - x Unresolved references mismatch: - | after transform: ["Bar", "C", "M", "N", "f"] - | rebuilt : ["Bar", "E", "x"] - - -* exports/default-function/input.ts - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3)] - | rebuilt : ScopeId(0): [ScopeId(1)] - - -* exports/export-const-enums/input.ts - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(2)] - | rebuilt : SymbolId(0): [ReferenceId(1)] - - -* exports/export-import=/input.ts - x Missing SymbolId: JGraph - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0), SymbolId(1)] - | rebuilt : ScopeId(0): [SymbolId(0), SymbolId(1)] - - -* exports/export-type/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A"] - | rebuilt : ScopeId(0): [] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1)] - | rebuilt : ScopeId(0): [] - - -* exports/export=/input.ts - ! `export = ;` is only supported when compiling modules to CommonJS. - | Please consider using `export default ;`, or add @babel/plugin- - | transform-modules-commonjs to your Babel config. - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/exports/export=/input.ts:1:1] - 1 | export = 0; - : ^^^^^^^^^^^ - `---- - - -* exports/imported-types/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "B", "C"] - | rebuilt : ScopeId(0): ["C"] - - -* exports/imported-types-only-remove-type-imports/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "B", "C"] - | rebuilt : ScopeId(0): ["C"] - - -* exports/interface/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "I"] - | rebuilt : ScopeId(0): [] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] - | rebuilt : ScopeId(0): [] - - -* exports/issue-9916-1/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["PromiseRejectCb", "PromiseResolveCb", "a"] - | rebuilt : ScopeId(0): ["a"] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] - | rebuilt : ScopeId(0): [] - - x Unresolved references mismatch: - | after transform: ["PromiseLike"] - | rebuilt : [] - - -* exports/issue-9916-2/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["PromiseRejectCb", "PromiseResolveCb"] - | rebuilt : ScopeId(0): [] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] - | rebuilt : ScopeId(0): [] - - x Unresolved references mismatch: - | after transform: ["PromiseLike"] - | rebuilt : [] - - -* exports/issue-9916-3/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["PromiseRejectCb", "PromiseResolveCb", "a"] - | rebuilt : ScopeId(0): ["a"] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] - | rebuilt : ScopeId(0): [] - - x Unresolved references mismatch: - | after transform: ["PromiseLike"] - | rebuilt : [] - - -* exports/type-only-export-specifier-1/input.ts - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0)] - | rebuilt : SymbolId(0): [] - - -* function/overloads/input.ts - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] - | rebuilt : ScopeId(0): [ScopeId(1)] - - -* function/overloads-exports/input.mjs - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] - | rebuilt : ScopeId(0): [ScopeId(1)] - - -* function/parameters/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["T", "x", "y"] - | rebuilt : ScopeId(1): ["x", "y"] - - -* imports/elide-preact/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["FooBar", "Fragment", "h", "x"] - | rebuilt : ScopeId(0): ["x"] - - -* imports/elide-preact-no-1/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["Fragment", "h", "render"] - | rebuilt : ScopeId(0): ["Fragment", "h"] - - -* imports/elide-preact-no-2/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["Fragment", "render"] - | rebuilt : ScopeId(0): ["Fragment"] - - -* imports/elide-react/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["React", "x"] - | rebuilt : ScopeId(0): ["x"] - - -* imports/elide-type-referenced-in-imports-equal-no/input.ts - x Missing SymbolId: foo - - x Missing SymbolId: bar - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0), SymbolId(1), SymbolId(2), - | SymbolId(3)] - | rebuilt : ScopeId(0): [SymbolId(0), SymbolId(1), SymbolId(2), - | SymbolId(3)] - - -* imports/elide-typeof/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "x"] - | rebuilt : ScopeId(0): ["x"] - - -* imports/elision/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "B", "C", "D", "Used", "Used2", - | "Used3", "x", "y", "z"] - | rebuilt : ScopeId(0): ["Used", "Used2", "Used3", "x", "y", "z"] - - -* imports/elision-export-type/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "B", "T", "T1"] - | rebuilt : ScopeId(0): ["A", "B"] - - -* imports/elision-locations/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "B", "C", "Class", "D", "E", "F", "G", - | "H", "Iface", "x", "y"] - | rebuilt : ScopeId(0): ["A", "Class", "x", "y"] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] - | rebuilt : ScopeId(0): [ScopeId(1)] - - -* imports/elision-qualifiedname/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "x"] - | rebuilt : ScopeId(0): ["x"] - - -* imports/elision-rename/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["B", "x"] - | rebuilt : ScopeId(0): ["x"] - - -* imports/enum-id/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "Enum"] - | rebuilt : ScopeId(0): ["Enum"] - - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "Enum"] - | rebuilt : ScopeId(1): ["Enum"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - -* imports/enum-value/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["Enum", "id"] - | rebuilt : ScopeId(1): ["Enum"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable) - - -* imports/import-removed-exceptions/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["H", "I", "I2", "J", "a", "b", "c2", "d", - | "d2", "e", "e4"] - | rebuilt : ScopeId(0): [] - - -* imports/import-type/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "B", "T", "Types"] - | rebuilt : ScopeId(0): [] - - -* imports/import-type-func-with-duplicate-name/input.ts - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(BlockScopedVariable | Function - | | TypeImport) - | rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | Function) - - x Symbol span mismatch: - | after transform: SymbolId(0): Span { start: 13, end: 16 } - | rebuilt : SymbolId(0): Span { start: 70, end: 73 } - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 70, end: 73 }] - | rebuilt : SymbolId(0): [] - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(BlockScopedVariable | Function - | | TypeImport) - | rebuilt : SymbolId(1): SymbolFlags(BlockScopedVariable | Function) - - x Symbol span mismatch: - | after transform: SymbolId(1): Span { start: 43, end: 47 } - | rebuilt : SymbolId(1): Span { start: 87, end: 91 } - - x Symbol redeclarations mismatch: - | after transform: SymbolId(1): [Span { start: 87, end: 91 }] - | rebuilt : SymbolId(1): [] - - -* imports/import-type-not-removed/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "B"] - | rebuilt : ScopeId(0): [] - - -* imports/import=-module/input.ts - ! `import lib = require(...);` is only supported when compiling modules - | to CommonJS. - | Please consider using `import lib from '...';` alongside Typescript's - | --allowSyntheticDefaultImports option, or add @babel/plugin-transform- - | modules-commonjs to your Babel config. - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/imports/import=-module/input.ts:1:1] - 1 | import lib = require("lib"); - : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - 2 | lib(); - `---- - - -* imports/only-remove-type-imports/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["H", "I", "I2", "J", "K1", "K2", "L1", "L2", - | "L3", "a", "b", "c2", "d", "d2", "e", "e4"] - | rebuilt : ScopeId(0): ["K1", "K2", "L1", "L2", "L3", "a", "b", - | "c2", "d", "d2", "e", "e4"] - - -* imports/property-signature/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "obj"] - | rebuilt : ScopeId(0): ["obj"] - - -* imports/type-only-export-specifier-1/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["bar", "baz", "foo"] - | rebuilt : ScopeId(0): [] - - -* imports/type-only-export-specifier-2/input.ts - x Output mismatch - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0)] - | rebuilt : SymbolId(0): [] - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(Export | Import) - | rebuilt : SymbolId(1): SymbolFlags(Import) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(1): [ReferenceId(1)] - | rebuilt : SymbolId(1): [] - - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(Export | TypeImport) - | rebuilt : SymbolId(2): SymbolFlags(TypeImport) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [ReferenceId(2)] - | rebuilt : SymbolId(2): [] - - -* imports/type-only-import-specifier-1/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["Foo1", "Foo2"] - | rebuilt : ScopeId(0): ["Foo1"] - - -* imports/type-only-import-specifier-2/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["Foo1", "Foo2"] - | rebuilt : ScopeId(0): [] - - -* imports/type-only-import-specifier-3/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["Foo1", "Foo2"] - | rebuilt : ScopeId(0): [] - - -* imports/type-only-import-specifier-4/input.ts - - -* lvalues/TSTypeParameterInstantiation/input.ts - x Bindings mismatch: - | after transform: ScopeId(1): ["M"] - | rebuilt : ScopeId(1): [] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(2), - | ReferenceId(3)] - | rebuilt : SymbolId(0): [ReferenceId(0)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [ReferenceId(4), ReferenceId(6)] - | rebuilt : SymbolId(1): [ReferenceId(1)] - - -* namespace/alias/input.ts - x Missing SymbolId: b - - x Missing SymbolId: AliasModule - - x Bindings mismatch: - | after transform: ScopeId(0): ["AliasModule", "LongNameModule", "b", - | "babel", "bar", "baz", "node", "some", "str"] - | rebuilt : ScopeId(0): ["AliasModule", "b", "babel", "bar", "baz", - | "node", "some", "str"] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1)] - | rebuilt : ScopeId(0): [] - - x Reference symbol mismatch: - | after transform: ReferenceId(3): Some("AliasModule") - | rebuilt : ReferenceId(2): Some("AliasModule") - - x Reference symbol mismatch: - | after transform: ReferenceId(4): Some("AliasModule") - | rebuilt : ReferenceId(3): Some("AliasModule") - - x Unresolved reference IDs mismatch for "LongNameModule": - | after transform: [ReferenceId(1), ReferenceId(5)] - | rebuilt : [ReferenceId(1)] - - -* namespace/clobber-class/input.ts - x Missing SymbolId: _A - - x Missing ReferenceId: _A - - x Missing ReferenceId: A - - x Missing ReferenceId: A - - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(1), SymbolId(2)] - | rebuilt : ScopeId(2): [SymbolId(1), SymbolId(2)] - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule | - | ValueModule) - | rebuilt : SymbolId(0): SymbolFlags(Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [] - | rebuilt : SymbolId(0): [ReferenceId(1), ReferenceId(2)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 22, end: 23 }] - | rebuilt : SymbolId(0): [] - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - | rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | - | ConstVariable) - - -* namespace/clobber-enum/input.ts - x Missing SymbolId: _A - - x Missing ReferenceId: _A - - x Missing ReferenceId: A - - x Missing ReferenceId: A - - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "C"] - | rebuilt : ScopeId(1): ["A"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(2), SymbolId(3)] - | rebuilt : ScopeId(2): [SymbolId(2), SymbolId(3)] - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum | NameSpaceModule - | | ValueModule) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(3)] - | rebuilt : SymbolId(0): [ReferenceId(3), ReferenceId(5), - | ReferenceId(6)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 30, end: 31 }] - | rebuilt : SymbolId(0): [] - - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - | rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | - | ConstVariable) - - -* namespace/clobber-export/input.ts - x Missing SymbolId: _N - - x Missing ReferenceId: N - - x Missing ReferenceId: N - - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(1), SymbolId(2)] - | rebuilt : ScopeId(2): [SymbolId(1), SymbolId(2)] - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | Class | NameSpaceModule - | | ValueModule) - | rebuilt : SymbolId(0): SymbolFlags(Export | Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0)] - | rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 35, end: 36 }] - | rebuilt : SymbolId(0): [] - - -* namespace/contentious-names/input.ts - x Missing SymbolId: N - - x Missing SymbolId: _N - - x Missing SymbolId: N - - x Missing SymbolId: _N2 - - x Missing ReferenceId: N - - x Missing ReferenceId: N - - x Missing SymbolId: constructor - - x Missing SymbolId: _constructor - - x Missing ReferenceId: constructor - - x Missing ReferenceId: constructor - - x Missing SymbolId: length - - x Missing SymbolId: _length - - x Missing ReferenceId: length - - x Missing ReferenceId: length - - x Missing SymbolId: concat - - x Missing SymbolId: _concat - - x Missing ReferenceId: concat - - x Missing ReferenceId: concat - - x Missing SymbolId: copyWithin - - x Missing SymbolId: _copyWithin - - x Missing ReferenceId: copyWithin - - x Missing ReferenceId: copyWithin - - x Missing SymbolId: fill - - x Missing SymbolId: _fill - - x Missing ReferenceId: fill - - x Missing ReferenceId: fill - - x Missing SymbolId: find - - x Missing SymbolId: _find - - x Missing ReferenceId: find - - x Missing ReferenceId: find - - x Missing SymbolId: findIndex - - x Missing SymbolId: _findIndex - - x Missing ReferenceId: findIndex - - x Missing ReferenceId: findIndex - - x Missing SymbolId: lastIndexOf - - x Missing SymbolId: _lastIndexOf - - x Missing ReferenceId: lastIndexOf - - x Missing ReferenceId: lastIndexOf - - x Missing SymbolId: pop - - x Missing SymbolId: _pop - - x Missing ReferenceId: pop - - x Missing ReferenceId: pop - - x Missing SymbolId: push - - x Missing SymbolId: _push - - x Missing ReferenceId: push - - x Missing ReferenceId: push - - x Missing SymbolId: reverse - - x Missing SymbolId: _reverse - - x Missing ReferenceId: reverse - - x Missing ReferenceId: reverse - - x Missing SymbolId: shift - - x Missing SymbolId: _shift - - x Missing ReferenceId: shift - - x Missing ReferenceId: shift - - x Missing SymbolId: unshift - - x Missing SymbolId: _unshift - - x Missing ReferenceId: unshift - - x Missing ReferenceId: unshift - - x Missing SymbolId: slice - - x Missing SymbolId: _slice - - x Missing ReferenceId: slice - - x Missing ReferenceId: slice - - x Missing SymbolId: sort - - x Missing SymbolId: _sort - - x Missing ReferenceId: sort - - x Missing ReferenceId: sort - - x Missing SymbolId: splice - - x Missing SymbolId: _splice - - x Missing ReferenceId: splice - - x Missing ReferenceId: splice - - x Missing SymbolId: includes - - x Missing SymbolId: _includes - - x Missing ReferenceId: includes - - x Missing ReferenceId: includes - - x Missing SymbolId: indexOf - - x Missing SymbolId: _indexOf - - x Missing ReferenceId: indexOf - - x Missing ReferenceId: indexOf - - x Missing SymbolId: join - - x Missing SymbolId: _join - - x Missing ReferenceId: join - - x Missing ReferenceId: join - - x Missing SymbolId: keys - - x Missing SymbolId: _keys - - x Missing ReferenceId: keys - - x Missing ReferenceId: keys - - x Missing SymbolId: entries - - x Missing SymbolId: _entries - - x Missing ReferenceId: entries - - x Missing ReferenceId: entries - - x Missing SymbolId: values - - x Missing SymbolId: _values - - x Missing ReferenceId: values - - x Missing ReferenceId: values - - x Missing SymbolId: forEach - - x Missing SymbolId: _forEach - - x Missing ReferenceId: forEach - - x Missing ReferenceId: forEach - - x Missing SymbolId: filter - - x Missing SymbolId: _filter - - x Missing ReferenceId: filter - - x Missing ReferenceId: filter - - x Missing SymbolId: map - - x Missing SymbolId: _map - - x Missing ReferenceId: map - - x Missing ReferenceId: map - - x Missing SymbolId: every - - x Missing SymbolId: _every - - x Missing ReferenceId: every - - x Missing ReferenceId: every - - x Missing SymbolId: some - - x Missing SymbolId: _some - - x Missing ReferenceId: some - - x Missing ReferenceId: some - - x Missing SymbolId: reduce - - x Missing SymbolId: _reduce - - x Missing ReferenceId: reduce - - x Missing ReferenceId: reduce - - x Missing SymbolId: reduceRight - - x Missing SymbolId: _reduceRight - - x Missing ReferenceId: reduceRight - - x Missing ReferenceId: reduceRight - - x Missing SymbolId: toLocaleString - - x Missing SymbolId: _toLocaleString - - x Missing ReferenceId: toLocaleString - - x Missing ReferenceId: toLocaleString - - x Missing SymbolId: toString - - x Missing SymbolId: _toString - - x Missing ReferenceId: toString - - x Missing ReferenceId: toString - - x Missing SymbolId: flat - - x Missing SymbolId: _flat - - x Missing ReferenceId: flat - - x Missing ReferenceId: flat - - x Missing SymbolId: flatMap - - x Missing SymbolId: _flatMap - - x Missing ReferenceId: flatMap - - x Missing ReferenceId: flatMap - - x Missing ReferenceId: N - - x Missing ReferenceId: N - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] - - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(3), SymbolId(5), - | SymbolId(7), SymbolId(9), SymbolId(11), SymbolId(13), SymbolId(15), - | SymbolId(17), SymbolId(19), SymbolId(21), SymbolId(23), SymbolId(25), - | SymbolId(27), SymbolId(29), SymbolId(31), SymbolId(33), SymbolId(35), - | SymbolId(37), SymbolId(39), SymbolId(41), SymbolId(43), SymbolId(45), - | SymbolId(47), SymbolId(49), SymbolId(51), SymbolId(53), SymbolId(55), - | SymbolId(57), SymbolId(59), SymbolId(61), SymbolId(63), SymbolId(65), - | SymbolId(67), SymbolId(69)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(5), - | SymbolId(8), SymbolId(11), SymbolId(14), SymbolId(17), SymbolId(20), - | SymbolId(23), SymbolId(26), SymbolId(29), SymbolId(32), SymbolId(35), - | SymbolId(38), SymbolId(41), SymbolId(44), SymbolId(47), SymbolId(50), - | SymbolId(53), SymbolId(56), SymbolId(59), SymbolId(62), SymbolId(65), - | SymbolId(68), SymbolId(71), SymbolId(74), SymbolId(77), SymbolId(80), - | SymbolId(83), SymbolId(86), SymbolId(89), SymbolId(92), SymbolId(95), - | SymbolId(98), SymbolId(101)] - - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(2), SymbolId(70)] - | rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] - - x Binding symbols mismatch: - | after transform: ScopeId(3): [SymbolId(4), SymbolId(71)] - | rebuilt : ScopeId(3): [SymbolId(6), SymbolId(7)] - - x Binding symbols mismatch: - | after transform: ScopeId(4): [SymbolId(6), SymbolId(72)] - | rebuilt : ScopeId(4): [SymbolId(9), SymbolId(10)] - - x Binding symbols mismatch: - | after transform: ScopeId(5): [SymbolId(8), SymbolId(73)] - | rebuilt : ScopeId(5): [SymbolId(12), SymbolId(13)] - - x Binding symbols mismatch: - | after transform: ScopeId(6): [SymbolId(10), SymbolId(74)] - | rebuilt : ScopeId(6): [SymbolId(15), SymbolId(16)] - - x Binding symbols mismatch: - | after transform: ScopeId(7): [SymbolId(12), SymbolId(75)] - | rebuilt : ScopeId(7): [SymbolId(18), SymbolId(19)] - - x Binding symbols mismatch: - | after transform: ScopeId(8): [SymbolId(14), SymbolId(76)] - | rebuilt : ScopeId(8): [SymbolId(21), SymbolId(22)] - - x Binding symbols mismatch: - | after transform: ScopeId(9): [SymbolId(16), SymbolId(77)] - | rebuilt : ScopeId(9): [SymbolId(24), SymbolId(25)] - - x Binding symbols mismatch: - | after transform: ScopeId(10): [SymbolId(18), SymbolId(78)] - | rebuilt : ScopeId(10): [SymbolId(27), SymbolId(28)] - - x Binding symbols mismatch: - | after transform: ScopeId(11): [SymbolId(20), SymbolId(79)] - | rebuilt : ScopeId(11): [SymbolId(30), SymbolId(31)] - - x Binding symbols mismatch: - | after transform: ScopeId(12): [SymbolId(22), SymbolId(80)] - | rebuilt : ScopeId(12): [SymbolId(33), SymbolId(34)] - - x Binding symbols mismatch: - | after transform: ScopeId(13): [SymbolId(24), SymbolId(81)] - | rebuilt : ScopeId(13): [SymbolId(36), SymbolId(37)] - - x Binding symbols mismatch: - | after transform: ScopeId(14): [SymbolId(26), SymbolId(82)] - | rebuilt : ScopeId(14): [SymbolId(39), SymbolId(40)] - - x Binding symbols mismatch: - | after transform: ScopeId(15): [SymbolId(28), SymbolId(83)] - | rebuilt : ScopeId(15): [SymbolId(42), SymbolId(43)] - - x Binding symbols mismatch: - | after transform: ScopeId(16): [SymbolId(30), SymbolId(84)] - | rebuilt : ScopeId(16): [SymbolId(45), SymbolId(46)] - - x Binding symbols mismatch: - | after transform: ScopeId(17): [SymbolId(32), SymbolId(85)] - | rebuilt : ScopeId(17): [SymbolId(48), SymbolId(49)] - - x Binding symbols mismatch: - | after transform: ScopeId(18): [SymbolId(34), SymbolId(86)] - | rebuilt : ScopeId(18): [SymbolId(51), SymbolId(52)] - - x Binding symbols mismatch: - | after transform: ScopeId(19): [SymbolId(36), SymbolId(87)] - | rebuilt : ScopeId(19): [SymbolId(54), SymbolId(55)] - - x Binding symbols mismatch: - | after transform: ScopeId(20): [SymbolId(38), SymbolId(88)] - | rebuilt : ScopeId(20): [SymbolId(57), SymbolId(58)] - - x Binding symbols mismatch: - | after transform: ScopeId(21): [SymbolId(40), SymbolId(89)] - | rebuilt : ScopeId(21): [SymbolId(60), SymbolId(61)] - - x Binding symbols mismatch: - | after transform: ScopeId(22): [SymbolId(42), SymbolId(90)] - | rebuilt : ScopeId(22): [SymbolId(63), SymbolId(64)] - - x Binding symbols mismatch: - | after transform: ScopeId(23): [SymbolId(44), SymbolId(91)] - | rebuilt : ScopeId(23): [SymbolId(66), SymbolId(67)] - - x Binding symbols mismatch: - | after transform: ScopeId(24): [SymbolId(46), SymbolId(92)] - | rebuilt : ScopeId(24): [SymbolId(69), SymbolId(70)] - - x Binding symbols mismatch: - | after transform: ScopeId(25): [SymbolId(48), SymbolId(93)] - | rebuilt : ScopeId(25): [SymbolId(72), SymbolId(73)] - - x Binding symbols mismatch: - | after transform: ScopeId(26): [SymbolId(50), SymbolId(94)] - | rebuilt : ScopeId(26): [SymbolId(75), SymbolId(76)] - - x Binding symbols mismatch: - | after transform: ScopeId(27): [SymbolId(52), SymbolId(95)] - | rebuilt : ScopeId(27): [SymbolId(78), SymbolId(79)] - - x Binding symbols mismatch: - | after transform: ScopeId(28): [SymbolId(54), SymbolId(96)] - | rebuilt : ScopeId(28): [SymbolId(81), SymbolId(82)] - - x Binding symbols mismatch: - | after transform: ScopeId(29): [SymbolId(56), SymbolId(97)] - | rebuilt : ScopeId(29): [SymbolId(84), SymbolId(85)] - - x Binding symbols mismatch: - | after transform: ScopeId(30): [SymbolId(58), SymbolId(98)] - | rebuilt : ScopeId(30): [SymbolId(87), SymbolId(88)] - - x Binding symbols mismatch: - | after transform: ScopeId(31): [SymbolId(60), SymbolId(99)] - | rebuilt : ScopeId(31): [SymbolId(90), SymbolId(91)] - - x Binding symbols mismatch: - | after transform: ScopeId(32): [SymbolId(62), SymbolId(100)] - | rebuilt : ScopeId(32): [SymbolId(93), SymbolId(94)] - - x Binding symbols mismatch: - | after transform: ScopeId(33): [SymbolId(64), SymbolId(101)] - | rebuilt : ScopeId(33): [SymbolId(96), SymbolId(97)] - - x Binding symbols mismatch: - | after transform: ScopeId(34): [SymbolId(66), SymbolId(102)] - | rebuilt : ScopeId(34): [SymbolId(99), SymbolId(100)] - - x Binding symbols mismatch: - | after transform: ScopeId(35): [SymbolId(68), SymbolId(103)] - | rebuilt : ScopeId(35): [SymbolId(102), SymbolId(103)] - - -* namespace/declare/input.ts - x Missing SymbolId: N - - x Missing SymbolId: _N - - x Missing ReferenceId: N - - x Missing ReferenceId: N - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] - - x Bindings mismatch: - | after transform: ScopeId(1): ["B", "_N", "e", "v"] - | rebuilt : ScopeId(1): ["_N"] - - x Scope children mismatch: - | after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4), - | ScopeId(5)] - | rebuilt : ScopeId(1): [] - - -* namespace/declare-global-nested-namespace/input.ts - x Missing SymbolId: X - - x Missing SymbolId: _X - - x Missing ReferenceId: X - - x Missing ReferenceId: X - - x Bindings mismatch: - | after transform: ScopeId(0): ["X", "global", "i18n"] - | rebuilt : ScopeId(0): ["X", "i18n"] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(3), ScopeId(4)] - | rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2)] - - x Binding symbols mismatch: - | after transform: ScopeId(3): [SymbolId(4), SymbolId(6)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] - - -* namespace/empty-removed/input.ts - x Missing SymbolId: a - - x Missing SymbolId: _a - - x Missing SymbolId: c - - x Missing SymbolId: _c - - x Missing ReferenceId: c - - x Missing ReferenceId: c - - x Missing ReferenceId: a - - x Missing ReferenceId: a - - x Missing SymbolId: WithTypes - - x Missing SymbolId: _WithTypes - - x Missing SymbolId: d - - x Missing SymbolId: _d2 - - x Missing ReferenceId: d - - x Missing ReferenceId: d - - x Missing ReferenceId: WithTypes - - x Missing ReferenceId: WithTypes - - x Missing SymbolId: WithValues - - x Missing SymbolId: _WithValues - - x Missing SymbolId: a - - x Missing SymbolId: _a3 - - x Missing ReferenceId: a - - x Missing ReferenceId: a - - x Missing SymbolId: b - - x Missing SymbolId: _b3 - - x Missing ReferenceId: b - - x Missing ReferenceId: b - - x Missing SymbolId: c - - x Missing SymbolId: _c3 - - x Missing ReferenceId: c - - x Missing ReferenceId: c - - x Missing SymbolId: d - - x Missing SymbolId: _d3 - - x Missing ReferenceId: d - - x Missing ReferenceId: d - - x Missing SymbolId: e - - x Missing SymbolId: _e2 - - x Missing ReferenceId: e - - x Missing ReferenceId: e - - x Missing ReferenceId: WithValues - - x Missing ReferenceId: WithValues - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0), SymbolId(6), SymbolId(14)] - | rebuilt : ScopeId(0): [SymbolId(0), SymbolId(5), SymbolId(9)] - - x Bindings mismatch: - | after transform: ScopeId(1): ["_a", "b", "c", "d"] - | rebuilt : ScopeId(1): ["_a", "c"] - - x Scope children mismatch: - | after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4)] - | rebuilt : ScopeId(1): [ScopeId(2)] - - x Binding symbols mismatch: - | after transform: ScopeId(3): [SymbolId(3), SymbolId(26)] - | rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] - - x Bindings mismatch: - | after transform: ScopeId(6): ["_WithTypes", "a", "b", "c", "d"] - | rebuilt : ScopeId(3): ["_WithTypes", "d"] - - x Scope children mismatch: - | after transform: ScopeId(6): [ScopeId(7), ScopeId(9), ScopeId(11), - | ScopeId(12)] - | rebuilt : ScopeId(3): [ScopeId(4)] - - x Binding symbols mismatch: - | after transform: ScopeId(12): [SymbolId(33)] - | rebuilt : ScopeId(4): [SymbolId(8)] - - x Scope children mismatch: - | after transform: ScopeId(12): [ScopeId(13)] - | rebuilt : ScopeId(4): [] - - x Binding symbols mismatch: - | after transform: ScopeId(14): [SymbolId(15), SymbolId(17), SymbolId(19), - | SymbolId(21), SymbolId(23), SymbolId(34)] - | rebuilt : ScopeId(5): [SymbolId(10), SymbolId(11), SymbolId(14), - | SymbolId(18), SymbolId(21), SymbolId(24)] - - x Binding symbols mismatch: - | after transform: ScopeId(15): [SymbolId(16), SymbolId(35)] - | rebuilt : ScopeId(6): [SymbolId(12), SymbolId(13)] - - x Binding symbols mismatch: - | after transform: ScopeId(17): [SymbolId(18), SymbolId(36)] - | rebuilt : ScopeId(8): [SymbolId(15), SymbolId(16)] - - x Scope flags mismatch: - | after transform: ScopeId(18): ScopeFlags(StrictMode) - | rebuilt : ScopeId(9): ScopeFlags(StrictMode | Function) - - x Binding symbols mismatch: - | after transform: ScopeId(19): [SymbolId(20), SymbolId(37)] - | rebuilt : ScopeId(10): [SymbolId(19), SymbolId(20)] - - x Binding symbols mismatch: - | after transform: ScopeId(21): [SymbolId(22), SymbolId(38)] - | rebuilt : ScopeId(12): [SymbolId(22), SymbolId(23)] - - x Binding symbols mismatch: - | after transform: ScopeId(22): [SymbolId(39)] - | rebuilt : ScopeId(13): [SymbolId(25)] - - x Symbol flags mismatch: - | after transform: SymbolId(18): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(16): SymbolFlags(BlockScopedVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(20): SymbolFlags(BlockScopedVariable | Function) - | rebuilt : SymbolId(20): SymbolFlags(FunctionScopedVariable) - - -* namespace/export/input.ts - x Missing SymbolId: N - - x Missing SymbolId: _N - - x Missing ReferenceId: N - - x Missing ReferenceId: N - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] - - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(2)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] - - -* namespace/export-type-only/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["Platform"] - | rebuilt : ScopeId(0): [] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1)] - | rebuilt : ScopeId(0): [] - - x Unresolved references mismatch: - | after transform: ["Platform"] - | rebuilt : [] - - -* namespace/module-nested/input.ts - x Missing SymbolId: src - - x Missing SymbolId: _src - - x Missing SymbolId: ns1 - - x Missing SymbolId: _ns - - x Missing ReferenceId: _ns - - x Missing ReferenceId: foo - - x Missing ReferenceId: ns1 - - x Missing ReferenceId: ns1 - - x Missing ReferenceId: _src - - x Missing ReferenceId: _src - - x Missing SymbolId: ns2 - - x Missing SymbolId: _ns2 - - x Missing ReferenceId: _ns2 - - x Missing ReferenceId: foo - - x Missing ReferenceId: ns2 - - x Missing ReferenceId: ns2 - - x Missing ReferenceId: _src - - x Missing ReferenceId: _src - - x Missing ReferenceId: src - - x Missing ReferenceId: src - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] - - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(3), SymbolId(5)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(5)] - - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(2), SymbolId(6)] - | rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] - - x Binding symbols mismatch: - | after transform: ScopeId(4): [SymbolId(4), SymbolId(7)] - | rebuilt : ScopeId(4): [SymbolId(6), SymbolId(7)] - - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(Export | Class) - | rebuilt : SymbolId(4): SymbolFlags(Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [] - | rebuilt : SymbolId(4): [ReferenceId(1)] - - x Symbol flags mismatch: - | after transform: SymbolId(4): SymbolFlags(Export | Class) - | rebuilt : SymbolId(7): SymbolFlags(Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [] - | rebuilt : SymbolId(7): [ReferenceId(7)] - - -* namespace/module-nested-export/input.ts - x Missing SymbolId: src - - x Missing SymbolId: _src - - x Missing SymbolId: ns1 - - x Missing SymbolId: _ns - - x Missing ReferenceId: _ns - - x Missing ReferenceId: foo - - x Missing ReferenceId: ns1 - - x Missing ReferenceId: ns1 - - x Missing ReferenceId: _src - - x Missing ReferenceId: _src - - x Missing SymbolId: ns2 - - x Missing SymbolId: _ns2 - - x Missing ReferenceId: _ns2 - - x Missing ReferenceId: foo - - x Missing ReferenceId: ns2 - - x Missing ReferenceId: ns2 - - x Missing ReferenceId: _src - - x Missing ReferenceId: _src - - x Missing ReferenceId: src - - x Missing ReferenceId: src - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] - - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(3), SymbolId(5)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(5)] - - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(2), SymbolId(6)] - | rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] - - x Binding symbols mismatch: - | after transform: ScopeId(4): [SymbolId(4), SymbolId(7)] - | rebuilt : ScopeId(4): [SymbolId(6), SymbolId(7)] - - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(Export | Class) - | rebuilt : SymbolId(4): SymbolFlags(Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [] - | rebuilt : SymbolId(4): [ReferenceId(1)] - - x Symbol flags mismatch: - | after transform: SymbolId(4): SymbolFlags(Export | Class) - | rebuilt : SymbolId(7): SymbolFlags(Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [] - | rebuilt : SymbolId(7): [ReferenceId(7)] - - -* namespace/multiple/input.ts - x Missing SymbolId: N - - x Missing SymbolId: _N - - x Missing ReferenceId: N - - x Missing ReferenceId: N - - x Missing SymbolId: _N2 - - x Missing ReferenceId: N - - x Missing ReferenceId: N - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] - - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(3)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] - - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(2), SymbolId(4)] - | rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] - - -* namespace/mutable-fail/input.ts - ! Namespaces exporting non-const are not supported by Babel. Change to const - | or see: https://babeljs.io/docs/en/babel-plugin-transform-typescript - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/mutable-fail/input.ts:2:14] - 1 | namespace N { - 2 | export let V; - : ^ - 3 | } - `---- - - -* namespace/namespace-flag/input.ts - ! Namespace not marked type-only declare. Non-declarative namespaces are - | only supported experimentally in Babel. To enable and review caveats see: - | https://babeljs.io/docs/en/babel-plugin-transform-typescript - ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/namespace-flag/input.ts:1:1] - 1 | namespace N {} - : ^^^^^^^^^^^^^^ - `---- - - -* namespace/nested/input.ts - x Missing SymbolId: _A - - x Missing SymbolId: C - - x Missing SymbolId: _C - - x Missing ReferenceId: _C - - x Missing ReferenceId: G - - x Missing ReferenceId: _C - - x Missing ReferenceId: C - - x Missing ReferenceId: C - - x Missing ReferenceId: _A - - x Missing ReferenceId: _A - - x Missing SymbolId: _M - - x Missing ReferenceId: _M - - x Missing ReferenceId: M - - x Missing ReferenceId: M - - x Missing ReferenceId: _A - - x Missing ReferenceId: D - - x Missing SymbolId: _D - - x Missing ReferenceId: _D - - x Missing ReferenceId: H - - x Missing ReferenceId: D - - x Missing ReferenceId: D - - x Missing ReferenceId: _A - - x Missing ReferenceId: _A - - x Missing SymbolId: _F - - x Missing ReferenceId: F - - x Missing ReferenceId: F - - x Missing SymbolId: G - - x Missing SymbolId: _G - - x Missing ReferenceId: G - - x Missing ReferenceId: G - - x Missing ReferenceId: A - - x Missing ReferenceId: A - - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(1), SymbolId(4), SymbolId(6), - | SymbolId(12), SymbolId(14), SymbolId(16), SymbolId(18)] - | rebuilt : ScopeId(2): [SymbolId(1), SymbolId(2), SymbolId(6), - | SymbolId(9), SymbolId(14), SymbolId(17), SymbolId(20)] - - x Binding symbols mismatch: - | after transform: ScopeId(3): [SymbolId(2), SymbolId(3), SymbolId(19)] - | rebuilt : ScopeId(3): [SymbolId(3), SymbolId(4), SymbolId(5)] - - x Binding symbols mismatch: - | after transform: ScopeId(6): [SymbolId(5), SymbolId(20)] - | rebuilt : ScopeId(6): [SymbolId(7), SymbolId(8)] - - x Binding symbols mismatch: - | after transform: ScopeId(8): [SymbolId(7), SymbolId(8), SymbolId(21)] - | rebuilt : ScopeId(8): [SymbolId(10), SymbolId(11), SymbolId(12)] - - x Bindings mismatch: - | after transform: ScopeId(9): ["H", "I", "J", "K"] - | rebuilt : ScopeId(9): ["H"] - - x Scope flags mismatch: - | after transform: ScopeId(9): ScopeFlags(StrictMode) - | rebuilt : ScopeId(9): ScopeFlags(StrictMode | Function) - - x Binding symbols mismatch: - | after transform: ScopeId(11): [SymbolId(13), SymbolId(22)] - | rebuilt : ScopeId(11): [SymbolId(15), SymbolId(16)] - - x Binding symbols mismatch: - | after transform: ScopeId(12): [SymbolId(15), SymbolId(23)] - | rebuilt : ScopeId(12): [SymbolId(18), SymbolId(19)] - - x Bindings mismatch: - | after transform: ScopeId(13): ["L", "M"] - | rebuilt : ScopeId(13): ["L"] - - x Scope flags mismatch: - | after transform: ScopeId(13): ScopeFlags(StrictMode) - | rebuilt : ScopeId(13): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule | - | ValueModule) - | rebuilt : SymbolId(0): SymbolFlags(Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [] - | rebuilt : SymbolId(0): [ReferenceId(33), ReferenceId(34)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 22, end: 23 }] - | rebuilt : SymbolId(0): [] - - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(Export | Class) - | rebuilt : SymbolId(4): SymbolFlags(Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [] - | rebuilt : SymbolId(4): [ReferenceId(1)] - - x Symbol flags mismatch: - | after transform: SymbolId(3): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - | rebuilt : SymbolId(5): SymbolFlags(BlockScopedVariable | - | ConstVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(4): SymbolFlags(BlockScopedVariable | Function | - | NameSpaceModule | ValueModule) - | rebuilt : SymbolId(6): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [] - | rebuilt : SymbolId(6): [ReferenceId(9), ReferenceId(10)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(4): [Span { start: 129, end: 130 }] - | rebuilt : SymbolId(6): [] - - x Symbol flags mismatch: - | after transform: SymbolId(5): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - | rebuilt : SymbolId(8): SymbolFlags(BlockScopedVariable | - | ConstVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(6): SymbolFlags(BlockScopedVariable | Export | - | Function | NameSpaceModule | ValueModule) - | rebuilt : SymbolId(9): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(6): [] - | rebuilt : SymbolId(9): [ReferenceId(12), ReferenceId(22), - | ReferenceId(23)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(6): [Span { start: 207, end: 208 }] - | rebuilt : SymbolId(9): [] - - x Symbol flags mismatch: - | after transform: SymbolId(8): SymbolFlags(Export | RegularEnum) - | rebuilt : SymbolId(12): SymbolFlags(BlockScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(8): [] - | rebuilt : SymbolId(12): [ReferenceId(21)] - - x Symbol flags mismatch: - | after transform: SymbolId(12): SymbolFlags(Class | NameSpaceModule | - | ValueModule) - | rebuilt : SymbolId(14): SymbolFlags(Class) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(12): [] - | rebuilt : SymbolId(14): [ReferenceId(26), ReferenceId(27)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(12): [Span { start: 325, end: 326 }] - | rebuilt : SymbolId(14): [] - - x Symbol flags mismatch: - | after transform: SymbolId(16): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(20): SymbolFlags(BlockScopedVariable) - - x Reference symbol mismatch: - | after transform: ReferenceId(0): Some("C") - | rebuilt : ReferenceId(8): Some("C") +* object-rest/duplicate-decl-bug/input.js +x Output mismatch +* object-rest/export/input.mjs +x Output mismatch -* namespace/nested-namespace/input.ts - x Missing SymbolId: A +* object-rest/for-x/input.js +x Output mismatch - x Missing SymbolId: _A +* object-rest/for-x-array-pattern/input.js +x Output mismatch - x Missing ReferenceId: _A +* object-rest/for-x-completion-record/input.js +x Output mismatch - x Missing ReferenceId: G +* object-rest/impure-computed/input.js +x Output mismatch - x Missing ReferenceId: A +* object-rest/nested/input.js +x Output mismatch - x Missing ReferenceId: A +* object-rest/nested-2/input.js +x Output mismatch - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] +* object-rest/nested-array/input.js +x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["B", "G", "_A"] - | rebuilt : ScopeId(1): ["G", "_A"] +* object-rest/nested-array-2/input.js +x Output mismatch - x Scope children mismatch: - | after transform: ScopeId(1): [ScopeId(2), ScopeId(4)] - | rebuilt : ScopeId(1): [ScopeId(2)] +* object-rest/nested-computed-key/input.js +x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(4): ["G", "H"] - | rebuilt : ScopeId(2): ["G"] +* object-rest/nested-default-value/input.js +x Output mismatch - x Scope flags mismatch: - | after transform: ScopeId(4): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +* object-rest/nested-literal-property/input.js +x Output mismatch - x Symbol flags mismatch: - | after transform: SymbolId(3): SymbolFlags(Export | RegularEnum) - | rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable) +* object-rest/nested-order/input.js +x Output mismatch - x Symbol reference IDs mismatch: - | after transform: SymbolId(3): [] - | rebuilt : SymbolId(2): [ReferenceId(4)] +* object-rest/non-string-computed/input.js +x Output mismatch +* object-rest/null-destructuring/input.js +x Output mismatch -* namespace/nested-shorthand/input.ts - x Missing SymbolId: X +* object-rest/object-ref-computed/input.js +x Output mismatch - x Missing SymbolId: _X +* object-rest/parameters/input.js +x Output mismatch - x Missing SymbolId: Y +* object-rest/parameters-object-rest-used-in-default/input.js +x Output mismatch - x Missing SymbolId: _Y +* object-rest/remove-unused-excluded-keys-loose/input.js +x Output mismatch - x Missing ReferenceId: _Y +* object-rest/symbol/input.js +x Output mismatch - x Missing ReferenceId: Y +* object-rest/template-literal-allLiterals-true-no-hoisting/input.js +x Output mismatch - x Missing ReferenceId: Y +* object-rest/template-literal-property-allLiterals-false/input.js +x Output mismatch - x Missing ReferenceId: _X +* object-rest/template-literal-property-allLiterals-true/input.js +x Output mismatch - x Missing ReferenceId: _X +* object-rest/variable-destructuring/input.js +x Output mismatch - x Missing ReferenceId: X +* object-rest/with-array-rest/input.js +x Output mismatch - x Missing ReferenceId: X +* object-spread/expression/input.js +x Output mismatch - x Missing SymbolId: proj +* object-spread/side-effect/input.js +x Output mismatch - x Missing SymbolId: _proj +* object-spread-loose/assignment/input.js +x Output mismatch - x Missing SymbolId: data +* object-spread-loose/expression/input.js +x Output mismatch - x Missing SymbolId: _data +* object-spread-loose/parameters-object-rest-used-in-default/input.js +x Output mismatch - x Missing SymbolId: util +* object-spread-loose/side-effect/input.js +x Output mismatch - x Missing SymbolId: _util +* object-spread-loose/variable-declaration/input.js +x Output mismatch - x Missing SymbolId: api +* object-spread-loose-builtins/expression/input.js +x Output mismatch - x Missing SymbolId: _api +* object-spread-loose-builtins/side-effect/input.js +x Output mismatch - x Missing ReferenceId: _api +* regression/gh-4904/input.js +x Output mismatch - x Missing ReferenceId: api +* regression/gh-5151/input.js +x Output mismatch - x Missing ReferenceId: api +* regression/gh-7304/input.mjs +x Output mismatch - x Missing ReferenceId: _util +* regression/gh-7388/input.js +x Output mismatch - x Missing ReferenceId: _util +* regression/gh-8323/input.js +x Output mismatch - x Missing ReferenceId: util - x Missing ReferenceId: util +# babel-plugin-transform-exponentiation-operator (1/4) +* exponentiation-operator/assignment/input.js +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2)] +rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(2)] +Reference flags mismatch: +after transform: ReferenceId(2): ReferenceFlags(Write) +rebuilt : ReferenceId(0): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(1): ReferenceFlags(Write) +rebuilt : ReferenceId(2): ReferenceFlags(Read) - x Missing ReferenceId: _data +* regression/4349/input.js +x Output mismatch - x Missing ReferenceId: _data +* regression/4403/input.js +Reference flags mismatch: +after transform: ReferenceId(3): ReferenceFlags(Write) +rebuilt : ReferenceId(0): ReferenceFlags(Read | Write) - x Missing ReferenceId: data - x Missing ReferenceId: data +# babel-plugin-transform-arrow-functions (1/6) +* assumption-newableArrowFunctions-false/basic/input.js +x Output mismatch - x Missing ReferenceId: _proj +* assumption-newableArrowFunctions-false/naming/input.js +x Output mismatch - x Missing ReferenceId: _proj +* assumption-newableArrowFunctions-false/self-referential/input.js +x Output mismatch - x Missing ReferenceId: proj +* spec/newableArrowFunction-default/input.js +x Output mismatch - x Missing ReferenceId: proj +* spec/newableArrowFunction-vs-spec-false/input.js +x Output mismatch - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0), SymbolId(3)] - | rebuilt : ScopeId(0): [SymbolId(0), SymbolId(5)] - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(8)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] +# babel-preset-typescript (5/10) +* jsx-compat/ts-invalid/input.ts + x Expected `>` but found `/` + ,-[tasks/coverage/babel/packages/babel-preset-typescript/test/fixtures/jsx-compat/ts-invalid/input.ts:1:7] + 1 | (
); + : | + : `-- `>` expected + `---- - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(2), SymbolId(9)] - | rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] - x Binding symbols mismatch: - | after transform: ScopeId(3): [SymbolId(4), SymbolId(10)] - | rebuilt : ScopeId(3): [SymbolId(6), SymbolId(7)] +* node-extensions/import-in-cts/input.cts +x Output mismatch - x Binding symbols mismatch: - | after transform: ScopeId(4): [SymbolId(5), SymbolId(11)] - | rebuilt : ScopeId(4): [SymbolId(8), SymbolId(9)] +* node-extensions/type-assertion-in-ts/input.ts +Unresolved references mismatch: +after transform: ["T", "x"] +rebuilt : ["x"] - x Binding symbols mismatch: - | after transform: ScopeId(5): [SymbolId(6), SymbolId(12)] - | rebuilt : ScopeId(5): [SymbolId(10), SymbolId(11)] +* node-extensions/type-param-arrow-in-ts/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["T"] +rebuilt : ScopeId(1): [] - x Binding symbols mismatch: - | after transform: ScopeId(6): [SymbolId(7), SymbolId(13)] - | rebuilt : ScopeId(6): [SymbolId(12), SymbolId(13)] +* opts/optimizeConstEnums/input.ts +x Output mismatch - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - | rebuilt : SymbolId(4): SymbolFlags(BlockScopedVariable | - | ConstVariable) - x Symbol flags mismatch: - | after transform: SymbolId(7): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - | rebuilt : SymbolId(13): SymbolFlags(BlockScopedVariable | - | ConstVariable) +# babel-plugin-transform-typescript (39/152) +* cast/as-expression/input.ts +Unresolved references mismatch: +after transform: ["T", "x"] +rebuilt : ["x"] +* cast/type-assertion/input.ts +Unresolved references mismatch: +after transform: ["T", "x"] +rebuilt : ["x"] -* namespace/same-name/input.ts - x Missing SymbolId: N +* class/accessor-allowDeclareFields-false/input.ts +TS(18010) - x Missing SymbolId: _N2 + x An accessibility modifier cannot be used with a private identifier. + ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/class/accessor-allowDeclareFields-false/input.ts:8:3] + 7 | abstract accessor prop6: number; + 8 | private accessor #p: any; + : ^^^^^^^ + 9 | + `---- - x Missing SymbolId: _N7 - x Missing SymbolId: _N4 +* class/accessor-allowDeclareFields-true/input.ts +TS(18010) - x Missing ReferenceId: _N7 + x An accessibility modifier cannot be used with a private identifier. + ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/class/accessor-allowDeclareFields-true/input.ts:8:3] + 7 | abstract accessor prop6: number; + 8 | private accessor #p: any; + : ^^^^^^^ + 9 | + `---- - x Missing ReferenceId: _N7 - x Missing SymbolId: N +* class/head/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["T"] +rebuilt : ScopeId(1): [] +Unresolved references mismatch: +after transform: ["D", "I"] +rebuilt : ["D"] - x Missing SymbolId: _N6 +* class/methods/input.ts +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4), ScopeId(5)] +rebuilt : ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4)] - x Missing ReferenceId: _N6 +* class/private-method-override/input.ts +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4)] +rebuilt : ScopeId(1): [ScopeId(2)] - x Missing ReferenceId: _N3 +* declarations/const-enum/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["E"] +rebuilt : ScopeId(0): [] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1)] +rebuilt : ScopeId(0): [] - x Missing ReferenceId: N +* declarations/erased/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["E", "I", "M", "N", "T", "m", "x"] +rebuilt : ScopeId(0): [] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), ScopeId(4), ScopeId(5), ScopeId(6), ScopeId(7), ScopeId(8)] +rebuilt : ScopeId(0): [] - x Missing ReferenceId: N +* declarations/export-declare-enum/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A"] +rebuilt : ScopeId(0): [] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1)] +rebuilt : ScopeId(0): [] - x Missing ReferenceId: _N2 +* declarations/nested-namespace/input.mjs +Bindings mismatch: +after transform: ScopeId(0): ["P"] +rebuilt : ScopeId(0): [] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1)] +rebuilt : ScopeId(0): [] - x Missing ReferenceId: _N2 +* enum/boolean-value/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["A", "E"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Missing SymbolId: _N8 +* enum/const/input.ts +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(ConstEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Missing ReferenceId: _N8 +* enum/constant-folding/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["E", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Missing ReferenceId: _N5 +* enum/enum-merging-inner-references/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["Animals", "Cat", "Dog"] +rebuilt : ScopeId(1): ["Animals"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Bindings mismatch: +after transform: ScopeId(2): ["Animals", "CatDog"] +rebuilt : ScopeId(2): ["Animals"] +Scope flags mismatch: +after transform: ScopeId(2): ScopeFlags(StrictMode) +rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 41, end: 48 }] +rebuilt : SymbolId(0): [] +Unresolved references mismatch: +after transform: ["Cat", "Dog"] +rebuilt : [] - x Missing ReferenceId: N +* enum/enum-merging-inner-references-shadow/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["Animals", "Cat"] +rebuilt : ScopeId(1): ["Animals"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Bindings mismatch: +after transform: ScopeId(2): ["Animals", "Dog"] +rebuilt : ScopeId(2): ["Animals"] +Scope flags mismatch: +after transform: ScopeId(2): ScopeFlags(StrictMode) +rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +Bindings mismatch: +after transform: ScopeId(3): ["Animals", "CatDog"] +rebuilt : ScopeId(3): ["Animals"] +Scope flags mismatch: +after transform: ScopeId(3): ScopeFlags(StrictMode) +rebuilt : ScopeId(3): ScopeFlags(StrictMode | Function) +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0)] +rebuilt : SymbolId(0): [] +Symbol reference IDs mismatch: +after transform: SymbolId(1): [ReferenceId(1)] +rebuilt : SymbolId(1): [] +Symbol flags mismatch: +after transform: SymbolId(2): SymbolFlags(RegularEnum) +rebuilt : SymbolId(2): SymbolFlags(FunctionScopedVariable) +Symbol redeclarations mismatch: +after transform: SymbolId(2): [Span { start: 65, end: 72 }, Span { start: 92, end: 99 }] +rebuilt : SymbolId(2): [] - x Missing ReferenceId: N +* enum/export/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["A", "E"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Bindings mismatch: +after transform: ScopeId(2): ["B", "E"] +rebuilt : ScopeId(2): ["E"] +Scope flags mismatch: +after transform: ScopeId(2): ScopeFlags(StrictMode) +rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(Export | RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | Export) +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 40, end: 41 }] +rebuilt : SymbolId(0): [] - x Missing ReferenceId: _N2 +* enum/inferred/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["E", "x", "y"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Missing ReferenceId: _N2 +* enum/inner-references/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["E", "a", "b"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Missing SymbolId: _N9 +* enum/mix-references/input.ts +x Output mismatch - x Missing ReferenceId: _N9 +* enum/non-foldable-constant/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["E", "a", "b"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Missing ReferenceId: _N +* enum/non-scoped/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["E", "x", "y"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Bindings mismatch: +after transform: ScopeId(2): ["E", "z"] +rebuilt : ScopeId(2): ["E"] +Scope flags mismatch: +after transform: ScopeId(2): ScopeFlags(StrictMode) +rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 40, end: 41 }] +rebuilt : SymbolId(0): [] - x Missing ReferenceId: N +* enum/outer-references/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["IPC", "SERVER", "SOCKET", "socketType"] +rebuilt : ScopeId(1): ["socketType"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Bindings mismatch: +after transform: ScopeId(2): ["IPC", "SERVER", "SOCKET", "UV_READABLE", "UV_WRITABLE", "constants"] +rebuilt : ScopeId(2): ["constants"] +Scope flags mismatch: +after transform: ScopeId(2): ScopeFlags(StrictMode) +rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(10)] +rebuilt : SymbolId(0): [ReferenceId(7)] +Symbol flags mismatch: +after transform: SymbolId(4): SymbolFlags(RegularEnum) +rebuilt : SymbolId(2): SymbolFlags(FunctionScopedVariable) - x Missing ReferenceId: N +* enum/reverse-mappings-syntactically-determinable/input.ts +x Output mismatch - x Missing ReferenceId: _N2 +* enum/scoped/input.ts +Scope flags mismatch: +after transform: ScopeId(2): ScopeFlags(StrictMode) +rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable) - x Missing ReferenceId: _N2 +* enum/string-value/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["A", "A2", "B", "B2", "E"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Missing ReferenceId: N +* enum/string-value-template/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["A", "E"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Missing ReferenceId: N +* enum/string-values-computed/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["A", "E"] +rebuilt : ScopeId(1): ["E"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] +* enum/ts5.0-const-foldable/input.ts +x Output mismatch - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(3), SymbolId(7)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(5)] +* exports/declare-namespace/input.ts +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(3)] +rebuilt : ScopeId(0): [ScopeId(1)] +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(Export | Class | NameSpaceModule | Ambient) +rebuilt : SymbolId(0): SymbolFlags(Export | Class) +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(2)] +rebuilt : SymbolId(0): [ReferenceId(1)] +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 83, end: 84 }] +rebuilt : SymbolId(0): [] - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(2), SymbolId(8)] - | rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] +* exports/declare-shadowed/input.ts +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), ScopeId(4)] +rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2)] +Unresolved references mismatch: +after transform: ["Signal", "Signal2"] +rebuilt : [] - x Binding symbols mismatch: - | after transform: ScopeId(3): [SymbolId(4), SymbolId(9)] - | rebuilt : ScopeId(3): [SymbolId(6), SymbolId(7)] +* exports/declared-types/input.ts +x Output mismatch - x Binding symbols mismatch: - | after transform: ScopeId(5): [SymbolId(5), SymbolId(10)] - | rebuilt : ScopeId(5): [SymbolId(8), SymbolId(9)] +* exports/default-function/input.ts +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3)] +rebuilt : ScopeId(0): [ScopeId(1)] - x Binding symbols mismatch: - | after transform: ScopeId(7): [SymbolId(6), SymbolId(11)] - | rebuilt : ScopeId(7): [SymbolId(10), SymbolId(11)] +* exports/export-const-enums/input.ts +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(Export | ConstEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(2)] +rebuilt : SymbolId(0): [ReferenceId(1)] - x Scope flags mismatch: - | after transform: ScopeId(8): ScopeFlags(StrictMode) - | rebuilt : ScopeId(8): ScopeFlags(StrictMode | Function) +* exports/export-import=/input.ts +Missing SymbolId: JGraph +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0), SymbolId(1)] +rebuilt : ScopeId(0): [SymbolId(0), SymbolId(1)] - x Symbol flags mismatch: - | after transform: SymbolId(4): SymbolFlags(BlockScopedVariable | Export - | | Function) - | rebuilt : SymbolId(7): SymbolFlags(FunctionScopedVariable) +* exports/export-type/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A"] +rebuilt : ScopeId(0): [] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1)] +rebuilt : ScopeId(0): [] - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [] - | rebuilt : SymbolId(7): [ReferenceId(3)] +* exports/export=/input.ts + ! `export = ;` is only supported when compiling modules to CommonJS. + | Please consider using `export default ;`, or add @babel/plugin- + | transform-modules-commonjs to your Babel config. + ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/exports/export=/input.ts:1:1] + 1 | export = 0; + : ^^^^^^^^^^^ + `---- - x Symbol flags mismatch: - | after transform: SymbolId(5): SymbolFlags(Export | Class) - | rebuilt : SymbolId(9): SymbolFlags(Class) - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [] - | rebuilt : SymbolId(9): [ReferenceId(9)] +* exports/imported-types/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "B", "C"] +rebuilt : ScopeId(0): ["C"] - x Symbol flags mismatch: - | after transform: SymbolId(6): SymbolFlags(Export | RegularEnum) - | rebuilt : SymbolId(11): SymbolFlags(BlockScopedVariable) +* exports/imported-types-only-remove-type-imports/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "B", "C"] +rebuilt : ScopeId(0): ["C"] - x Symbol reference IDs mismatch: - | after transform: SymbolId(6): [] - | rebuilt : SymbolId(11): [ReferenceId(16)] +* exports/interface/input.ts +x Output mismatch +* exports/issue-9916-1/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["PromiseRejectCb", "PromiseResolveCb", "a"] +rebuilt : ScopeId(0): ["a"] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] +rebuilt : ScopeId(0): [] +Unresolved references mismatch: +after transform: ["PromiseLike"] +rebuilt : [] -* namespace/undeclared/input.ts - x Missing SymbolId: N +* exports/issue-9916-2/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["PromiseRejectCb", "PromiseResolveCb"] +rebuilt : ScopeId(0): [] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] +rebuilt : ScopeId(0): [] +Unresolved references mismatch: +after transform: ["PromiseLike"] +rebuilt : [] - x Missing SymbolId: _N +* exports/issue-9916-3/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["PromiseRejectCb", "PromiseResolveCb", "a"] +rebuilt : ScopeId(0): ["a"] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] +rebuilt : ScopeId(0): [] +Unresolved references mismatch: +after transform: ["PromiseLike"] +rebuilt : [] - x Missing ReferenceId: N +* exports/type-only-export-specifier-1/input.ts +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0)] +rebuilt : SymbolId(0): [] - x Missing ReferenceId: N +* function/overloads/input.ts +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] +rebuilt : ScopeId(0): [ScopeId(1)] - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] +* function/overloads-exports/input.mjs +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] +rebuilt : ScopeId(0): [ScopeId(1)] - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(2)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] +* function/parameters/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["T", "x", "y"] +rebuilt : ScopeId(1): ["x", "y"] +* imports/elide-preact/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["FooBar", "Fragment", "h", "x"] +rebuilt : ScopeId(0): ["x"] -* optimize-const-enums/custom-values/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "w", "x", "y", "z"] - | rebuilt : ScopeId(1): ["A"] +* imports/elide-preact-no-1/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["Fragment", "h", "render"] +rebuilt : ScopeId(0): ["Fragment", "h"] - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* imports/elide-preact-no-2/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["Fragment", "render"] +rebuilt : ScopeId(0): ["Fragment"] - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +* imports/elide-react/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["React", "x"] +rebuilt : ScopeId(0): ["x"] +* imports/elide-type-referenced-in-imports-equal-no/input.ts +Missing SymbolId: foo +Missing SymbolId: bar +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0), SymbolId(1), SymbolId(2), SymbolId(3)] +rebuilt : ScopeId(0): [SymbolId(0), SymbolId(1), SymbolId(2), SymbolId(3)] -* optimize-const-enums/custom-values-exported/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "w", "x", "y", "z"] - | rebuilt : ScopeId(1): ["A"] +* imports/elide-typeof/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "x"] +rebuilt : ScopeId(0): ["x"] - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* imports/elision/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "B", "C", "D", "Used", "Used2", "Used3", "x", "y", "z"] +rebuilt : ScopeId(0): ["Used", "Used2", "Used3", "x", "y", "z"] - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | Export) +* imports/elision-export-type/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "B", "T", "T1"] +rebuilt : ScopeId(0): ["A", "B"] +* imports/elision-locations/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "B", "C", "Class", "D", "E", "F", "G", "H", "Iface", "x", "y"] +rebuilt : ScopeId(0): ["A", "Class", "x", "y"] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] +rebuilt : ScopeId(0): [ScopeId(1)] -* optimize-const-enums/declare/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(0): ["A"] - | rebuilt : ScopeId(0): [] +* imports/elision-qualifiedname/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "x"] +rebuilt : ScopeId(0): ["x"] - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1)] - | rebuilt : ScopeId(0): [] +* imports/elision-rename/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["B", "x"] +rebuilt : ScopeId(0): ["x"] - x Reference symbol mismatch: - | after transform: ReferenceId(0): Some("A") - | rebuilt : ReferenceId(0): None +* imports/enum-id/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "Enum"] +rebuilt : ScopeId(0): ["Enum"] +Bindings mismatch: +after transform: ScopeId(1): ["A", "Enum"] +rebuilt : ScopeId(1): ["Enum"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(1): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Unresolved references mismatch: - | after transform: [] - | rebuilt : ["A"] +* imports/enum-value/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["Enum", "id"] +rebuilt : ScopeId(1): ["Enum"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(1): SymbolFlags(RegularEnum) +rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable) +* imports/import-removed-exceptions/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["H", "I", "I2", "J", "a", "b", "c2", "d", "d2", "e", "e4"] +rebuilt : ScopeId(0): [] -* optimize-const-enums/export-const-enum/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "y"] - | rebuilt : ScopeId(1): ["A"] +* imports/import-type/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "B", "T", "Types"] +rebuilt : ScopeId(0): [] - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* imports/import-type-func-with-duplicate-name/input.ts +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(BlockScopedVariable | Function | TypeImport) +rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | Function) +Symbol span mismatch: +after transform: SymbolId(0): Span { start: 13, end: 16 } +rebuilt : SymbolId(0): Span { start: 70, end: 73 } +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 70, end: 73 }] +rebuilt : SymbolId(0): [] +Symbol flags mismatch: +after transform: SymbolId(1): SymbolFlags(BlockScopedVariable | Function | TypeImport) +rebuilt : SymbolId(1): SymbolFlags(BlockScopedVariable | Function) +Symbol span mismatch: +after transform: SymbolId(1): Span { start: 43, end: 47 } +rebuilt : SymbolId(1): Span { start: 87, end: 91 } +Symbol redeclarations mismatch: +after transform: SymbolId(1): [Span { start: 87, end: 91 }] +rebuilt : SymbolId(1): [] - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | Export) +* imports/import-type-not-removed/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "B"] +rebuilt : ScopeId(0): [] +* imports/import=-module/input.ts + ! `import lib = require(...);` is only supported when compiling modules + | to CommonJS. + | Please consider using `import lib from '...';` alongside Typescript's + | --allowSyntheticDefaultImports option, or add @babel/plugin-transform- + | modules-commonjs to your Babel config. + ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/imports/import=-module/input.ts:1:1] + 1 | import lib = require("lib"); + : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + 2 | lib(); + `---- -* optimize-const-enums/export-const-enum-type-and-value/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["WhitespaceFlag", "after", "before"] - | rebuilt : ScopeId(1): ["WhitespaceFlag"] - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* imports/only-remove-type-imports/input.ts +x Output mismatch - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable | Export) +* imports/property-signature/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["A", "obj"] +rebuilt : ScopeId(0): ["obj"] - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(8)] - | rebuilt : SymbolId(0): [ReferenceId(5), ReferenceId(6), - | ReferenceId(7)] +* imports/type-only-export-specifier-1/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["bar", "baz", "foo"] +rebuilt : ScopeId(0): [] +* imports/type-only-export-specifier-2/input.ts +x Output mismatch -* optimize-const-enums/export-const-enum-type-no-deopt/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["WhitespaceFlag", "after", "before"] - | rebuilt : ScopeId(1): ["WhitespaceFlag"] +* imports/type-only-import-specifier-1/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["Foo1", "Foo2"] +rebuilt : ScopeId(0): ["Foo1"] - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* imports/type-only-import-specifier-2/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["Foo1", "Foo2"] +rebuilt : ScopeId(0): [] - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +* imports/type-only-import-specifier-3/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["Foo1", "Foo2"] +rebuilt : ScopeId(0): [] - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(8)] - | rebuilt : SymbolId(0): [ReferenceId(5), ReferenceId(6)] +* imports/type-only-import-specifier-4/input.ts +x Output mismatch +* lvalues/TSTypeParameterInstantiation/input.ts +Bindings mismatch: +after transform: ScopeId(1): ["M"] +rebuilt : ScopeId(1): [] +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(2), ReferenceId(3)] +rebuilt : SymbolId(0): [ReferenceId(0)] +Symbol reference IDs mismatch: +after transform: SymbolId(2): [ReferenceId(4), ReferenceId(6)] +rebuilt : SymbolId(1): [ReferenceId(1)] -* optimize-const-enums/exported/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "y"] - | rebuilt : ScopeId(1): ["A"] +* namespace/alias/input.ts +Missing SymbolId: b +Missing SymbolId: AliasModule +Bindings mismatch: +after transform: ScopeId(0): ["AliasModule", "LongNameModule", "b", "babel", "bar", "baz", "node", "some", "str"] +rebuilt : ScopeId(0): ["AliasModule", "b", "babel", "bar", "baz", "node", "some", "str"] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1)] +rebuilt : ScopeId(0): [] +Reference symbol mismatch: +after transform: ReferenceId(3): Some("AliasModule") +rebuilt : ReferenceId(2): Some("AliasModule") +Reference symbol mismatch: +after transform: ReferenceId(4): Some("AliasModule") +rebuilt : ReferenceId(3): Some("AliasModule") +Unresolved reference IDs mismatch for "LongNameModule": +after transform: [ReferenceId(1), ReferenceId(5)] +rebuilt : [ReferenceId(1)] + +* namespace/ambient-module-nested/input.ts +Ambient modules cannot be nested in other modules or namespaces. + +* namespace/ambient-module-nested-exported/input.ts +Ambient modules cannot be nested in other modules or namespaces. - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* namespace/clobber-class/input.ts +Missing SymbolId: _A +Missing ReferenceId: _A +Missing ReferenceId: A +Missing ReferenceId: A +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(1), SymbolId(2)] +rebuilt : ScopeId(2): [SymbolId(1), SymbolId(2)] +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule | ValueModule) +rebuilt : SymbolId(0): SymbolFlags(Class) +Symbol reference IDs mismatch: +after transform: SymbolId(0): [] +rebuilt : SymbolId(0): [ReferenceId(1), ReferenceId(2)] +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 22, end: 23 }] +rebuilt : SymbolId(0): [] +Symbol flags mismatch: +after transform: SymbolId(1): SymbolFlags(BlockScopedVariable | ConstVariable | Export) +rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | ConstVariable) - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable | Export) +* namespace/clobber-enum/input.ts +Missing SymbolId: _A +Missing ReferenceId: _A +Missing ReferenceId: A +Missing ReferenceId: A +Bindings mismatch: +after transform: ScopeId(1): ["A", "C"] +rebuilt : ScopeId(1): ["A"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(2), SymbolId(3)] +rebuilt : ScopeId(2): [SymbolId(2), SymbolId(3)] +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum | NameSpaceModule | ValueModule) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(3)] +rebuilt : SymbolId(0): [ReferenceId(3), ReferenceId(5), ReferenceId(6)] +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 30, end: 31 }] +rebuilt : SymbolId(0): [] +Symbol flags mismatch: +after transform: SymbolId(2): SymbolFlags(BlockScopedVariable | ConstVariable | Export) +rebuilt : SymbolId(3): SymbolFlags(BlockScopedVariable | ConstVariable) +* namespace/clobber-export/input.ts +Missing SymbolId: _N +Missing ReferenceId: N +Missing ReferenceId: N +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(1), SymbolId(2)] +rebuilt : ScopeId(2): [SymbolId(1), SymbolId(2)] +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(Export | Class | NameSpaceModule | ValueModule) +rebuilt : SymbolId(0): SymbolFlags(Export | Class) +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0)] +rebuilt : SymbolId(0): [ReferenceId(0), ReferenceId(1), ReferenceId(2)] +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 35, end: 36 }] +rebuilt : SymbolId(0): [] -* optimize-const-enums/local/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "x", "y"] - | rebuilt : ScopeId(1): ["A"] +* namespace/contentious-names/input.ts +Missing SymbolId: N +Missing SymbolId: _N +Missing SymbolId: N +Missing SymbolId: _N2 +Missing ReferenceId: N +Missing ReferenceId: N +Missing SymbolId: constructor +Missing SymbolId: _constructor +Missing ReferenceId: constructor +Missing ReferenceId: constructor +Missing SymbolId: length +Missing SymbolId: _length +Missing ReferenceId: length +Missing ReferenceId: length +Missing SymbolId: concat +Missing SymbolId: _concat +Missing ReferenceId: concat +Missing ReferenceId: concat +Missing SymbolId: copyWithin +Missing SymbolId: _copyWithin +Missing ReferenceId: copyWithin +Missing ReferenceId: copyWithin +Missing SymbolId: fill +Missing SymbolId: _fill +Missing ReferenceId: fill +Missing ReferenceId: fill +Missing SymbolId: find +Missing SymbolId: _find +Missing ReferenceId: find +Missing ReferenceId: find +Missing SymbolId: findIndex +Missing SymbolId: _findIndex +Missing ReferenceId: findIndex +Missing ReferenceId: findIndex +Missing SymbolId: lastIndexOf +Missing SymbolId: _lastIndexOf +Missing ReferenceId: lastIndexOf +Missing ReferenceId: lastIndexOf +Missing SymbolId: pop +Missing SymbolId: _pop +Missing ReferenceId: pop +Missing ReferenceId: pop +Missing SymbolId: push +Missing SymbolId: _push +Missing ReferenceId: push +Missing ReferenceId: push +Missing SymbolId: reverse +Missing SymbolId: _reverse +Missing ReferenceId: reverse +Missing ReferenceId: reverse +Missing SymbolId: shift +Missing SymbolId: _shift +Missing ReferenceId: shift +Missing ReferenceId: shift +Missing SymbolId: unshift +Missing SymbolId: _unshift +Missing ReferenceId: unshift +Missing ReferenceId: unshift +Missing SymbolId: slice +Missing SymbolId: _slice +Missing ReferenceId: slice +Missing ReferenceId: slice +Missing SymbolId: sort +Missing SymbolId: _sort +Missing ReferenceId: sort +Missing ReferenceId: sort +Missing SymbolId: splice +Missing SymbolId: _splice +Missing ReferenceId: splice +Missing ReferenceId: splice +Missing SymbolId: includes +Missing SymbolId: _includes +Missing ReferenceId: includes +Missing ReferenceId: includes +Missing SymbolId: indexOf +Missing SymbolId: _indexOf +Missing ReferenceId: indexOf +Missing ReferenceId: indexOf +Missing SymbolId: join +Missing SymbolId: _join +Missing ReferenceId: join +Missing ReferenceId: join +Missing SymbolId: keys +Missing SymbolId: _keys +Missing ReferenceId: keys +Missing ReferenceId: keys +Missing SymbolId: entries +Missing SymbolId: _entries +Missing ReferenceId: entries +Missing ReferenceId: entries +Missing SymbolId: values +Missing SymbolId: _values +Missing ReferenceId: values +Missing ReferenceId: values +Missing SymbolId: forEach +Missing SymbolId: _forEach +Missing ReferenceId: forEach +Missing ReferenceId: forEach +Missing SymbolId: filter +Missing SymbolId: _filter +Missing ReferenceId: filter +Missing ReferenceId: filter +Missing SymbolId: map +Missing SymbolId: _map +Missing ReferenceId: map +Missing ReferenceId: map +Missing SymbolId: every +Missing SymbolId: _every +Missing ReferenceId: every +Missing ReferenceId: every +Missing SymbolId: some +Missing SymbolId: _some +Missing ReferenceId: some +Missing ReferenceId: some +Missing SymbolId: reduce +Missing SymbolId: _reduce +Missing ReferenceId: reduce +Missing ReferenceId: reduce +Missing SymbolId: reduceRight +Missing SymbolId: _reduceRight +Missing ReferenceId: reduceRight +Missing ReferenceId: reduceRight +Missing SymbolId: toLocaleString +Missing SymbolId: _toLocaleString +Missing ReferenceId: toLocaleString +Missing ReferenceId: toLocaleString +Missing SymbolId: toString +Missing SymbolId: _toString +Missing ReferenceId: toString +Missing ReferenceId: toString +Missing SymbolId: flat +Missing SymbolId: _flat +Missing ReferenceId: flat +Missing ReferenceId: flat +Missing SymbolId: flatMap +Missing SymbolId: _flatMap +Missing ReferenceId: flatMap +Missing ReferenceId: flatMap +Missing ReferenceId: N +Missing ReferenceId: N +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0)] +rebuilt : ScopeId(0): [SymbolId(0)] +Binding symbols mismatch: +after transform: ScopeId(1): [SymbolId(1), SymbolId(3), SymbolId(5), SymbolId(7), SymbolId(9), SymbolId(11), SymbolId(13), SymbolId(15), SymbolId(17), SymbolId(19), SymbolId(21), SymbolId(23), SymbolId(25), SymbolId(27), SymbolId(29), SymbolId(31), SymbolId(33), SymbolId(35), SymbolId(37), SymbolId(39), SymbolId(41), SymbolId(43), SymbolId(45), SymbolId(47), SymbolId(49), SymbolId(51), SymbolId(53), SymbolId(55), SymbolId(57), SymbolId(59), SymbolId(61), SymbolId(63), SymbolId(65), SymbolId(67), SymbolId(69)] +rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(5), SymbolId(8), SymbolId(11), SymbolId(14), SymbolId(17), SymbolId(20), SymbolId(23), SymbolId(26), SymbolId(29), SymbolId(32), SymbolId(35), SymbolId(38), SymbolId(41), SymbolId(44), SymbolId(47), SymbolId(50), SymbolId(53), SymbolId(56), SymbolId(59), SymbolId(62), SymbolId(65), SymbolId(68), SymbolId(71), SymbolId(74), SymbolId(77), SymbolId(80), SymbolId(83), SymbolId(86), SymbolId(89), SymbolId(92), SymbolId(95), SymbolId(98), SymbolId(101)] +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(2), SymbolId(70)] +rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] +Binding symbols mismatch: +after transform: ScopeId(3): [SymbolId(4), SymbolId(71)] +rebuilt : ScopeId(3): [SymbolId(6), SymbolId(7)] +Binding symbols mismatch: +after transform: ScopeId(4): [SymbolId(6), SymbolId(72)] +rebuilt : ScopeId(4): [SymbolId(9), SymbolId(10)] +Binding symbols mismatch: +after transform: ScopeId(5): [SymbolId(8), SymbolId(73)] +rebuilt : ScopeId(5): [SymbolId(12), SymbolId(13)] +Binding symbols mismatch: +after transform: ScopeId(6): [SymbolId(10), SymbolId(74)] +rebuilt : ScopeId(6): [SymbolId(15), SymbolId(16)] +Binding symbols mismatch: +after transform: ScopeId(7): [SymbolId(12), SymbolId(75)] +rebuilt : ScopeId(7): [SymbolId(18), SymbolId(19)] +Binding symbols mismatch: +after transform: ScopeId(8): [SymbolId(14), SymbolId(76)] +rebuilt : ScopeId(8): [SymbolId(21), SymbolId(22)] +Binding symbols mismatch: +after transform: ScopeId(9): [SymbolId(16), SymbolId(77)] +rebuilt : ScopeId(9): [SymbolId(24), SymbolId(25)] +Binding symbols mismatch: +after transform: ScopeId(10): [SymbolId(18), SymbolId(78)] +rebuilt : ScopeId(10): [SymbolId(27), SymbolId(28)] +Binding symbols mismatch: +after transform: ScopeId(11): [SymbolId(20), SymbolId(79)] +rebuilt : ScopeId(11): [SymbolId(30), SymbolId(31)] +Binding symbols mismatch: +after transform: ScopeId(12): [SymbolId(22), SymbolId(80)] +rebuilt : ScopeId(12): [SymbolId(33), SymbolId(34)] +Binding symbols mismatch: +after transform: ScopeId(13): [SymbolId(24), SymbolId(81)] +rebuilt : ScopeId(13): [SymbolId(36), SymbolId(37)] +Binding symbols mismatch: +after transform: ScopeId(14): [SymbolId(26), SymbolId(82)] +rebuilt : ScopeId(14): [SymbolId(39), SymbolId(40)] +Binding symbols mismatch: +after transform: ScopeId(15): [SymbolId(28), SymbolId(83)] +rebuilt : ScopeId(15): [SymbolId(42), SymbolId(43)] +Binding symbols mismatch: +after transform: ScopeId(16): [SymbolId(30), SymbolId(84)] +rebuilt : ScopeId(16): [SymbolId(45), SymbolId(46)] +Binding symbols mismatch: +after transform: ScopeId(17): [SymbolId(32), SymbolId(85)] +rebuilt : ScopeId(17): [SymbolId(48), SymbolId(49)] +Binding symbols mismatch: +after transform: ScopeId(18): [SymbolId(34), SymbolId(86)] +rebuilt : ScopeId(18): [SymbolId(51), SymbolId(52)] +Binding symbols mismatch: +after transform: ScopeId(19): [SymbolId(36), SymbolId(87)] +rebuilt : ScopeId(19): [SymbolId(54), SymbolId(55)] +Binding symbols mismatch: +after transform: ScopeId(20): [SymbolId(38), SymbolId(88)] +rebuilt : ScopeId(20): [SymbolId(57), SymbolId(58)] +Binding symbols mismatch: +after transform: ScopeId(21): [SymbolId(40), SymbolId(89)] +rebuilt : ScopeId(21): [SymbolId(60), SymbolId(61)] +Binding symbols mismatch: +after transform: ScopeId(22): [SymbolId(42), SymbolId(90)] +rebuilt : ScopeId(22): [SymbolId(63), SymbolId(64)] +Binding symbols mismatch: +after transform: ScopeId(23): [SymbolId(44), SymbolId(91)] +rebuilt : ScopeId(23): [SymbolId(66), SymbolId(67)] +Binding symbols mismatch: +after transform: ScopeId(24): [SymbolId(46), SymbolId(92)] +rebuilt : ScopeId(24): [SymbolId(69), SymbolId(70)] +Binding symbols mismatch: +after transform: ScopeId(25): [SymbolId(48), SymbolId(93)] +rebuilt : ScopeId(25): [SymbolId(72), SymbolId(73)] +Binding symbols mismatch: +after transform: ScopeId(26): [SymbolId(50), SymbolId(94)] +rebuilt : ScopeId(26): [SymbolId(75), SymbolId(76)] +Binding symbols mismatch: +after transform: ScopeId(27): [SymbolId(52), SymbolId(95)] +rebuilt : ScopeId(27): [SymbolId(78), SymbolId(79)] +Binding symbols mismatch: +after transform: ScopeId(28): [SymbolId(54), SymbolId(96)] +rebuilt : ScopeId(28): [SymbolId(81), SymbolId(82)] +Binding symbols mismatch: +after transform: ScopeId(29): [SymbolId(56), SymbolId(97)] +rebuilt : ScopeId(29): [SymbolId(84), SymbolId(85)] +Binding symbols mismatch: +after transform: ScopeId(30): [SymbolId(58), SymbolId(98)] +rebuilt : ScopeId(30): [SymbolId(87), SymbolId(88)] +Binding symbols mismatch: +after transform: ScopeId(31): [SymbolId(60), SymbolId(99)] +rebuilt : ScopeId(31): [SymbolId(90), SymbolId(91)] +Binding symbols mismatch: +after transform: ScopeId(32): [SymbolId(62), SymbolId(100)] +rebuilt : ScopeId(32): [SymbolId(93), SymbolId(94)] +Binding symbols mismatch: +after transform: ScopeId(33): [SymbolId(64), SymbolId(101)] +rebuilt : ScopeId(33): [SymbolId(96), SymbolId(97)] +Binding symbols mismatch: +after transform: ScopeId(34): [SymbolId(66), SymbolId(102)] +rebuilt : ScopeId(34): [SymbolId(99), SymbolId(100)] +Binding symbols mismatch: +after transform: ScopeId(35): [SymbolId(68), SymbolId(103)] +rebuilt : ScopeId(35): [SymbolId(102), SymbolId(103)] - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* namespace/declare/input.ts +Missing SymbolId: N +Missing SymbolId: _N +Missing ReferenceId: N +Missing ReferenceId: N +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0)] +rebuilt : ScopeId(0): [SymbolId(0)] +Bindings mismatch: +after transform: ScopeId(1): ["B", "_N", "e", "v"] +rebuilt : ScopeId(1): ["_N"] +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4), ScopeId(5)] +rebuilt : ScopeId(1): [] - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +* namespace/declare-global-nested-namespace/input.ts +Missing SymbolId: X +Missing SymbolId: _X +Missing ReferenceId: X +Missing ReferenceId: X +Bindings mismatch: +after transform: ScopeId(0): ["X", "global", "i18n"] +rebuilt : ScopeId(0): ["X", "i18n"] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(3), ScopeId(4)] +rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2)] +Binding symbols mismatch: +after transform: ScopeId(3): [SymbolId(4), SymbolId(6)] +rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] +* namespace/empty-removed/input.ts +Missing SymbolId: a +Missing SymbolId: _a +Missing SymbolId: c +Missing SymbolId: _c +Missing ReferenceId: c +Missing ReferenceId: c +Missing ReferenceId: a +Missing ReferenceId: a +Missing SymbolId: WithTypes +Missing SymbolId: _WithTypes +Missing SymbolId: d +Missing SymbolId: _d2 +Missing ReferenceId: d +Missing ReferenceId: d +Missing ReferenceId: WithTypes +Missing ReferenceId: WithTypes +Missing SymbolId: WithValues +Missing SymbolId: _WithValues +Missing SymbolId: a +Missing SymbolId: _a3 +Missing ReferenceId: a +Missing ReferenceId: a +Missing SymbolId: b +Missing SymbolId: _b3 +Missing ReferenceId: b +Missing ReferenceId: b +Missing SymbolId: c +Missing SymbolId: _c3 +Missing ReferenceId: c +Missing ReferenceId: c +Missing SymbolId: d +Missing SymbolId: _d3 +Missing ReferenceId: d +Missing ReferenceId: d +Missing SymbolId: e +Missing SymbolId: _e2 +Missing ReferenceId: e +Missing ReferenceId: e +Missing ReferenceId: WithValues +Missing ReferenceId: WithValues +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0), SymbolId(6), SymbolId(14)] +rebuilt : ScopeId(0): [SymbolId(0), SymbolId(5), SymbolId(9)] +Bindings mismatch: +after transform: ScopeId(1): ["_a", "b", "c", "d"] +rebuilt : ScopeId(1): ["_a", "c"] +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(3), ScopeId(4)] +rebuilt : ScopeId(1): [ScopeId(2)] +Binding symbols mismatch: +after transform: ScopeId(3): [SymbolId(3), SymbolId(26)] +rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] +Bindings mismatch: +after transform: ScopeId(6): ["_WithTypes", "a", "b", "c", "d"] +rebuilt : ScopeId(3): ["_WithTypes", "d"] +Scope children mismatch: +after transform: ScopeId(6): [ScopeId(7), ScopeId(9), ScopeId(11), ScopeId(12)] +rebuilt : ScopeId(3): [ScopeId(4)] +Binding symbols mismatch: +after transform: ScopeId(12): [SymbolId(33)] +rebuilt : ScopeId(4): [SymbolId(8)] +Scope children mismatch: +after transform: ScopeId(12): [ScopeId(13)] +rebuilt : ScopeId(4): [] +Binding symbols mismatch: +after transform: ScopeId(14): [SymbolId(15), SymbolId(17), SymbolId(19), SymbolId(21), SymbolId(23), SymbolId(34)] +rebuilt : ScopeId(5): [SymbolId(10), SymbolId(11), SymbolId(14), SymbolId(18), SymbolId(21), SymbolId(24)] +Binding symbols mismatch: +after transform: ScopeId(15): [SymbolId(16), SymbolId(35)] +rebuilt : ScopeId(6): [SymbolId(12), SymbolId(13)] +Binding symbols mismatch: +after transform: ScopeId(17): [SymbolId(18), SymbolId(36)] +rebuilt : ScopeId(8): [SymbolId(15), SymbolId(16)] +Scope flags mismatch: +after transform: ScopeId(18): ScopeFlags(StrictMode) +rebuilt : ScopeId(9): ScopeFlags(StrictMode | Function) +Binding symbols mismatch: +after transform: ScopeId(19): [SymbolId(20), SymbolId(37)] +rebuilt : ScopeId(10): [SymbolId(19), SymbolId(20)] +Binding symbols mismatch: +after transform: ScopeId(21): [SymbolId(22), SymbolId(38)] +rebuilt : ScopeId(12): [SymbolId(22), SymbolId(23)] +Binding symbols mismatch: +after transform: ScopeId(22): [SymbolId(39)] +rebuilt : ScopeId(13): [SymbolId(25)] +Symbol flags mismatch: +after transform: SymbolId(18): SymbolFlags(RegularEnum) +rebuilt : SymbolId(16): SymbolFlags(BlockScopedVariable) +Symbol flags mismatch: +after transform: SymbolId(20): SymbolFlags(BlockScopedVariable | Function) +rebuilt : SymbolId(20): SymbolFlags(FunctionScopedVariable) -* optimize-const-enums/local-shadowed/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "x"] - | rebuilt : ScopeId(1): ["A"] +* namespace/export/input.ts +Missing SymbolId: N +Missing SymbolId: _N +Missing ReferenceId: N +Missing ReferenceId: N +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0)] +rebuilt : ScopeId(0): [SymbolId(0)] +Binding symbols mismatch: +after transform: ScopeId(1): [SymbolId(1), SymbolId(2)] +rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* namespace/export-type-only/input.ts +Bindings mismatch: +after transform: ScopeId(0): ["Platform"] +rebuilt : ScopeId(0): [] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1)] +rebuilt : ScopeId(0): [] +Unresolved references mismatch: +after transform: ["Platform"] +rebuilt : [] - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +* namespace/module-nested/input.ts +Missing SymbolId: src +Missing SymbolId: _src +Missing SymbolId: ns1 +Missing SymbolId: _ns +Missing ReferenceId: _ns +Missing ReferenceId: foo +Missing ReferenceId: ns1 +Missing ReferenceId: ns1 +Missing ReferenceId: _src +Missing ReferenceId: _src +Missing SymbolId: ns2 +Missing SymbolId: _ns2 +Missing ReferenceId: _ns2 +Missing ReferenceId: foo +Missing ReferenceId: ns2 +Missing ReferenceId: ns2 +Missing ReferenceId: _src +Missing ReferenceId: _src +Missing ReferenceId: src +Missing ReferenceId: src +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0)] +rebuilt : ScopeId(0): [SymbolId(0)] +Binding symbols mismatch: +after transform: ScopeId(1): [SymbolId(1), SymbolId(3), SymbolId(5)] +rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(5)] +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(2), SymbolId(6)] +rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] +Binding symbols mismatch: +after transform: ScopeId(4): [SymbolId(4), SymbolId(7)] +rebuilt : ScopeId(4): [SymbolId(6), SymbolId(7)] +Symbol flags mismatch: +after transform: SymbolId(2): SymbolFlags(Export | Class) +rebuilt : SymbolId(4): SymbolFlags(Class) +Symbol reference IDs mismatch: +after transform: SymbolId(2): [] +rebuilt : SymbolId(4): [ReferenceId(1)] +Symbol flags mismatch: +after transform: SymbolId(4): SymbolFlags(Export | Class) +rebuilt : SymbolId(7): SymbolFlags(Class) +Symbol reference IDs mismatch: +after transform: SymbolId(4): [] +rebuilt : SymbolId(7): [ReferenceId(7)] +* namespace/module-nested-export/input.ts +Missing SymbolId: src +Missing SymbolId: _src +Missing SymbolId: ns1 +Missing SymbolId: _ns +Missing ReferenceId: _ns +Missing ReferenceId: foo +Missing ReferenceId: ns1 +Missing ReferenceId: ns1 +Missing ReferenceId: _src +Missing ReferenceId: _src +Missing SymbolId: ns2 +Missing SymbolId: _ns2 +Missing ReferenceId: _ns2 +Missing ReferenceId: foo +Missing ReferenceId: ns2 +Missing ReferenceId: ns2 +Missing ReferenceId: _src +Missing ReferenceId: _src +Missing ReferenceId: src +Missing ReferenceId: src +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0)] +rebuilt : ScopeId(0): [SymbolId(0)] +Binding symbols mismatch: +after transform: ScopeId(1): [SymbolId(1), SymbolId(3), SymbolId(5)] +rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(5)] +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(2), SymbolId(6)] +rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] +Binding symbols mismatch: +after transform: ScopeId(4): [SymbolId(4), SymbolId(7)] +rebuilt : ScopeId(4): [SymbolId(6), SymbolId(7)] +Symbol flags mismatch: +after transform: SymbolId(2): SymbolFlags(Export | Class) +rebuilt : SymbolId(4): SymbolFlags(Class) +Symbol reference IDs mismatch: +after transform: SymbolId(2): [] +rebuilt : SymbolId(4): [ReferenceId(1)] +Symbol flags mismatch: +after transform: SymbolId(4): SymbolFlags(Export | Class) +rebuilt : SymbolId(7): SymbolFlags(Class) +Symbol reference IDs mismatch: +after transform: SymbolId(4): [] +rebuilt : SymbolId(7): [ReferenceId(7)] -* optimize-const-enums/merged/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "x", "y"] - | rebuilt : ScopeId(1): ["A"] +* namespace/multiple/input.ts +Missing SymbolId: N +Missing SymbolId: _N +Missing ReferenceId: N +Missing ReferenceId: N +Missing SymbolId: _N2 +Missing ReferenceId: N +Missing ReferenceId: N +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0)] +rebuilt : ScopeId(0): [SymbolId(0)] +Binding symbols mismatch: +after transform: ScopeId(1): [SymbolId(1), SymbolId(3)] +rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(2), SymbolId(4)] +rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* namespace/mutable-fail/input.ts + ! Namespaces exporting non-const are not supported by Babel. Change to const + | or see: https://babeljs.io/docs/en/babel-plugin-transform-typescript + ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/mutable-fail/input.ts:2:14] + 1 | namespace N { + 2 | export let V; + : ^ + 3 | } + `---- - x Bindings mismatch: - | after transform: ScopeId(2): ["A", "z"] - | rebuilt : ScopeId(2): ["A"] - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +* namespace/namespace-flag/input.ts + ! Namespace not marked type-only declare. Non-declarative namespaces are + | only supported experimentally in Babel. To enable and review caveats see: + | https://babeljs.io/docs/en/babel-plugin-transform-typescript + ,-[tasks/coverage/babel/packages/babel-plugin-transform-typescript/test/fixtures/namespace/namespace-flag/input.ts:1:1] + 1 | namespace N {} + : ^^^^^^^^^^^^^^ + `---- - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 36, end: 37 }] - | rebuilt : SymbolId(0): [] +* namespace/nested/input.ts +Missing SymbolId: _A +Missing SymbolId: C +Missing SymbolId: _C +Missing ReferenceId: _C +Missing ReferenceId: G +Missing ReferenceId: _C +Missing ReferenceId: C +Missing ReferenceId: C +Missing ReferenceId: _A +Missing ReferenceId: _A +Missing SymbolId: _M +Missing ReferenceId: _M +Missing ReferenceId: M +Missing ReferenceId: M +Missing ReferenceId: _A +Missing ReferenceId: D +Missing SymbolId: _D +Missing ReferenceId: _D +Missing ReferenceId: H +Missing ReferenceId: D +Missing ReferenceId: D +Missing ReferenceId: _A +Missing ReferenceId: _A +Missing SymbolId: _F +Missing ReferenceId: F +Missing ReferenceId: F +Missing SymbolId: G +Missing SymbolId: _G +Missing ReferenceId: G +Missing ReferenceId: G +Missing ReferenceId: A +Missing ReferenceId: A +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(1), SymbolId(4), SymbolId(6), SymbolId(12), SymbolId(14), SymbolId(16), SymbolId(18)] +rebuilt : ScopeId(2): [SymbolId(1), SymbolId(2), SymbolId(6), SymbolId(9), SymbolId(14), SymbolId(17), SymbolId(20)] +Binding symbols mismatch: +after transform: ScopeId(3): [SymbolId(2), SymbolId(3), SymbolId(19)] +rebuilt : ScopeId(3): [SymbolId(3), SymbolId(4), SymbolId(5)] +Binding symbols mismatch: +after transform: ScopeId(6): [SymbolId(5), SymbolId(20)] +rebuilt : ScopeId(6): [SymbolId(7), SymbolId(8)] +Binding symbols mismatch: +after transform: ScopeId(8): [SymbolId(7), SymbolId(8), SymbolId(21)] +rebuilt : ScopeId(8): [SymbolId(10), SymbolId(11), SymbolId(12)] +Bindings mismatch: +after transform: ScopeId(9): ["H", "I", "J", "K"] +rebuilt : ScopeId(9): ["H"] +Scope flags mismatch: +after transform: ScopeId(9): ScopeFlags(StrictMode) +rebuilt : ScopeId(9): ScopeFlags(StrictMode | Function) +Binding symbols mismatch: +after transform: ScopeId(11): [SymbolId(13), SymbolId(22)] +rebuilt : ScopeId(11): [SymbolId(15), SymbolId(16)] +Binding symbols mismatch: +after transform: ScopeId(12): [SymbolId(15), SymbolId(23)] +rebuilt : ScopeId(12): [SymbolId(18), SymbolId(19)] +Bindings mismatch: +after transform: ScopeId(13): ["L", "M"] +rebuilt : ScopeId(13): ["L"] +Scope flags mismatch: +after transform: ScopeId(13): ScopeFlags(StrictMode) +rebuilt : ScopeId(13): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(Class | NameSpaceModule | ValueModule) +rebuilt : SymbolId(0): SymbolFlags(Class) +Symbol reference IDs mismatch: +after transform: SymbolId(0): [] +rebuilt : SymbolId(0): [ReferenceId(33), ReferenceId(34)] +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 22, end: 23 }] +rebuilt : SymbolId(0): [] +Symbol flags mismatch: +after transform: SymbolId(2): SymbolFlags(Export | Class) +rebuilt : SymbolId(4): SymbolFlags(Class) +Symbol reference IDs mismatch: +after transform: SymbolId(2): [] +rebuilt : SymbolId(4): [ReferenceId(1)] +Symbol flags mismatch: +after transform: SymbolId(3): SymbolFlags(BlockScopedVariable | ConstVariable | Export) +rebuilt : SymbolId(5): SymbolFlags(BlockScopedVariable | ConstVariable) +Symbol flags mismatch: +after transform: SymbolId(4): SymbolFlags(BlockScopedVariable | Function | NameSpaceModule | ValueModule) +rebuilt : SymbolId(6): SymbolFlags(FunctionScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(4): [] +rebuilt : SymbolId(6): [ReferenceId(9), ReferenceId(10)] +Symbol redeclarations mismatch: +after transform: SymbolId(4): [Span { start: 129, end: 130 }] +rebuilt : SymbolId(6): [] +Symbol flags mismatch: +after transform: SymbolId(5): SymbolFlags(BlockScopedVariable | ConstVariable | Export) +rebuilt : SymbolId(8): SymbolFlags(BlockScopedVariable | ConstVariable) +Symbol flags mismatch: +after transform: SymbolId(6): SymbolFlags(BlockScopedVariable | Export | Function | NameSpaceModule | ValueModule) +rebuilt : SymbolId(9): SymbolFlags(FunctionScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(6): [] +rebuilt : SymbolId(9): [ReferenceId(12), ReferenceId(22), ReferenceId(23)] +Symbol redeclarations mismatch: +after transform: SymbolId(6): [Span { start: 207, end: 208 }] +rebuilt : SymbolId(9): [] +Symbol flags mismatch: +after transform: SymbolId(8): SymbolFlags(Export | RegularEnum) +rebuilt : SymbolId(12): SymbolFlags(BlockScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(8): [] +rebuilt : SymbolId(12): [ReferenceId(21)] +Symbol flags mismatch: +after transform: SymbolId(12): SymbolFlags(Class | NameSpaceModule | ValueModule) +rebuilt : SymbolId(14): SymbolFlags(Class) +Symbol reference IDs mismatch: +after transform: SymbolId(12): [] +rebuilt : SymbolId(14): [ReferenceId(26), ReferenceId(27)] +Symbol redeclarations mismatch: +after transform: SymbolId(12): [Span { start: 325, end: 326 }] +rebuilt : SymbolId(14): [] +Symbol flags mismatch: +after transform: SymbolId(16): SymbolFlags(RegularEnum) +rebuilt : SymbolId(20): SymbolFlags(BlockScopedVariable) +Reference symbol mismatch: +after transform: ReferenceId(0): Some("C") +rebuilt : ReferenceId(8): Some("C") +* namespace/nested-namespace/input.ts +Missing SymbolId: A +Missing SymbolId: _A +Missing ReferenceId: _A +Missing ReferenceId: G +Missing ReferenceId: A +Missing ReferenceId: A +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0)] +rebuilt : ScopeId(0): [SymbolId(0)] +Bindings mismatch: +after transform: ScopeId(1): ["B", "G", "_A"] +rebuilt : ScopeId(1): ["G", "_A"] +Scope children mismatch: +after transform: ScopeId(1): [ScopeId(2), ScopeId(4)] +rebuilt : ScopeId(1): [ScopeId(2)] +Bindings mismatch: +after transform: ScopeId(4): ["G", "H"] +rebuilt : ScopeId(2): ["G"] +Scope flags mismatch: +after transform: ScopeId(4): ScopeFlags(StrictMode) +rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(3): SymbolFlags(Export | RegularEnum) +rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(3): [] +rebuilt : SymbolId(2): [ReferenceId(4)] -* optimize-const-enums/merged-exported/input.ts - x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "x", "y"] - | rebuilt : ScopeId(1): ["A"] +* namespace/nested-shorthand/input.ts +Missing SymbolId: X +Missing SymbolId: _X +Missing SymbolId: Y +Missing SymbolId: _Y +Missing ReferenceId: _Y +Missing ReferenceId: Y +Missing ReferenceId: Y +Missing ReferenceId: _X +Missing ReferenceId: _X +Missing ReferenceId: X +Missing ReferenceId: X +Missing SymbolId: proj +Missing SymbolId: _proj +Missing SymbolId: data +Missing SymbolId: _data +Missing SymbolId: util +Missing SymbolId: _util +Missing SymbolId: api +Missing SymbolId: _api +Missing ReferenceId: _api +Missing ReferenceId: api +Missing ReferenceId: api +Missing ReferenceId: _util +Missing ReferenceId: _util +Missing ReferenceId: util +Missing ReferenceId: util +Missing ReferenceId: _data +Missing ReferenceId: _data +Missing ReferenceId: data +Missing ReferenceId: data +Missing ReferenceId: _proj +Missing ReferenceId: _proj +Missing ReferenceId: proj +Missing ReferenceId: proj +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0), SymbolId(3)] +rebuilt : ScopeId(0): [SymbolId(0), SymbolId(5)] +Binding symbols mismatch: +after transform: ScopeId(1): [SymbolId(1), SymbolId(8)] +rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(2), SymbolId(9)] +rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] +Binding symbols mismatch: +after transform: ScopeId(3): [SymbolId(4), SymbolId(10)] +rebuilt : ScopeId(3): [SymbolId(6), SymbolId(7)] +Binding symbols mismatch: +after transform: ScopeId(4): [SymbolId(5), SymbolId(11)] +rebuilt : ScopeId(4): [SymbolId(8), SymbolId(9)] +Binding symbols mismatch: +after transform: ScopeId(5): [SymbolId(6), SymbolId(12)] +rebuilt : ScopeId(5): [SymbolId(10), SymbolId(11)] +Binding symbols mismatch: +after transform: ScopeId(6): [SymbolId(7), SymbolId(13)] +rebuilt : ScopeId(6): [SymbolId(12), SymbolId(13)] +Symbol flags mismatch: +after transform: SymbolId(2): SymbolFlags(BlockScopedVariable | ConstVariable | Export) +rebuilt : SymbolId(4): SymbolFlags(BlockScopedVariable | ConstVariable) +Symbol flags mismatch: +after transform: SymbolId(7): SymbolFlags(BlockScopedVariable | ConstVariable | Export) +rebuilt : SymbolId(13): SymbolFlags(BlockScopedVariable | ConstVariable) - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +* namespace/same-name/input.ts +Missing SymbolId: N +Missing SymbolId: _N2 +Missing SymbolId: _N7 +Missing SymbolId: _N4 +Missing ReferenceId: _N7 +Missing ReferenceId: _N7 +Missing SymbolId: N +Missing SymbolId: _N6 +Missing ReferenceId: _N6 +Missing ReferenceId: _N3 +Missing ReferenceId: N +Missing ReferenceId: N +Missing ReferenceId: _N2 +Missing ReferenceId: _N2 +Missing SymbolId: _N8 +Missing ReferenceId: _N8 +Missing ReferenceId: _N5 +Missing ReferenceId: N +Missing ReferenceId: N +Missing ReferenceId: _N2 +Missing ReferenceId: _N2 +Missing SymbolId: _N9 +Missing ReferenceId: _N9 +Missing ReferenceId: _N +Missing ReferenceId: N +Missing ReferenceId: N +Missing ReferenceId: _N2 +Missing ReferenceId: _N2 +Missing ReferenceId: N +Missing ReferenceId: N +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0)] +rebuilt : ScopeId(0): [SymbolId(0)] +Binding symbols mismatch: +after transform: ScopeId(1): [SymbolId(1), SymbolId(3), SymbolId(7)] +rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(5)] +Binding symbols mismatch: +after transform: ScopeId(2): [SymbolId(2), SymbolId(8)] +rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4)] +Binding symbols mismatch: +after transform: ScopeId(3): [SymbolId(4), SymbolId(9)] +rebuilt : ScopeId(3): [SymbolId(6), SymbolId(7)] +Binding symbols mismatch: +after transform: ScopeId(5): [SymbolId(5), SymbolId(10)] +rebuilt : ScopeId(5): [SymbolId(8), SymbolId(9)] +Binding symbols mismatch: +after transform: ScopeId(7): [SymbolId(6), SymbolId(11)] +rebuilt : ScopeId(7): [SymbolId(10), SymbolId(11)] +Scope flags mismatch: +after transform: ScopeId(8): ScopeFlags(StrictMode) +rebuilt : ScopeId(8): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(4): SymbolFlags(BlockScopedVariable | Export | Function) +rebuilt : SymbolId(7): SymbolFlags(FunctionScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(4): [] +rebuilt : SymbolId(7): [ReferenceId(3)] +Symbol flags mismatch: +after transform: SymbolId(5): SymbolFlags(Export | Class) +rebuilt : SymbolId(9): SymbolFlags(Class) +Symbol reference IDs mismatch: +after transform: SymbolId(5): [] +rebuilt : SymbolId(9): [ReferenceId(9)] +Symbol flags mismatch: +after transform: SymbolId(6): SymbolFlags(Export | RegularEnum) +rebuilt : SymbolId(11): SymbolFlags(BlockScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(6): [] +rebuilt : SymbolId(11): [ReferenceId(16)] - x Bindings mismatch: - | after transform: ScopeId(2): ["A", "z"] - | rebuilt : ScopeId(2): ["A"] +* namespace/undeclared/input.ts +Missing SymbolId: N +Missing SymbolId: _N +Missing ReferenceId: N +Missing ReferenceId: N +Binding symbols mismatch: +after transform: ScopeId(0): [SymbolId(0)] +rebuilt : ScopeId(0): [SymbolId(0)] +Binding symbols mismatch: +after transform: ScopeId(1): [SymbolId(1), SymbolId(2)] +rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2)] - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +* optimize-const-enums/custom-values/input.ts +x Output mismatch - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(Export | ConstEnum) - | rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | Export) +* optimize-const-enums/custom-values-exported/input.ts +x Output mismatch - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 50, end: 51 }] - | rebuilt : SymbolId(0): [] +* optimize-const-enums/declare/input.ts +x Output mismatch +* optimize-const-enums/export-const-enum/input.ts +x Output mismatch -* regression/15768/input.ts - x Output mismatch - x Missing ReferenceId: Infinity +* optimize-const-enums/export-const-enum-type-and-value/input.ts +x Output mismatch - x Missing ReferenceId: Infinity +* optimize-const-enums/export-const-enum-type-no-deopt/input.ts +x Output mismatch - x Missing ReferenceId: Infinity +* optimize-const-enums/exported/input.ts +x Output mismatch - x Missing ReferenceId: Infinity +* optimize-const-enums/local/input.ts +x Output mismatch - x Missing ReferenceId: StateEnum +* optimize-const-enums/local-shadowed/input.ts +x Output mismatch - x Missing ReferenceId: StateEnum +* optimize-const-enums/merged/input.ts +x Output mismatch - x Missing ReferenceId: StateEnum +* optimize-const-enums/merged-exported/input.ts +x Output mismatch - x Bindings mismatch: - | after transform: ScopeId(2): ["StateEnum", "ext", "ext2", "ext3", "nan", - | "nanReal", "neg", "negReal", "okay", "pos", "posReal"] - | rebuilt : ScopeId(2): ["StateEnum"] +* regression/15768/input.ts +x Output mismatch - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +* type-arguments/call/input.ts +Unresolved references mismatch: +after transform: ["T", "f"] +rebuilt : ["f"] - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(5)] - | rebuilt : SymbolId(0): [] +* type-arguments/expr/input.ts +Unresolved references mismatch: +after transform: ["T", "f"] +rebuilt : ["f"] - x Symbol reference IDs mismatch: - | after transform: SymbolId(1): [ReferenceId(6)] - | rebuilt : SymbolId(1): [] +* type-arguments/new/input.ts +Unresolved references mismatch: +after transform: ["C", "T"] +rebuilt : ["C"] - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [ReferenceId(7)] - | rebuilt : SymbolId(2): [] +* type-arguments/optional-call/input.ts +Unresolved references mismatch: +after transform: ["Q", "T", "f", "x"] +rebuilt : ["f", "x"] - x Symbol reference IDs mismatch: - | after transform: SymbolId(3): [ReferenceId(2), ReferenceId(3)] - | rebuilt : SymbolId(3): [ReferenceId(6), ReferenceId(9), - | ReferenceId(14), ReferenceId(17)] +* type-arguments/tagged-template/input.ts +Unresolved references mismatch: +after transform: ["T", "f"] +rebuilt : ["f"] - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [ReferenceId(4)] - | rebuilt : SymbolId(4): [] - x Symbol flags mismatch: - | after transform: SymbolId(5): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(5): SymbolFlags(BlockScopedVariable) +# babel-preset-react (6/9) +* preset-options/development-runtime-automatic/input.js +x Output mismatch - x Symbol reference IDs mismatch: - | after transform: SymbolId(16): [ReferenceId(8), ReferenceId(9), - | ReferenceId(10), ReferenceId(11), ReferenceId(12), ReferenceId(13), - | ReferenceId(14), ReferenceId(15), ReferenceId(16), ReferenceId(17), - | ReferenceId(18), ReferenceId(19), ReferenceId(20), ReferenceId(21), - | ReferenceId(22), ReferenceId(23), ReferenceId(24), ReferenceId(25), - | ReferenceId(26), ReferenceId(27), ReferenceId(28)] - | rebuilt : SymbolId(6): [ReferenceId(2), ReferenceId(3), - | ReferenceId(4), ReferenceId(5), ReferenceId(7), ReferenceId(8), - | ReferenceId(10), ReferenceId(11), ReferenceId(12), ReferenceId(13), - | ReferenceId(15), ReferenceId(16), ReferenceId(18), ReferenceId(19), - | ReferenceId(20), ReferenceId(21), ReferenceId(22), ReferenceId(23), - | ReferenceId(24), ReferenceId(25), ReferenceId(26), ReferenceId(27), - | ReferenceId(28), ReferenceId(29)] +* preset-options/empty-options/input.js +x Output mismatch +* preset-options/runtime-automatic/input.js +x Output mismatch -* type-arguments/call/input.ts - x Unresolved references mismatch: - | after transform: ["T", "f"] - | rebuilt : ["f"] +# babel-plugin-transform-react-jsx (119/144) +* pure/false-default-pragma-automatic-runtime/input.js +x Output mismatch -* type-arguments/expr/input.ts - x Unresolved references mismatch: - | after transform: ["T", "f"] - | rebuilt : ["f"] +* pure/false-pragma-comment-automatic-runtime/input.js +pragma and pragmaFrag cannot be set when runtime is automatic. +* pure/false-pragma-option-automatic-runtime/input.js +pragma and pragmaFrag cannot be set when runtime is automatic. -* type-arguments/new/input.ts - x Unresolved references mismatch: - | after transform: ["C", "T"] - | rebuilt : ["C"] +* pure/true-default-pragma-automatic-runtime/input.js +x Output mismatch +* pure/true-pragma-comment-automatic-runtime/input.js +pragma and pragmaFrag cannot be set when runtime is automatic. -* type-arguments/optional-call/input.ts - x Unresolved references mismatch: - | after transform: ["Q", "T", "f", "x"] - | rebuilt : ["f", "x"] +* pure/true-pragma-option-automatic-runtime/input.js +pragma and pragmaFrag cannot be set when runtime is automatic. +* pure/unset-default-pragma-automatic-runtime/input.js +x Output mismatch -* type-arguments/tagged-template/input.ts - x Unresolved references mismatch: - | after transform: ["T", "f"] - | rebuilt : ["f"] +* pure/unset-pragma-comment-automatic-runtime/input.js +pragma and pragmaFrag cannot be set when runtime is automatic. +* pure/unset-pragma-option-automatic-runtime/input.js +pragma and pragmaFrag cannot be set when runtime is automatic. +* react/should-disallow-spread-children/input.js +Spread children are not supported in React. -# babel-plugin-transform-react-jsx (135/144) * react/should-disallow-valueless-key/input.js ! Please provide an explicit key value. Using "key" as a shorthand for | "key={true}" is not allowed. @@ -4937,9 +3537,18 @@ TS(18010) `---- +* react/should-warn-when-importSource-is-set/input.js +importSource cannot be set when runtime is classic. + +* react/should-warn-when-importSource-pragma-is-set/input.js +importSource cannot be set when runtime is classic. + * react-automatic/does-not-add-source-self-automatic/input.mjs transform-react-jsx: unknown field `autoImport`, expected one of `runtime`, `development`, `throwIfNamespace`, `pure`, `importSource`, `pragma`, `pragmaFrag`, `useBuiltIns`, `useSpread`, `refresh` +* react-automatic/should-disallow-spread-children/input.js +Spread children are not supported in React. + * react-automatic/should-disallow-valueless-key/input.js ! Please provide an explicit key value. Using "key" as a shorthand for | "key={true}" is not allowed. @@ -4970,14 +3579,23 @@ transform-react-jsx: unknown field `autoImport`, expected one of `runtime`, `dev `---- -* spread-transform/transform-to-babel-extend/input.js +* react-automatic/should-warn-when-pragma-or-pragmaFrag-is-set/input.js +pragma and pragmaFrag cannot be set when runtime is automatic. +* runtime/defaults-to-automatic/input.js +x Output mismatch -* spread-transform/transform-to-object-assign/input.js +* runtime/runtime-automatic/input.js +x Output mismatch +* spread-transform/transform-to-babel-extend/input.js +x Output mismatch + +* spread-transform/transform-to-object-assign/input.js +x Output mismatch -# babel-plugin-transform-react-jsx-development (7/10) +# babel-plugin-transform-react-jsx-development (2/10) * cross-platform/disallow-__self-as-jsx-attribute/input.js ! Duplicate __self prop found. ,-[tasks/coverage/babel/packages/babel-plugin-transform-react-jsx-development/test/fixtures/cross-platform/disallow-__self-as-jsx-attribute/input.js:1:14] @@ -4994,31 +3612,22 @@ transform-react-jsx: unknown field `autoImport`, expected one of `runtime`, `dev `---- -* cross-platform/within-ts-module-block/input.ts - x Output mismatch - x Missing SymbolId: Namespaced - - x Missing SymbolId: _Namespaced - - x Missing ReferenceId: _Namespaced +* cross-platform/fragments/input.js +x Output mismatch - x Missing ReferenceId: Namespaced +* cross-platform/handle-fragments-with-key/input.js +x Output mismatch - x Missing ReferenceId: Namespaced +* cross-platform/handle-nonstatic-children/input.js +x Output mismatch - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0), SymbolId(3), SymbolId(4)] - | rebuilt : ScopeId(0): [SymbolId(0), SymbolId(1), SymbolId(2)] +* cross-platform/handle-static-children/input.js +x Output mismatch - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(5)] - | rebuilt : ScopeId(1): [SymbolId(3), SymbolId(4), SymbolId(5)] - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export | ArrowFunction) - | rebuilt : SymbolId(5): SymbolFlags(BlockScopedVariable | - | ConstVariable) +* cross-platform/within-derived-classes-constructor/input.js +x Output mismatch +* cross-platform/within-ts-module-block/input.ts +x Output mismatch diff --git a/tasks/transform_conformance/oxc.snap.md b/tasks/transform_conformance/oxc.snap.md index 742ab0f03fd86..eeab3d5e5125d 100644 --- a/tasks/transform_conformance/oxc.snap.md +++ b/tasks/transform_conformance/oxc.snap.md @@ -1,6 +1,6 @@ commit: 3bcfee23 -Passed: 21/49 +Passed: 20/49 # All Passed: * babel-plugin-transform-nullish-coalescing-operator @@ -11,1238 +11,713 @@ Passed: 21/49 # babel-plugin-transform-arrow-functions (1/2) * with-this-member-expression/input.jsx +x Output mismatch - -# babel-plugin-transform-typescript (2/8) +# babel-plugin-transform-typescript (1/8) * class-property-definition/input.ts - x Unresolved references mismatch: - | after transform: ["const"] - | rebuilt : [] - +Unresolved references mismatch: +after transform: ["const"] +rebuilt : [] * computed-constant-value/input.ts - x Missing ReferenceId: Infinity - - x Missing ReferenceId: Infinity - - x Missing ReferenceId: Infinity - - x Missing ReferenceId: Infinity - - x Bindings mismatch: - | after transform: ScopeId(1): ["A", "a", "b", "c", "d", "e"] - | rebuilt : ScopeId(1): ["A"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(2): ["B", "a", "b", "c", "d", "e"] - | rebuilt : ScopeId(2): ["B"] - - x Scope flags mismatch: - | after transform: ScopeId(2): ScopeFlags(StrictMode) - | rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(3): ["C", "a", "b", "c"] - | rebuilt : ScopeId(3): ["C"] - - x Scope flags mismatch: - | after transform: ScopeId(3): ScopeFlags(StrictMode) - | rebuilt : ScopeId(3): ScopeFlags(StrictMode | Function) - - x Bindings mismatch: - | after transform: ScopeId(4): ["D", "a", "b", "c"] - | rebuilt : ScopeId(4): ["D"] - - x Scope flags mismatch: - | after transform: ScopeId(4): ScopeFlags(StrictMode) - | rebuilt : ScopeId(4): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(6): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(2): SymbolFlags(FunctionScopedVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(12): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(4): SymbolFlags(FunctionScopedVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(16): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(6): SymbolFlags(FunctionScopedVariable) - - x Unresolved references mismatch: - | after transform: ["Infinity", "NaN"] - | rebuilt : ["Infinity"] - - x Unresolved reference IDs mismatch for "Infinity": - | after transform: [ReferenceId(0), ReferenceId(1), ReferenceId(2), - | ReferenceId(3)] - | rebuilt : [ReferenceId(2), ReferenceId(5), ReferenceId(8), - | ReferenceId(12)] - +Missing ReferenceId: Infinity +Missing ReferenceId: Infinity +Missing ReferenceId: Infinity +Missing ReferenceId: Infinity +Bindings mismatch: +after transform: ScopeId(1): ["A", "a", "b", "c", "d", "e"] +rebuilt : ScopeId(1): ["A"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Bindings mismatch: +after transform: ScopeId(2): ["B", "a", "b", "c", "d", "e"] +rebuilt : ScopeId(2): ["B"] +Scope flags mismatch: +after transform: ScopeId(2): ScopeFlags(StrictMode) +rebuilt : ScopeId(2): ScopeFlags(StrictMode | Function) +Bindings mismatch: +after transform: ScopeId(3): ["C", "a", "b", "c"] +rebuilt : ScopeId(3): ["C"] +Scope flags mismatch: +after transform: ScopeId(3): ScopeFlags(StrictMode) +rebuilt : ScopeId(3): ScopeFlags(StrictMode | Function) +Bindings mismatch: +after transform: ScopeId(4): ["D", "a", "b", "c"] +rebuilt : ScopeId(4): ["D"] +Scope flags mismatch: +after transform: ScopeId(4): ScopeFlags(StrictMode) +rebuilt : ScopeId(4): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(RegularEnum) +rebuilt : SymbolId(0): SymbolFlags(FunctionScopedVariable) +Symbol flags mismatch: +after transform: SymbolId(6): SymbolFlags(RegularEnum) +rebuilt : SymbolId(2): SymbolFlags(FunctionScopedVariable) +Symbol flags mismatch: +after transform: SymbolId(12): SymbolFlags(RegularEnum) +rebuilt : SymbolId(4): SymbolFlags(FunctionScopedVariable) +Symbol flags mismatch: +after transform: SymbolId(16): SymbolFlags(RegularEnum) +rebuilt : SymbolId(6): SymbolFlags(FunctionScopedVariable) +Unresolved references mismatch: +after transform: ["Infinity", "NaN"] +rebuilt : ["Infinity"] +Unresolved reference IDs mismatch for "Infinity": +after transform: [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3)] +rebuilt : [ReferenceId(2), ReferenceId(5), ReferenceId(8), ReferenceId(12)] * elimination-declare/input.ts - x Bindings mismatch: - | after transform: ScopeId(0): ["A", "ReactiveMarkerSymbol"] - | rebuilt : ScopeId(0): [] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1)] - | rebuilt : ScopeId(0): [] - +Bindings mismatch: +after transform: ScopeId(0): ["A", "ReactiveMarkerSymbol"] +rebuilt : ScopeId(0): [] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1)] +rebuilt : ScopeId(0): [] * enum-member-reference/input.ts - x Missing ReferenceId: Foo - - x Bindings mismatch: - | after transform: ScopeId(1): ["Foo", "a", "b", "c"] - | rebuilt : ScopeId(1): ["Foo"] - - x Scope flags mismatch: - | after transform: ScopeId(1): ScopeFlags(StrictMode) - | rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(RegularEnum) - | rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [ReferenceId(3), ReferenceId(4), - | ReferenceId(5), ReferenceId(6), ReferenceId(7), ReferenceId(8), - | ReferenceId(9)] - | rebuilt : SymbolId(2): [ReferenceId(0), ReferenceId(1), - | ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), - | ReferenceId(6), ReferenceId(8)] - +Missing ReferenceId: Foo +Bindings mismatch: +after transform: ScopeId(1): ["Foo", "a", "b", "c"] +rebuilt : ScopeId(1): ["Foo"] +Scope flags mismatch: +after transform: ScopeId(1): ScopeFlags(StrictMode) +rebuilt : ScopeId(1): ScopeFlags(StrictMode | Function) +Symbol flags mismatch: +after transform: SymbolId(1): SymbolFlags(RegularEnum) +rebuilt : SymbolId(1): SymbolFlags(FunctionScopedVariable) +Symbol reference IDs mismatch: +after transform: SymbolId(5): [ReferenceId(3), ReferenceId(4), ReferenceId(5), ReferenceId(6), ReferenceId(7), ReferenceId(8), ReferenceId(9)] +rebuilt : SymbolId(2): [ReferenceId(0), ReferenceId(1), ReferenceId(2), ReferenceId(3), ReferenceId(4), ReferenceId(5), ReferenceId(6), ReferenceId(8)] * export-elimination/input.ts - x Missing SymbolId: Name - - x Missing SymbolId: _Name - - x Missing ReferenceId: _Name - - x Missing ReferenceId: Name - - x Missing ReferenceId: Name - - x Bindings mismatch: - | after transform: ScopeId(0): ["Baq", "Bar", "Baz", "Foo", "Func", "Im", - | "Name", "Ok", "T"] - | rebuilt : ScopeId(0): ["Bar", "Foo", "Func", "Im", "Name", "Ok", - | "T"] - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), - | ScopeId(4), ScopeId(5), ScopeId(6), ScopeId(7)] - | rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), - | ScopeId(4)] - - x Binding symbols mismatch: - | after transform: ScopeId(5): [SymbolId(8), SymbolId(10)] - | rebuilt : ScopeId(3): [SymbolId(6), SymbolId(7)] - - x Symbol flags mismatch: - | after transform: SymbolId(8): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - | rebuilt : SymbolId(7): SymbolFlags(BlockScopedVariable | - | ConstVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(9): SymbolFlags(BlockScopedVariable | Export | - | Function | TypeAlias) - | rebuilt : SymbolId(8): SymbolFlags(BlockScopedVariable | Export - | | Function) - - x Symbol span mismatch: - | after transform: SymbolId(9): Span { start: 205, end: 206 } - | rebuilt : SymbolId(8): Span { start: 226, end: 227 } - - x Symbol reference IDs mismatch: - | after transform: SymbolId(9): [ReferenceId(8), ReferenceId(9)] - | rebuilt : SymbolId(8): [ReferenceId(9)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(9): [Span { start: 226, end: 227 }] - | rebuilt : SymbolId(8): [] - - x Reference symbol mismatch: - | after transform: ReferenceId(7): Some("Name") - | rebuilt : ReferenceId(8): Some("Name") - +Missing SymbolId: Name +Missing SymbolId: _Name +Missing ReferenceId: _Name +Missing ReferenceId: Name +Missing ReferenceId: Name +Bindings mismatch: +after transform: ScopeId(0): ["Baq", "Bar", "Baz", "Foo", "Func", "Im", "Name", "Ok", "T"] +rebuilt : ScopeId(0): ["Bar", "Foo", "Func", "Im", "Name", "Ok", "T"] +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), ScopeId(4), ScopeId(5), ScopeId(6), ScopeId(7)] +rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), ScopeId(4)] +Binding symbols mismatch: +after transform: ScopeId(5): [SymbolId(8), SymbolId(10)] +rebuilt : ScopeId(3): [SymbolId(6), SymbolId(7)] +Symbol flags mismatch: +after transform: SymbolId(8): SymbolFlags(BlockScopedVariable | ConstVariable | Export) +rebuilt : SymbolId(7): SymbolFlags(BlockScopedVariable | ConstVariable) +Symbol flags mismatch: +after transform: SymbolId(9): SymbolFlags(BlockScopedVariable | Export | Function | TypeAlias) +rebuilt : SymbolId(8): SymbolFlags(BlockScopedVariable | Export | Function) +Symbol span mismatch: +after transform: SymbolId(9): Span { start: 205, end: 206 } +rebuilt : SymbolId(8): Span { start: 226, end: 227 } +Symbol reference IDs mismatch: +after transform: SymbolId(9): [ReferenceId(8), ReferenceId(9)] +rebuilt : SymbolId(8): [ReferenceId(9)] +Symbol redeclarations mismatch: +after transform: SymbolId(9): [Span { start: 226, end: 227 }] +rebuilt : SymbolId(8): [] +Reference symbol mismatch: +after transform: ReferenceId(7): Some("Name") +rebuilt : ReferenceId(8): Some("Name") * redeclarations/input.ts - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] - | rebuilt : ScopeId(0): [] - - x Symbol flags mismatch: - | after transform: SymbolId(0): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export | Import) - | rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - - x Symbol span mismatch: - | after transform: SymbolId(0): Span { start: 57, end: 58 } - | rebuilt : SymbolId(0): Span { start: 79, end: 83 } - - x Symbol reference IDs mismatch: - | after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1)] - | rebuilt : SymbolId(0): [ReferenceId(0)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(0): [Span { start: 79, end: 83 }] - | rebuilt : SymbolId(0): [] - - x Symbol flags mismatch: - | after transform: SymbolId(1): SymbolFlags(Export | Import | TypeAlias) - | rebuilt : SymbolId(1): SymbolFlags(Export | Import) - - x Symbol redeclarations mismatch: - | after transform: SymbolId(1): [Span { start: 170, end: 171 }] - | rebuilt : SymbolId(1): [] - - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export | Import | TypeAlias) - | rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - - x Symbol span mismatch: - | after transform: SymbolId(2): Span { start: 267, end: 268 } - | rebuilt : SymbolId(2): Span { start: 289, end: 293 } - - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [ReferenceId(3), ReferenceId(4)] - | rebuilt : SymbolId(2): [ReferenceId(2)] - - x Symbol redeclarations mismatch: - | after transform: SymbolId(2): [Span { start: 289, end: 293 }, Span - | { start: 304, end: 305 }] - | rebuilt : SymbolId(2): [] - +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2)] +rebuilt : ScopeId(0): [] +Symbol flags mismatch: +after transform: SymbolId(0): SymbolFlags(BlockScopedVariable | ConstVariable | Export | Import) +rebuilt : SymbolId(0): SymbolFlags(BlockScopedVariable | ConstVariable | Export) +Symbol span mismatch: +after transform: SymbolId(0): Span { start: 57, end: 58 } +rebuilt : SymbolId(0): Span { start: 79, end: 83 } +Symbol reference IDs mismatch: +after transform: SymbolId(0): [ReferenceId(0), ReferenceId(1)] +rebuilt : SymbolId(0): [ReferenceId(0)] +Symbol redeclarations mismatch: +after transform: SymbolId(0): [Span { start: 79, end: 83 }] +rebuilt : SymbolId(0): [] +Symbol flags mismatch: +after transform: SymbolId(1): SymbolFlags(Export | Import | TypeAlias) +rebuilt : SymbolId(1): SymbolFlags(Export | Import) +Symbol redeclarations mismatch: +after transform: SymbolId(1): [Span { start: 170, end: 171 }] +rebuilt : SymbolId(1): [] +Symbol flags mismatch: +after transform: SymbolId(2): SymbolFlags(BlockScopedVariable | ConstVariable | Export | Import | TypeAlias) +rebuilt : SymbolId(2): SymbolFlags(BlockScopedVariable | ConstVariable | Export) +Symbol span mismatch: +after transform: SymbolId(2): Span { start: 267, end: 268 } +rebuilt : SymbolId(2): Span { start: 289, end: 293 } +Symbol reference IDs mismatch: +after transform: SymbolId(2): [ReferenceId(3), ReferenceId(4)] +rebuilt : SymbolId(2): [ReferenceId(2)] +Symbol redeclarations mismatch: +after transform: SymbolId(2): [Span { start: 289, end: 293 }, Span { start: 304, end: 305 }] +rebuilt : SymbolId(2): [] + +* ts-declaration-empty-output/input.d.ts +x Output mismatch # babel-plugin-transform-react-jsx (6/27) * refresh/can-handle-implicit-arrow-returns/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(9): [ReferenceId(23), ReferenceId(24), - | ReferenceId(25)] - | rebuilt : SymbolId(0): [ReferenceId(6), ReferenceId(7)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(10): [ReferenceId(26), ReferenceId(27), - | ReferenceId(29)] - | rebuilt : SymbolId(1): [ReferenceId(10), ReferenceId(13)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(11): [ReferenceId(30), ReferenceId(31), - | ReferenceId(32)] - | rebuilt : SymbolId(2): [ReferenceId(18), ReferenceId(19)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(12): [ReferenceId(33), ReferenceId(34), - | ReferenceId(36)] - | rebuilt : SymbolId(3): [ReferenceId(22), ReferenceId(25)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(13): [ReferenceId(37), ReferenceId(38), - | ReferenceId(39), ReferenceId(40)] - | rebuilt : SymbolId(4): [ReferenceId(29), ReferenceId(32), - | ReferenceId(33)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(14): [ReferenceId(41), ReferenceId(42), - | ReferenceId(44)] - | rebuilt : SymbolId(5): [ReferenceId(38), ReferenceId(41)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [ReferenceId(14), ReferenceId(45), - | ReferenceId(46)] - | rebuilt : SymbolId(10): [ReferenceId(15), ReferenceId(46)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [ReferenceId(16), ReferenceId(47), - | ReferenceId(48)] - | rebuilt : SymbolId(11): [ReferenceId(27), ReferenceId(48)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(6): [ReferenceId(18), ReferenceId(49), - | ReferenceId(50)] - | rebuilt : SymbolId(12): [ReferenceId(31), ReferenceId(50)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(7): [ReferenceId(19), ReferenceId(51), - | ReferenceId(52)] - | rebuilt : SymbolId(13): [ReferenceId(36), ReferenceId(52)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(8): [ReferenceId(21), ReferenceId(53), - | ReferenceId(54)] - | rebuilt : SymbolId(14): [ReferenceId(43), ReferenceId(54)] - - x Reference symbol mismatch: - | after transform: ReferenceId(23): Some("_s") - | rebuilt : ReferenceId(0): None - - x Reference symbol mismatch: - | after transform: ReferenceId(26): Some("_s2") - | rebuilt : ReferenceId(1): None - - x Reference symbol mismatch: - | after transform: ReferenceId(30): Some("_s3") - | rebuilt : ReferenceId(2): None - - x Reference symbol mismatch: - | after transform: ReferenceId(33): Some("_s4") - | rebuilt : ReferenceId(3): None - - x Reference symbol mismatch: - | after transform: ReferenceId(37): Some("_s5") - | rebuilt : ReferenceId(4): None - - x Reference symbol mismatch: - | after transform: ReferenceId(41): Some("_s6") - | rebuilt : ReferenceId(5): None - - x Reference flags mismatch: - | after transform: ReferenceId(18): ReferenceFlags(Write) - | rebuilt : ReferenceId(31): ReferenceFlags(Read | Write) - - x Reference symbol mismatch: - | after transform: ReferenceId(45): Some("_c") - | rebuilt : ReferenceId(45): None - - x Reference symbol mismatch: - | after transform: ReferenceId(47): Some("_c2") - | rebuilt : ReferenceId(47): None - - x Reference symbol mismatch: - | after transform: ReferenceId(49): Some("_c3") - | rebuilt : ReferenceId(49): None - - x Reference symbol mismatch: - | after transform: ReferenceId(51): Some("_c4") - | rebuilt : ReferenceId(51): None - - x Reference symbol mismatch: - | after transform: ReferenceId(53): Some("_c5") - | rebuilt : ReferenceId(53): None - - x Unresolved references mismatch: - | after transform: ["X", "memo", "module", "useContext"] - | rebuilt : ["$RefreshReg$", "$RefreshSig$", "X", "memo", "module", - | "useContext"] - +Symbol reference IDs mismatch: +after transform: SymbolId(9): [ReferenceId(23), ReferenceId(24), ReferenceId(25)] +rebuilt : SymbolId(0): [ReferenceId(6), ReferenceId(7)] +Symbol reference IDs mismatch: +after transform: SymbolId(10): [ReferenceId(26), ReferenceId(27), ReferenceId(29)] +rebuilt : SymbolId(1): [ReferenceId(10), ReferenceId(13)] +Symbol reference IDs mismatch: +after transform: SymbolId(11): [ReferenceId(30), ReferenceId(31), ReferenceId(32)] +rebuilt : SymbolId(2): [ReferenceId(18), ReferenceId(19)] +Symbol reference IDs mismatch: +after transform: SymbolId(12): [ReferenceId(33), ReferenceId(34), ReferenceId(36)] +rebuilt : SymbolId(3): [ReferenceId(22), ReferenceId(25)] +Symbol reference IDs mismatch: +after transform: SymbolId(13): [ReferenceId(37), ReferenceId(38), ReferenceId(39), ReferenceId(40)] +rebuilt : SymbolId(4): [ReferenceId(29), ReferenceId(32), ReferenceId(33)] +Symbol reference IDs mismatch: +after transform: SymbolId(14): [ReferenceId(41), ReferenceId(42), ReferenceId(44)] +rebuilt : SymbolId(5): [ReferenceId(38), ReferenceId(41)] +Symbol reference IDs mismatch: +after transform: SymbolId(4): [ReferenceId(14), ReferenceId(45), ReferenceId(46)] +rebuilt : SymbolId(10): [ReferenceId(15), ReferenceId(46)] +Symbol reference IDs mismatch: +after transform: SymbolId(5): [ReferenceId(16), ReferenceId(47), ReferenceId(48)] +rebuilt : SymbolId(11): [ReferenceId(27), ReferenceId(48)] +Symbol reference IDs mismatch: +after transform: SymbolId(6): [ReferenceId(18), ReferenceId(49), ReferenceId(50)] +rebuilt : SymbolId(12): [ReferenceId(31), ReferenceId(50)] +Symbol reference IDs mismatch: +after transform: SymbolId(7): [ReferenceId(19), ReferenceId(51), ReferenceId(52)] +rebuilt : SymbolId(13): [ReferenceId(36), ReferenceId(52)] +Symbol reference IDs mismatch: +after transform: SymbolId(8): [ReferenceId(21), ReferenceId(53), ReferenceId(54)] +rebuilt : SymbolId(14): [ReferenceId(43), ReferenceId(54)] +Reference symbol mismatch: +after transform: ReferenceId(23): Some("_s") +rebuilt : ReferenceId(0): None +Reference symbol mismatch: +after transform: ReferenceId(26): Some("_s2") +rebuilt : ReferenceId(1): None +Reference symbol mismatch: +after transform: ReferenceId(30): Some("_s3") +rebuilt : ReferenceId(2): None +Reference symbol mismatch: +after transform: ReferenceId(33): Some("_s4") +rebuilt : ReferenceId(3): None +Reference symbol mismatch: +after transform: ReferenceId(37): Some("_s5") +rebuilt : ReferenceId(4): None +Reference symbol mismatch: +after transform: ReferenceId(41): Some("_s6") +rebuilt : ReferenceId(5): None +Reference flags mismatch: +after transform: ReferenceId(18): ReferenceFlags(Write) +rebuilt : ReferenceId(31): ReferenceFlags(Read | Write) +Reference symbol mismatch: +after transform: ReferenceId(45): Some("_c") +rebuilt : ReferenceId(45): None +Reference symbol mismatch: +after transform: ReferenceId(47): Some("_c2") +rebuilt : ReferenceId(47): None +Reference symbol mismatch: +after transform: ReferenceId(49): Some("_c3") +rebuilt : ReferenceId(49): None +Reference symbol mismatch: +after transform: ReferenceId(51): Some("_c4") +rebuilt : ReferenceId(51): None +Reference symbol mismatch: +after transform: ReferenceId(53): Some("_c5") +rebuilt : ReferenceId(53): None +Unresolved references mismatch: +after transform: ["X", "memo", "module", "useContext"] +rebuilt : ["$RefreshReg$", "$RefreshSig$", "X", "memo", "module", "useContext"] * refresh/does-not-consider-require-like-methods-to-be-hocs/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [ReferenceId(10), ReferenceId(17), - | ReferenceId(18)] - | rebuilt : SymbolId(7): [ReferenceId(15), ReferenceId(18)] - - x Reference symbol mismatch: - | after transform: ReferenceId(17): Some("_c") - | rebuilt : ReferenceId(17): None - - x Unresolved references mismatch: - | after transform: ["foo", "gk", "require", "requireCond"] - | rebuilt : ["$RefreshReg$", "foo", "gk", "require", "requireCond"] - +Symbol reference IDs mismatch: +after transform: SymbolId(5): [ReferenceId(10), ReferenceId(17), ReferenceId(18)] +rebuilt : SymbolId(7): [ReferenceId(15), ReferenceId(18)] +Reference symbol mismatch: +after transform: ReferenceId(17): Some("_c") +rebuilt : ReferenceId(17): None +Unresolved references mismatch: +after transform: ["foo", "gk", "require", "requireCond"] +rebuilt : ["$RefreshReg$", "foo", "gk", "require", "requireCond"] * refresh/does-not-get-tripped-by-iifes/input.jsx - x Bindings mismatch: - | after transform: ScopeId(0): [] - | rebuilt : ScopeId(0): ["_s"] - - x Bindings mismatch: - | after transform: ScopeId(1): ["_s"] - | rebuilt : ScopeId(1): [] - - x Symbol scope ID mismatch: - | after transform: SymbolId(1): ScopeId(1) - | rebuilt : SymbolId(0): ScopeId(0) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(1): [ReferenceId(3), ReferenceId(4), - | ReferenceId(5)] - | rebuilt : SymbolId(0): [ReferenceId(2), ReferenceId(3)] - - x Reference symbol mismatch: - | after transform: ReferenceId(3): Some("_s") - | rebuilt : ReferenceId(1): None - - x Unresolved references mismatch: - | after transform: ["item", "useFoo"] - | rebuilt : ["$RefreshSig$", "item", "useFoo"] - +Bindings mismatch: +after transform: ScopeId(0): [] +rebuilt : ScopeId(0): ["_s"] +Bindings mismatch: +after transform: ScopeId(1): ["_s"] +rebuilt : ScopeId(1): [] +Symbol scope ID mismatch: +after transform: SymbolId(1): ScopeId(1) +rebuilt : SymbolId(0): ScopeId(0) +Symbol reference IDs mismatch: +after transform: SymbolId(1): [ReferenceId(3), ReferenceId(4), ReferenceId(5)] +rebuilt : SymbolId(0): [ReferenceId(2), ReferenceId(3)] +Reference symbol mismatch: +after transform: ReferenceId(3): Some("_s") +rebuilt : ReferenceId(1): None +Unresolved references mismatch: +after transform: ["item", "useFoo"] +rebuilt : ["$RefreshSig$", "item", "useFoo"] * refresh/generates-signatures-for-function-declarations-calling-hooks/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [ReferenceId(6), ReferenceId(7), - | ReferenceId(9)] - | rebuilt : SymbolId(1): [ReferenceId(1), ReferenceId(6)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(3): [ReferenceId(3), ReferenceId(10), - | ReferenceId(11)] - | rebuilt : SymbolId(5): [ReferenceId(8), ReferenceId(11)] - - x Reference symbol mismatch: - | after transform: ReferenceId(6): Some("_s") - | rebuilt : ReferenceId(0): None - - x Reference symbol mismatch: - | after transform: ReferenceId(10): Some("_c") - | rebuilt : ReferenceId(10): None - - x Unresolved references mismatch: - | after transform: ["React", "useState"] - | rebuilt : ["$RefreshReg$", "$RefreshSig$", "React", "useState"] - +Symbol reference IDs mismatch: +after transform: SymbolId(5): [ReferenceId(6), ReferenceId(7), ReferenceId(9)] +rebuilt : SymbolId(1): [ReferenceId(1), ReferenceId(6)] +Symbol reference IDs mismatch: +after transform: SymbolId(3): [ReferenceId(3), ReferenceId(10), ReferenceId(11)] +rebuilt : SymbolId(5): [ReferenceId(8), ReferenceId(11)] +Reference symbol mismatch: +after transform: ReferenceId(6): Some("_s") +rebuilt : ReferenceId(0): None +Reference symbol mismatch: +after transform: ReferenceId(10): Some("_c") +rebuilt : ReferenceId(10): None +Unresolved references mismatch: +after transform: ["React", "useState"] +rebuilt : ["$RefreshReg$", "$RefreshSig$", "React", "useState"] * refresh/generates-signatures-for-function-expressions-calling-hooks/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(22): [ReferenceId(26), ReferenceId(27), - | ReferenceId(28), ReferenceId(29), ReferenceId(30)] - | rebuilt : SymbolId(1): [ReferenceId(2), ReferenceId(5), - | ReferenceId(8), ReferenceId(9)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(23): [ReferenceId(32), ReferenceId(33), - | ReferenceId(34), ReferenceId(35), ReferenceId(36)] - | rebuilt : SymbolId(2): [ReferenceId(17), ReferenceId(20), - | ReferenceId(23), ReferenceId(24)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(24): [ReferenceId(38), ReferenceId(39), - | ReferenceId(40)] - | rebuilt : SymbolId(14): [ReferenceId(33), ReferenceId(34)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(15): [ReferenceId(17), ReferenceId(41), - | ReferenceId(42)] - | rebuilt : SymbolId(19): [ReferenceId(7), ReferenceId(42)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(16): [ReferenceId(18), ReferenceId(43), - | ReferenceId(44)] - | rebuilt : SymbolId(20): [ReferenceId(4), ReferenceId(44)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(17): [ReferenceId(19), ReferenceId(45), - | ReferenceId(46)] - | rebuilt : SymbolId(21): [ReferenceId(15), ReferenceId(46)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(18): [ReferenceId(21), ReferenceId(47), - | ReferenceId(48)] - | rebuilt : SymbolId(22): [ReferenceId(22), ReferenceId(48)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(19): [ReferenceId(22), ReferenceId(49), - | ReferenceId(50)] - | rebuilt : SymbolId(23): [ReferenceId(19), ReferenceId(50)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(20): [ReferenceId(23), ReferenceId(51), - | ReferenceId(52)] - | rebuilt : SymbolId(24): [ReferenceId(30), ReferenceId(52)] - - x Reference symbol mismatch: - | after transform: ReferenceId(26): Some("_s") - | rebuilt : ReferenceId(0): None - - x Reference symbol mismatch: - | after transform: ReferenceId(32): Some("_s2") - | rebuilt : ReferenceId(1): None - - x Reference flags mismatch: - | after transform: ReferenceId(18): ReferenceFlags(Write) - | rebuilt : ReferenceId(4): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(17): ReferenceFlags(Write) - | rebuilt : ReferenceId(7): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(22): ReferenceFlags(Write) - | rebuilt : ReferenceId(19): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(21): ReferenceFlags(Write) - | rebuilt : ReferenceId(22): ReferenceFlags(Read | Write) - - x Reference symbol mismatch: - | after transform: ReferenceId(38): Some("_s3") - | rebuilt : ReferenceId(32): None - - x Reference symbol mismatch: - | after transform: ReferenceId(41): Some("_c") - | rebuilt : ReferenceId(41): None - - x Reference symbol mismatch: - | after transform: ReferenceId(43): Some("_c2") - | rebuilt : ReferenceId(43): None - - x Reference symbol mismatch: - | after transform: ReferenceId(45): Some("_c3") - | rebuilt : ReferenceId(45): None - - x Reference symbol mismatch: - | after transform: ReferenceId(47): Some("_c4") - | rebuilt : ReferenceId(47): None - - x Reference symbol mismatch: - | after transform: ReferenceId(49): Some("_c5") - | rebuilt : ReferenceId(49): None - - x Reference symbol mismatch: - | after transform: ReferenceId(51): Some("_c6") - | rebuilt : ReferenceId(51): None - - x Unresolved references mismatch: - | after transform: ["React", "ref", "useState"] - | rebuilt : ["$RefreshReg$", "$RefreshSig$", "React", "ref", - | "useState"] - +Symbol reference IDs mismatch: +after transform: SymbolId(22): [ReferenceId(26), ReferenceId(27), ReferenceId(28), ReferenceId(29), ReferenceId(30)] +rebuilt : SymbolId(1): [ReferenceId(2), ReferenceId(5), ReferenceId(8), ReferenceId(9)] +Symbol reference IDs mismatch: +after transform: SymbolId(23): [ReferenceId(32), ReferenceId(33), ReferenceId(34), ReferenceId(35), ReferenceId(36)] +rebuilt : SymbolId(2): [ReferenceId(17), ReferenceId(20), ReferenceId(23), ReferenceId(24)] +Symbol reference IDs mismatch: +after transform: SymbolId(24): [ReferenceId(38), ReferenceId(39), ReferenceId(40)] +rebuilt : SymbolId(14): [ReferenceId(33), ReferenceId(34)] +Symbol reference IDs mismatch: +after transform: SymbolId(15): [ReferenceId(17), ReferenceId(41), ReferenceId(42)] +rebuilt : SymbolId(19): [ReferenceId(7), ReferenceId(42)] +Symbol reference IDs mismatch: +after transform: SymbolId(16): [ReferenceId(18), ReferenceId(43), ReferenceId(44)] +rebuilt : SymbolId(20): [ReferenceId(4), ReferenceId(44)] +Symbol reference IDs mismatch: +after transform: SymbolId(17): [ReferenceId(19), ReferenceId(45), ReferenceId(46)] +rebuilt : SymbolId(21): [ReferenceId(15), ReferenceId(46)] +Symbol reference IDs mismatch: +after transform: SymbolId(18): [ReferenceId(21), ReferenceId(47), ReferenceId(48)] +rebuilt : SymbolId(22): [ReferenceId(22), ReferenceId(48)] +Symbol reference IDs mismatch: +after transform: SymbolId(19): [ReferenceId(22), ReferenceId(49), ReferenceId(50)] +rebuilt : SymbolId(23): [ReferenceId(19), ReferenceId(50)] +Symbol reference IDs mismatch: +after transform: SymbolId(20): [ReferenceId(23), ReferenceId(51), ReferenceId(52)] +rebuilt : SymbolId(24): [ReferenceId(30), ReferenceId(52)] +Reference symbol mismatch: +after transform: ReferenceId(26): Some("_s") +rebuilt : ReferenceId(0): None +Reference symbol mismatch: +after transform: ReferenceId(32): Some("_s2") +rebuilt : ReferenceId(1): None +Reference flags mismatch: +after transform: ReferenceId(18): ReferenceFlags(Write) +rebuilt : ReferenceId(4): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(17): ReferenceFlags(Write) +rebuilt : ReferenceId(7): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(22): ReferenceFlags(Write) +rebuilt : ReferenceId(19): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(21): ReferenceFlags(Write) +rebuilt : ReferenceId(22): ReferenceFlags(Read | Write) +Reference symbol mismatch: +after transform: ReferenceId(38): Some("_s3") +rebuilt : ReferenceId(32): None +Reference symbol mismatch: +after transform: ReferenceId(41): Some("_c") +rebuilt : ReferenceId(41): None +Reference symbol mismatch: +after transform: ReferenceId(43): Some("_c2") +rebuilt : ReferenceId(43): None +Reference symbol mismatch: +after transform: ReferenceId(45): Some("_c3") +rebuilt : ReferenceId(45): None +Reference symbol mismatch: +after transform: ReferenceId(47): Some("_c4") +rebuilt : ReferenceId(47): None +Reference symbol mismatch: +after transform: ReferenceId(49): Some("_c5") +rebuilt : ReferenceId(49): None +Reference symbol mismatch: +after transform: ReferenceId(51): Some("_c6") +rebuilt : ReferenceId(51): None +Unresolved references mismatch: +after transform: ["React", "ref", "useState"] +rebuilt : ["$RefreshReg$", "$RefreshSig$", "React", "ref", "useState"] * refresh/generates-valid-signature-for-exotic-ways-to-call-hooks/input.jsx - x Missing ScopeId - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1)] - | rebuilt : ScopeId(0): [ScopeId(1), ScopeId(3)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(10): [ReferenceId(17), ReferenceId(18), - | ReferenceId(20)] - | rebuilt : SymbolId(0): [ReferenceId(1), ReferenceId(16)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(8): [ReferenceId(11), ReferenceId(12), - | ReferenceId(14)] - | rebuilt : SymbolId(4): [ReferenceId(3), ReferenceId(7)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(7): [ReferenceId(9), ReferenceId(21), - | ReferenceId(22)] - | rebuilt : SymbolId(10): [ReferenceId(19), ReferenceId(22)] - - x Reference symbol mismatch: - | after transform: ReferenceId(17): Some("_s2") - | rebuilt : ReferenceId(0): None - - x Reference symbol mismatch: - | after transform: ReferenceId(11): Some("_s") - | rebuilt : ReferenceId(2): None - - x Reference symbol mismatch: - | after transform: ReferenceId(21): Some("_c") - | rebuilt : ReferenceId(21): None - - x Unresolved references mismatch: - | after transform: ["React", "useFancyEffect", "useThePlatform"] - | rebuilt : ["$RefreshReg$", "$RefreshSig$", "React", - | "useFancyEffect", "useThePlatform"] - +Missing ScopeId +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1)] +rebuilt : ScopeId(0): [ScopeId(1), ScopeId(3)] +Symbol reference IDs mismatch: +after transform: SymbolId(10): [ReferenceId(17), ReferenceId(18), ReferenceId(20)] +rebuilt : SymbolId(0): [ReferenceId(1), ReferenceId(16)] +Symbol reference IDs mismatch: +after transform: SymbolId(8): [ReferenceId(11), ReferenceId(12), ReferenceId(14)] +rebuilt : SymbolId(4): [ReferenceId(3), ReferenceId(7)] +Symbol reference IDs mismatch: +after transform: SymbolId(7): [ReferenceId(9), ReferenceId(21), ReferenceId(22)] +rebuilt : SymbolId(10): [ReferenceId(19), ReferenceId(22)] +Reference symbol mismatch: +after transform: ReferenceId(17): Some("_s2") +rebuilt : ReferenceId(0): None +Reference symbol mismatch: +after transform: ReferenceId(11): Some("_s") +rebuilt : ReferenceId(2): None +Reference symbol mismatch: +after transform: ReferenceId(21): Some("_c") +rebuilt : ReferenceId(21): None +Unresolved references mismatch: +after transform: ["React", "useFancyEffect", "useThePlatform"] +rebuilt : ["$RefreshReg$", "$RefreshSig$", "React", "useFancyEffect", "useThePlatform"] * refresh/includes-custom-hooks-into-the-signatures/input.jsx - x Missing ScopeId - - x Missing ScopeId - - x Scope children mismatch: - | after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(4)] - | rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), - | ScopeId(5), ScopeId(6)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(7): [ReferenceId(9), ReferenceId(10), - | ReferenceId(12)] - | rebuilt : SymbolId(1): [ReferenceId(3), ReferenceId(7)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(8): [ReferenceId(13), ReferenceId(14), - | ReferenceId(16)] - | rebuilt : SymbolId(2): [ReferenceId(10), ReferenceId(12)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(10): [ReferenceId(19), ReferenceId(20), - | ReferenceId(22)] - | rebuilt : SymbolId(3): [ReferenceId(14), ReferenceId(18)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(6): [ReferenceId(6), ReferenceId(23), - | ReferenceId(24)] - | rebuilt : SymbolId(10): [ReferenceId(21), ReferenceId(24)] - - x Reference symbol mismatch: - | after transform: ReferenceId(9): Some("_s") - | rebuilt : ReferenceId(0): None - - x Reference symbol mismatch: - | after transform: ReferenceId(13): Some("_s2") - | rebuilt : ReferenceId(1): None - - x Reference symbol mismatch: - | after transform: ReferenceId(19): Some("_s3") - | rebuilt : ReferenceId(2): None - - x Reference symbol mismatch: - | after transform: ReferenceId(23): Some("_c") - | rebuilt : ReferenceId(23): None - - x Unresolved references mismatch: - | after transform: ["React"] - | rebuilt : ["$RefreshReg$", "$RefreshSig$", "React"] - +Missing ScopeId +Missing ScopeId +Scope children mismatch: +after transform: ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(4)] +rebuilt : ScopeId(0): [ScopeId(1), ScopeId(2), ScopeId(3), ScopeId(5), ScopeId(6)] +Symbol reference IDs mismatch: +after transform: SymbolId(7): [ReferenceId(9), ReferenceId(10), ReferenceId(12)] +rebuilt : SymbolId(1): [ReferenceId(3), ReferenceId(7)] +Symbol reference IDs mismatch: +after transform: SymbolId(8): [ReferenceId(13), ReferenceId(14), ReferenceId(16)] +rebuilt : SymbolId(2): [ReferenceId(10), ReferenceId(12)] +Symbol reference IDs mismatch: +after transform: SymbolId(10): [ReferenceId(19), ReferenceId(20), ReferenceId(22)] +rebuilt : SymbolId(3): [ReferenceId(14), ReferenceId(18)] +Symbol reference IDs mismatch: +after transform: SymbolId(6): [ReferenceId(6), ReferenceId(23), ReferenceId(24)] +rebuilt : SymbolId(10): [ReferenceId(21), ReferenceId(24)] +Reference symbol mismatch: +after transform: ReferenceId(9): Some("_s") +rebuilt : ReferenceId(0): None +Reference symbol mismatch: +after transform: ReferenceId(13): Some("_s2") +rebuilt : ReferenceId(1): None +Reference symbol mismatch: +after transform: ReferenceId(19): Some("_s3") +rebuilt : ReferenceId(2): None +Reference symbol mismatch: +after transform: ReferenceId(23): Some("_c") +rebuilt : ReferenceId(23): None +Unresolved references mismatch: +after transform: ["React"] +rebuilt : ["$RefreshReg$", "$RefreshSig$", "React"] * refresh/registers-capitalized-identifiers-in-hoc-calls/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(3): [ReferenceId(6), ReferenceId(14), - | ReferenceId(15)] - | rebuilt : SymbolId(4): [ReferenceId(1), ReferenceId(15)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [ReferenceId(8), ReferenceId(16), - | ReferenceId(17)] - | rebuilt : SymbolId(5): [ReferenceId(3), ReferenceId(17)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [ReferenceId(9), ReferenceId(18), - | ReferenceId(19)] - | rebuilt : SymbolId(6): [ReferenceId(8), ReferenceId(19)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(6): [ReferenceId(11), ReferenceId(20), - | ReferenceId(21)] - | rebuilt : SymbolId(7): [ReferenceId(12), ReferenceId(21)] - - x Reference flags mismatch: - | after transform: ReferenceId(8): ReferenceFlags(Write) - | rebuilt : ReferenceId(3): ReferenceFlags(Read | Write) - - x Reference symbol mismatch: - | after transform: ReferenceId(14): Some("_c") - | rebuilt : ReferenceId(14): None - - x Reference symbol mismatch: - | after transform: ReferenceId(16): Some("_c2") - | rebuilt : ReferenceId(16): None - - x Reference symbol mismatch: - | after transform: ReferenceId(18): Some("_c3") - | rebuilt : ReferenceId(18): None - - x Reference symbol mismatch: - | after transform: ReferenceId(20): Some("_c4") - | rebuilt : ReferenceId(20): None - - x Unresolved references mismatch: - | after transform: ["hoc"] - | rebuilt : ["$RefreshReg$", "hoc"] - +Symbol reference IDs mismatch: +after transform: SymbolId(3): [ReferenceId(6), ReferenceId(14), ReferenceId(15)] +rebuilt : SymbolId(4): [ReferenceId(1), ReferenceId(15)] +Symbol reference IDs mismatch: +after transform: SymbolId(4): [ReferenceId(8), ReferenceId(16), ReferenceId(17)] +rebuilt : SymbolId(5): [ReferenceId(3), ReferenceId(17)] +Symbol reference IDs mismatch: +after transform: SymbolId(5): [ReferenceId(9), ReferenceId(18), ReferenceId(19)] +rebuilt : SymbolId(6): [ReferenceId(8), ReferenceId(19)] +Symbol reference IDs mismatch: +after transform: SymbolId(6): [ReferenceId(11), ReferenceId(20), ReferenceId(21)] +rebuilt : SymbolId(7): [ReferenceId(12), ReferenceId(21)] +Reference flags mismatch: +after transform: ReferenceId(8): ReferenceFlags(Write) +rebuilt : ReferenceId(3): ReferenceFlags(Read | Write) +Reference symbol mismatch: +after transform: ReferenceId(14): Some("_c") +rebuilt : ReferenceId(14): None +Reference symbol mismatch: +after transform: ReferenceId(16): Some("_c2") +rebuilt : ReferenceId(16): None +Reference symbol mismatch: +after transform: ReferenceId(18): Some("_c3") +rebuilt : ReferenceId(18): None +Reference symbol mismatch: +after transform: ReferenceId(20): Some("_c4") +rebuilt : ReferenceId(20): None +Unresolved references mismatch: +after transform: ["hoc"] +rebuilt : ["$RefreshReg$", "hoc"] * refresh/registers-identifiers-used-in-jsx-at-definition-site/input.jsx - x Output mismatch - x Symbol reference IDs mismatch: - | after transform: SymbolId(13): [ReferenceId(22), ReferenceId(44), - | ReferenceId(45)] - | rebuilt : SymbolId(15): [ReferenceId(2), ReferenceId(45)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(14): [ReferenceId(24), ReferenceId(46), - | ReferenceId(47)] - | rebuilt : SymbolId(16): [ReferenceId(5), ReferenceId(47)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(15): [ReferenceId(26), ReferenceId(48), - | ReferenceId(49)] - | rebuilt : SymbolId(17): [ReferenceId(11), ReferenceId(49)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(16): [ReferenceId(28), ReferenceId(50), - | ReferenceId(51)] - | rebuilt : SymbolId(18): [ReferenceId(34), ReferenceId(51)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(17): [ReferenceId(30), ReferenceId(52), - | ReferenceId(53)] - | rebuilt : SymbolId(19): [ReferenceId(38), ReferenceId(53)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(18): [ReferenceId(32), ReferenceId(54), - | ReferenceId(55)] - | rebuilt : SymbolId(20): [ReferenceId(42), ReferenceId(55)] - - x Reference symbol mismatch: - | after transform: ReferenceId(44): Some("_c") - | rebuilt : ReferenceId(44): None - - x Reference symbol mismatch: - | after transform: ReferenceId(46): Some("_c2") - | rebuilt : ReferenceId(46): None - - x Reference symbol mismatch: - | after transform: ReferenceId(48): Some("_c3") - | rebuilt : ReferenceId(48): None - - x Reference symbol mismatch: - | after transform: ReferenceId(50): Some("_c4") - | rebuilt : ReferenceId(50): None - - x Reference symbol mismatch: - | after transform: ReferenceId(52): Some("_c5") - | rebuilt : ReferenceId(52): None - - x Reference symbol mismatch: - | after transform: ReferenceId(54): Some("_c6") - | rebuilt : ReferenceId(54): None - - x Unresolved references mismatch: - | after transform: ["funny", "hoc", "styled", "wow"] - | rebuilt : ["$RefreshReg$", "funny", "hoc", "styled", "wow"] - +x Output mismatch * refresh/registers-identifiers-used-in-react-create-element-at-definition-site/input.jsx - x Output mismatch - x Symbol reference IDs mismatch: - | after transform: SymbolId(13): [ReferenceId(33), ReferenceId(45), - | ReferenceId(46)] - | rebuilt : SymbolId(13): [ReferenceId(2), ReferenceId(46)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(14): [ReferenceId(35), ReferenceId(47), - | ReferenceId(48)] - | rebuilt : SymbolId(14): [ReferenceId(5), ReferenceId(48)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(15): [ReferenceId(37), ReferenceId(49), - | ReferenceId(50)] - | rebuilt : SymbolId(15): [ReferenceId(11), ReferenceId(50)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(16): [ReferenceId(39), ReferenceId(51), - | ReferenceId(52)] - | rebuilt : SymbolId(16): [ReferenceId(33), ReferenceId(52)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(17): [ReferenceId(41), ReferenceId(53), - | ReferenceId(54)] - | rebuilt : SymbolId(17): [ReferenceId(39), ReferenceId(54)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(18): [ReferenceId(43), ReferenceId(55), - | ReferenceId(56)] - | rebuilt : SymbolId(18): [ReferenceId(43), ReferenceId(56)] - - x Reference symbol mismatch: - | after transform: ReferenceId(45): Some("_c") - | rebuilt : ReferenceId(45): None - - x Reference symbol mismatch: - | after transform: ReferenceId(47): Some("_c2") - | rebuilt : ReferenceId(47): None - - x Reference symbol mismatch: - | after transform: ReferenceId(49): Some("_c3") - | rebuilt : ReferenceId(49): None - - x Reference symbol mismatch: - | after transform: ReferenceId(51): Some("_c4") - | rebuilt : ReferenceId(51): None - - x Reference symbol mismatch: - | after transform: ReferenceId(53): Some("_c5") - | rebuilt : ReferenceId(53): None - - x Reference symbol mismatch: - | after transform: ReferenceId(55): Some("_c6") - | rebuilt : ReferenceId(55): None - - x Unresolved references mismatch: - | after transform: ["React", "funny", "hoc", "jsx", "styled", "wow"] - | rebuilt : ["$RefreshReg$", "React", "funny", "hoc", "jsx", - | "styled", "wow"] - +x Output mismatch * refresh/registers-likely-hocs-with-inline-functions-1/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [ReferenceId(5), ReferenceId(18), - | ReferenceId(19)] - | rebuilt : SymbolId(5): [ReferenceId(1), ReferenceId(19)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [ReferenceId(6), ReferenceId(20), - | ReferenceId(21)] - | rebuilt : SymbolId(6): [ReferenceId(3), ReferenceId(21)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(6): [ReferenceId(8), ReferenceId(22), - | ReferenceId(23)] - | rebuilt : SymbolId(7): [ReferenceId(8), ReferenceId(23)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(7): [ReferenceId(9), ReferenceId(24), - | ReferenceId(25)] - | rebuilt : SymbolId(8): [ReferenceId(6), ReferenceId(25)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(8): [ReferenceId(10), ReferenceId(26), - | ReferenceId(27)] - | rebuilt : SymbolId(9): [ReferenceId(10), ReferenceId(27)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(9): [ReferenceId(12), ReferenceId(28), - | ReferenceId(29)] - | rebuilt : SymbolId(10): [ReferenceId(16), ReferenceId(29)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(10): [ReferenceId(13), ReferenceId(30), - | ReferenceId(31)] - | rebuilt : SymbolId(11): [ReferenceId(14), ReferenceId(31)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(11): [ReferenceId(14), ReferenceId(32), - | ReferenceId(33)] - | rebuilt : SymbolId(12): [ReferenceId(12), ReferenceId(33)] - - x Reference flags mismatch: - | after transform: ReferenceId(5): ReferenceFlags(Write) - | rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(9): ReferenceFlags(Write) - | rebuilt : ReferenceId(6): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(8): ReferenceFlags(Write) - | rebuilt : ReferenceId(8): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(14): ReferenceFlags(Write) - | rebuilt : ReferenceId(12): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(13): ReferenceFlags(Write) - | rebuilt : ReferenceId(14): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(12): ReferenceFlags(Write) - | rebuilt : ReferenceId(16): ReferenceFlags(Read | Write) - - x Reference symbol mismatch: - | after transform: ReferenceId(18): Some("_c") - | rebuilt : ReferenceId(18): None - - x Reference symbol mismatch: - | after transform: ReferenceId(20): Some("_c2") - | rebuilt : ReferenceId(20): None - - x Reference symbol mismatch: - | after transform: ReferenceId(22): Some("_c3") - | rebuilt : ReferenceId(22): None - - x Reference symbol mismatch: - | after transform: ReferenceId(24): Some("_c4") - | rebuilt : ReferenceId(24): None - - x Reference symbol mismatch: - | after transform: ReferenceId(26): Some("_c5") - | rebuilt : ReferenceId(26): None - - x Reference symbol mismatch: - | after transform: ReferenceId(28): Some("_c6") - | rebuilt : ReferenceId(28): None - - x Reference symbol mismatch: - | after transform: ReferenceId(30): Some("_c7") - | rebuilt : ReferenceId(30): None - - x Reference symbol mismatch: - | after transform: ReferenceId(32): Some("_c8") - | rebuilt : ReferenceId(32): None - - x Unresolved references mismatch: - | after transform: ["React", "forwardRef", "memo"] - | rebuilt : ["$RefreshReg$", "React", "forwardRef", "memo"] - +Symbol reference IDs mismatch: +after transform: SymbolId(4): [ReferenceId(5), ReferenceId(18), ReferenceId(19)] +rebuilt : SymbolId(5): [ReferenceId(1), ReferenceId(19)] +Symbol reference IDs mismatch: +after transform: SymbolId(5): [ReferenceId(6), ReferenceId(20), ReferenceId(21)] +rebuilt : SymbolId(6): [ReferenceId(3), ReferenceId(21)] +Symbol reference IDs mismatch: +after transform: SymbolId(6): [ReferenceId(8), ReferenceId(22), ReferenceId(23)] +rebuilt : SymbolId(7): [ReferenceId(8), ReferenceId(23)] +Symbol reference IDs mismatch: +after transform: SymbolId(7): [ReferenceId(9), ReferenceId(24), ReferenceId(25)] +rebuilt : SymbolId(8): [ReferenceId(6), ReferenceId(25)] +Symbol reference IDs mismatch: +after transform: SymbolId(8): [ReferenceId(10), ReferenceId(26), ReferenceId(27)] +rebuilt : SymbolId(9): [ReferenceId(10), ReferenceId(27)] +Symbol reference IDs mismatch: +after transform: SymbolId(9): [ReferenceId(12), ReferenceId(28), ReferenceId(29)] +rebuilt : SymbolId(10): [ReferenceId(16), ReferenceId(29)] +Symbol reference IDs mismatch: +after transform: SymbolId(10): [ReferenceId(13), ReferenceId(30), ReferenceId(31)] +rebuilt : SymbolId(11): [ReferenceId(14), ReferenceId(31)] +Symbol reference IDs mismatch: +after transform: SymbolId(11): [ReferenceId(14), ReferenceId(32), ReferenceId(33)] +rebuilt : SymbolId(12): [ReferenceId(12), ReferenceId(33)] +Reference flags mismatch: +after transform: ReferenceId(5): ReferenceFlags(Write) +rebuilt : ReferenceId(1): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(9): ReferenceFlags(Write) +rebuilt : ReferenceId(6): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(8): ReferenceFlags(Write) +rebuilt : ReferenceId(8): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(14): ReferenceFlags(Write) +rebuilt : ReferenceId(12): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(13): ReferenceFlags(Write) +rebuilt : ReferenceId(14): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(12): ReferenceFlags(Write) +rebuilt : ReferenceId(16): ReferenceFlags(Read | Write) +Reference symbol mismatch: +after transform: ReferenceId(18): Some("_c") +rebuilt : ReferenceId(18): None +Reference symbol mismatch: +after transform: ReferenceId(20): Some("_c2") +rebuilt : ReferenceId(20): None +Reference symbol mismatch: +after transform: ReferenceId(22): Some("_c3") +rebuilt : ReferenceId(22): None +Reference symbol mismatch: +after transform: ReferenceId(24): Some("_c4") +rebuilt : ReferenceId(24): None +Reference symbol mismatch: +after transform: ReferenceId(26): Some("_c5") +rebuilt : ReferenceId(26): None +Reference symbol mismatch: +after transform: ReferenceId(28): Some("_c6") +rebuilt : ReferenceId(28): None +Reference symbol mismatch: +after transform: ReferenceId(30): Some("_c7") +rebuilt : ReferenceId(30): None +Reference symbol mismatch: +after transform: ReferenceId(32): Some("_c8") +rebuilt : ReferenceId(32): None +Unresolved references mismatch: +after transform: ["React", "forwardRef", "memo"] +rebuilt : ["$RefreshReg$", "React", "forwardRef", "memo"] * refresh/registers-likely-hocs-with-inline-functions-2/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(2): [ReferenceId(2), ReferenceId(6), - | ReferenceId(7)] - | rebuilt : SymbolId(3): [ReferenceId(4), ReferenceId(7)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(3): [ReferenceId(3), ReferenceId(8), - | ReferenceId(9)] - | rebuilt : SymbolId(4): [ReferenceId(2), ReferenceId(9)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [ReferenceId(4), ReferenceId(10), - | ReferenceId(11)] - | rebuilt : SymbolId(5): [ReferenceId(0), ReferenceId(11)] - - x Reference flags mismatch: - | after transform: ReferenceId(4): ReferenceFlags(Write) - | rebuilt : ReferenceId(0): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(3): ReferenceFlags(Write) - | rebuilt : ReferenceId(2): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(2): ReferenceFlags(Write) - | rebuilt : ReferenceId(4): ReferenceFlags(Read | Write) - - x Reference symbol mismatch: - | after transform: ReferenceId(6): Some("_c") - | rebuilt : ReferenceId(6): None - - x Reference symbol mismatch: - | after transform: ReferenceId(8): Some("_c2") - | rebuilt : ReferenceId(8): None - - x Reference symbol mismatch: - | after transform: ReferenceId(10): Some("_c3") - | rebuilt : ReferenceId(10): None - - x Unresolved references mismatch: - | after transform: ["React", "forwardRef"] - | rebuilt : ["$RefreshReg$", "React", "forwardRef"] - +Symbol reference IDs mismatch: +after transform: SymbolId(2): [ReferenceId(2), ReferenceId(6), ReferenceId(7)] +rebuilt : SymbolId(3): [ReferenceId(4), ReferenceId(7)] +Symbol reference IDs mismatch: +after transform: SymbolId(3): [ReferenceId(3), ReferenceId(8), ReferenceId(9)] +rebuilt : SymbolId(4): [ReferenceId(2), ReferenceId(9)] +Symbol reference IDs mismatch: +after transform: SymbolId(4): [ReferenceId(4), ReferenceId(10), ReferenceId(11)] +rebuilt : SymbolId(5): [ReferenceId(0), ReferenceId(11)] +Reference flags mismatch: +after transform: ReferenceId(4): ReferenceFlags(Write) +rebuilt : ReferenceId(0): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(3): ReferenceFlags(Write) +rebuilt : ReferenceId(2): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(2): ReferenceFlags(Write) +rebuilt : ReferenceId(4): ReferenceFlags(Read | Write) +Reference symbol mismatch: +after transform: ReferenceId(6): Some("_c") +rebuilt : ReferenceId(6): None +Reference symbol mismatch: +after transform: ReferenceId(8): Some("_c2") +rebuilt : ReferenceId(8): None +Reference symbol mismatch: +after transform: ReferenceId(10): Some("_c3") +rebuilt : ReferenceId(10): None +Unresolved references mismatch: +after transform: ["React", "forwardRef"] +rebuilt : ["$RefreshReg$", "React", "forwardRef"] * refresh/registers-likely-hocs-with-inline-functions-3/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(3): [ReferenceId(2), ReferenceId(6), - | ReferenceId(7)] - | rebuilt : SymbolId(4): [ReferenceId(4), ReferenceId(7)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [ReferenceId(3), ReferenceId(8), - | ReferenceId(9)] - | rebuilt : SymbolId(5): [ReferenceId(2), ReferenceId(9)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [ReferenceId(4), ReferenceId(10), - | ReferenceId(11)] - | rebuilt : SymbolId(6): [ReferenceId(0), ReferenceId(11)] - - x Reference flags mismatch: - | after transform: ReferenceId(4): ReferenceFlags(Write) - | rebuilt : ReferenceId(0): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(3): ReferenceFlags(Write) - | rebuilt : ReferenceId(2): ReferenceFlags(Read | Write) - - x Reference flags mismatch: - | after transform: ReferenceId(2): ReferenceFlags(Write) - | rebuilt : ReferenceId(4): ReferenceFlags(Read | Write) - - x Reference symbol mismatch: - | after transform: ReferenceId(6): Some("_c") - | rebuilt : ReferenceId(6): None - - x Reference symbol mismatch: - | after transform: ReferenceId(8): Some("_c2") - | rebuilt : ReferenceId(8): None - - x Reference symbol mismatch: - | after transform: ReferenceId(10): Some("_c3") - | rebuilt : ReferenceId(10): None - - x Unresolved references mismatch: - | after transform: ["React", "forwardRef"] - | rebuilt : ["$RefreshReg$", "React", "forwardRef"] - +Symbol reference IDs mismatch: +after transform: SymbolId(3): [ReferenceId(2), ReferenceId(6), ReferenceId(7)] +rebuilt : SymbolId(4): [ReferenceId(4), ReferenceId(7)] +Symbol reference IDs mismatch: +after transform: SymbolId(4): [ReferenceId(3), ReferenceId(8), ReferenceId(9)] +rebuilt : SymbolId(5): [ReferenceId(2), ReferenceId(9)] +Symbol reference IDs mismatch: +after transform: SymbolId(5): [ReferenceId(4), ReferenceId(10), ReferenceId(11)] +rebuilt : SymbolId(6): [ReferenceId(0), ReferenceId(11)] +Reference flags mismatch: +after transform: ReferenceId(4): ReferenceFlags(Write) +rebuilt : ReferenceId(0): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(3): ReferenceFlags(Write) +rebuilt : ReferenceId(2): ReferenceFlags(Read | Write) +Reference flags mismatch: +after transform: ReferenceId(2): ReferenceFlags(Write) +rebuilt : ReferenceId(4): ReferenceFlags(Read | Write) +Reference symbol mismatch: +after transform: ReferenceId(6): Some("_c") +rebuilt : ReferenceId(6): None +Reference symbol mismatch: +after transform: ReferenceId(8): Some("_c2") +rebuilt : ReferenceId(8): None +Reference symbol mismatch: +after transform: ReferenceId(10): Some("_c3") +rebuilt : ReferenceId(10): None +Unresolved references mismatch: +after transform: ["React", "forwardRef"] +rebuilt : ["$RefreshReg$", "React", "forwardRef"] * refresh/registers-top-level-exported-function-declarations/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(7): [ReferenceId(4), ReferenceId(13), - | ReferenceId(14)] - | rebuilt : SymbolId(8): [ReferenceId(2), ReferenceId(14)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(8): [ReferenceId(6), ReferenceId(15), - | ReferenceId(16)] - | rebuilt : SymbolId(9): [ReferenceId(6), ReferenceId(16)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(9): [ReferenceId(8), ReferenceId(17), - | ReferenceId(18)] - | rebuilt : SymbolId(10): [ReferenceId(9), ReferenceId(18)] - - x Reference symbol mismatch: - | after transform: ReferenceId(13): Some("_c") - | rebuilt : ReferenceId(13): None - - x Reference symbol mismatch: - | after transform: ReferenceId(15): Some("_c2") - | rebuilt : ReferenceId(15): None - - x Reference symbol mismatch: - | after transform: ReferenceId(17): Some("_c3") - | rebuilt : ReferenceId(17): None - - x Unresolved references mismatch: - | after transform: [] - | rebuilt : ["$RefreshReg$"] - +Symbol reference IDs mismatch: +after transform: SymbolId(7): [ReferenceId(4), ReferenceId(13), ReferenceId(14)] +rebuilt : SymbolId(8): [ReferenceId(2), ReferenceId(14)] +Symbol reference IDs mismatch: +after transform: SymbolId(8): [ReferenceId(6), ReferenceId(15), ReferenceId(16)] +rebuilt : SymbolId(9): [ReferenceId(6), ReferenceId(16)] +Symbol reference IDs mismatch: +after transform: SymbolId(9): [ReferenceId(8), ReferenceId(17), ReferenceId(18)] +rebuilt : SymbolId(10): [ReferenceId(9), ReferenceId(18)] +Reference symbol mismatch: +after transform: ReferenceId(13): Some("_c") +rebuilt : ReferenceId(13): None +Reference symbol mismatch: +after transform: ReferenceId(15): Some("_c2") +rebuilt : ReferenceId(15): None +Reference symbol mismatch: +after transform: ReferenceId(17): Some("_c3") +rebuilt : ReferenceId(17): None +Unresolved references mismatch: +after transform: [] +rebuilt : ["$RefreshReg$"] * refresh/registers-top-level-exported-named-arrow-functions/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [ReferenceId(3), ReferenceId(10), - | ReferenceId(11)] - | rebuilt : SymbolId(5): [ReferenceId(2), ReferenceId(11)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [ReferenceId(5), ReferenceId(12), - | ReferenceId(13)] - | rebuilt : SymbolId(6): [ReferenceId(6), ReferenceId(13)] - - x Reference symbol mismatch: - | after transform: ReferenceId(10): Some("_c") - | rebuilt : ReferenceId(10): None - - x Reference symbol mismatch: - | after transform: ReferenceId(12): Some("_c2") - | rebuilt : ReferenceId(12): None - - x Unresolved references mismatch: - | after transform: [] - | rebuilt : ["$RefreshReg$"] - +Symbol reference IDs mismatch: +after transform: SymbolId(4): [ReferenceId(3), ReferenceId(10), ReferenceId(11)] +rebuilt : SymbolId(5): [ReferenceId(2), ReferenceId(11)] +Symbol reference IDs mismatch: +after transform: SymbolId(5): [ReferenceId(5), ReferenceId(12), ReferenceId(13)] +rebuilt : SymbolId(6): [ReferenceId(6), ReferenceId(13)] +Reference symbol mismatch: +after transform: ReferenceId(10): Some("_c") +rebuilt : ReferenceId(10): None +Reference symbol mismatch: +after transform: ReferenceId(12): Some("_c2") +rebuilt : ReferenceId(12): None +Unresolved references mismatch: +after transform: [] +rebuilt : ["$RefreshReg$"] * refresh/registers-top-level-function-declarations/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(3): [ReferenceId(2), ReferenceId(8), - | ReferenceId(9)] - | rebuilt : SymbolId(4): [ReferenceId(2), ReferenceId(9)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(4): [ReferenceId(4), ReferenceId(10), - | ReferenceId(11)] - | rebuilt : SymbolId(5): [ReferenceId(6), ReferenceId(11)] - - x Reference symbol mismatch: - | after transform: ReferenceId(8): Some("_c") - | rebuilt : ReferenceId(8): None - - x Reference symbol mismatch: - | after transform: ReferenceId(10): Some("_c2") - | rebuilt : ReferenceId(10): None - - x Unresolved references mismatch: - | after transform: [] - | rebuilt : ["$RefreshReg$"] - +Symbol reference IDs mismatch: +after transform: SymbolId(3): [ReferenceId(2), ReferenceId(8), ReferenceId(9)] +rebuilt : SymbolId(4): [ReferenceId(2), ReferenceId(9)] +Symbol reference IDs mismatch: +after transform: SymbolId(4): [ReferenceId(4), ReferenceId(10), ReferenceId(11)] +rebuilt : SymbolId(5): [ReferenceId(6), ReferenceId(11)] +Reference symbol mismatch: +after transform: ReferenceId(8): Some("_c") +rebuilt : ReferenceId(8): None +Reference symbol mismatch: +after transform: ReferenceId(10): Some("_c2") +rebuilt : ReferenceId(10): None +Unresolved references mismatch: +after transform: [] +rebuilt : ["$RefreshReg$"] * refresh/registers-top-level-variable-declarations-with-arrow-functions/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(5): [ReferenceId(2), ReferenceId(11), - | ReferenceId(12)] - | rebuilt : SymbolId(6): [ReferenceId(2), ReferenceId(12)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(6): [ReferenceId(4), ReferenceId(13), - | ReferenceId(14)] - | rebuilt : SymbolId(7): [ReferenceId(6), ReferenceId(14)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(7): [ReferenceId(6), ReferenceId(15), - | ReferenceId(16)] - | rebuilt : SymbolId(8): [ReferenceId(9), ReferenceId(16)] - - x Reference symbol mismatch: - | after transform: ReferenceId(11): Some("_c") - | rebuilt : ReferenceId(11): None - - x Reference symbol mismatch: - | after transform: ReferenceId(13): Some("_c2") - | rebuilt : ReferenceId(13): None - - x Reference symbol mismatch: - | after transform: ReferenceId(15): Some("_c3") - | rebuilt : ReferenceId(15): None - - x Unresolved references mismatch: - | after transform: [] - | rebuilt : ["$RefreshReg$"] - +Symbol reference IDs mismatch: +after transform: SymbolId(5): [ReferenceId(2), ReferenceId(11), ReferenceId(12)] +rebuilt : SymbolId(6): [ReferenceId(2), ReferenceId(12)] +Symbol reference IDs mismatch: +after transform: SymbolId(6): [ReferenceId(4), ReferenceId(13), ReferenceId(14)] +rebuilt : SymbolId(7): [ReferenceId(6), ReferenceId(14)] +Symbol reference IDs mismatch: +after transform: SymbolId(7): [ReferenceId(6), ReferenceId(15), ReferenceId(16)] +rebuilt : SymbolId(8): [ReferenceId(9), ReferenceId(16)] +Reference symbol mismatch: +after transform: ReferenceId(11): Some("_c") +rebuilt : ReferenceId(11): None +Reference symbol mismatch: +after transform: ReferenceId(13): Some("_c2") +rebuilt : ReferenceId(13): None +Reference symbol mismatch: +after transform: ReferenceId(15): Some("_c3") +rebuilt : ReferenceId(15): None +Unresolved references mismatch: +after transform: [] +rebuilt : ["$RefreshReg$"] * refresh/registers-top-level-variable-declarations-with-function-expressions/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(7): [ReferenceId(2), ReferenceId(8), - | ReferenceId(9)] - | rebuilt : SymbolId(8): [ReferenceId(2), ReferenceId(9)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(8): [ReferenceId(4), ReferenceId(10), - | ReferenceId(11)] - | rebuilt : SymbolId(9): [ReferenceId(6), ReferenceId(11)] - - x Reference symbol mismatch: - | after transform: ReferenceId(8): Some("_c") - | rebuilt : ReferenceId(8): None - - x Reference symbol mismatch: - | after transform: ReferenceId(10): Some("_c2") - | rebuilt : ReferenceId(10): None - - x Unresolved references mismatch: - | after transform: [] - | rebuilt : ["$RefreshReg$"] - +Symbol reference IDs mismatch: +after transform: SymbolId(7): [ReferenceId(2), ReferenceId(8), ReferenceId(9)] +rebuilt : SymbolId(8): [ReferenceId(2), ReferenceId(9)] +Symbol reference IDs mismatch: +after transform: SymbolId(8): [ReferenceId(4), ReferenceId(10), ReferenceId(11)] +rebuilt : SymbolId(9): [ReferenceId(6), ReferenceId(11)] +Reference symbol mismatch: +after transform: ReferenceId(8): Some("_c") +rebuilt : ReferenceId(8): None +Reference symbol mismatch: +after transform: ReferenceId(10): Some("_c2") +rebuilt : ReferenceId(10): None +Unresolved references mismatch: +after transform: [] +rebuilt : ["$RefreshReg$"] * refresh/supports-typescript-namespace-syntax/input.tsx - x Output mismatch - x Missing SymbolId: Foo - - x Missing SymbolId: _Foo - - x Missing SymbolId: Bar - - x Missing SymbolId: _Bar - - x Missing ReferenceId: _Bar - - x Missing ReferenceId: _Bar - - x Missing ReferenceId: Bar - - x Missing ReferenceId: Bar - - x Missing ReferenceId: _Foo - - x Missing ReferenceId: _Foo - - x Missing ReferenceId: _Foo - - x Missing ReferenceId: _Foo - - x Missing ReferenceId: D - - x Missing SymbolId: NotExported - - x Missing SymbolId: _NotExported - - x Missing ReferenceId: _NotExported - - x Missing ReferenceId: NotExported - - x Missing ReferenceId: NotExported - - x Missing ReferenceId: Foo - - x Missing ReferenceId: Foo - - x Binding symbols mismatch: - | after transform: ScopeId(0): [SymbolId(0)] - | rebuilt : ScopeId(0): [SymbolId(0)] - - x Binding symbols mismatch: - | after transform: ScopeId(1): [SymbolId(1), SymbolId(5), SymbolId(6), - | SymbolId(7), SymbolId(9)] - | rebuilt : ScopeId(1): [SymbolId(1), SymbolId(2), SymbolId(7), - | SymbolId(8), SymbolId(9)] - - x Binding symbols mismatch: - | after transform: ScopeId(2): [SymbolId(2), SymbolId(3), SymbolId(4), - | SymbolId(10)] - | rebuilt : ScopeId(2): [SymbolId(3), SymbolId(4), SymbolId(5), - | SymbolId(6)] - - x Binding symbols mismatch: - | after transform: ScopeId(7): [SymbolId(8), SymbolId(11)] - | rebuilt : ScopeId(7): [SymbolId(10), SymbolId(11)] - - x Symbol flags mismatch: - | after transform: SymbolId(2): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export | ArrowFunction) - | rebuilt : SymbolId(4): SymbolFlags(BlockScopedVariable | - | ConstVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(3): SymbolFlags(BlockScopedVariable | Function) - | rebuilt : SymbolId(5): SymbolFlags(FunctionScopedVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(4): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export) - | rebuilt : SymbolId(6): SymbolFlags(BlockScopedVariable | - | ConstVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(5): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export | ArrowFunction) - | rebuilt : SymbolId(7): SymbolFlags(BlockScopedVariable | - | ConstVariable) - - x Symbol flags mismatch: - | after transform: SymbolId(6): SymbolFlags(BlockScopedVariable | Export - | | Function) - | rebuilt : SymbolId(8): SymbolFlags(FunctionScopedVariable) - - x Symbol reference IDs mismatch: - | after transform: SymbolId(6): [] - | rebuilt : SymbolId(8): [ReferenceId(9)] - - x Symbol flags mismatch: - | after transform: SymbolId(8): SymbolFlags(BlockScopedVariable | - | ConstVariable | Export | ArrowFunction) - | rebuilt : SymbolId(11): SymbolFlags(BlockScopedVariable | - | ConstVariable) - +x Output mismatch * refresh/uses-custom-identifiers-for-refresh-reg-and-refresh-sig/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(3): [ReferenceId(6), ReferenceId(7), - | ReferenceId(9)] - | rebuilt : SymbolId(1): [ReferenceId(1), ReferenceId(6)] - - x Symbol reference IDs mismatch: - | after transform: SymbolId(1): [ReferenceId(3), ReferenceId(10), - | ReferenceId(11)] - | rebuilt : SymbolId(3): [ReferenceId(8), ReferenceId(11)] - - x Reference symbol mismatch: - | after transform: ReferenceId(6): Some("_s") - | rebuilt : ReferenceId(0): None - - x Reference symbol mismatch: - | after transform: ReferenceId(10): Some("_c") - | rebuilt : ReferenceId(10): None - - x Unresolved references mismatch: - | after transform: ["Foo", "X", "useContext"] - | rebuilt : ["Foo", "X", "import.meta.refreshReg", - | "import.meta.refreshSig", "useContext"] - +Symbol reference IDs mismatch: +after transform: SymbolId(3): [ReferenceId(6), ReferenceId(7), ReferenceId(9)] +rebuilt : SymbolId(1): [ReferenceId(1), ReferenceId(6)] +Symbol reference IDs mismatch: +after transform: SymbolId(1): [ReferenceId(3), ReferenceId(10), ReferenceId(11)] +rebuilt : SymbolId(3): [ReferenceId(8), ReferenceId(11)] +Reference symbol mismatch: +after transform: ReferenceId(6): Some("_s") +rebuilt : ReferenceId(0): None +Reference symbol mismatch: +after transform: ReferenceId(10): Some("_c") +rebuilt : ReferenceId(10): None +Unresolved references mismatch: +after transform: ["Foo", "X", "useContext"] +rebuilt : ["Foo", "X", "import.meta.refreshReg", "import.meta.refreshSig", "useContext"] * refresh/uses-original-function-declaration-if-it-get-reassigned/input.jsx - x Symbol reference IDs mismatch: - | after transform: SymbolId(1): [ReferenceId(3), ReferenceId(6), - | ReferenceId(7)] - | rebuilt : SymbolId(2): [ReferenceId(1), ReferenceId(7)] - - x Reference symbol mismatch: - | after transform: ReferenceId(6): Some("_c") - | rebuilt : ReferenceId(6): None - - x Unresolved references mismatch: - | after transform: ["connect"] - | rebuilt : ["$RefreshReg$", "connect"] - +Symbol reference IDs mismatch: +after transform: SymbolId(1): [ReferenceId(3), ReferenceId(6), ReferenceId(7)] +rebuilt : SymbolId(2): [ReferenceId(1), ReferenceId(7)] +Reference symbol mismatch: +after transform: ReferenceId(6): Some("_c") +rebuilt : ReferenceId(6): None +Unresolved references mismatch: +after transform: ["connect"] +rebuilt : ["$RefreshReg$", "connect"] diff --git a/tasks/transform_conformance/src/driver.rs b/tasks/transform_conformance/src/driver.rs index bb290d2c37bc7..ce083caa4ccf7 100644 --- a/tasks/transform_conformance/src/driver.rs +++ b/tasks/transform_conformance/src/driver.rs @@ -10,6 +10,7 @@ use oxc::{ }; pub struct Driver { + check_semantic: bool, options: TransformOptions, printed: String, errors: Vec, @@ -41,20 +42,22 @@ impl CompilerInterface for Driver { program: &mut Program<'_>, transformer_return: &mut TransformerReturn, ) -> ControlFlow<()> { - if let Some(errors) = check_semantic_after_transform( - &transformer_return.symbols, - &transformer_return.scopes, - program, - ) { - self.errors.extend(errors); + if self.check_semantic { + if let Some(errors) = check_semantic_after_transform( + &transformer_return.symbols, + &transformer_return.scopes, + program, + ) { + self.errors.extend(errors); + } } ControlFlow::Continue(()) } } impl Driver { - pub fn new(options: TransformOptions) -> Self { - Self { options, printed: String::new(), errors: vec![] } + pub fn new(check_semantic: bool, options: TransformOptions) -> Self { + Self { check_semantic, options, printed: String::new(), errors: vec![] } } pub fn errors(&mut self) -> Vec { diff --git a/tasks/transform_conformance/src/lib.rs b/tasks/transform_conformance/src/lib.rs index f1b722beefd89..0166d12e6f991 100644 --- a/tasks/transform_conformance/src/lib.rs +++ b/tasks/transform_conformance/src/lib.rs @@ -175,12 +175,12 @@ impl TestRunner { let errors = test_case.errors(); if !errors.is_empty() { snapshot.push('\n'); - for error in test_case.errors() { + for error in errors { snapshot.push_str(&error.message); + snapshot.push('\n'); } snapshot.push('\n'); } - snapshot.push('\n'); } snapshot.push('\n'); } diff --git a/tasks/transform_conformance/src/test_case.rs b/tasks/transform_conformance/src/test_case.rs index 7dad3472bd6ba..634f214538cad 100644 --- a/tasks/transform_conformance/src/test_case.rs +++ b/tasks/transform_conformance/src/test_case.rs @@ -172,16 +172,13 @@ pub trait TestCase { // Some babel test cases have a js extension, but contain typescript code. // Therefore, if the typescript plugin exists, enable typescript. - let mut source_type = SourceType::from_path(path).unwrap(); - if !source_type.is_typescript() - && (self.options().get_plugin("transform-typescript").is_some() - || self.options().get_plugin("syntax-typescript").is_some()) - { - source_type = source_type.with_typescript(true); - } + let source_type = SourceType::from_path(path).unwrap().with_typescript( + self.options().get_plugin("transform-typescript").is_some() + || self.options().get_plugin("syntax-typescript").is_some(), + ); let driver = - Driver::new(transform_options.clone()).execute(&source_text, source_type, path); + Driver::new(false, transform_options.clone()).execute(&source_text, source_type, path); Ok(driver) } } @@ -228,25 +225,27 @@ impl TestCase for ConformanceTestCase { let allocator = Allocator::default(); let input = fs::read_to_string(&self.path).unwrap(); - let input_is_js = self.path.extension().and_then(std::ffi::OsStr::to_str) == Some("js"); - let output_is_js = output_path - .as_ref() - .is_some_and(|path| path.extension().and_then(std::ffi::OsStr::to_str) == Some("js")); - let mut source_type = SourceType::from_path(&self.path) - .unwrap() - .with_script(if self.options.source_type.is_some() { - !self.options.is_module() - } else { - input_is_js && output_is_js - }) - .with_jsx(self.options.get_plugin("syntax-jsx").is_some()); - if !source_type.is_typescript() - && (self.options.get_plugin("transform-typescript").is_some() - || self.options.get_plugin("syntax-typescript").is_some()) - { - source_type = source_type.with_typescript(true); - } + let source_type = { + let mut source_type = SourceType::from_path(&self.path) + .unwrap() + .with_jsx(self.options.get_plugin("syntax-jsx").is_some()); + + source_type = match self.options.source_type.as_deref() { + Some("unambiguous") => source_type.with_unambiguous(true), + Some("script") => source_type.with_script(true), + Some("module") => source_type.with_module(true), + Some(s) => panic!("Unexpected source type {s}"), + None => source_type, + }; + + source_type = source_type.with_typescript( + self.options.get_plugin("transform-typescript").is_some() + || self.options.get_plugin("syntax-typescript").is_some(), + ); + + source_type + }; if filtered { println!("input_path: {:?}", &self.path); @@ -255,14 +254,18 @@ impl TestCase for ConformanceTestCase { let project_root = project_root(); let mut transformed_code = String::new(); - let mut actual_errors = String::new(); + let mut actual_errors = None; let mut transform_options = None; match self.transform_options() { + Err(json_err) => { + let error = json_err.iter().map(ToString::to_string).collect::>().join("\n"); + actual_errors.replace(get_babel_error(&error)); + } Ok(options) => { transform_options.replace(options.clone()); let mut driver = - Driver::new(options.clone()).execute(&input, source_type, &self.path); + Driver::new(false, options.clone()).execute(&input, source_type, &self.path); transformed_code = driver.printed(); let errors = driver.errors(); if !errors.is_empty() { @@ -275,13 +278,9 @@ impl TestCase for ConformanceTestCase { .map(|err| format!("{:?}", err.with_source_code(source.clone()))) .collect::>() .join("\n"); - actual_errors = get_babel_error(&error); + actual_errors.replace(get_babel_error(&error)); } } - Err(json_err) => { - let error = json_err.iter().map(ToString::to_string).collect::>().join("\n"); - actual_errors = get_babel_error(&error); - } } let babel_options = self.options(); @@ -289,7 +288,8 @@ impl TestCase for ConformanceTestCase { let output; let passed = if let Some(throws) = &babel_options.throws { output = throws.to_string().replace(" (1:6)", ""); - !output.is_empty() && actual_errors.contains(&output) + !output.is_empty() + && actual_errors.as_ref().is_some_and(|errors| errors.contains(&output)) } else { // Get output.js by using our code gen so code comparison can match. output = output_path.and_then(|path| fs::read_to_string(path).ok()).map_or_else( @@ -302,10 +302,10 @@ impl TestCase for ConformanceTestCase { ); if transformed_code == output { - actual_errors.is_empty() + actual_errors.is_none() } else { - if !actual_errors.is_empty() && !transformed_code.is_empty() { - actual_errors.insert_str(0, " x Output mismatch\n"); + if actual_errors.is_none() { + actual_errors.replace("x Output mismatch".to_string()); } false } @@ -320,10 +320,12 @@ impl TestCase for ConformanceTestCase { println!("Expected Errors:\n"); println!("{output}\n"); println!("Actual Errors:\n"); - println!("{actual_errors}\n"); - if !passed { - println!("Diff:\n"); - print_diff_in_terminal(&output, &actual_errors); + if let Some(actual_errors) = &actual_errors { + println!("{actual_errors}\n"); + if !passed { + println!("Diff:\n"); + print_diff_in_terminal(&output, actual_errors); + } } } else { println!("Expected:\n"); @@ -331,7 +333,9 @@ impl TestCase for ConformanceTestCase { println!("Transformed:\n"); println!("{transformed_code}"); println!("Errors:\n"); - println!("{actual_errors}\n"); + if let Some(actual_errors) = &actual_errors { + println!("{actual_errors}\n"); + } if !passed { println!("Diff:\n"); print_diff_in_terminal(&output, &transformed_code); @@ -341,7 +345,15 @@ impl TestCase for ConformanceTestCase { println!("Passed: {passed}"); } - if !passed { + if passed { + if let Some(options) = transform_options { + let mismatch_errors = + Driver::new(/* check transform mismatch */ true, options) + .execute(&input, source_type, &self.path) + .errors(); + self.errors.extend(mismatch_errors); + } + } else if let Some(actual_errors) = actual_errors { self.errors.push(OxcDiagnostic::error(actual_errors)); } }