<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Am 04.02.2014 11:48, schrieb
      Constantine Yannakopoulos:<br>
    </div>
    <blockquote
cite="mid:CAOvPrgUG4xeNuTyXqwF5pA3Ae19vim7Yo1u114MmKbmzuP_m+w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">Hello again,<br>
          <br>
          <p class="MsoNormal"><span style="" lang="EN-US">Can I use a
              defined generic </span><span style="" lang="EN-US"><span
                style="" lang="EN-US">type </span>parameter inside a
              constraint of the same generic declaration on FPC trunk
              code? Something
              like:</span></p>
          <p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
          <p class="MsoNormal"><span style="" lang="EN-US">{$mode
              Delphi}</span></p>
          <p class="MsoNormal"><span style="" lang="EN-US"><br>
            </span></p>
          type<br>
            TFoo<T> = class<br>
            end;<br>
          <br>
            TGeneric<T, U: TFoo<T>> = class<br>
            end;<br>
          <br>
          <span style="" lang="EN-US"></span> <span
style="font-size:11pt;font-family:"Calibri","sans-serif""
            lang="EN-US">This compiles in
            Delphi XE or later but in FPC it gives the error "Identifier
            not found 'T'" at the T parameter in the constraint.</span><br>
          <br>
        </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">
          Thanks in advance.<br>
          <br>
        </div>
      </div>
    </blockquote>
    Yes, that is not supported yet. Please report as a bug, so that it
    is not forgotten (and attach a simple example that compiles in
    Delphi).<br>
    <br>
    Regards,<br>
    Sven<br>
  </body>
</html>