Files
kotlin-fork/plugins/allopen/testData/bytecodeListing/anonymousObject.kt
T
Ilya Chernikov 5b3816cce5 Test infra: refactor IGNORE_BACKEND directive
treat it as a general one, introduce *_K1 and *_K2 variants for
more specific ignoring
2022-11-12 16:28:23 +01:00

24 lines
461 B
Kotlin
Vendored

// IGNORE_BACKEND_K2: JVM_IR
// FIR version does not go inside bodies
// Also it's quiestionable do we even need to transform local classes and anonymous objects
annotation class AllOpen
@AllOpen
class Test {
val a = object : Runnable {
override fun run() {
1
}
}
fun b() {
object : Runnable {
override fun run() {
1
}
}
Runnable { 1 }.run()
}
}