Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
inference
/
kt32196.kt
blob: 717d3f2c3b5b20427346a1c432e9736bdc6c6829 [
file
]
// !DIAGNOSTICS: -UNUSED_PARAMETER
class
Inv
<
T
>
fun
<
R
:
Any
>
Inv
<
Int
>.
mapNotNull
(
transform
:
(
Int
)
->
R
?):
Inv
<
R
>
=
null
!!
fun test
(
inv
:
Inv
<
Int
>)
{
<!
DEBUG_INFO_EXPRESSION_TYPE
(
"Inv<kotlin.Nothing>"
)!>
inv
.
mapNotNull
{
null
}<!>
}