summaryrefslogtreecommitdiff
path: root/test/files/neg/typeerror.check
blob: 3ce11dad8a5d119ba773c0456d6ec205538757dc (plain) (blame)
1
2
3
4
5
6
typeerror.scala:6: error: type mismatch;
 found   : Long(in method add)
 required: scala.Long
    else add2(x.head, y.head) :: add(x.tail, y.tail)
                ^
one error found