Introduce Variable: Do not delete original expression if its value is used in enclosing expression

This commit is contained in:
Alexey Sedunov
2014-12-22 17:22:42 +03:00
parent 6084352d37
commit e76792d4f2
7 changed files with 40 additions and 1 deletions
@@ -3,5 +3,6 @@ fun b() {
a {it}
a {
val i = it
i
}
}