Closed Florian3k closed 6 hours ago
Btw this comes from trying to debug https://github.com/scala/scala3/issues/20031
This does not crash on main and in 3.5.0-RC1 (so no additional backports needed), but is broken on 3.3.3
The bisect pointed out to https://github.com/scala/scala3/commit/c47138c4b8238ce49f255edfc5ff6147518a0a3b, cherry-picking it to the current LTS branch fixes the issue, but seems to introduce regression in 2 other tests. We would need to test it again to check if the fix can be backported into the LTS line
Compiler version
3.4.2
Minimized code
3 files
ops.scala
:package.scala
:impl.scala
:Standard compilation (
scalac *.scala
) succeeds producing the following output:-from-tasty
compilation (scalac -from-tasty demo/*/*.tasty
) fails with:Note
changing
implicit class
name to something else (e.g.Ops2
) makes the crash go away