0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

patch 8.2.2620: Vim9: Using #{ for a dictionary gives strange errors

Problem:    Vim9: Using #{ for a dictionary gives strange errors.
Solution:   Give an error when using #{ for a comment after a command.
This commit is contained in:
Bram Moolenaar
2021-03-18 21:37:55 +01:00
parent 5f91e74bf9
commit 4b3e1964d8
7 changed files with 43 additions and 10 deletions

View File

@@ -2452,7 +2452,7 @@ def Test_while_loop()
assert_equal('1_3_', result)
var s = ''
while s == 'x' #{comment}
while s == 'x' # {comment}
endwhile
enddef