trait Foo{
trait Bar{
private[Foo] def baz: Nothing
}
object Blip extends Bar{
def baz = ???
}
}
The method baz should be visible in Blip because it is scoped to Foo, but its presence in Blip is ignored and the compiler thinks the method has not been implemented.