mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.1110: Vim9: line continuation does not work in function arguments
Problem: Vim9: line continuation does not work in function arguments. Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string as comment.
This commit is contained in:
@@ -1099,6 +1099,13 @@ def Test_expr7_dict_vim9script()
|
||||
END
|
||||
CheckScriptSuccess(lines)
|
||||
|
||||
lines =<< trim END
|
||||
vim9script
|
||||
let d = { "one": "one", "two": "two", }
|
||||
assert_equal({'one': 'one', 'two': 'two'}, d)
|
||||
END
|
||||
CheckScriptSuccess(lines)
|
||||
|
||||
lines =<< trim END
|
||||
vim9script
|
||||
let d = #{one: 1,
|
||||
|
Reference in New Issue
Block a user