blob: 1f4e46a7f251c80e0b3ecc238fac848e735565cc (
plain) (
blame)
1
2
3
4
5
6
|
t5314-type-error.scala:7: error: type mismatch;
found : Int @util.continuations.cps[Int]
required: Int @util.continuations.cps[String]
def bar(x:Int): Int @cps[String] = return foo(x)
^
one error found
|