summaryrefslogtreecommitdiff
path: root/test/files/continuations-neg/function2.check
blob: 4b1a6227bc321ebe828520b69b44c16cebdd0ea3 (plain) (blame)
1
2
3
4
5
6
function2.scala:11: error: type mismatch;
 found   : () => Int
 required: () => Int @scala.util.continuations.cpsParam[Int,Int]
    val g: () => Int @cps[Int] = f
                                 ^
one error found