mirror of https://github.com/sveltejs/svelte
parent
303750a124
commit
5d1ffcf413
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: allow await in if block consequent and alternate
|
@ -0,0 +1 @@
|
|||||||
|
3
|
@ -0,0 +1,10 @@
|
|||||||
|
{#if false}
|
||||||
|
{@const one = await 1}
|
||||||
|
{one}
|
||||||
|
{:else if false}
|
||||||
|
{@const two = await 2}
|
||||||
|
{two}
|
||||||
|
{:else}
|
||||||
|
{@const three = await 3}
|
||||||
|
{three}
|
||||||
|
{/if}
|
Loading…
Reference in new issue