Scala 3.5.x compiler crash with java.lang.UnsupportedOperationException: empty.reduceLeft
#21669
Labels
area:typer
itype:bug
regression
This worked in a previous version but doesn't anymore
stat:needs bisection
Need to use nightly builds and git bisect to find out the commit where this issue was introduced
stat:needs minimization
Needs a self contained minimization
Compiler version
Since
3.5.0
, with3.5.1
included.Minimized code
The above gets compiled with:
Output
Compilation (via Scala CLI) crashes the compiler:
Expectation
If we change Scala's version to
3.4.2
:The text was updated successfully, but these errors were encountered: