Maxim Kim wrote:
> > Later it became clear that using a simple key name is very common, thus
> > **literally** dictionaries were introduced in a backwards compatible way:
> >
> > let dict = #{key: value}
> >
> > However, this #{} syntax is unlike any existing language. As it appears
> that
>
Hi!
> Later it became clear that using a simple key name is very common, thus
> **literally** dictionaries were introduced in a backwards compatible way:
>
> let dict = #{key: value}
>
> However, this #{} syntax is unlike any existing language. As it appears
that
> using a **literaly** key is
Patch 8.2.2015
Problem:Vim9: literal dict #{} is not like any other language.
Solution: Support the JavaScript syntax.
Files: runtime/doc/vim9.txt, src/vim9compile.c,
src/proto/vim9compile.pro, src/errors.h,
src/testdir/test_vim9_expr.vim, src/testdir