Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
946dff8bda9fd326d2b6c18f10c7545ebed12ae1
/
.
/
compiler
/
testData
/
codegen
/
box
/
specialBuiltins
/
throwable.kt
blob: e4040a6379450f25e6d20e5b0e1eaa16020d2c9d [
file
]
fun box
():
String
{
try
{
throw
Throwable
(
"OK"
,
null
)
}
catch
(
t
:
Throwable
)
{
if
(
t
.
cause
!=
null
)
return
"fail 1"
return
t
.
message
!!
}
return
"fail 2"
}