ResolveElementCache: script can now be analyzable parent

So #KT-20096 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-10-20 13:18:11 +03:00
parent cace6624e6
commit d0e8f99d60
6 changed files with 233 additions and 188 deletions
@@ -0,0 +1,10 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
// SKIP_ERRORS_BEFORE
// SKIP_ERRORS_AFTER
val (x, y) = run <caret>{
}
fun run(f: () -> Unit) = f()