[Issue 7681] New: Regression(2.059head):ICE:opCatAssign(delegate) to	undefined identifier
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Mar 10 21:43:33 PST 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=7681
           Summary: Regression(2.059head):ICE:opCatAssign(delegate) to
                    undefined identifier
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: kekeniro2 at yahoo.co.jp
--- Comment #0 from kekeniro2 at yahoo.co.jp 2012-03-10 21:43:39 PST ---
When building the following code, dmd crushes after compile-error message.
DMD 2.058 does not crush.
  void main() {
      undefined ~= delegate(){};
  }
This syntax is frequently used by DFL applications. Such as:
  auto object = new SomeObject();        // defined, of course :)
  object.click ~= (sender, args){ doSomething(); };
Environment:
Windows XP SP3 32bit
DMD 2.059head
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list