[LL FIR] do not treat declarations from object literal as non-local

^KTIJ-25437 Fixed
This commit is contained in:
Dmitrii Gridin
2023-05-08 15:44:12 +02:00
committed by Space Team
parent 6d7dc45ce6
commit d3043b6f1c
8 changed files with 894 additions and 9 deletions
@@ -0,0 +1,12 @@
package one
interface Interface {
fun foo(param: String)
}
open class ClassWithParameter(i: Interface)
class TopLevelClass : ClassWithParameter(object : Interface {
override fun fo<caret>o(param: String) {
}
})