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,9 @@
fun a() {
while (<selection>true</selection>) {}
}
/*
fun a() {
val b = true
while (b) {}
}
*/