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

a rescue b in c .method and a and b in c .method is wrongly accepted #3171

Closed
tompng opened this issue Oct 9, 2024 · 0 comments · Fixed by #3242 or #3243
Closed

a rescue b in c .method and a and b in c .method is wrongly accepted #3171

tompng opened this issue Oct 9, 2024 · 0 comments · Fixed by #3242 or #3243
Assignees
Labels
bug Something isn't working invalid-syntax

Comments

@tompng
Copy link
Member

tompng commented Oct 9, 2024

'a' rescue 2 => 3.upcase
#=> "A"
1 and 2 in 3.inspect
#=> "false"
'a' or 1 => 1 + 'b'
#=> "ab"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid-syntax
Projects
None yet
3 participants