Merge pull request #3408 from loganfsmyth/expand-regression-tests

Expand the regression tests for T2765.
This commit is contained in:
Logan Smyth 2016-03-08 08:34:04 -08:00
commit 1da5cda3ab
2 changed files with 25 additions and 0 deletions

View File

@ -3,3 +3,11 @@ function f() {
this;
};
};
class Class {
async m() {
var c = async (b) => {
this
}
}
}

View File

@ -10,3 +10,20 @@ function f() {
};
}();
};
class Class {
m() {
var _this2 = this;
return babelHelpers.asyncToGenerator(function* () {
var c = function () {
var ref = babelHelpers.asyncToGenerator(function* (b) {
_this2;
});
return function c(_x) {
return ref.apply(this, arguments);
};
}();
})();
}
}