-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: improve consttag ordering in non-runes mode #11908
Conversation
🦋 Changeset detectedLatest commit: f4491cd The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Got the cyclical dependency detection working, but in the process uncovered a bug that's been lying dormant for a very long time. It turns out that when we call {#if true}
{@const a = b}
{@const b = 42}
<h1>{a}</h1>
{/if} ..this (for example) does not: <Child>
{@const a = b}
{@const b = 42}
<h1>{a}</h1>
</Child> Ideally we would only call |
This turned into a bit of a rabbit hole but I'm glad to have uncovered that bug as I've no doubt it would have blown up in our faces at some point. Have removed |
Fixes #11450