Files
kotlin-fork/compiler/testData/codegen/box/regressions/resolvedCallForGetOperator.kt
T
2018-06-09 19:15:38 +03:00

10 lines
232 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// 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")