Closed noresttherein closed 1 year ago
assuming you mean extends Seal[String]
or some such and not just extends Seal
(because otherwise "Missing type parameter for test.Seal"), Scala 3 accepts this
offhand this like something we'd be unlikely to tinker with in a Scala 2 context, but I could certainly be wrong
Duplicates https://github.com/scala/bug/issues/12379
Reproduction steps
Scala version: 2.13.10
Problem
A bummer because it is a useful technique for 'unsealing' a class for a class in another file.