Files
kotlin-fork/compiler/testData/diagnostics/tests/inline/nonPublicMember/protectedInlineInsideInternal.kt
T
Mikhail Glukhikh 2fcd296db8 FE: fix effective visibility bound calculation logic
#KT-58757 Fixed
#KT-58840 Fixed
2023-05-24 08:56:20 +00:00

12 lines
250 B
Kotlin
Vendored

// FIR_IDENTICAL
// ISSUE: KT-58757
internal abstract class Foo {
abstract val context: CharSequence
}
internal abstract class Bar(protected val foo: Foo) {
protected inline val inlineContext: String
get() = foo.context as String
}