Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
implicitThisOnRefInLambdaInSmartcast.kt
blob: 1b381b720999283ea9875ad7f2561e86951dd7d2 [
file
]
fun
Any
.
test
()
{
val x
:
()
->
Int
=
when
(
this
)
{
is
String
->
{
{
<!
DEBUG_INFO_IMPLICIT_RECEIVER_SMARTCAST
!>
length
<!>
}
}
else
->
{
{
1
}
}
}
<!
UNRESOLVED_REFERENCE
!>
length
<!>
}