www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Bug in D

reply Matt Watkins <Matt_member pathlink.com> writes:
void main(char [][] args)
{
char [][] newarray;
newarray ~= "abcdefg" ~ ' ';
}

Line 4 causes the compiler to say this:

Internal error: ..\ztc\cgcs.c 353

for D compiler v .127
Jul 11 2005
parent Deewiant <deewiant.doesnotlike.spam gmail.com> writes:
Matt Watkins wrote:
 void main(char [][] args)
 {
 char [][] newarray;
 newarray ~= "abcdefg" ~ ' ';
 }
 
 Line 4 causes the compiler to say this:
 
 Internal error: ..\ztc\cgcs.c 353
 
 for D compiler v .127
 

Update to DMD v .128, it fixes this bug.
Jul 12 2005