-
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
Multiple scoped imports via (reference) fail #3813
Comments
I don't disagree this is somewhat counter-intuitive, but it's consistent with the way that In the future, this will likely be made more clear with more intuitive behavior with separate at-rules for including qualified rules vs including variables / mixins. See: less/less-meta#39 |
To reproduce:
in another file
Current behavior:
The second use of .two() fails with "NameError: .two is undefined in ..."
Expected behavior:
Both references should work.
Environment information:
I don't think the env matters here, but...
less
version: 3 and 4nodejs
version: 18operating system
: Ubuntu 20.04** Additional **
There is a workaround here by using:
The right behavior seems to me to be that the second reference should work because:
If a change isn't made to the code, it seems like it may be worthwhile to put this info into the documentation somewhere.
The text was updated successfully, but these errors were encountered: