Files
kotlin-fork/compiler/testData/codegen/boxWithStdlib/reflection/properties/privateFakeOverrideFromSuperclass.kt
T
Alexander Udalov a4f9fe1eaa Filter out invisible fakes in KClass.properties
A user will rarely need those at the moment, and there's currently no other way
to let him filter out them by himself
2015-03-17 23:39:13 +03:00

7 lines
195 B
Kotlin
Vendored

open class A(private val p: Int)
class B : A(42)
fun box() =
if (B::class.properties.isEmpty()) "OK"
else "Fail: invisible fake overrides should not appear in KClass.properties"