digitalmars.D.bugs - [Issue 1636] New: DMD crashes with writef and ternary operator using strings
- d-bugmail puremagic.com (21/21) Nov 03 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1636
- d-bugmail puremagic.com (9/9) Jan 09 2009 http://d.puremagic.com/issues/show_bug.cgi?id=1636
http://d.puremagic.com/issues/show_bug.cgi?id=1636 Summary: DMD crashes with writef and ternary operator using strings Product: D Version: 2.007 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: ddparnell bigpond.com The code below causes Windows DMD 2.007 to crash. import std.stdio; void main() { string A = ""; writefln("%s", (A.length == 0 ? "A" : "Z") ); } --
Nov 03 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1636 gide nwawudu.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #1 from gide nwawudu.com 2009-01-09 07:46 ------- It works for me on DMD v2.022. --
Jan 09 2009