Skip to content

Compilation hangs on case class with union of tuples of different length #9788

Closed
@intsuc

Description

@intsuc

When compiling the following code in 0.27.0-RC1, the compiler hangs without any messages.

Minimized code

case class A(x: (Unit, Unit) | (Unit, Unit, Unit))

Expectation

Compilation successfully terminates, or appropriate error messages are shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions