forked from aniani/vim
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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user