Few fixes to Introduce Variable (no new features added)

Added few tests to Introduce Variable
More strict requirements for expressions to introduce it.
This commit is contained in:
Alefas
2012-02-08 17:07:38 +04:00
parent 7bbc121f72
commit 6fe52d15b4
17 changed files with 317 additions and 21 deletions
@@ -0,0 +1,13 @@
fun a() {
1
1
if (true) <selection>1</selection>
}
/*
fun a() {
val i = 1
i
i
if (true) i
}
*/