Files
kotlin-fork/idea/testData/resolve/references/ValueParameter.kt
T
Denis Zharkov 4f85afb3f0 Fix DescriptorUtils.isLocal semantics
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
2015-06-04 16:11:02 +03:00

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