Describe the bug
Presumably because the key function only gets passed the item.
Works in v4 so probably shouldn't cause errors in v5, even if it doesn't really do anything.
(Found by Thiagolino8 on Discord.)
Reproduction
{#each [1] as item, i (i)}
{item}
{/each}
REPL
Logs
No response
System Info
Severity
annoyance