Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kcruijss opened this issue Oct 8, 2020 · 2 comments
Labels
Bug An issue indicating an unexpected problem or unintended behavior.

Comments

@kcruijss
Copy link

kcruijss commented Oct 8, 2020

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.

@Adriandmen
Copy link
Owner

@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 Adriandmen added the Bug An issue indicating an unexpected problem or unintended behavior. label Oct 13, 2020
@kcruijss
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug An issue indicating an unexpected problem or unintended behavior.
Projects
None yet
Development

No branches or pull requests

2 participants