comparison src/testdir/test_vim9_func.vim @ 21759:25b659fa5ca5 v8.2.1429

patch 8.2.1429: Vim9: no error for missing white after : in dict Commit: https://github.com/vim/vim/commit/17a836cbee6b8d8ff555f8e307f48a779908db41 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 12 17:35:58 2020 +0200 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 https://github.com/vim/vim/issues/6671) Also check that there is no white before the :.
author Bram Moolenaar <Bram@vim.org>
date Wed, 12 Aug 2020 17:45:04 +0200
parents cc8188c22a47
children 0706bd071fa3
comparison
equal deleted inserted replaced
21758:465936f1ec7a 21759:25b659fa5ca5
772 def RetFloat(): float 772 def RetFloat(): float
773 return ceil(1.456) 773 return ceil(1.456)
774 enddef 774 enddef
775 775
776 def RetListAny(): list<any> 776 def RetListAny(): list<any>
777 return items({'k' : 'v'}) 777 return items({'k': 'v'})
778 enddef 778 enddef
779 779
780 def RetListString(): list<string> 780 def RetListString(): list<string>
781 return split('a:b:c', ':') 781 return split('a:b:c', ':')
782 enddef 782 enddef