Closed
Description
Compiler version
3.3.0-RC5
Reproduction steps
git clone https://github.com/TomasMikula/libretto.git
cd libretto
git checkout b042b14bc4162488f2ad36c3727272212380b295
# compiles with the configured Scala version 3.2.2
sbt lambda/compile
# Edit build.sbt, set
# ThisBuild / scalaVersion := "3.3.0-RC5"
# compilation hangs
sbt lambda/compile
Note: Non-termination does not occur with a nightly build (e.g. 3.3.1-RC1-bin-20230425-c9ca7ce-NIGHTLY
), most likely thanks to #16827. Thus, a backport will likely suffice to fix the regression.