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: nob...@puremagic.com
        ReportedBy: kekeni...@yahoo.co.jp


--- Comment #0 from kekeni...@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: -------

Reply via email to