http://d.puremagic.com/issues/show_bug.cgi?id=2638
Summary: auto string var should be invariant(char)[], not char[] Product: D Version: unspecified Platform: PC URL: http://www.digitalmars.com/d/2.0/declaration.html#AutoDe claration OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: www.digitalmars.com AssignedTo: bugzi...@digitalmars.com ReportedBy: jlqu...@optonline.net auto s = "string"; // s is type char[6] Unless I'm misreading the spec, the type of s should be invariant(char)[6]. --