Completion: no qualified this for anonymous object + no keyword escaping for qualified this

This commit is contained in:
Valentin Kipyatkov
2014-08-27 20:35:42 +04:00
parent 5799ecbd28
commit d64f930ff1
8 changed files with 65 additions and 21 deletions
@@ -0,0 +1,15 @@
open class Foo
fun foo(f: Foo){}
fun bar() {
foo(object: Foo() {
inner class Inner {
fun f() {
val x: Foo = <caret>
}
}
})
}
// ABSENT: this@foo