Bug 15919 – [ndslice] Undetected spell miss in selection.reshape()
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-04-13T04:56:00Z
Last change time
2016-04-18T15:43:47Z
Assigned to
ilyayaroshenko
Creator
jiki
Comments
Comment #0 by jiki — 2016-04-13T04:56:44Z
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
}
Comment #1 by greeenify — 2016-04-13T08:28:42Z
Development for Ndslice happens at mir.dlang.io - you probably want to open your bug there ;-)
Comment #2 by github-bugzilla — 2016-04-16T21:01:03Z