[Lazarus] Codetools in distress
Joost van der Sluis
joost at cnoc.nl
Tue Jun 13 16:03:41 CEST 2017
On 06/13/2017 03:40 PM, Ondrej Pokorny via Lazarus wrote:
> On 13.06.2017 15:21, Joost van der Sluis via Lazarus wrote:
>> Am I the only one who has problems with the codetools? Seems like it
>> can not handle out-parameters in functions anymore.
>
> What CT function is not working in particular?
>
> I tested with:
>
> program CTTest1;
>
> uses
> SysUtils, Classes;
>
> function VarIsError(const V: Variant; out AResult: HRESULT): Boolean;
> begin
>
> end;
>
> begin
> x := VarIsError(v, s);
> end.
>
> and everything seems to be OK to me.
That one works for me also. Now when I add Variants to the uses, nothing
works anymore. (Try identifier-completion in VarIsError -> move cursor
to VarIs -> ctrl-space)
Same happens when you add contnrs to the uses-section.
Do you also have that problem?
Regards,
Joost.
More information about the Lazarus
mailing list