Alexander Klenin wrote on Mon, 11 Jun 2012:

[passing single elements as open array parameters]
Given the above, I suggest to leave Delphi mode as is,
and forbid scalar values in FPC mode.

We can probably add a modeswitch that you can use to explicitly disable this type conversion.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to