Add codegen tests for old behavior of null checks
#KT-22275
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
// !API_VERSION: LATEST
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
|
||||
public inline fun <R> doRun(block: () -> R): R {
|
||||
return block()
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.*
|
||||
|
||||
fun box(): String {
|
||||
return doRun { "OK" }
|
||||
}
|
||||
Reference in New Issue
Block a user