blob: 8ba55e05eb7effe7cb965a0e8f2f13c9e491f317 [file]
>>> var x: Int = { -> if (true) throw RuntimeException() else 5}()
java.lang.RuntimeException
at Line_0.<init>(Line_0.kts:1)
>>> x
java.lang.NullPointerException
at Line_1.<init>(Line_1.kts:1)