Summary: Initialization of void[N]
--- Comment #0 from Vladimir Panteleev <thecybersha...@gmail.com> 2012-02-13
06:26:16 PST ---
string str = "Hi";
void arr = [str];
assert(arr.length == str.length);
Notably, changing the second line to
void arr = str;
will make the assert pass, so I guess DMD is now trying some new way of array
assignment which succeeds due to the implicit void conversion.
Worked in 1.070, doesn't work in 1.071 or the latest D1 beta.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------