Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2f8b8915520217c656f00750d7faa239c6233ece
/
.
/
compiler
/
testData
/
codegen
/
controlStructures
/
tryCatch.kt
blob: b3410a183a7163091730853c51487616895438c8 [
file
]
fun foo
(
s
:
String
):
String
?
{
try
{
Integer
.
parseInt
(
s
);
return
"no message"
;
}
catch
(
e
:
NumberFormatException
)
{
return
e
.
message
// Work around an overload-resolution bug
}
}