The parser is intentionally designed to be very loose, only requiring the syntax to follow a certain pattern. In reality, svelte is very strict about only specific keywords being able to use # constructs.
This will be an additional (and optional validation step). If enabled it can either:
warn
throw (should it throw early or complete the whole validation?)
The parser is intentionally designed to be very loose, only requiring the syntax to follow a certain pattern. In reality, svelte is very strict about only specific keywords being able to use
#
constructs.This will be an additional (and optional validation step). If enabled it can either: