Skip to content

Conversation

jathak
Copy link
Member

@jathak jathak commented Oct 9, 2025

Actually fixes #2641.

See sass/sass-spec#2089

@jathak jathak force-pushed the nested-import-forward-fix branch from 1ba4151 to 32f2dc5 Compare October 9, 2025 01:08
@jathak jathak requested a review from nex3 October 9, 2025 01:31
for (var i = 0; i < _variables.length; i++) {
var modules =
i == 0 ? _importedModules.keys : _nestedForwardedModules?[i - 1];
for (var module in modules ?? <Module>[]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might as well make this

Suggested change
for (var module in modules ?? <Module>[]) {
for (var module in modules ?? const <Module>[]) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Variables from an imported, forwarded module are not passed through as configuration to another imported, forwarded module

2 participants