Bug 7681 – Regression(2.059head):ICE:opCatAssign(delegate) to undefined identifier

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-03-10T21:43:00Z
Last change time
2012-03-15T14:28:47Z
Assigned to
nobody
Creator
kekeniro2

Comments

Comment #0 by kekeniro2 — 2012-03-10T21:43:39Z
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
Comment #1 by clugdbug — 2012-03-13T05:12:44Z
Comment #2 by github-bugzilla — 2012-03-14T22:35:16Z
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...
Comment #3 by github-bugzilla — 2012-03-15T13:30:10Z