summaryrefslogtreecommitdiff
path: root/test/files/neg/bug136.check
blob: ea23cb313a4b61cef30d4932aedef2d2ebe952eb (plain) (blame)
1
2
3
4
5
6
7
8
9
bug136.scala:5: type mismatch;
 found   : Bar
 required: Foo
  val foo2: Foo = bar;
                  ^
bug136.scala:7: object bar does not implement Foo
object bar: Foo  {
       ^
two errors found