digitalmars.D - Variant[string] assoc array -- runtime error
- Graham Fawcett (12/12) Jun 05 2010 Hi folks,
- Robert Jacques (6/18) Jun 06 2010 I've run into a similar bug before, but as a quick search in bugzilla
- Justin Spahr-Summers (4/30) Jun 06 2010 There's http://d.puremagic.com/issues/show_bug.cgi?id=2451 (that's
- Graham Fawcett (5/36) Jun 06 2010 Yes, that's the one -- thanks. I'll add my vote to it.
Hi folks, Is this a new bug or a known one? // bad.d import std.variant; void main() { Variant b = "something"; Variant[string] table; table["hello"] = b; // line 6 } With DMD 2.043, this compiles, but at runtime I get: core.exception.RangeError bad(6): Range violation Graham
Jun 05 2010
On Sun, 06 Jun 2010 02:35:16 -0400, Graham Fawcett <fawcett uwindsor.ca> wrote:Hi folks, Is this a new bug or a known one? // bad.d import std.variant; void main() { Variant b = "something"; Variant[string] table; table["hello"] = b; // line 6 } With DMD 2.043, this compiles, but at runtime I get: core.exception.RangeError bad(6): Range violation GrahamI've run into a similar bug before, but as a quick search in bugzilla didn't turn up anything. (it looks like I forgot to file a bug report for it) Anyways, I'd recommend filing it: http://d.puremagic.com/issues/enter_bug.cgi
Jun 06 2010
On Sun, 06 Jun 2010 03:11:45 -0400, Robert Jacques <sandford jhu.edu> wrote:On Sun, 06 Jun 2010 02:35:16 -0400, Graham Fawcett <fawcett uwindsor.ca> wrote:There's http://d.puremagic.com/issues/show_bug.cgi?id=2451 (that's bitten me before).Hi folks, Is this a new bug or a known one? // bad.d import std.variant; void main() { Variant b = "something"; Variant[string] table; table["hello"] = b; // line 6 } With DMD 2.043, this compiles, but at runtime I get: core.exception.RangeError bad(6): Range violation GrahamI've run into a similar bug before, but as a quick search in bugzilla didn't turn up anything. (it looks like I forgot to file a bug report for it) Anyways, I'd recommend filing it: http://d.puremagic.com/issues/enter_bug.cgi
Jun 06 2010
On Sun, 06 Jun 2010 01:07:30 -0700, Justin Spahr-Summers wrote:On Sun, 06 Jun 2010 03:11:45 -0400, Robert Jacques <sandford jhu.edu> wrote:Yes, that's the one -- thanks. I'll add my vote to it. I find it very difficult to search the buglist -- my search queries always seem to turn up way too many false positives. GrahamOn Sun, 06 Jun 2010 02:35:16 -0400, Graham Fawcett <fawcett uwindsor.ca> wrote:There's http://d.puremagic.com/issues/show_bug.cgi?id=2451 (that's bitten me before).Hi folks, Is this a new bug or a known one? // bad.d import std.variant; void main() { Variant b = "something"; Variant[string] table; table["hello"] = b; // line 6 } With DMD 2.043, this compiles, but at runtime I get: core.exception.RangeError bad(6): Range violation GrahamI've run into a similar bug before, but as a quick search in bugzilla didn't turn up anything. (it looks like I forgot to file a bug report for it) Anyways, I'd recommend filing it: http://d.puremagic.com/issues/enter_bug.cgi
Jun 06 2010