You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conduitry
changed the title
Svelte should throw a compile time error when illegal characters are used in component names
Svelte should throw a compile time error when illegal characters are used in computed names
Jan 10, 2018
@arxpoetica, @Rich-Harris threw this issue my way on gitter this morning.
I understand the high-level problem and will muddle through the code to figure out how to go about implementing a fix.
Computed values are transformed into functions so
random-api
becomesrandom-api(){}
which is not allowed.The compiler should suggest an alternative like
random_api
, which is admittedly uglier 🤷♀️, but completely valid, and not svelte's fault obviThe text was updated successfully, but these errors were encountered: