Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
699829ccb3e80dbb53c10cccdf1e50f06a5c5346
/
.
/
idea
/
testData
/
exitPoints
/
localFunctionThrow.kt
blob: 1bc9e8cc92258e0919575af79bca6ad305bbcdd0 [
file
]
fun f
(
a
:
Int
):
Int
{
fun localFun
()
{
if
(
a
>
5
)
{
return
}
<caret>
throw
Error
()
}
if
(
a
<
5
)
{
return
1
}
else
{
throw
Exception
()
}
}
//HIGHLIGHTED: return
//HIGHLIGHTED: throw Error()