AddFunctionParametersFix: use argument name as parameter name if argument is referenced variable
#KT-14021 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
8b8059acdd
commit
19d1532dc7
+11
@@ -0,0 +1,11 @@
|
||||
// "Add parameter to function 'foo'" "true"
|
||||
// DISABLE-ERRORS
|
||||
fun foo() {}
|
||||
|
||||
class Test {
|
||||
val x: String = ""
|
||||
get() {
|
||||
foo(field<caret>)
|
||||
return field
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user