diff options
author | Koichi ITO <koic.ito@gmail.com> | 2024-05-04 13:49:31 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-05-04 16:31:58 +0000 |
commit | b181ba7400d780730833cf649024472674d53c97 (patch) | |
tree | bffa5547fd882181136d7571f571d47ca09949b6 /lib/prism/translation | |
parent | 96710a3139fecda4bc12cd4f321399f71887535c (diff) |
[ruby/prism] Use `version: 3.3.1` against `Translation::Parser`
Follow up https://github.com/ruby/prism/pull/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 https://github.com/ruby/prism/pull/2760, the behavior remains unchanged with this switch from 3.3.0 to 3.3.1.
https://github.com/ruby/prism/commit/efde09d318
Diffstat (limited to 'lib/prism/translation')
-rw-r--r-- | lib/prism/translation/parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prism/translation/parser.rb b/lib/prism/translation/parser.rb index 2d769302c3..193bbae406 100644 --- a/lib/prism/translation/parser.rb +++ b/lib/prism/translation/parser.rb @@ -284,7 +284,7 @@ module Prism def convert_for_prism(version) case version when 33 - "3.3.0" + "3.3.1" when 34 "3.4.0" else |