Files
kotlin-fork/compiler/testData/diagnostics/tests/visibility/kt63434.fir.kt
T
Evgeniy.Zhelenskiy 55adeba011 [FIR] Include anonymous objects in containingDeclarations in FirDeclarationsResolveTransformer.kt
K1 and K2 still differ because of KT-58203

#KT-63434
2024-01-26 16:08:45 +00:00

18 lines
317 B
Kotlin
Vendored

// SKIP_TXT
// FIR_DUMP
abstract class InlineCompletionSessionManager {
protected class Proto {
class Some
}
}
fun checkCannotAccess() {
object : InlineCompletionSessionManager() {
fun chch() {
val b: Proto = Proto()
if (b is Proto.Some) return
}
}
}