The following code snippet compiles with Dotty but not with Scalac ```scala object Test { object Foo } class Test { class Foo } ``` Same for: ```scala object Test { class Foo } class Test { object Foo } ```