Scala 3: Compiler asserts on a duplicate enum name with simple and parametric cases

Fixed · low · Crash

The code declares enum E twice, once with a simple case K0 and once with a parametric case K0. This causes an AssertionError in typer instead of a duplicate definition error.

Found: ; reported: ; status since: . Reporter: Mike Murunov

Page for this report · Public report · Fix or proposed fix (see status)

Open in the showcase. Record generated .