Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
repl
/
exceptionInVariableInitializer.repl
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
)