Skip to content

Fix old varargs splice syntax#487

Merged
eed3si9n merged 1 commit intosbt:developfrom
xuwei-k:varargs-splice-syntax
Feb 25, 2026
Merged

Fix old varargs splice syntax#487
eed3si9n merged 1 commit intosbt:developfrom
xuwei-k:varargs-splice-syntax

Conversation

@xuwei-k
Copy link
Copy Markdown
Member

@xuwei-k xuwei-k commented Feb 25, 2026

https://docs.scala-lang.org/scala3/reference/changed-features/vararg-splices.html

[warn] -- Warning: /home/runner/work/io/io/io/src/main/scala/sbt/io/NameFilter.scala:141:90 
[warn] 141 |    case that: ExtensionFilter => new ExtensionFilter(this.extensions ++ that.extensions: _*)
[warn]     |                                                                                          ^
[warn]     |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
[warn]     |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
[warn] -- Warning: /home/runner/work/io/io/io/src/main/scala/sbt/io/NameFilter.scala:147:97 
[warn] 147 |    case that: ExtensionFilter => new ExtensionFilter(this.extensions intersect that.extensions: _*)
[warn]     |                                                                                                 ^
[warn]     |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
[warn]     |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
[warn] -- Warning: /home/runner/work/io/io/io/src/main/scala/sbt/io/NameFilter.scala:153:92 
[warn] 153 |    case that: ExtensionFilter => new ExtensionFilter(this.extensions diff that.extensions: _*)
[warn]     |                                                                                            ^
[warn]     |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
[warn]     |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
[warn] -- Warning: /home/runner/work/io/io/io/src/main/scala/sbt/io/NameFilter.scala:159:90 
[warn] 159 |    case that: ExtensionFilter => new ExtensionFilter(this.extensions ++ that.extensions: _*)
[warn]     |                                                                                          ^
[warn]     |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
[warn]     |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
[warn] -- Warning: /home/runner/work/io/io/io/src/main/scala/sbt/io/NameFilter.scala:165:97 
[warn] 165 |    case that: ExtensionFilter => new ExtensionFilter(this.extensions intersect that.extensions: _*)
[warn]     |                                                                                                 ^
[warn]     |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
[warn]     |This construct can be rewritten automatically under -rewrite -source 3.4-migration.
[warn] -- Warning: /home/runner/work/io/io/io/src/main/scala/sbt/io/NameFilter.scala:171:92 
[warn] 171 |    case that: ExtensionFilter => new ExtensionFilter(this.extensions diff that.extensions: _*)
[warn]     |                                                                                            ^
[warn]     |The syntax `x: _*` is no longer supported for vararg splices; use `x*` instead
[warn]     |This construct can be rewritten automatically under -rewrite -source 3.4-migration.

Copy link
Copy Markdown
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

Thanks!

@eed3si9n eed3si9n merged commit dc2dd99 into sbt:develop Feb 25, 2026
7 checks passed
@xuwei-k xuwei-k deleted the varargs-splice-syntax branch February 25, 2026 13:46
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