www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7681] New: Regression(2.059head):ICE:opCatAssign(delegate) to undefined identifier

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: kekeniro2 yahoo.co.jp


--- Comment #0 from kekeniro2 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: -------
Mar 10 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7681


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug yahoo.com.au


--- Comment #1 from Don <clugdbug yahoo.com.au> 2012-03-13 05:12:44 PDT ---
https://github.com/D-Programming-Language/dmd/pull/805

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 13 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7681



--- Comment #2 from github-bugzilla puremagic.com 2012-03-14 22:35:16 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/bd5f360c3aeb3e7948bc1d707ab4e90542f55cbf
Merge pull request #805 from donc/regression7681

Fix issue 7681 Regression(2.059head):ICE:opCatAssign(delegate) to undefi...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 14 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7681



--- Comment #3 from github-bugzilla puremagic.com 2012-03-15 13:30:10 PDT ---
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/136c1072a7621e89d02df2ed4145323856ae930b
merge D2 pull #805 fix Issue 7681

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 15 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7681


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


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