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

Open
tompng opened this issue Oct 9, 2024 · 0 comments
Open

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
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"
@kddnewton kddnewton added bug Something isn't working invalid-syntax labels Oct 10, 2024
@eileencodes eileencodes self-assigned this Oct 30, 2024
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
Development

No branches or pull requests

3 participants