<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 03/06/2016 02:17 PM, Mazola Winstrol
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAA5Zeff-hQ5euj+dzX7LeDxpkGaa9sF59F52442dBbyomzTw3g@mail.gmail.com"
      type="cite">
      <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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
    </blockquote>
    Hi Mazola,<br>
    <br>
    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.<br>
    <br>
    Don<br>
  </body>
</html>