Enhancement for "join declaration and assignment": now can handle also local variables, relevant inspection added #KT-12095 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-11-17 16:02:19 +03:00
parent c44ecded42
commit 45e28bef1c
27 changed files with 244 additions and 61 deletions
@@ -0,0 +1,11 @@
// IS_APPLICABLE: false
fun bar() {
var x: <caret>String
fun foo() {
x = "456"
x.hashCode()
}
foo()
x = "123"
x.hashCode()
}