Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
groovy
/
testdata
/
groovy
/
refactoring
/
extractMethod
/
ret4.test
blob: 1d35d0a99396316a88c1e4901c77dc785bcb31dd [
file
] [
log
] [
blame
]
static
def
foo
(
int
i
,
int
j
,
int
k
)
{
def
v
println
(
i
+
j
-
k
)
v
=
42
<begin>
if
(
i
>
42
)
{
println
(
"preved!"
)
}
else
{
return
v
+
j
}<
end
>
return
v
}
-----
FAILED
:
Refactoring
is
not
supported
when
return
statement interrupts the execution flow