SIGN IN SIGN UP
sveltejs / svelte UNCLAIMED

web development for the rest of us

0 0 69 JavaScript

allow class/function expressions in tags (#18324)

We shouldn't error on encountering `class` and `function`, because they
are treated as expressions rather than declarations
R
Rich Harris committed
6d26dce265de128d65a99e1735e576651d9c1a75
Parent: 6a95575
Committed by GitHub <noreply@github.com> on 5/29/2026, 9:05:12 PM