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:
@@ -0,0 +1,9 @@
|
||||
fun a() {
|
||||
for (a in <selection>1..2</selection>) {}
|
||||
}
|
||||
/*
|
||||
fun a() {
|
||||
val intRange = 1..2
|
||||
for (a in intRange) {}
|
||||
}
|
||||
*/
|
||||
Reference in New Issue
Block a user