Summary: Wrong `escaping reference` error on returning static
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Denis Shelomovskij <> 2012-10-30 
17:09:52 MSK ---
As static array is a value type, there should be no error:
int[2] f(int[2] arr...)
{ return arr; } // Error: escaping reference to variadic parameter arr

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to