Re: [Issue 8660] New: Unclear semantics of array literals of char type, vs string literals

2012-09-14 Thread monarch_dodra
On Friday, 14 September 2012 at 11:28:04 UTC, Don wrote: --- Comment #0 from Don clugd...@yahoo.com.au 2012-09-14 04:28:17 PDT --- Array literals of char type, have completely different semantics from string literals. In module scope: char[] x = ['a']; // OK -- array literals can have an

Re: [Issue 8660] New: Unclear semantics of array literals of char type, vs string literals

2012-09-14 Thread Don Clugston
On 14/09/12 14:50, monarch_dodra wrote: On Friday, 14 September 2012 at 11:28:04 UTC, Don wrote: --- Comment #0 from Don clugd...@yahoo.com.au 2012-09-14 04:28:17 PDT --- Array literals of char type, have completely different semantics from string literals. In module scope: char[] x = ['a'];

Re: [Issue 8660] New: Unclear semantics of array literals of char type, vs string literals

2012-09-14 Thread monarch_dodra
On Friday, 14 September 2012 at 15:00:29 UTC, Don Clugston wrote: On 14/09/12 14:50, monarch_dodra wrote: On Friday, 14 September 2012 at 11:28:04 UTC, Don wrote: --- Comment #0 from Don clugd...@yahoo.com.au 2012-09-14 04:28:17 PDT --- Array literals of char type, have completely different