digitalmars.D.bugs - [Issue 1477] New: DMD hangs on named struct field initializer
- d-bugmail puremagic.com (26/26) Sep 05 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1477
- d-bugmail puremagic.com (10/10) Dec 20 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1477
http://d.puremagic.com/issues/show_bug.cgi?id=1477
Summary: DMD hangs on named struct field initializer
Product: D
Version: 2.004
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla digitalmars.com
ReportedBy: torhu yahoo.com
This puts dmd 2.004 into and endless loop. I don't know if this is a
regression or not, since DMD 2.003 won't accept this code at all because of
issue 1342.
---
struct Foo {
int x;
}
const Foo f = {
x: 1
//1 // using this instead works just fine
};
Foo g = f;
---
--
Sep 05 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1477
torhu yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
This works with 2.005 and 2.008, so I assume it was fixed without being
mentioned in the change log.
--
Dec 20 2007








d-bugmail puremagic.com