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
Allow @forward
multiple times without with ()
#1716
Comments
I can't reproduce this. What version of Sass are you using? |
If this is from vuetify, they seem to be using However this code snippet does not fail anymore from |
We're only using the new module system in v3 ( Here's a minimal reproduction of it with sass 1.52.3 and no other libraries: https://github.com/KaelWD/sass-forward-twice |
I can repro, in this case I don't even need the tabs directory and it triggers with just the list directory if you have >=2 variables but not with just one 🤔 |
After debugging and discussing with @nex3 we found this behavior to be "working as specified" but we agreed the desired behavior from this usecase is correct and we'll first need to change the spec, and then implement the fix I'll mark this as blocked for now until that change in spec happens |
@KaelWD this should fix it, at least on your provided repro repo it does It's still pending the spec changes being merged before we can make this change, but not sure if this would ultimately work for your real-world use-case, I think it should tho 🤔 (I verified with:
) |
* Allow a module loaded multiple times by the same configuration * use object references as opaque ID Fixes #1716
Reference: vuetifyjs/vuetify#14446
with
is only used in main.scss, so the second forward can just be ignored instead of throwingThe text was updated successfully, but these errors were encountered: