From: gwtmp01@... Date: 2005-10-29T07:25:27+09:00 Subject: Re: Argument Passing Syntax On Oct 28, 2005, at 2:27 PM, Eric Hodel wrote: > Hash::[] is the only reason [1 => 2] is allowed, see: ruby-talk:163033 I've looked through the parse.y file, so I understand the mechanical reason why it doesn't work (it doesn't match the grammer) but I'm not sure I've heard a design or philosophical reason why the grammar is restrictive in this case. I haven't looked at it enough to decide if extending the 'aref_args' construct would introduce some ambiguity. It may be that it conflicts with the parsing of literal arrays. Gary Wright