summaryrefslogtreecommitdiff
path: root/test/files/neg/val_infer.check
blob: 711450add95811ac8603e654f1a04231ac1960a2 (plain) (blame)
1
2
3
4
5
6
val_infer.scala:3: error: type mismatch;
 found   : String("")
 required: Int
  trait Sub extends Base { def foo = "" }
                                     ^
one error found