Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
convertReferenceToLambda
/
unwrap.kt
blob: dcacc36f81d77c6330d797206ac7e1ea977a13be [
file
] [
log
] [
blame
]
// WITH_RUNTIME
class
Wrapper
<
T
>(
private
val x
:
T
)
{
fun unwrap
()
=
x
}
val unwrapped
=
listOf
(
Wrapper
(
1
),
Wrapper
(
"B"
)).
map
(<
caret
>
Wrapper
<
out
Any
>::
unwrap
)