http://d.puremagic.com/issues/show_bug.cgi?id=8660
Summary: Unclear semantics of array literals of char type, vs
string literals
Product: D
Version: D1 D2
Platform: All
OS/Version: All
Status: NEW
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
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'];
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