Enhancement for "join declaration and assignment": now can handle also local variables, relevant inspection added #KT-12095 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun foo() {
|
||||
// It's possible here to join with assignment but move the result after declaration of i
|
||||
var b<caret>: Int
|
||||
val i = 0
|
||||
b = i
|
||||
}
|
||||
Reference in New Issue
Block a user