Adriandmen / 05AB1E

A concise stack-based golfing language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BUG: Recursive environment doesn't reset after the first iteration of a loop/map

kcruijss opened this issue · comments

The recursive environment builtin λ seems to not reset when using it inside another iterator like a loop/map.

Try it online to reproduce.
Came across it in this codegolf answer of mine, when I try to make a test suite.

PS: @Adriandmen This is the last bug I've found for now (you've probably received notifications of each of them I'd assume). I went through all my existing 05AB1E answers to report all bugs I've come across in the past. Halve of them were already fixed, but the ~10 I've posted just yet still occur right now. I've added TIOs to reproduce each issue with a reasonably basic case. If I come across any bugs in the future, I'll report them right away from now on.

@kcruijss Hey Kevin, thank you for reporting these issues. I'll try to check out the issues and fix them whenever I have some time available. It also gives me something to do for the Hacktoberfest so thank you! 😄

@Adriandmen Np. Should have reported them as soon as I found them earlier, but better late than never. ;) Most of the bugs seem to be related to decimal values by the looks of it.

Anyway, good luck, and could you please notify me if a new version is pushed to TIO that includes some (or perhaps even all) of these bug-fixes? Take your time.