mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Refined redundant null check optimization
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun box() {
|
||||
val x = Array(1) { "" }
|
||||
}
|
||||
|
||||
// 0 IFNULL
|
||||
// 0 IFNONNULL
|
||||
// 0 ATHROW
|
||||
// 0 throwNpe
|
||||
Reference in New Issue
Block a user