mirror of https://github.com/sveltejs/svelte
fix: improve each block index handling (#9644)
* fix: improve each block index handling * formatpull/9642/head
parent
02f3f42981
commit
dee5bed829
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: improve each block index handling
|
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: '<div>0</div><div>1</div>'
|
||||
});
|
@ -0,0 +1,3 @@
|
||||
{#each ["a", "b"] as result, i (i)}
|
||||
<div>{i}</div>
|
||||
{/each}
|
Loading…
Reference in new issue