Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
06ab8cc69e303e70578de24dd9a1cf4ebafff93a
/
.
/
compiler
/
testData
/
codegen
/
box
/
smartCasts
/
implicitCastOnAssignment.kt
blob: 50e2e2b6ddc6138529e408abef7e79baa0d97e86 [
file
]
// DUMP_IR
// ISSUE: KT-66515
interface
A
abstract
class
B
fun process
(
a
:
A
):
String
{
var
b
:
B
?
=
null
if
(
a
is
B
)
{
b
=
a
return
"OK"
}
else
{
return
"FAIL"
}
}
class
C
:
B
(),
A
fun box
():
String
{
return
process
(
C
())
}