Op 2019-05-19 om 19:24 schreef Sven Barth via fpc-devel:
Mode delphi should be compatible. Better forbid coperators in
combination with mode delphi if need be.
I think that we should not forbid the use of COperators if the user
want it just like we don't forbid the use of any modeswitch.
Possibly. But if it is Delphi compatibility or support Coperators, it
should be Delphi compatibility for $mode delphi. That is what the mode
is about. Anything else makes dual maintenance of code unnecessarily hard.
What should be done however is to couple the << and >> operator
aliases to the COperators option, cause currently they are not and
thus are enabled always.
Definitely.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel