[Lazarus] Type helper now work with CodeTools?
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Oct 18 16:07:17 CEST 2015
On Sat, 17 Oct 2015 09:28:53 +0200
Sven Barth <pascaldragon at googlemail.com> wrote:
> 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?
longint.member works.
enum.member does not. Did that work Ondrej?
> > 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...)
Does the compiler support 3.member?
Mattias
Mattias
More information about the Lazarus
mailing list