Closed wsargent closed 12 months ago
Thanks for the report and related ticket, which was reanimated not long ago. That one still crashes.
I hope the scala-cli people know how great it is to see a scala-cli reproduction. It really lowers the bar or "activation energy" for anyone foolish enough to pursue a fix.
When something is fixed in 2.13, we don't keep the ticket open. So I'm closing, but note regardless that:
Despite our best intentions, closing a ticket is sometimes taken as a slap in the face, as we saw on e.g. #11259. I assure you that's not our intention.
Reproduction steps
Scala version: 2.12.18 (compiles and works fine in 2.13.x)
Discord chat https://discord.com/channels/632150470000902164/632628489719382036/1125129594803064902
Example test fails https://github.com/tersesystems/echopraxia-plusscala/blob/apply-logger/loggex/src/test/scala/com/tersesystems/echopraxia/plusscala/loggex/ApplyLoggerSpec.scala
Using
scala-cli script.sc
to minimize it a bit:produces
Problem
Should not crash.
Might be https://github.com/scala/bug/issues/11259