Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
whenSubjectImpossible.kt
blob: 00a7eec0622fb03d1af034e9c4e3458abf862f6e [
file
]
// FIR_IDENTICAL
// See KT-10061
class
My
{
val x
:
Int
?
get
()
=
42
}
fun foo
(
my
:
My
)
{
my
.
x
!!
when
(
my
.
x
)
{
}
}