Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
compiler
/
testData
/
codegen
/
box
/
smartCasts
/
implicitReceiver.kt
blob: 911f53248c53261dca27491710015a4a7690f2c3 [
file
] [
log
] [
blame
]
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
()