Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
4f8dad3e4ba00e23b4182ef4c50194b20bd43c8f
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithStdLib
/
inference
/
callableReferenceOnParameter.kt
blob: e21b7e3103f47a80b03f51ecfb32055d25e06f71 [
file
]
// 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
,
USAGE_IS_NOT_INLINABLE
!>
producer
<!>)
}
}