Christian Brabandt wrote:

> Hi,
> is this supposed to work or not?
> 
> let a='foobar'
> let c={}                                                                      
> let c.{a} = 10       
> 
> Currently this gives E713: Cannot use empty key for Dictionary
> 
> However reading :h curly-braces-names makes it sound like it should 
> work?

They don't work in a dictionary assignment.

Curly braces evaluation was not a good idea.  It's still supported, but
I don't want to extend its use.

So, let's just keep this as-is, perhaps add a comment in the
documentation.

-- 
Did you ever see a "Hit any key to continue" message in a music piece?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui