https://d.puremagic.com/issues/show_bug.cgi?id=11496

           Summary: Code fragment makes dmd crash instead of printing
                    error message.
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Phil Lavoie <[email protected]> 2013-11-11 11:15:07 
PST ---
version 2.063.2

I was playing around and found that the this pointer in the following
declaration:

struct Outer {
  size_t _outerField;

  struct Inner {
    size_t _innerField = this._outerField;    
  }
}

Makes dmd crash instead of printing an error message.

Cheers!
Phil

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to