digitalmars.D.bugs - [Issue 1655] New: Internal error: ..\ztc\cgcod.c 1817
- d-bugmail puremagic.com (20/20) Nov 09 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1655
- d-bugmail puremagic.com (9/9) Dec 04 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1655
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.
--
Nov 09 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1655
bugzilla digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Fixed dmd 2.008
--
Dec 04 2007








d-bugmail puremagic.com