November 10, 2007 [Issue 1655] New: Internal error: ..\ztc\cgcod.c 1817 | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1655 Summary: Internal error: ..\ztc\cgcod.c 1817 Product: D Version: 2.007 Platform: PC OS/Version: Windows Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: schveiguy@yahoo.com The following code causes internal error. void f(int x) { const(char)[] blah = (x == 1 ? "hello".dup : "world"); } I think it may have something to do with the (?:) statement having both mutable and invariant args. -- |
December 05, 2007 [Issue 1655] Internal error: ..\ztc\cgcod.c 1817 | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1655 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2007-12-04 23:37 ------- Fixed dmd 2.008 -- |
Copyright © 1999-2021 by the D Language Foundation