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(i: Int): Int {
|
||||
fun Int.bar(n: Int) = this + n
|
||||
|
||||
return i * 2
|
||||
}
|
||||
|
||||
fun test() {
|
||||
foo(2 bar 1)
|
||||
}
|
||||
Reference in New Issue
Block a user