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

patch 8.2.2484: Vim9: Cannot use a comment starting with #{

Problem:    Vim9: Cannot use a comment starting with #{ after an expression.
Solution:   Remove the check for "{" since #{ dictionaries are not supported.
This commit is contained in:
Bram Moolenaar
2021-02-07 16:40:05 +01:00
parent 6628b7ebff
commit dee37dc733
3 changed files with 7 additions and 2 deletions

View File

@@ -2205,6 +2205,10 @@ def Test_while_loop()
result ..= cnt .. '_'
endwhile
assert_equal('1_3_', result)
var s = ''
while s == 'x' #{comment
endwhile
enddef
def Test_while_loop_fails()