Re: Possible bug in associative array implementation (and/or @safe checking)

2018-08-16 Thread Aaron D. Trout via Digitalmars-d-learn
Thanks again for the quick reply! I have a pretty firm grasp on what a slice is (array + offset). Argh! Of course my brain would fail in that sentence! :-) I meant (pointer + offest). -Aaron

Re: Possible bug in associative array implementation (and/or @safe checking)

2018-08-16 Thread Aaron D. Trout via Digitalmars-d-learn
On Thursday, 16 August 2018 at 18:56:45 UTC, Steven Schveighoffer wrote: On 8/16/18 2:32 PM, Aaron D. Trout wrote: [...] On Thursday, 16 August 2018 at 17:20:23 UTC, Steven Schveighoffer wrote: Yes, this is the effect I would expect. D has traditionally simply allowed slicing stack data with

Re: Possible bug in associative array implementation (and/or @safe checking)

2018-08-16 Thread Aaron D. Trout via Digitalmars-d-learn
[...] On Thursday, 16 August 2018 at 17:20:23 UTC, Steven Schveighoffer wrote: Yes, this is the effect I would expect. D has traditionally simply allowed slicing stack data without question (even in @safe code), but that will change when dip1000 is fully realized. It will be allowed, but onl

Possible bug in associative array implementation (and/or @safe checking)

2018-08-16 Thread Aaron D. Trout via Digitalmars-d-learn
Hello all! I'm a mathematician at Chatham University in Pittsburgh, PA (USA). I use D for research, and I'm a frequent lurker on the forums. I think I found a bug, but I want to make sure I'm not just doing something silly. (I'm happy to file a bugzilla issue if it turns out to be a legitimate