Transform VisibilityError diagnostic for callable references to further report it on the corresponding argument of a base call
^KT-46437 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun box(): String {
|
||||
if (true) X::<!UNRESOLVED_REFERENCE!>y<!> else null
|
||||
return "OK"
|
||||
}
|
||||
|
||||
object X {
|
||||
private val y = null
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fun box(): String {
|
||||
if (true) <!INVISIBLE_MEMBER!>X::y<!> else null
|
||||
return "OK"
|
||||
}
|
||||
|
||||
object X {
|
||||
private val y = null
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package
|
||||
|
||||
public fun box(): kotlin.String
|
||||
|
||||
public object X {
|
||||
private constructor X()
|
||||
private final val y: kotlin.Nothing? = null
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user