When using the extract procedure function, in some cases the exit handling is not handled properly.
The follwing situation is a over simplified example (pseudo code)
procedure x (y:integer;z:integer):boolean;
begin
_if y>z then exit(true);_
exit(false);
end;
replace the if line with procedure results in :
procedure x (y:integer;z:integer):boolean;
begin
newProcedure(y, z);
exit(false);
end;
Solutioin: Since the line(s) selected for extraction do not all end in a return value the extract procedure request should fail