mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
fix(transformer/arrow-functions): should not transform this in class (#3129)
This commit is contained in:
parent
f1ccbd4856
commit
b5894964d1
2 changed files with 3 additions and 5 deletions
|
|
@ -210,7 +210,7 @@ impl<'a> ArrowFunctions<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn transform_class(&mut self, _class: &mut Class<'a>) {
|
pub fn transform_class(&mut self, _class: &mut Class<'a>) {
|
||||||
self.stacks.push(true);
|
self.stacks.push(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn transform_class_on_exit(&mut self, _class: &mut Class<'a>) {
|
pub fn transform_class_on_exit(&mut self, _class: &mut Class<'a>) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
Passed: 291/364
|
Passed: 293/364
|
||||||
|
|
||||||
# All Passed:
|
# All Passed:
|
||||||
* babel-plugin-transform-react-jsx-source
|
* babel-plugin-transform-react-jsx-source
|
||||||
|
|
@ -66,11 +66,9 @@ Passed: 291/364
|
||||||
# babel-preset-react (8/9)
|
# babel-preset-react (8/9)
|
||||||
* preset-options/development-runtime-automatic/input.js
|
* preset-options/development-runtime-automatic/input.js
|
||||||
|
|
||||||
# babel-plugin-transform-react-jsx (139/143)
|
# babel-plugin-transform-react-jsx (141/143)
|
||||||
* autoImport/complicated-scope-module/input.js
|
* autoImport/complicated-scope-module/input.js
|
||||||
* react/weird-symbols/input.js
|
|
||||||
* react-automatic/should-throw-when-filter-is-specified/input.js
|
* react-automatic/should-throw-when-filter-is-specified/input.js
|
||||||
* react-automatic/weird-symbols/input.js
|
|
||||||
|
|
||||||
# babel-plugin-transform-react-display-name (15/16)
|
# babel-plugin-transform-react-display-name (15/16)
|
||||||
* display-name/nested/input.js
|
* display-name/nested/input.js
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue