Closed fredfp closed 1 year ago
attn @dwijnand
Same here. With Scala 2.13.8 it takes 30 seconds (more than 1/3 of total time) in my case and with Scala 2.13.5 drops significantly.
Some partial work at https://github.com/scala/scala/pull/10168 could be picked up by another contributor. A lot of the lifting needed here was simply to identify the root cause — see PR for details.
See also point 2 in my comment posted on January 14, 2023 in flix/flix
.
The piece of code below compiles in a few seconds with 2.13.5, it takes roughly 15 minutes with 2.13.6 and 2.13.7.
Requires
scalacOptions ++= Seq("-Ypatmat-exhaust-depth", "off")