b17b3f4c63
This allows to use type parameters and value paramters in default value expressions #KT-7984 Fixed #KT-7985 Fixed
5 lines
191 B
Kotlin
Vendored
5 lines
191 B
Kotlin
Vendored
// PARAM_TYPES: kotlin.Int
|
|
// PARAM_DESCRIPTOR: value-parameter a: kotlin.Int defined in bar.foo
|
|
fun bar(n: Int) {
|
|
fun foo(a: Int, b: Int = <selection>a + n</selection>) = a + b - n - 1
|
|
} |