[FIR] Include anonymous objects in containingDeclarations in FirDeclarationsResolveTransformer.kt
K1 and K2 still differ because of KT-58203 #KT-63434
This commit is contained in:
committed by
Space Team
parent
eb23984182
commit
55adeba011
@@ -0,0 +1,17 @@
|
||||
// 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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user