Files
kotlin-fork/compiler/testData/ir/interpreter/proxy/proxyPair.kt
T
2022-03-30 08:35:21 +00:00

9 lines
308 B
Kotlin
Vendored

import kotlin.*
import kotlin.collections.*
@CompileTimeCalculation
class A(val a: Int)
const val size = <!EVALUATED: `1`!>mapOf(1 to "A(1)").size<!>
const val first = <!EVALUATED: `1`!>mapOf(1 to "A(1)").entries.single().key<!>
const val second = <!EVALUATED: `A(1)`!>mapOf(1 to "A(1)").values.single()<!>