You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With ruby --parser=parse.y test.rb I get ["test.rb", 2]
With ruby --parser=prism test.rb I get ["test.rb", 3]
I'm using ruby 3.4.0preview2 (2024-10-07 master 32c733f57b) +PRISM [arm64-darwin23]
The text was updated successfully, but these errors were encountered:
In Ruby 3.4, the following code returns different results depending on which parser is used:
With
ruby --parser=parse.y test.rb
I get["test.rb", 2]
With
ruby --parser=prism test.rb
I get["test.rb", 3]
I'm using
ruby 3.4.0preview2 (2024-10-07 master 32c733f57b) +PRISM [arm64-darwin23]
The text was updated successfully, but these errors were encountered: