Skip to content

fix(css): avoid mutating sass error multiple times#22115

Merged
sapphi-red merged 2 commits intomainfrom
fix/avoid-mutating-sass-error-multiple-times
Apr 7, 2026
Merged

fix(css): avoid mutating sass error multiple times#22115
sapphi-red merged 2 commits intomainfrom
fix/avoid-mutating-sass-error-multiple-times

Conversation

@sapphi-red
Copy link
Copy Markdown
Member

Sometimes the error from sass had multiple [sass] prefix. This happened because sass sometimes re-uses the error instance.
This PR fixes that by having a WeakSet to avoid mutating the same error multiple times.

@sapphi-red sapphi-red added feat: css p2-edge-case Bug, but has workaround or limited in scope (priority) labels Apr 3, 2026
bluwy
bluwy previously approved these changes Apr 3, 2026
@sapphi-red sapphi-red merged commit d5081c2 into main Apr 7, 2026
26 of 27 checks passed
@sapphi-red sapphi-red deleted the fix/avoid-mutating-sass-error-multiple-times branch April 7, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat: css p2-edge-case Bug, but has workaround or limited in scope (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants