Running gpc-20060325 on i486-pc-mingw32, this program:
program params (output);
procedure p1 (s1 : string;
s2 : string);
begin
writeln ('in p1')
end;
procedure p2 (s1, s2 : string);
begin
writeln ('in p2')
end;
begin
p1 ('l', 'hello');
p2 ('l', 'hello')
end.
...produces this output when compiled with --gnu-pascal:
in p1
in p2
...but this output when compiled with --extended-pascal:
in p1
params: actual schema discriminants do not match (error #308 at 401426)
Is this correct?
-- Dave