Skip to content

Commit 0d73b1f

Browse files
authored
* Bump 3.2 branch to 3.2.3 (#993)
Ruby 3.2.3 has been released: https://www.ruby-lang.org/en/news/2024/01/18/ruby-3-2-3-released/ Bump 3.2 branch from 3.2.2 to 3.2.3 ruby/ruby@v3_2_2...v3_2_3 Thas PR is backport #926 to Ruby 3.2 branch. cf. ruby/ruby@465eb74
1 parent 7340bc3 commit 0d73b1f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
ruby: ["3.0.6", "3.1.4", "3.2.2", "3.3.0", "jruby-9.2"]
20+
ruby: ["3.0.6", "3.1.4", "3.2.3", "3.3.0", "jruby-9.2"]
2121
test_command: ["bundle exec rake test"]
2222
include:
2323
- ruby: "head"
2424
test_command: "bundle exec rake test || true"
2525
- ruby: "truffleruby"
2626
test_command: "bundle exec rake test || true"
27-
- ruby: "3.2.2"
27+
- ruby: "3.2.3"
2828
test_command: "./ci/run_rubocop_specs || true"
2929
- ruby: "3.3.0"
3030
test_command: "./ci/run_rubocop_specs || true"

lib/parser/current.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def warn_syntax_deviation(feature, version)
102102
CurrentRuby = Ruby31
103103

104104
when /^3\.2\./
105-
current_version = '3.2.2'
105+
current_version = '3.2.3'
106106
if RUBY_VERSION != current_version
107107
warn_syntax_deviation 'parser/ruby32', current_version
108108
end

lib/parser/lexer.rl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ class Parser::Lexer
833833

834834
if !@static_env.nil? && @static_env.declared?(tok)
835835
fnext expr_endfn; fbreak;
836-
elsif @version >= 33 && tok =~ /\A_[1-9]\z/
836+
elsif @version >= 32 && tok =~ /\A_[1-9]\z/
837837
fnext expr_endfn; fbreak;
838838
else
839839
fnext *arg_or_cmdarg(cmd_state); fbreak;

test/test_parser.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10501,7 +10501,7 @@ def test_numparam_ruby_bug_19025
1050110501
[:error, :unexpected_token, { :token => 'tDSTAR' }]
1050210502
],
1050310503
'p { [_1 **2] }',
10504-
%w[3.0 3.1 3.2])
10504+
%w[3.0 3.1])
1050510505

1050610506
assert_parses(
1050710507
s(:numblock,
@@ -10512,7 +10512,7 @@ def test_numparam_ruby_bug_19025
1051210512
s(:int, 2)))),
1051310513
'p { [_1 **2] }',
1051410514
%q{},
10515-
SINCE_3_3)
10515+
SINCE_3_2)
1051610516
end
1051710517

1051810518
def test_endless_setter

0 commit comments

Comments
 (0)