[Lazarus] Edit Shortcut Bug when Defining Generic Record

Mazola Winstrol mazofeifer at gmail.com
Sun Mar 6 20:17:16 CET 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160306/d7e8a4ec/attachment-0002.html>


More information about the Lazarus mailing list