blob: 4705ad9ed9da25c692f3cfd87322b92dff831eb7 (
plain) (
blame)
1
2
3
4
5
6
|
function3.scala:10: error: type mismatch;
found : Int @scala.util.continuations.cpsParam[Int,Int]
required: Int
val g: () => Int = () => shift { k: (Int=>Int) => k(7) }
^
one error found
|