Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
propertyToNotNull.fir.kt
blob: cd50225533134233caf5d1860936abfc9926475f [
file
]
class
Immutable
(
val x
:
String
?)
{
fun foo
():
String
{
if
(
x
!=
null
)
return
x
return
""
}
}
class
Mutable
(
var
y
:
String
?)
{
fun foo
():
String
{
if
(
y
!=
null
)
return
<!
SMARTCAST_IMPOSSIBLE
!>
y
<!>
return
""
}
}