Enhancement for "join declaration and assignment": now can handle also local variables, relevant inspection added #KT-12095 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
fun foo(flag: Boolean) {
|
||||
val x: Double<caret>
|
||||
x = if (flag) 3.14 else 2.71
|
||||
}
|
||||
Reference in New Issue
Block a user