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

Fix tweens for current if-let behavior #46

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

5thWall
Copy link
Contributor

@5thWall 5thWall commented Nov 19, 2023

if-let macro behavior changed so that variables are not bound in the else branch. janet-lang/janet#1319

@AlecTroemel
Copy link
Owner

thank you for the PR, and for linking to the discussion on the change. I agree with the consensus (and new behavior) that the false branch shouldn't be able to use the variables defined in let.

@AlecTroemel AlecTroemel merged commit 8517c1b into AlecTroemel:main Nov 20, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants