mirror of
https://github.com/vim/vim.git
synced 2025-10-19 08:04:27 -04:00
patch 8.2.3016: confusing error when expression is followed by comma
Problem: Confusing error when expression is followed by comma. Solution: Give a different error for trailing text. (closes #8395)
This commit is contained in:
@@ -165,7 +165,7 @@ func Test_string_concat_scriptversion2()
|
||||
|
||||
call assert_fails('echo a . b', 'E15:')
|
||||
call assert_fails('let a .= b', 'E985:')
|
||||
call assert_fails('let vers = 1.2.3', 'E15:')
|
||||
call assert_fails('let vers = 1.2.3', 'E488:')
|
||||
|
||||
if has('float')
|
||||
let f = .5
|
||||
|
Reference in New Issue
Block a user