Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
nullabilityAndSmartCasts
/
kt2109.fir.kt
blob: 290fbb84fe46399a1f77ee416daf2f2586b12bed [
file
]
//KT-2109 Nullability inference fails in extension function
package
kt2109
class
A
{
fun foo
()
{}
}
fun A
?.
bar
()
{
if
(
this
==
null
)
{
return
}
foo
()
}
fun A
.
baz
()
{
if
(<!
SENSELESS_COMPARISON
!>
this
==
null
<!>)
{
return
}
foo
()
}