summaryrefslogtreecommitdiff
path: root/test/files/continuations-neg/t2285.check
blob: d5dff6a4f2b86d234129273083147b563161d6a5 (plain) (blame)
1
2
3
4
5
6
t2285.scala:9: error: type mismatch;
 found   : Int @scala.util.continuations.cpsParam[String,String] @scala.util.continuations.cpsSynth
 required: Int @scala.util.continuations.cpsParam[Int,String]
  def foo() = reset { bar(); 7 }
                    ^
one error found