blob: 734964e9cf4ff1c6b4230ff25c3aa5c040a7c054 (
plain) (
tree)
|
|
a.scala:1: error: Companions 'object Foo' and 'trait Foo' must be defined in same file
trait Foo {
^
b.scala:1: error: Companions 'trait Foo' and 'object Foo' must be defined in same file
object Foo extends Foo {
^
two errors found
|