A bug in my code

Denis Koroskin 2korden at gmail.com
Sat Sep 6 12:05:57 PDT 2008


On Sat, 06 Sep 2008 21:17:31 +0400, BCS <ao at pathlink.com> wrote:

> I don't known what the error comes from in your code but I do know that  
> it is a result of trying to copy from one slice to another that overlap.  
> Someone has a copy function that works in this cases (look at cashew)
>
>

Not necessarily. I once wrote a code that was passing and returning some  
arrays, but never copying them. In some cases I was getting some weird  
array overlapping exception that disappeared after small refactoring. I am  
100% sure it was a DMD bug.


More information about the Digitalmars-d-learn mailing list