Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
falseSmartCast.kt
blob: 8f4a85968ed39ab884fa31bb6f4fd7180173e632 [
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