Just make RangeError tell report the index and length, where easy. For ordinary arrays, both are size_t so it can be trivially passed by value without thinking about ownership or anything.

And it would save me hours.

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


I would like to know the index on associative arrays too, but I understand that can be more difficult.

But if you guys implement it for regular array for the next release, I would be exceedingly joyous.

Reply via email to