Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
ir
/
irText
/
expressions
/
genericReceiverOnExtensionWithSmartcast.kt
blob: e5eaa6fe2aa9438890b082fd5eb34d807332f450 [
file
]
// FIR_IDENTICAL
fun
<
F
:
CharSequence
>
F
.
bar
()
{}
inline
fun
<
reified T
:
CharSequence
>
test_1
(
x
:
Any
)
{
if
(
x
is
T
)
{
x
.
bar
()
}
}
fun test_2
(
x
:
Any
?)
{
if
(
x
is
CharSequence
)
{
x
.
bar
()
}
}