Drasil icon indicating copy to clipboard operation
Drasil copied to clipboard

Fixed `forRange` in Julia for positive `step` values

Open B-rando1 opened this issue 1 year ago • 2 comments

Julia's ranges include the end value, and other languages don't. I updated the Julia renderer to subtract 1 from the end value to match the other languages.

Note that while this fixes it for positive step values, it does not for negative step values. More work needs to be done here.

Contributes to #3992

B-rando1 avatar Dec 31 '24 17:12 B-rando1

I'm not sure what's going on with HLint. The error in the log is E: Unable to locate package libtinfo5.

B-rando1 avatar Dec 31 '24 18:12 B-rando1

#3998 should fix that, but I'm waiting for a review.

JacquesCarette avatar Jan 01 '25 20:01 JacquesCarette