Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
falseSmartCast.kt
blob: 9f35aead501e29210fe064c1bd61504e0ce9f9f2 [
file
]
// IGNORE_BACKEND_K2: 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