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

Close #103: if, match statements now limit scope to their blocks. #109

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

apetkov-so
Copy link
Contributor

Variables defined in if and match blocks are no longer available outside the blocks.

@apetkov-so apetkov-so requested a review from chip-so as a code owner February 24, 2025 19:19
@apetkov-so apetkov-so linked an issue Feb 24, 2025 that may be closed by this pull request
ssweetney-spok
ssweetney-spok previously approved these changes Feb 24, 2025
ssweetney-spok
ssweetney-spok previously approved these changes Feb 24, 2025
Copy link

@ssweetney-spok ssweetney-spok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@jdygert-spok
Copy link
Contributor

I think this should wait until after #110 since otherwise it is sort of a regression in functionality.

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.

Implement block scopes
3 participants