Re: Patch 8.2.2015

2020-11-20 Fir de Conversatie Bram Moolenaar
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 >

Re: Patch 8.2.2015

2020-11-20 Fir de Conversatie Maxim Kim
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

2020-11-19 Fir de Conversatie Bram Moolenaar
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