Skip to content

Commit 7e53247

Browse files
authored
Merge pull request #3823 from koic/sync_with_ruby_40_for_translation_parser_current
Sync `Prism::Translation::ParserCurrent` with Ruby 4.0
2 parents 34ceaf3 + 115f0a1 commit 7e53247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/prism/translation/parser_current.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module Translation
1616
ParserCurrent = Parser41
1717
else
1818
# Keep this in sync with released Ruby.
19-
parser = Parser34
19+
parser = Parser40
2020
major, minor, _patch = Gem::Version.new(RUBY_VERSION).segments
2121
warn "warning: `Prism::Translation::Current` is loading #{parser.name}, " \
2222
"but you are running #{major}.#{minor}."

0 commit comments

Comments
 (0)