FE: reproduce KT-58757
This commit is contained in:
committed by
Space Team
parent
ee1608ec99
commit
c130786889
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// 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() = <!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>foo<!>.<!NON_PUBLIC_CALL_FROM_PUBLIC_INLINE!>context<!> as String
|
||||
}
|
||||
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user