-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when :extend's selector can't be found #2459
Comments
Non-matched As for error or warning thing itself it might be questionable (rationale behind warnings is that you may have some generic code that intentionally uses not always matching |
Reasonable :)
Cool :) I can close this issue then. I do have some more thoughts, but I guess it'd be better if I write them in an issue dedicated to the implementation of warnings. Is there such, @seven-phases-max? |
No (I was actually thinking of creating one myself, but I just do not want to spam issues unless I'm about to put at least part on myself and for the moment I'm a bit limited in coding). |
Putting aside if it should work or not – that's being discussed in #2200.
In my view it should throw some kind of error when
selector
is undefined in the scope of:extend(selector)
. Like undefined mixins throw a SyntaxError.Otherwise there's no way to spot the failure other than manually scanning through the output.
The text was updated successfully, but these errors were encountered: