Enhancement for "join declaration and assignment": now can handle also local variables, relevant inspection added #KT-12095 Fixed
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun bar() {
|
||||
var x: <caret>String
|
||||
fun foo() {
|
||||
x = "456"
|
||||
x.hashCode()
|
||||
}
|
||||
foo()
|
||||
x = "123"
|
||||
x.hashCode()
|
||||
}
|
||||
Reference in New Issue
Block a user