http://d.puremagic.com/issues/show_bug.cgi?id=5683
Iain Buclaw <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Iain Buclaw <[email protected]> 2011-04-04 12:15:29 PDT --- This is a horrible bug with .init, and nothing to do with .clear. Same code but without the external call: void main() { int[char] test; test = typeof(test).init; test['x'] = 42; } What seems to be happening is that the address of the constructor is being assigned (ie: test = &test_init) when it should *really* be a direct assignment. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
