Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
genericSet.fir.kt
blob: 349daeb25a813d40b582e9f44a7c4c2c2cffe7f3 [
file
]
class
Wrapper
<
T
>(
var
x
:
T
)
inline
fun
<
reified T
>
change
(
w
:
Wrapper
<
T
>,
x
:
Any
?)
{
if
(
x
is
T
)
{
w
.
x
=
x
}
}