JVM IR: Fix visibility of protected/private functions with reified types

This commit is contained in:
Steven Schäfer
2021-01-06 17:05:35 +01:00
committed by Alexander Udalov
parent dad10e94aa
commit 98a9e142e8
11 changed files with 129 additions and 24 deletions
@@ -0,0 +1,16 @@
internal inline val <reified Z> Z.internalExtProp: String
get() = "1"
private inline val <reified Z> Z.privateExtProp: String
get() = "2"
class Foo {
internal inline val <reified Z> Z.internalExtProp: String
get() = "3"
protected inline val <reified Z> Z.protectedExtProp: String
get() = "4"
private inline val <reified Z> Z.privateExtProp: String
get() = "5"
}