SV fork beautify isn't working correctly.
module top;
class Test extends rvm::rvm_component;
EnvPkg::Env env;
virtual function void run_phase();
fork
begin
env.run_phase();
end
join_none // correct beautification
fork
env.run_phase();
env.run_phase();
join_none // correct beautification
fork
env.run_phase();
join_none // incorrect beautification
$display("reached Test::run_phase");
$stop;
endfunction
endclass
endmodule