summaryrefslogtreecommitdiff
path: root/test/files/continuations-neg/trycatch2.check
blob: 5ff2838bad7903400ca9c850ca967d5f9af09733 (plain) (blame)
1
2
3
4
5
6
7
trycatch2.scala:11: error: only simple cps types allowed in try/catch blocks (found: Int @scala.util.continuations.cpsParam[String,Int])
  def foo1 = try {
             ^
trycatch2.scala:19: error: only simple cps types allowed in try/catch blocks (found: Int @scala.util.continuations.cpsParam[String,Int])
  def foo2 = try {
             ^
two errors found