You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't disagree this is somewhat counter-intuitive, but it's consistent with the way that @import is defined. In other words, @import was defined first with a "single-call" kind of pattern, to avoid duplication. Then multiple was added to signal duplication. Then reference was added. (I could have the order of the last two flipped.)
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: