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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to