bcfafc601e
This change allows to revert adding `WITH_STDLIB` directive to tests which happened at `a9343aeb`. Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com>
12 lines
175 B
Kotlin
Vendored
12 lines
175 B
Kotlin
Vendored
import kotlin.reflect.KProperty1
|
|
|
|
class Q {
|
|
val s = "OK"
|
|
}
|
|
|
|
enum class PropEnum(val prop: KProperty1<Q, String>) {
|
|
ELEM(Q::s)
|
|
}
|
|
|
|
fun box() = PropEnum.ELEM.prop.get(Q())
|