Skip to content

2.13.17 regression (?): Scalafix failing in community build #902

@SethTisue

Description

@SethTisue

reproducible locally using dbuild (also probably reproducible outside dbuild if you locally publish scalameta?)

https://scala-ci.typesafe.com/job/scala-2.13.x-jdk17-integrate-community-build/2616/artifact/logs/scalafix-build.log

[info] - scala/test/removeUnused/RemoveUnusedPatternVars.scala *** FAILED *** (98 milliseconds)
--- obtained
+++ expected
@@ -385,3 +385,3 @@
   def f(v: (Int, (Boolean, String))): Int = v match {
-    case (i, v @ (_, _)) => i
+    case (i, (_, _)) => i
   }

I haven't bisected it but it's in this range:

-nightly=2.13.17-bin-483b4ee
+nightly=2.13.17-bin-c392ee5

eyeballing that range, scala/scala#11032 looks like a possible culprit (@som-snytt)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions