blob: bf7327e7191d43322c406f7592048a50da4470f8 (
plain)
1
2
3
4
5
6
7
8
9
|
// WITH_RUNTIME
// PARAM_DESCRIPTOR: value-parameter it: kotlin.Int defined in foo.<anonymous>
// PARAM_TYPES: kotlin.Int
fun foo(a: Int): Int {
a.let {
<selection>if (it > 0) return it else return@foo -it</selection>
}
return 0
}
|