mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Add a test
* Revert "Improve output when wrapping functions (e.g. `async` functions) (#15922)"
This reverts commit f64c854415.
* Update snapshot
19 lines
393 B
JavaScript
19 lines
393 B
JavaScript
function g() {
|
|
return _g.apply(this, arguments);
|
|
}
|
|
function _g() {
|
|
_g = babelHelpers.wrapAsyncGenerator(function* () {
|
|
var _this = this;
|
|
() => this;
|
|
function f() {
|
|
() => this;
|
|
}
|
|
/*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
|
_this;
|
|
yield 1;
|
|
});
|
|
yield babelHelpers.awaitAsyncGenerator(1);
|
|
});
|
|
return _g.apply(this, arguments);
|
|
}
|