Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithStdLib
/
smartcasts
/
withChangesToNull.kt
blob: e2f70ab21575e0d01c00678ae0e8356835d7a504 [
file
] [
log
] [
blame
]
fun foo
(
y
:
String
?)
{
var
x
:
String
?
=
""
if
(
x
!=
null
)
{
with
(
y
?.
let
{
x
=
null
;
it
})
{
this
<!
UNSAFE_CALL
!>.<!>
length
<!
SMARTCAST_IMPOSSIBLE
!>
x
<!>.
length
}
<!
SMARTCAST_IMPOSSIBLE
!>
x
<!>.
length
}
}