Introduce Variable: Proper occurrence search in generated block expression

#KT-7836 Fixed
 #KT-8443 Fixed
 #EA-71411 Fixed
This commit is contained in:
Alexey Sedunov
2015-09-01 18:22:39 +03:00
parent ed090c2b2e
commit 0f5dff483a
6 changed files with 57 additions and 12 deletions
@@ -0,0 +1,5 @@
// WITH_RUNTIME
fun foo(p: Int, list: List<Int>) {
if (p > 0) list.filter <selection>{ it > 0 }</selection>
}