[Lazarus] Type helper now work with CodeTools?

Sven Barth pascaldragon at googlemail.com
Sat Oct 17 09:28:53 CEST 2015


Am 16.10.2015 23:45 schrieb "Mattias Gaertner" <nc-gaertnma at netcologne.de>:
> > bug 28861 <http://bugs.freepascal.org/view.php?id=28861> if a type
helper
> > exists for a literal value code insight throws an access violation
> > Example: 'Hello'. // throws an access violation after the dot
>
> The 'Hello'. was not yet implemented. I it is now.

Also for numbers and enums?

> It still looks strange to me.

Well... It's a logical extension of the type helpers however (and Delphi
compatible). The only critical part is that literal constants don't have a
type per se and thus the chosen helper might be different :/ (e.g. an Int16
helper when one expected an Int32 one or so...)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151017/fef98fda/attachment-0003.html>


More information about the Lazarus mailing list