4 ms·
Nice to see that out-of-bounds panics will now include the offending index. Was that difficult to implement, or just controversial? Seems like something that co
by nemo1618 7y ago
Nice to see that out-of-bounds panics will now include the offending index. Was that difficult to implement, or just controversial? Seems like something that could have been added a long time ago and saved much frustration when debugging.
- typical182 7y agoI think the concern was that it would be too expensive, but then later they were able to figure out a way to do it. Some more details: https://github.com/golang/go/issues/30116 https://github.com/golang/go/issues/30116