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: [email protected]
ReportedBy: [email protected]
auto s = "string"; // s is type char[6]
Unless I'm misreading the spec, the type of s should be invariant(char)[6].
--