summaryrefslogblamecommitdiff
path: root/test/files/neg/t1286.check
blob: 2699f0789d621f7980c399c815503cba6f86a743 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                                       

           

                                                                                       


                        
a.scala:1: error: Companions 'object Foo' and 'trait Foo' must be defined in same file:
  Found in files/neg/t1286/b.scala and files/neg/t1286/a.scala
trait Foo {
      ^
b.scala:1: error: Companions 'trait Foo' and 'object Foo' must be defined in same file:
  Found in files/neg/t1286/a.scala and files/neg/t1286/b.scala
object Foo extends Foo {
       ^
two errors found