-
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
Can't extend, if I import a less file from within a class, because class is written twice in output #1850
Comments
Well, the problem is that the code is equivalent to:
And that way the duplicated Indeed, this may become quite bad issue when namespaces become used wider (if |
It's sad that this can only be fixed by introducing a new keyword, but a solution is a solution and better than nothing 👍 |
Its a difficult one. If extend merged the first part of the selector you |
I don't know if it is worth to create a new issue for this bug, because it is based on the same technology limitations, so I will add it here: If you use
What I would expect, if I compile
What I get:
However this can be avoided if I write a more verbose selector without using |
@donaldpipowitch thats the same issue |
Not a bug. |
Closing as dupe |
I have the following two less files.
What I would expect, if I compile
fileB.less
:What I get:
The text was updated successfully, but these errors were encountered: