Files
kotlin-fork/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt
T
2019-11-19 11:00:09 +03:00

11 lines
262 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
val targetNameLists: Map<String, String> = mapOf("1" to "OK")
fun <T> id(t: T) = t
fun foo(argumentName: String?): String? = id(targetNameLists[argumentName])
fun box() = foo("1")