Loudly error for invalid :global
placement
#14906
Labels
css
Stuff related to Svelte's built-in CSS handling
:global
placement
#14906
Describe the bug
In https://discord.com/channels/457912077277855764/1325334674784129035 someone was confused by a certain syntax failing with a "unclosed comment" error. Turns out it's us no erroring on a wrong
:global
placement, which leads to subsequent wrong "comment this out" logic.The solution is to throw a validation error here.
Reproduction
playground link
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: