Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/transform_conformance/oxc.snap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
commit: 3bcfee23

Passed: 44/54
Passed: 46/56

# All Passed:
* babel-plugin-transform-nullish-coalescing-operator
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
let f;

class C extends (f = () => this, class {}) {}

function outer() {
class C extends (f = () => this, class {}) {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
var _this = this;

let f;

class C extends (
f = function() { return _this; },
class {}
) {}

function outer() {
var _this2 = this;
class C extends (
f = function() { return _this2; },
class {}
) {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
let f;

class C {
[f = () => this]() {}
}

function outer() {
class C {
[f = () => this]() {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
var _this = this;

let f;

class C {
[f = function() { return _this; }]() {}
}

function outer() {
var _this2 = this;
class C {
[f = function() { return _this2; }]() {}
}
}