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
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// FIR_IDENTICAL
|
||||
// SKIP_TXT
|
||||
|
||||
sealed class Outer {
|
||||
class NestedSubClass : Outer() {
|
||||
fun foo() {
|
||||
Inner()
|
||||
}
|
||||
}
|
||||
|
||||
private inner class Inner
|
||||
}
|
||||
Reference in New Issue
Block a user