Skip to content

Commit

Permalink
Use version: 3.3.1 against Translation::Parser
Browse files Browse the repository at this point in the history
Follow up #2760.

This PR updates the `Translation::Parser` to use version 3.3.1 when the version 3.3 is specified.
The Parser gem is structured to support the latest patch versions, hence this aligns with Parser-compatible versioning.
As noted in #2760, the behavior remains unchanged with this switch from 3.3.0 to 3.3.1.
  • Loading branch information
koic committed May 4, 2024
1 parent 926c2bc commit 52ef5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prism/translation/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def build_range(location, offset_cache)
def convert_for_prism(version)
case version
when 33
"3.3.0"
"3.3.1"
when 34
"3.4.0"
else
Expand Down

0 comments on commit 52ef5cf

Please sign in to comment.