Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
21de67cac1bef9259daa407b68a12e178923aef3
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
redundantGotoRemoving.kt
blob: a2c2727cfdb45ab6903e8378d0df77a567dd643c [
file
]
inline
fun
<
T
,
R
>
calc
(
value
:
T
,
fn
:
(
T
)
->
R
)
:
R
=
fn
(
value
)
inline
fun
<
T
>
identity
(
value
:
T
)
:
T
=
calc
(
value
)
{
if
(
1
==
1
)
return
it
it
}
fun foo
()
{
val x
=
identity
(
1
)
}
// 1 GOTO