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

Don Clugston dac at nospam.com.au
Thu Nov 23 07:40:21 PST 2006


> ------- 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