mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 00:21:35 +00:00
JVM_IR: discard results of nonexhaustive whens' branches
This commit is contained in:
@@ -18,6 +18,3 @@ inline fun inlineCall(predicate: (String?) -> Boolean): Boolean {
|
||||
// 0 LINENUMBER 7
|
||||
// 0 LINENUMBER 8
|
||||
// 1 LINENUMBER 9
|
||||
|
||||
// Not actually inlined, so there is a LINENUMBER 7 because the if's body is not considered dead.
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
Reference in New Issue
Block a user