[fpc-pascal] [Lazarus] Addition of partial specializations; Request for testers!

silvioprog silvioprog at gmail.com
Thu Jun 5 22:24:36 CEST 2014


2014-06-05 17:13 GMT-03:00 Sven Barth <pascaldragon at googlemail.com>:

> Hello together!
>
> I've finally come around to implement support for partial specializations.
> Partial specializations are for specializations of generics inside another
> generic. Up to now simply the generic type was used instead of a
> specializations (e.g. TTest<> instead of TTest<LongInt>) which often
> resulted in failed type checks. With the addition of partial
> specializations the amount of these errors should hopefully be decreased
> and I'll check the corresponding bug reports in the next few days.
>
> Nevertheless partial specializations quite heavily changed how the parsing
> of generics works and thus I need your help. I already checked that there
> are no regressions in our testsuite, but maybe our testsuite does not yet
> contain a test for something that is now broken. So if you use generics OR
> you use nested records (yes, I needed to change something there as well)
> then I'd like you to test whether any regression in your code was
> introduced between the following Free Pascal revisions:
>
> 27860 (no partial specializations)
> 27861 (partial specializations)
>
> So if something fails in revision 27861 that did not fail in 27860 I'd
> like you to report this with tag "partial specializations" (it should
> already exist in the tag list) and I'll fix that ASAP.
>
> Thank you very much. :)
>
> Regards,
> Sven


Very nice!

Is there any documentation showing some examples how to test it?

Well done! (y)

--
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140605/038cc71d/attachment.html>


More information about the fpc-pascal mailing list