Debug help - Programming in D - extending tail slice terminates sharing unexpectedly. Page 69, 70

monkyyy crazymonkyyy at gmail.com
Mon Oct 20 23:09:18 UTC 2025


On Monday, 20 October 2025 at 22:56:25 UTC, Steven Schveighoffer 
wrote:
>
>> 	data[$-1]=4;
>> 	assert(data[$-1]==4);
> Hard to understand this code.

...

I shall strive for more simplicity in the future

> If you think this is an issue, please file at 
> https://github.com/dlang/dmd/issues
>
> Please include explanatory information, and what you expect to 
> happen.
>
> -Steve

it would need a dip to fix and .... oh look I already suggested 
it: 
https://forum.dlang.org/post/galsogadinyablnlzynt@forum.dlang.org




More information about the Digitalmars-d-learn mailing list