summaryrefslogtreecommitdiff
path: root/test/files/neg/typeerror.check
blob: f117e702f0d7e3c277f31b4d85d459b2b4443017 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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)
                ^
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)
                        ^
two errors found