[Lazarus] Type helper now work with CodeTools?

Dmitry Boyarintsev skalogryz.lists at gmail.com
Sun Oct 18 16:24:39 CEST 2015


On Sun, Oct 18, 2015 at 10:11 AM, Anthony Walter <sysrpl at gmail.com> wrote:

> A question, are type helpers limited to one per type? That is to say, if I
> write a "type MyStringHelper = record helper for string" and Michael adds a
> "type LazStringHelper = record helper for string" in SysUtils, will only
> one of them work when I have both units added to the my uses clauses of
> another unit?
>

Only one of them will work, but you can use helpers inheritance.

http://www.freepascal.org/docs-html/ref/refse57.html#x114-12400010.5

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151018/fe17b8e9/attachment-0003.html>


More information about the Lazarus mailing list