Closed SethTisue closed 1 month ago
I've assigned @lrytz, but this might interest @som-snytt too. (it interests me as well, but I'm very short on work hours this week)
Doesn't look too bad, a test comparing a compiler error.
Somehow it expected the splain formatting but got the plain.
i don't find -Vimplicits
or -Xlog-implicits
in the project, but maybe it's sbt-tpolecat
?
Yeah it must be something with sbt-tpolecat
.
The project uses addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.20")
, see https://github.com/jatcwang/difflicious/blob/master/project/plugins.sbt. I don't know what variant of the plugin this is, but when I switch to the "official" addSbtPlugin("org.typelevel" % "sbt-tpolecat" % "0.5.2")
, the test fails in the same way on 2.13.14.
@jatcwang wdyt?
"io.github.davidgregory084" % "sbt-tpolecat" % "0.1.20"
is the old plugin coordinate before it was migrated under the typelevel umbrella.
I'll take a look closer to see what compiler options are in use that can trigger this issue.
Running sbt:difflicious> show coretest/scalacOptions
in sbt with an unmodified checkout, we see it includes -Vimplicits
. After ++2.13.15-bin-6e2b765!
, that compiler option is no longer there.
When switching to org.typelevel sbt-tpolecat and staying on 2.13.14, the flag is also not there.
@lrytz Yes the plugin version I'm using adds -Vimplicits
. It didn't recognize compiler version 2.13.15-bin-6e2b765
so it didn't add -Vimplicits
. I'm working on upgrading the plugin & some other fixes which should solve the problem. Thanks for digging!
Should be all fixed on the latest commit 221d6fe
!
cool, thanks for updating us
https://scala-ci.typesafe.com/job/scala-2.13.x-jdk23-integrate-community-build/148/artifact/logs/difflicious-build.log
this didn't come up sooner because it came up when I advanced the project SHAs, rather than from bumping the Scala version
the problem is reproducible outside of dbuild by cloning jatcwang/difflicious, then applying this patch:
then doing:
the test passes on 2.13.14