Change Signature: Substitute parameter references in default values of call expression arguments
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// WITH_DEFAULT_VALUE: false
|
||||
fun foo(a: Int): Int {
|
||||
fun Int.bar(n: Int) = this + n
|
||||
|
||||
return (<selection>a bar 1</selection>) * 2
|
||||
}
|
||||
|
||||
fun test() {
|
||||
foo(2)
|
||||
}
|
||||
Reference in New Issue
Block a user