summaryrefslogblamecommitdiff
path: root/test/files/neg/t1286.check
blob: 912709613cf3e48c045cc04bad57fafa2dad4c92 (plain) (tree)
1
2
3
4
5
                                                                                       
                                          

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