mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-14 15:53:36 +00:00
5 lines
193 B
Kotlin
Vendored
5 lines
193 B
Kotlin
Vendored
// PARAM_TYPES: kotlin.Int
|
|
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in A.foo
|
|
class A(val n: Int) {
|
|
fun foo(a: Int, b: Int = <selection>a + n</selection>) = a + b - n - 1
|
|
} |