Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
smartCasts
/
implicitToGrandSon.kt
blob: f1ed735688f31576f21a015cc43dbd4b97bb397e [
file
]
// FIR_IDENTICAL
open
class
A
{
open fun foo
()
=
"FAIL"
fun bar
()
=
if
(
this
is
C
)
foo
()
else
"FAIL"
}
open
class
B
:
A
()
open
class
C
:
B
()
{
override
fun foo
()
=
"OK"
}