summaryrefslogtreecommitdiff
path: root/lib/xsd/xmlparser/parser.rb
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-06-13 14:27:08 -0400
committergit <svn-admin@ruby-lang.org>2024-06-13 18:46:02 +0000
commit0321f2c8fe7520762af49c4c4e1598ada964c402 (patch)
treef28c0b4f100c340b15c825caebf29ad811c78905 /lib/xsd/xmlparser/parser.rb
parentffd895156f230e684bed36e0b3c724071ad31993 (diff)
[ruby/prism] Handle implicit array precedenceHEADmaster
When an implicit array is used in a write, is causes the whole expression to become a statement. For example: ```ruby a = *b a = 1, 2, 3 ``` Even though these expressions are exactly equivalent to their explicit array counterparts: ```ruby a = [*b] a = [1, 2, 3] ``` As such, these expressions cannot be joined with other expressions by operators or modifiers except if, unless, while, until, or rescue. https://github.com/ruby/prism/commit/7cd2407272
Diffstat (limited to 'lib/xsd/xmlparser/parser.rb')
0 files changed, 0 insertions, 0 deletions