summaryrefslogtreecommitdiff
path: root/test/files/neg/t4568.check
blob: f94d69948693abdd6d76977dd43bcab1a49239d2 (plain) (blame)
1
2
3
4
t4568.scala:8: error: recursive method isSubListOf needs result type
        case h :: t => y.contains(h) && (t.isSubListOf(y.drop(y.indexOf(h) + 1)))
                                           ^
one error found