11 lines
249 B
Kotlin
Vendored
11 lines
249 B
Kotlin
Vendored
// WITH_REFLECT
|
|
|
|
import kotlin.reflect.*
|
|
|
|
open class A(private val p: Int)
|
|
class B : A(42)
|
|
|
|
fun box() =
|
|
if (B::class.memberProperties.isEmpty()) "OK"
|
|
else "Fail: invisible fake overrides should not appear in KClass.memberProperties"
|