On 19-6-2022 12:09, Bart via fpc-devel wrote:
It feels a bit counter-intuïtive to me though. IMO it should simply not be allowed to call RegisterConversionType() with either of the TConversionProc parameters being nil, since that makes no sense to me, and it will inevitably lead to exceptions later on in the code.
Agreed. This is not really a much used unit where extreme bug compatibility pays off. Better keep it straightforward.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel