blob: 5588cdedf47c7d763e4cb90a4cef964d255f6383 (
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@foo it else return -it</selection>
}
return 0
}
|