summaryrefslogtreecommitdiff
path: root/include/ruby/version.h
diff options
context:
space:
mode:
authorStan Lo <stan.lo@shopify.com>2024-06-20 22:30:12 +0100
committerKevin Newton <kddnewton@gmail.com>2024-07-11 14:25:54 -0400
commitbe4589df8051262eaeb0f6e58dbe99c263a20cde (patch)
tree3dfc8a4f3b9ef6a281ef7783e9f27b61598f0734 /include/ruby/version.h
parentaa473489a2ff5e5ed6d3536466e6108539c97a8b (diff)
[ruby/prism] Prevent optional block parameter from accepting certain prefixed values
This commit prevents the following unary operators from being accepted as the value prefix of a block's optional parameter: - `+` - `-` - `~` - `!` For example, `f { |a = +b| }` will now raise a syntax error. https://github.com/ruby/prism/commit/3024bee60c Co-authored-by: Kevin Newton <kddnewton@gmail.com>
Diffstat (limited to 'include/ruby/version.h')
0 files changed, 0 insertions, 0 deletions