more elaborate tests for #980

This commit is contained in:
Sebastian McKenzie 2015-03-10 02:13:00 +11:00
parent 672118149a
commit 5dde63fa0a
2 changed files with 31 additions and 0 deletions

View File

@ -4,3 +4,19 @@ class MyCtrl {
foo;
}
}
class MyCtrl2 {
constructor(a) {
"a";
"b";
foo;
}
}
class MyCtrl3 {
constructor(a) {
"a";
foo;
"b";
}
}

View File

@ -5,3 +5,18 @@ var MyCtrl = function MyCtrl(a) {
babelHelpers.classCallCheck(this, MyCtrl);
foo;
};
var MyCtrl2 = function MyCtrl2(a) {
"a";
"b";
babelHelpers.classCallCheck(this, MyCtrl2);
foo;
};
var MyCtrl3 = function MyCtrl3(a) {
"a";
babelHelpers.classCallCheck(this, MyCtrl3);
foo;
"b";
};