Make ResolveSessionForBodies.resolveToDescriptor() work for local declarations (EA-56877)

Fix (EA-56877)
This commit is contained in:
Nikolay Krasko
2014-05-22 15:06:23 +04:00
parent 89f80db98f
commit 80d6b0800e
6 changed files with 60 additions and 2 deletions
@@ -0,0 +1,11 @@
// "Add 'open fun f()' to 'A'" "true"
open class A {
open fun f() {
}
}
fun test() {
val some = object : A() {
<caret>override fun f() {}
}
}