crystal icon indicating copy to clipboard operation
crystal copied to clipboard

ArithmeticError when accessing an Indexable with an empty unsigned range with exclude-end

Open jneen opened this issue 2 months ago • 1 comments

Bug Report

"foobar"[3_u32...3_u32]

This should probably just be an empty string, but at the moment this results in an ArithmeticError.


Add a :+1: reaction to issues you find important.

jneen avatar Dec 04 '25 06:12 jneen

Related: #13648

HertzDevil avatar Dec 04 '25 21:12 HertzDevil