Skip to content

fix: correct source positions for interpolated selectors - #380

Open
draarivpatel-ui wants to merge 1 commit into
postcss:mainfrom
draarivpatel-ui:fix-interpolated-source-positions
Open

draarivpatel-ui wants to merge 1 commit into
postcss:mainfrom
draarivpatel-ui:fix-interpolated-source-positions

Conversation

@draarivpatel-ui

Copy link
Copy Markdown

Concatenated selector words were positioned from the final token instead of the first token. This records the token span while concatenating and maps each node back to the correct source offset.

Fixes #243

Copilot AI balanced review requested due to automatic review settings November 25, 2026 23:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

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.

Wrong source and sourceIndex for Sass interpolated selectors

2 participants