Open Stvad opened 3 years ago
Validator doesn't exam selectors at the moment. In first case }
became a part of selector. In second case, }
is a part of seelctor, but there is no block – that's why an error happens. I suppose, when selector validation will be added, this issue will be resolved.
I see, thanks for the update! Is there anything I can do in the meantime to catch somethign like this?
Example:
This generates no errors:
This generates an error:
More generally I seem to be able to put semi-arbitrary things at the start of the file...