4f85afb3f0
Non-member descriptors, e.g. type parameters, value parameters that defined in local function should be local too Otherwise a lot of exceptions happens when resolving references within anonymous objects
10 lines
121 B
Kotlin
Vendored
10 lines
121 B
Kotlin
Vendored
open class B
|
|
class A
|
|
val prop = object : B() {
|
|
private fun foo(x: A): A {
|
|
return <caret>x
|
|
}
|
|
}
|
|
|
|
// REF: x
|