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,6 @@
// IS_APPLICABLE: false
fun foo() {
val x: Double<caret>
val flag = false
x = if (flag) 3.14 else 2.71
}