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