You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been able to reproduce this issue in multiple files across my project, even in GitHub actions.
Adding the as into the #each directive fixes the issue.
Reproduction
Failing code:
{#eachArray(10), index}
<p>{index}</p>
{/each}
run npx eslint .
following error should appear 0:0 error Parsing error: Cannot read properties of null (reading 'end')
Describe the bug
Using
[email protected]
on a file that contains an#each
loop without an item throws the following error:I've been able to reproduce this issue in multiple files across my project, even in GitHub actions.
Adding the
as
into the#each
directive fixes the issue.Reproduction
Failing code:
npx eslint .
0:0 error Parsing error: Cannot read properties of null (reading 'end')
Links: Failed GitHub action | Repository | Failing file
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: