Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing committed Sep 18, 2024
1 parent 23f11ac commit 5688e25
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
15 changes: 13 additions & 2 deletions tasks/transform_conformance/oxc.snap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
commit: 3bcfee23

Passed: 45/56
Passed: 45/57

# All Passed:
* babel-plugin-transform-nullish-coalescing-operator
Expand All @@ -9,8 +9,19 @@ Passed: 45/56
* regexp


# babel-plugin-transform-arrow-functions (4/5)
# babel-plugin-transform-arrow-functions (4/6)
* arrow-in-class-static-block/input.js
Bindings mismatch:
after transform: ScopeId(0): ["C", "f"]
rebuilt : ScopeId(0): ["C", "_this", "f"]
Bindings mismatch:
after transform: ScopeId(2): ["_this"]
rebuilt : ScopeId(2): []
Symbol scope ID mismatch:
after transform: SymbolId(2): ScopeId(2)
rebuilt : SymbolId(0): ScopeId(0)

* use-this-inside-blocks-in-arrow/input.js
x Output mismatch


Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
var _this = this;
let f;
class C {
static {
var _this = this;
f = function() {
return _this;
};
f = function () {
return _this;
};
}
}
}

0 comments on commit 5688e25

Please sign in to comment.