Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(transformer/async-to-generator): failing test for nested supers #7314

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
8 changes: 6 additions & 2 deletions tasks/transform_conformance/snapshots/oxc.snap.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
commit: d20b314c

Passed: 90/100
Passed: 90/101

# All Passed:
* babel-plugin-transform-class-static-block
* babel-plugin-transform-nullish-coalescing-operator
* babel-plugin-transform-optional-catch-binding
* babel-plugin-transform-async-generator-functions
* babel-plugin-transform-object-rest-spread
* babel-plugin-transform-async-to-generator
* babel-plugin-transform-exponentiation-operator
* babel-plugin-transform-arrow-functions
* babel-preset-typescript
* babel-plugin-transform-react-jsx-source
* regexp


# babel-plugin-transform-async-to-generator (14/15)
* super/nested/input.js
x Output mismatch


# babel-plugin-transform-typescript (2/9)
* class-property-definition/input.ts
Unresolved references mismatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const outer = {
value: 0,
async method() {
() => super.value;

const inner = {
value: 0,
async method() {
() => super.value;
}
};

() => super.value;
}
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const outer = {
value: 0,
method() {
var _superprop_getValue = () => super.value;

return babelHelpers.asyncToGenerator(function* () {
() => _superprop_getValue();

const inner = {
value: 0,
method() {
var _superprop_getValue2 = () => super.value;
return babelHelpers.asyncToGenerator(function* () {
() => _superprop_getValue2();
})();
}
};

() => _superprop_getValue();
})();
}
};
Loading