Don't suggest "Remove variable" for property with function initializer
So #KT-23752 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
b8f8802cff
commit
e770aed084
+5
@@ -0,0 +1,5 @@
|
||||
// "Remove variable 'a'" "false"
|
||||
// ACTION: Split property declaration
|
||||
fun test() {
|
||||
val <caret>a: (String) -> Unit = fun(s) { s + s }
|
||||
}
|
||||
Reference in New Issue
Block a user