1153238fd7
Note that I've left in FIR everything as is to avoid non-trivial refactoring that is required right now to report more specific diagnostics ^KT-59152
9 lines
286 B
Kotlin
Vendored
9 lines
286 B
Kotlin
Vendored
// Issue: KT-37736
|
|
|
|
internal class Z<K> {
|
|
val map = HashMap<String, String>()
|
|
inline fun compute(key: String, producer: () -> String): String {
|
|
return map.getOrPut(key, ::<!UNSUPPORTED_REFERENCES_TO_VARIABLES_AND_PARAMETERS, USAGE_IS_NOT_INLINABLE!>producer<!>)
|
|
}
|
|
}
|