Files
kotlin-fork/compiler/testData/diagnostics/tests/visibility/innerConstructorThroughSubclass.kt
T
Denis.Zharkov 67e6687e89 FIR: Fix FP error on a call to constructor of a private inner class
Do not check dispatch receiver applicability when checking visibility
for containing class of a callee constructor
2022-06-01 16:02:30 +00:00

13 lines
177 B
Kotlin
Vendored

// FIR_IDENTICAL
// SKIP_TXT
sealed class Outer {
class NestedSubClass : Outer() {
fun foo() {
Inner()
}
}
private inner class Inner
}