Open
Description
trait X[T <: X[T]] { self: T => }
object Y extends X[Y.type]
This does not compile.
Related discussions:
StackOverflow thread: http://stackoverflow.com/questions/32203867/scala-f-bounded-polymorphism-on-object
@retronym also has a WIP branch to deal with this:
scala/scala@ca4c502