summaryrefslogblamecommitdiff
path: root/test/files/continuations-neg/t5314-type-error.check
blob: e66c9d833fc25c4ee877f0a075b744b45d461a0f (plain) (tree)
1
2
3
4
5
6
                                               

                                                                


                                                  
t5314-type-error.scala:7: error: type mismatch;
 found   : Int @scala.util.continuations.cpsParam[Int,Int]
 required: Int @scala.util.continuations.cpsParam[String,String]
  def bar(x:Int): Int @cps[String] = return foo(x)
                                               ^
one error found