6427117a35
If it's not within a try/catch/finally, that should be an uncaught exception path. ^KT-45327 Fixed
16 lines
290 B
Kotlin
Vendored
16 lines
290 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
import java.io.File
|
|
import kotlin.system.exitProcess
|
|
|
|
object Main {
|
|
private val KOTLIN_HOME: File
|
|
|
|
init {
|
|
val home = System.getProperty("kotlin.home")
|
|
if (home == null) {
|
|
exitProcess(1)
|
|
}
|
|
KOTLIN_HOME = File(home)
|
|
}
|
|
}
|