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.
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim
index 72e1274..7f1e71d 100644
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -2205,6 +2205,10 @@
result ..= cnt .. '_'
endwhile
assert_equal('1_3_', result)
+
+ var s = ''
+ while s == 'x' #{comment
+ endwhile
enddef
def Test_while_loop_fails()