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,8 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun foo(flag: Boolean) {
|
||||
var x: Double<caret>
|
||||
if (flag) {
|
||||
x = 3.14
|
||||
}
|
||||
x = 2.71
|
||||
}
|
||||
Reference in New Issue
Block a user