Fixed incorrect compilation of async iterator methods (#4719)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class C {
|
||||
*g() {
|
||||
g() {
|
||||
var _this = this;
|
||||
|
||||
return babelHelpers.asyncGenerator.wrap(function* () {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
({
|
||||
*g() {
|
||||
g() {
|
||||
var _this = this;
|
||||
|
||||
return babelHelpers.asyncGenerator.wrap(function* () {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class C {
|
||||
static *g() {
|
||||
static g() {
|
||||
var _this = this;
|
||||
|
||||
return babelHelpers.asyncGenerator.wrap(function* () {
|
||||
|
||||
Reference in New Issue
Block a user