[Issue 587] DMD crashes compiling char[][] initialization

Samuel MV samuel at jxdesigner.com
Thu Nov 23 09:28:21 PST 2006


I've tried bug#530 and I can't reproduce it. The compiler complain, but 
it does not crash.

Best regards.


P.S: Thank you, with [] instead of {} works, I think I'm mixing too many 
languages ;-)


Don Clugston escribió:
>> ------- Comment #1 from lio at lunesu.com  2006-11-23 08:28 -------
>> You should use []:
>> char[][] Level2Text = ["LOW", "MEDIUM", "HIGH"];
>>
>> But I can confirm the ICE in DMD 0.174 in Windows:
>>
>> parse     tt
>> semantic  tt
>> semantic2 tt
>> *crash*
> 
> Could be the same as bug#530. Please try that one, since Bruno couldn't 
> duplicate the behaviour. Actually I even got an ICE with
> int a=[];



More information about the Digitalmars-d-bugs mailing list