FIR: Refine visibility check for class members
This commit is contained in:
committed by
TeamCityServer
parent
d702365632
commit
fba44759c0
+1
-1
@@ -33,7 +33,7 @@ fun testSmartcast(x: Any) {
|
||||
|
||||
fun testInference(a: A, b: B) {
|
||||
val x = <!DEBUG_INFO_EXPRESSION_TYPE("foo.PackagePrivateInterface")!>select(a, b)<!>
|
||||
x.foo()
|
||||
x.<!INVISIBLE_REFERENCE!>foo<!>()
|
||||
}
|
||||
|
||||
// FILE: samePackage.kt
|
||||
|
||||
+1
-1
@@ -39,5 +39,5 @@ fun testSmartcast(x: Any) {
|
||||
|
||||
fun testInference(a: A, b: B) {
|
||||
val x = <!DEBUG_INFO_EXPRESSION_TYPE("foo.PrivateInterface")!>select(a, b)<!>
|
||||
x.foo()
|
||||
x.<!INVISIBLE_REFERENCE!>foo<!>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user