Closed baseballyama closed 5 months ago
Hmm. The latest svelte/compiler
v5 seems to give an OOM error for the following code. I don't know why yet.
{#snippet
foo(
{
a
}
)
}
{/snippet}
{@render
foo(
{
a
}
)
}
There seems to be no problem with 5.0.0-next.163. There may be a problem with the difference with 5.0.0-next.164.
I haven't written a test case yet, so I'm not sure, but we may need to add the s flag to handle newline characters.
- params += parser.read(/^./);
+ params += parser.read(/^./s);
It seems to have been fixed already, we just need to wait for the next version release.
Some issues were still not fixed, so I opened an issue in the svelte repo.
🦋 Changeset detected
Latest commit: 4f7a0079fd3ca82f63acec4ada98965e4c835f5f
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type | | -------------------- | ----- | | eslint-plugin-svelte | Patch |Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR