mirror of https://github.com/sveltejs/svelte
also fix snippet block, fixes #16811
parent
539af17112
commit
c3d4221ad7
@ -0,0 +1 @@
|
||||
<div>this should work</div>
|
@ -0,0 +1,6 @@
|
||||
{#snippet foo()}
|
||||
{@const x = await 'this should work'}
|
||||
<div>{x}</div>
|
||||
{/snippet}
|
||||
|
||||
{@render foo()}
|
Loading…
Reference in new issue