a[c -: d]   //D: a[c-d .. c]

I think this should be

a[c -: d]   //D: a[c-d+1 .. c+1],  e.g. a[5 -: 2] == [a[4], a[5]]

Reply via email to