[Issue 3156] auto works like scope instead of type inference, which leads to silent breakage

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 8 14:42:35 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3156





--- Comment #4 from nfxjfg at gmail.com  2009-07-08 14:42:34 PDT ---
Yes, it's because string literals are of fixed size. If they were dynamic
arrays, the symptoms described in the above report wouldn't exist.

Anyway, making them dynamic arrays would require a language change for sure.
Maybe it could be proposed for D 2.0. Sorry for the bogus report and the noise.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list