Christ van Willegen wrote:
> Op ma 18 mei 2020 14:21 schreef Bram Moolenaar <[email protected]>: > > > > > Patch 8.2.0790 > > Problem: Vim9: list index not well tested. > > Solution: Add a few more tests. > > > > + let dict5: dict<blob> = #{one: 0z01, tw: 0z02} > > > > A sneaky typo here, although you don't use the result anywhere. > > Fix if you see fit to do so. Hah, it doesn't matter for the test. But perhaps confuses someone looking at this. I'll add the "o" and let it be part of any next patch. BTW: The more clever the compiler gets the harder it is to write tests. At some point a variable declared with const would be precomputed. -- Statistics say that you can have a baby per month on average: Just get nine women pregnant. /// 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202005181318.04IDITbl027485%40masaka.moolenaar.net.
