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



--- Comment #1 from David Simcha <dsim...@yahoo.com> 2011-02-13 17:02:22 PST ---
Looking into it further, this seems to happen with any primitive type, for
example, "new double", "new uint".  Amazingly, though, this code works:

import std.stdio;

void main() {
    auto b = (new bool[1]).ptr;
    stderr.writeln(b);
    *b = 1;
}

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

Reply via email to