summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/pack/empty_spec.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2025-02-13 17:52:28 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2025-02-13 17:52:28 -0800
commit82f7cb794109794f6ffa95ffb3be8e5149dd74bd (patch)
treedc95f6454c938fa5f8e41346a4db32aa6570d561 /spec/ruby/core/array/pack/empty_spec.rb
parent68013d43a35a8368caa7b30c501e270333d04b35 (diff)
merge revision(s) ad96c5a72908042489357b73dc936c4bc38d919b, ca81142eff98cccb03ff523322aefe4e7346fd0e: [Backport #21010]
[ruby/prism] Throw syntax error for endless method with `[]=` Prism shoudld throw a syntax error for endless methods when the method name uses brackets. Previously it would not. This matches the behavior of parse.y. Fixes https://bugs.ruby-lang.org/issues/21010 https://github.com/ruby/prism/commit/43c16a89ef [ruby/prism] [Bug #21010] Reject endless method definition of `[]=` Fixes: https://bugs.ruby-lang.org/issues/20785 https://github.com/ruby/prism/commit/192960ce5d
Diffstat (limited to 'spec/ruby/core/array/pack/empty_spec.rb')
0 files changed, 0 insertions, 0 deletions