mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 00:21:34 +00:00
14 lines
273 B
Plaintext
Vendored
14 lines
273 B
Plaintext
Vendored
// PARAM_TYPES: kotlin.Int
|
|
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in foo
|
|
// SIBLING:
|
|
fun foo(a: Int): Int {
|
|
if (b(a)) return a
|
|
return -a
|
|
}
|
|
|
|
private fun b(a: Int): Boolean {
|
|
// test
|
|
println(a)
|
|
if (a > 0) return true
|
|
return false
|
|
} |