The following code emits a class shadowing deprecation warning where none exists (AFAIK). This code compiles in dotty 0.22.0-RC1 without any warnings. ```scala trait Bar { trait Foo val Foo : Foo } object SomeBar extends Bar { object Foo extends Foo } ```