Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fcbc6b84598bef4d4ca95c593070c2a5cba1da35
/
.
/
compiler
/
testData
/
repl
/
exceptionInVariableInitializer.repl
blob: 1315e78ee9c2f0326c327514ee25c19cedbb396f [
file
]
>>>
var
x
:
Int
=
{
->
if
(
true
)
throw
RuntimeException
()
else
5
}()
java
.
lang
.
RuntimeException
at
Line_0$x$1
.
invoke
(
Line_0
.
kts
:
1
)
at
Line_0$x$1
.
invoke
(
Line_0
.
kts
:
1
)
>>>
x
error
:
unresolved reference
:
x
x
^