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