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 rescue token without explicit class #2578

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

vinistock
Copy link
Member

Motivation

I noticed that rescue => e was marking rescue as a local variable, which isn't correct. The reason is because we weren't taking the > into account for making the regex fail.

Implementation

Started considering > in the regex.

Automated Tests

Added a test.

@vinistock vinistock added bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes labels Sep 19, 2024
@vinistock vinistock self-assigned this Sep 19, 2024
@vinistock vinistock requested a review from a team as a code owner September 19, 2024 17:55
@vinistock vinistock requested a review from andyw8 September 19, 2024 17:55
@vinistock vinistock merged commit 7f98a4b into main Sep 19, 2024
35 checks passed
@vinistock vinistock deleted the vs-fix-rescue-token branch September 19, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants