-
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" import leads maximum call stack #1928
Comments
@seven-phases-max it indeed looks so If it is of any help, I can confirm that the exact code of my 4 test files do work flawlessly in beb5273, yet fails in ccd8ebb as stated, which is the commit right after. In other words, even with the I also had a look at #1915, which seems to appear at 6d3414d, which comes from much earlier. Yet, the only way I can kind of reproduce #1914 is through my example, which asks the question to know if it happens under the same circumstances, but I'll ask it in the other issue itself. |
Yes, you're right. The offensive commit is 6d3414d - I see the bug there now. |
Let me know if I shouldn't have closed this! |
Hi all,
We have been encountering an issue with imports since the upgrade to v1.7.0
Here is what we do have in our code
We do this to load the various mixins and UI elements as mixins (reference import), but still want to include the grid and some other classes that are useful and do not need to be re-written.
Yet, the upgrade to v1.7.0 has broken this, and the grid (plus other stuff) is not printed anymore. We have been able to pinpoint the apparition of this behavior in ccd8ebb.
Since it looks like that this change is due to the import defaulting to
once
, we have set the import tomultiple
. However, this leads to aSyntaxError: Maximum call stack size exceeded
.To be able to reproduce the issue, we have created a set of files
lib.less
mixins.less
root.less
utils.less
In this example, the expected output of both
lib.less
androot.less
isHowever, when processing
root.less
, the compiler outputs the following errorI understand that the pointed commit brings consistency, but this breaks the use we currently had of LESS. Can this be fixed if considered as a bug, or can you provide a replacement solution?
Many thanks
The text was updated successfully, but these errors were encountered: