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