75e36233a0 ^
1 2 3 4 5 6 7 8 9 10 11 12 13
import scala.util.continuations._ object Test extends App { def foo(x:Int): Int @cps[Int] = x def bar(x:Int) = return foo(x) reset { val res = bar(8) println(res) res } }