move jscript transformer to the builtin-trailing group and perform transform on exit - closes #1652, fixes #1651

This commit is contained in:
Sebastian McKenzie
2015-05-30 23:09:25 -04:00
parent 19c1ee157f
commit 9f2ac15695
3 changed files with 24 additions and 12 deletions

View File

@@ -0,0 +1,9 @@
class MyClass {
test() {
const that = this;
const func = () => this === that;
return func();
}
}
assert(new MyClass().test());