blob: 1dbf0d92d294155b49cc7cd51a80e46ca9d52f6d [file]
// RUN_PIPELINE_TILL: FRONTEND
// 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<!>)
}
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, functionalType, inline, nullableType, propertyDeclaration,
typeParameter */