Files
kotlin/compiler/testData/codegen/bytecodeText/intConstantNullable.kt
Alexander Udalov 6a90dc2efe Fix bytecode text tests for language version 1.4
New null check assertions are generated a bit more efficiently, with a
call to `checkNotNull` instead of IFNONNULL+jump.
2020-01-20 19:12:59 +01:00

6 lines
89 B
Kotlin
Vendored

val a : Int? = 10
fun foo() = a!!.toString()
// 1 checkNotNull \(Ljava/lang/Object;\)V