Pattern match on this fails to compile when type parameter varies by subclass #9394
Labels
fixed in Scala 3
This issue does not exist in the Scala 3 compiler (https://github.com/lampepfl/dotty/)
minimized
patmat
should compile
Milestone
produces
This does not occur if we move the method into a separate object:
The text was updated successfully, but these errors were encountered: