It's a buggy feature. This compiles on D7
Code:
function test(a, b, c: integer): integer;
begin
  result:=a+b+c;
end;

procedure test2();
begin
  test(1, 2, 3,);
end;