[FIR] Fix false positive errors for members with explicit API mode, ^KT-51758 Fixed

This commit is contained in:
Ivan Kochurkin
2022-03-30 18:50:05 +03:00
committed by teamcity
parent 1eefca4259
commit fc77d0d26b
6 changed files with 56 additions and 8 deletions
@@ -0,0 +1,23 @@
// FIR_IDENTICAL
// SKIP_TXT
// ISSUE: KT-51758
@PublishedApi
internal class SomeClass {
private val somethingPrivate = "123"
public val somethingPublic = "456"
fun foo() = "789"
}
@PublishedApi
internal class Outer {
class Inner {
private val somethingPrivate = "123"
public val somethingPublic = "456"
fun foo() = "789"
}
}