summaryrefslogblamecommitdiff
path: root/test/files/continuations-run/t5314.check
blob: 61f5b25dc7af8c239867c2f446381781e887203f (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                                                                        



 



  
t5314.scala:34: warning: expression 7 is cps-transformed unexpectedly
  def bar3(x:Int): Int @cps[Int] = { foo2(x); if (x == 7) return 7 else return foo2(x) }
                                                                 ^
t5314.scala:35: warning: expression 7 is cps-transformed unexpectedly
  def bar4(x:Int): Int @cps[Int] = { foo2(x); if (x == 7) return 7 else foo2(x) }
                                                                 ^
7
7
7
8
8
hi
8
8