Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ebcc2cc3b207156c1c0e90e5107aa356b8fa8d72
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
falseSmartCast.kt
blob: d294cdadabd9238112b63b65c951f0d349fdccf8 [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
open
class
SuperFoo
{
public
fun bar
()
{
if
(
this
is
Foo
)
{
baz
()
}
}
public
fun baz
()
{}
}
class
Foo
:
SuperFoo
()
// 1 INVOKEVIRTUAL SuperFoo.baz
// 0 CHECKCAST Foo
// 0 INVOKEVIRTUAL Foo.baz