Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
smartCasts
/
kt17725.kt
blob: 71334c4f85b881def65899fe8fa5bcaf313c3b5d [
file
] [
log
] [
blame
]
class
Bob
{
fun
Bob
.
bar
()
=
"OK"
}
fun
Any
.
foo
()
=
when
(
this
)
{
is
Bob
->
bar
()
else
->
throw
AssertionError
()
}
fun box
():
String
=
Bob
().
foo
()