forked from aniani/vim
patch 8.2.3312: Vim9: after "if false" line breaks in expression not skipped
Problem: Vim9: after "if false" line breaks in expression not skipped. Solution: Do parse the expression. (closes #8723)
This commit is contained in:
@@ -2372,6 +2372,14 @@ def Test_if_const_expr()
|
||||
if false
|
||||
burp
|
||||
endif
|
||||
|
||||
# expression with line breaks skipped
|
||||
if false
|
||||
('aaa'
|
||||
.. 'bbb'
|
||||
.. 'ccc'
|
||||
)->setline(1)
|
||||
endif
|
||||
enddef
|
||||
|
||||
def Test_if_const_expr_fails()
|
||||
|
Reference in New Issue
Block a user