Closed st0012 closed 2 weeks ago
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.
f { |a = +b| }
Closes #1570
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.Closes #1570