Bug when pattern matching on existential values #9247
Labels
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
patmat
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Existentials as arguments to
unapply
result in a compilation error:Minimal example:
yields
In contrast, a variant using universal types works just fine:
Might be related to the following issues:
The text was updated successfully, but these errors were encountered: