Skip to content

[2.0.x] bport: support comma-separated imports in build.sbt#8856

Merged
eed3si9n merged 1 commit intosbt:2.0.xfrom
eed3si9n:bport2/comma
Mar 1, 2026
Merged

[2.0.x] bport: support comma-separated imports in build.sbt#8856
eed3si9n merged 1 commit intosbt:2.0.xfrom
eed3si9n:bport2/comma

Conversation

@eed3si9n
Copy link
Copy Markdown
Member

@eed3si9n eed3si9n commented Mar 1, 2026

This is a backport of #8829

Summary

  • Fix SbtParser.importsToLineRanges to prepend import keyword when missing from Dotty's Import AST node source spans
  • Add unit test for comma-separated import parsing

Summary
- Fix `SbtParser.importsToLineRanges` to prepend `import` keyword when missing from Dotty's `Import` AST node source spans
- Add unit test for comma-separated import parsing
@eed3si9n eed3si9n changed the title [2.0.x] bport: support comma-separated imports in build.sbt (#8829) [2.0.x] bport: support comma-separated imports in build.sbt Mar 1, 2026
@eed3si9n eed3si9n merged commit 74374a4 into sbt:2.0.x Mar 1, 2026
24 of 25 checks passed
@eed3si9n eed3si9n deleted the bport2/comma branch March 1, 2026 21:10
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.

2 participants