<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>Lazarus version: 1.6 using the lazarus provided fpc compiler (3.0).<br><br><br></div>Please confirm if it is a bug:<br><br></div>If i define a generic record, when i press Ctrl+Shift+C to automatically define the implementation, the code generated ignores the type parameter.<br><br><br></div>=== CODE === <br><br></div>unit Test;<br><br></div>interface<br><br></div>type<br></div>  TMyRecord<T> = record<br></div><div>    procedure TestIfCompiles;<br></div>  end;<br><br><br></div>implementation<br><br><br></div><div>// CODE GENERATED WITH Ctrl+Shift+C<br></div><div><br></div>procedure TMyRecord.TestIfCompiles; <br></div><div>// Should be TMyRecord<T>.TestIfCompiles;<br></div>begin<br></div><br>end;<br><br></div>end,<br><br></div>==== END ====<br><br><br></div>Best reagds<br><div><div><div><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div></div></div></div>