www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15919] New: Undetected spell miss in

https://issues.dlang.org/show_bug.cgi?id=15919

          Issue ID: 15919
           Summary: Undetected spell miss in ndslice.selection.reshape()
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: jiki red.email.ne.jp

I have no idea why this gags its compile error.
Because I found this while testing my name checker,
I'm scared to fix this.


std/ndslice/selection.d(795): in function reshape()

    foreach (i; Iota!(ret.N, ret.PureN))
    {
        ret._lengths[i] = slice._lengths[i + slcie.N - ret.N]; // wrong slcie
        ret._strides[i] = slice._strides[i + slcie.N - ret.N]; // wrong slcie
    }

--
Apr 12 2016