Skip to content

Commit e5f41cd

Browse files
committed
Failing test for #521
1 parent 38d9da2 commit e5f41cd

8 files changed

+52
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const Foo = Test.extend({
2+
myAsyncMethod: async function() {
3+
await Promise.resolve('hello');
4+
}
5+
});
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import classic from 'ember-classic-decorator';
2+
3+
@classic
4+
class Foo extends Test {
5+
async myAsyncMethod() {
6+
await Promise.resolve('hello');
7+
}
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const Foo = Test.extend({
2+
async myAsyncMethod() {
3+
await Promise.resolve('hello');
4+
}
5+
});
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import classic from 'ember-classic-decorator';
2+
3+
@classic
4+
class Foo extends Test {
5+
async myAsyncMethod() {
6+
await Promise.resolve('hello');
7+
}
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const Foo = Test.extend({
2+
*gen() {
3+
yield 'hello';
4+
}
5+
});
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import classic from 'ember-classic-decorator';
2+
3+
@classic
4+
class Foo extends Test {
5+
*gen() {
6+
yield 'hello';
7+
}
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const Foo = Test.extend({
2+
gen: function*() {
3+
yield 'hello';
4+
}
5+
});
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import classic from 'ember-classic-decorator';
2+
3+
@classic
4+
class Foo extends Test {
5+
*gen() {
6+
yield 'hello';
7+
}
8+
}

0 commit comments

Comments
 (0)