Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0c8f3faeecbeecb0d1430ef2b86dd192a029711c
/
.
/
compiler
/
testData
/
codegen
/
box
/
smartCasts
/
implicitReceiver.kt
blob: 4206c7ded621407a5c3ee9625c5c25ec05705994 [
file
]
open
class
A
{
class
B
:
A
()
{
val a
=
"FAIL"
}
fun foo
():
String
{
if
(
this
is
B
)
return
a
return
"OK"
}
}
fun box
():
String
=
A
().
foo
()