[FIR] KT-58623: Ensure the diagnostics are missing for Native
This commit is contained in:
committed by
Space Team
parent
699366f178
commit
75c0304671
@@ -0,0 +1,23 @@
|
||||
// ISSUE: KT-58623
|
||||
|
||||
package pack
|
||||
|
||||
open class ProtectedInsideInlineParent {
|
||||
protected var protectedParentVar = 0
|
||||
protected fun protectedParentFun() = 0
|
||||
}
|
||||
|
||||
open class ProtectedInsideInlineError : ProtectedInsideInlineParent() {
|
||||
protected var protectedVar = 0
|
||||
protected fun protectedFun() = 0
|
||||
|
||||
inline fun publicInlineUserFun() {
|
||||
<!UNRESOLVED_REFERENCE!>println<!>(protectedVar + protectedParentVar)
|
||||
protectedFun()
|
||||
protectedParentFun()
|
||||
}
|
||||
|
||||
inline var publicInlineUserVal: Int
|
||||
get() = protectedVar + protectedFun() + protectedParentVar + protectedParentFun()
|
||||
set(value) { protectedVar + protectedFun() + protectedParentVar + protectedParentFun() }
|
||||
}
|
||||
Reference in New Issue
Block a user