Fixed KT-6128 Code completion does not work inside function literal if it's dependant on declarations below

#KT-6128 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-10-24 00:36:14 +04:00
parent 357ea7a995
commit 304c826b47
11 changed files with 516 additions and 422 deletions
@@ -0,0 +1,7 @@
// checks that invalid characters (inserted e.g. by completion) inside single-line block do not cause wrong scopes for declarations below
fun foo() {
x { v.s$ }
val v = ""
}
fun bar() { }