pull/4136/head
Conduitry 6 years ago
parent fb1961065e
commit 6562fd5187

@ -1,4 +1,4 @@
{#await true} {#await true}
{#each foo as bar} {#each foo as bar}
{:catch f} {:catch f}
{/await} {/await}

@ -1,4 +1,4 @@
{#if true} {#if true}
{#await p} {#await p}
{:else} {:else}
{/if} {/if}

@ -1,6 +0,0 @@
{
"code": "unclosed-open-tag",
"message": "Expect to close {#await} block before {:else} block",
"start": { "line": 3, "column": 8, "character": 32 },
"pos": 32
}

@ -1,6 +0,0 @@
{
"code": "invalid-else-placement",
"message": "Cannot have an {:else} block outside an {#if ...} or {#each ...} block",
"start": { "line": 2, "column": 6, "character": 11 },
"pos": 11
}

@ -1,4 +1,4 @@
{#if true} {#if true}
<li> <li>
{:else} {:else}
{/if} {/if}

@ -1,4 +1,4 @@
{#if true} {#if true}
<p> <p>
{:else if false} {:else if false}
{/if} {/if}

@ -1,4 +1,4 @@
{#if true} {#if true}
{#await foo} {#await foo}
{:else if false} {:else if false}
{/if} {/if}

@ -1,4 +1,4 @@
{#await foo} {#await foo}
{:then bar} {:then bar}
{:else if} {:else if}
{/await} {/await}

@ -1,4 +1,4 @@
{#await true} {#await true}
<li> <li>
{:then f} {:then f}
{/await} {/await}

@ -1,19 +1,19 @@
{#if true} {#if true}
<input > <input>
{:else} {:else}
{/if} {/if}
{#if true} {#if true}
<br > <br>
{:else} {:else}
{/if} {/if}
{#await true} {#await true}
<input > <input>
{:then f} {:then f}
{/await} {/await}
{#await true} {#await true}
<br > <br>
{:then f} {:then f}
{/await} {/await}
Loading…
Cancel
Save