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
When visiting a Sass tree with a visitor (and expanding to visit things like comments, script interpolations and script funcalls), Sass::Script::Tree::Interpolation nodes (and nodes within) have wrong #source_range. It appears to not understand when comments are on their own lines, maybe? Here's a recreate script:
It's probably not high priority to fix internal, undocumented API bugs (this is for sds/scss-lint#568), so I'd be happy to contribute a fix. I'll probably need a hint though.
When visiting a Sass tree with a visitor (and expanding to visit things like comments, script interpolations and script funcalls), Sass::Script::Tree::Interpolation nodes (and nodes within) have wrong
#source_range
. It appears to not understand when comments are on their own lines, maybe? Here's a recreate script:This produces:
which is definitely way wrong.
The text was updated successfully, but these errors were encountered: