September 06, 2007 [Issue 1477] New: DMD hangs on named struct field initializer | ||||
---|---|---|---|---|
| ||||
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; --- -- |
December 20, 2007 [Issue 1477] DMD hangs on named struct field initializer | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1477 torhu@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from torhu@yahoo.com 2007-12-20 15:23 ------- This works with 2.005 and 2.008, so I assume it was fixed without being mentioned in the change log. -- |
Copyright © 1999-2021 by the D Language Foundation