http://d.puremagic.com/issues/show_bug.cgi?id=6799
--- Comment #2 from Benjamin Thaut <c...@benjamin-thaut.de> 2012-02-20 09:13:53 PST --- This only seems to happen when passing a struct to remove by value. If you pass it by reference everything is fine. Reduced repro case + workaround: struct ChunkLoc {} ChunkLoc Get() { return ChunkLoc(); } int main(string[] args) { int[ChunkLoc] aa; aa.remove(Get()); //workaround //auto value = Get(); //aa.remove(value); return 0; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------