mirror of https://github.com/sveltejs/svelte
regression test for #3939
parent
9c7d192232
commit
e459beead9
@ -0,0 +1,10 @@
|
|||||||
|
<script>
|
||||||
|
const foo = {
|
||||||
|
async bar() {
|
||||||
|
await baz;
|
||||||
|
},
|
||||||
|
*qux() {
|
||||||
|
yield 42;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
Loading…
Reference in new issue