Hello all,
When trying to compile the following code
=== cut===
unit foo;
interface
type tbar = record
somefield: integer;
end;
pbar = ^tbar;
operator + (a: pbar; b: pbar) c: pbar;
implementation
operator + (a: pbar; b: pbar) c: pbar;
begin
end;
end.
=== cut===the compiler (2.0.4) stops with the "impossible operator overload" message. Two questions arise: 1) why is it considered impossible and
2) how can I workaround this?
Best regards,
Alexey
