5b3816cce5
treat it as a general one, introduce *_K1 and *_K2 variants for more specific ignoring
24 lines
461 B
Kotlin
Vendored
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()
|
|
}
|
|
}
|