Formal Review of std.range.ndslice

Stefan Frijters via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 14 00:26:58 PST 2015


On Sunday, 13 December 2015 at 22:32:43 UTC, Ilya Yaroshenko 
wrote:
>> Since it's a segfault in the compiler, should I put it on 
>> Bugzilla too?
>
> Yes
> 1. Please note in Bugzilla report that program code is 
> incorrect (see example of correct above).
> 2. More reduced code can be used for report:
>
> void main() {
> 	Slice!(3, double*) force = new double[60].sliced(3, 4, 5);
> 	// Wrong foreach params. dmd failed with exit code -11.
> 	foreach(p, e; force)
> 	{
> 	}
> }

Reported as https://issues.dlang.org/show_bug.cgi?id=15441 .

Will look into my other non-bug problems when I can, have to run 
now...


More information about the Digitalmars-d mailing list