<@U0ZFBBUBU> Strange, since ``` import kotlin.ref...
# announcements
s
@groostav Strange, since
Copy code
import kotlin.reflect.KClass

annotation class Thingy(val type: KClass<*>)

@Thingy(Int::class)
class AnnotatedThingy

fun test() {
    val thingies = AnnotatedThingy::class.annotations.filterIsInstance<Thingy>()
    println(thingies.single().type == Int::class)
}

fun main(args: Array<String>) {
    test()
}
Worked for me and prints true