mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.2.1429: Vim9: no error for missing white after : in dict
Problem: Vim9: no error for missing white after : in dict. Solution: Check for white space. (closes #6671) Also check that there is no white before the :.
This commit is contained in:
@@ -774,7 +774,7 @@ func Test_InternalFuncRetType()
|
||||
enddef
|
||||
|
||||
def RetListAny(): list<any>
|
||||
return items({'k' : 'v'})
|
||||
return items({'k': 'v'})
|
||||
enddef
|
||||
|
||||
def RetListString(): list<string>
|
||||
|
Reference in New Issue
Block a user