[Lazarus] Edit Shortcut Bug when Defining Generic Record
Donald Ziesig
donald at ziesig.org
Sun Mar 6 22:48:28 CET 2016
On 03/06/2016 02:17 PM, Mazola Winstrol wrote:
> Hello,
>
> Lazarus version: 1.6 using the lazarus provided fpc compiler (3.0).
>
>
> Please confirm if it is a bug:
>
> If i define a generic record, when i press Ctrl+Shift+C to
> automatically define the implementation, the code generated ignores
> the type parameter.
>
>
> === CODE ===
>
> unit Test;
>
> interface
>
> type
> TMyRecord<T> = record
> procedure TestIfCompiles;
> end;
>
>
> implementation
>
>
> // CODE GENERATED WITH Ctrl+Shift+C
>
> procedure TMyRecord.TestIfCompiles;
> // Should be TMyRecord<T>.TestIfCompiles;
> begin
>
> end;
>
> end,
>
> ==== END ====
>
>
> Best reagds
>
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Hi Mazola,
It happens to me, as well. I posted a bug report on it a while back,
but haven't seen any response to it yet.
Don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160306/025698a6/attachment-0003.html>
More information about the Lazarus
mailing list