title: Forward declarations for record types (or arrays)
body: <p>I want to do this in XE5:</p>
  
  <pre><code>type
    TMyRec = record
      // fields
      class function GetList: TMyRecArr; static;
    end;
  
    TMyRecArr = array of TMyRec;
  </code></pre>
  
  <p>I've already seen <a href="https://stackoverflow.com/questions/16344358/forward-declarations-for-record-types">"Forward declarations for record types"</a> and <a href="https://stackoverflow.com/questions/6018510/pascal-object-how-to-do-a-typed-forward-declaration">"how to do a typed forward declaration?"</a>, but they seem irrelevant since my problem is not passing the record as a parameter.</p>