oxc/tasks
Dunqing ede10dc030 fix(transformer/async-to-generator): incorrect transform when super expression is inside async method (#7171)
After transformation, super expressions have moved to unexpected places. This PR replaces super expression to call expression, and then inserts the super methods to the top of the method body.

For example:

Before:
```js
class G {
  async method() {
    super.foo()
  }
}
```

After:
```js
class G {
  method() {
    var _superprop_getFoo = () => super.foo,
      _this = this;
    return _asyncToGenerator(function* () {
      _superprop_getFoo().call(_this);
    })();
  }
}```
2024-11-08 08:18:45 +00:00
..
ast_tools feat(estree): ESTree compatibility for all literals (#7152) 2024-11-06 21:25:41 +00:00
benchmark ci(transformer): enable unfinished plugins in benchmark (#7040) 2024-11-02 15:17:21 +00:00
common perf(rust): use cow_utils instead (#5664) 2024-09-11 18:39:30 +08:00
compat_data feat(transformer): add es target to engineTargets (#7193) 2024-11-08 03:25:21 +00:00
coverage fix(transformer/async-to-generator): incorrect transform when super expression is inside async method (#7171) 2024-11-08 08:18:45 +00:00
javascript_globals feat(linter)!: sync sindresorhus/globals; removed Object.prototype properties from builtin and es* globals (#6991) 2024-10-29 04:13:20 +00:00
lint_rules chore(task/lint_rules): change not supported to "no need to implement" 2024-10-28 17:29:29 +08:00
minsize chore(tasks/minsize): enable idempotency test 2024-10-26 10:35:01 +08:00
prettier_conformance refactor(prettier)!: remove source_text argument from constructor (#6448) 2024-10-11 06:27:33 +00:00
rulegen feat(rulegen): add module definitions for new rules (#6845) 2024-10-24 15:47:07 +08:00
transform_checker refactor(rust): remove the annoying clippy::wildcard_imports (#6860) 2024-10-24 13:57:19 +00:00
transform_conformance fix(transformer/async-to-generator): incorrect transform when super expression is inside async method (#7171) 2024-11-08 08:18:45 +00:00
website refactor(tasks/website): remove scraper dependency (#7116) 2024-11-04 14:16:11 +00:00