[FIR] SupertypeComputationSession: fix false positive invisible reference for local object
The problem is that FirAnonymousObject was ignored during getResolvedSuperTypeRefsForOutOfSessionDeclaration from SupertypeSupplier ^KT-58583 Fixed
This commit is contained in:
committed by
Space Team
parent
c6d9821ef0
commit
2c294cba64
+19
@@ -0,0 +1,19 @@
|
||||
// FIR_IDENTICAL
|
||||
|
||||
// FILE: DialogWrapper.kt
|
||||
package pkg
|
||||
|
||||
open class DialogWrapper {
|
||||
protected open class DialogWrapperAction
|
||||
}
|
||||
|
||||
// FILE: Main.kt
|
||||
import pkg.DialogWrapper
|
||||
|
||||
fun main() {
|
||||
object: DialogWrapper() {
|
||||
init {
|
||||
object: DialogWrapperAction() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user