0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0558: Vim9: dict code not covered by tests

Problem:    Vim9: dict code not covered by tests.
Solution:   Remove dead code, adjust test case.
This commit is contained in:
Bram Moolenaar
2020-04-12 18:02:06 +02:00
parent bfe13ccc58
commit 82de464f76
3 changed files with 3 additions and 6 deletions

View File

@@ -2788,11 +2788,6 @@ compile_dict(char_u **arg, cctx_T *cctx, int literal)
*arg = skipwhite(*arg + 1);
}
if (**arg != '}')
{
semsg(_(e_missing_dict_end), *arg);
goto failret;
}
*arg = *arg + 1;
// Allow for following comment, after at least one space.