28d8d2d903
Local declarations do not have a stable `ClassId`, which is used in `declarationUtils.collectDesignation`. Local classes will always have `outerClassId.isLocal = true`, even when it is not true (see `org.jetbrains.kotlin.fir.builder.Context.currentClassId` for why this happens)
16 lines
262 B
Kotlin
Vendored
16 lines
262 B
Kotlin
Vendored
// FIR_COMPARISON
|
|
class A(private val xxx1: Int, val xxx2: Int) {
|
|
private val xxx3: Int = 0
|
|
|
|
private val x = object : Runnable {
|
|
override fun run() {
|
|
<caret>
|
|
}
|
|
}
|
|
}
|
|
|
|
// EXIST: xxx1
|
|
// EXIST: xxx2
|
|
// EXIST: xxx3
|
|
// EXIST: x
|