Thread overview |
---|
August 19, 2008 [Issue 2292] New: .reash of associative arrays | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2292 Summary: .reash of associative arrays Product: D Version: 1.034 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: enzo.petrelli@fastwebnet.it /*************************** OS: Windows XP Pro SP2 / Vista SP1 Compiler/linker: Digital Mars D Compiler v1.034 Tango/tangobos Lib: tango-0.99.7-bin-win32-dmd.1.033 Compiled with: no compile/link flag after a call to .rehash of an associative array, accessing the .keys of the associative array gives 'Access violation' ***************************/ import std.cstream; void main() { int[char[]] aiHash; aiHash["one"] = 1; aiHash["two"] = 2; aiHash["three"] = 3; aiHash["four"] = 4; aiHash["five"] = 5; // uncommenting the following line, execution gives "Access violation" // aiHash.rehash; foreach (char[] sKey; aiHash.keys) dout.writefln("%-8s ==> %d", sKey, aiHash[sKey]); } -- |
August 26, 2008 [Issue 2292] .reash of associative arrays | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2292 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #1 from bugzilla@digitalmars.com 2008-08-26 02:35 ------- I cannot reproduce a crash. -- |
August 28, 2008 [Issue 2292] .reash of associative arrays | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2292 ------- Comment #2 from enzo.petrelli@fastwebnet.it 2008-08-28 07:55 ------- It is a tango/tangobos issue. Sorry for the inconvenience. -- |
Copyright © 1999-2021 by the D Language Foundation