0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1605

Problem:    Catching exception that won't be thrown.
Solution:   Remove try/catch.
This commit is contained in:
Bram Moolenaar
2016-03-19 18:44:08 +01:00
parent 3848e00e01
commit 3905e291fe
2 changed files with 4 additions and 6 deletions

View File

@@ -173,12 +173,8 @@ let l = [0, 1, 2, 3]
:let dict.data = [1,2,3]
:call dict.func("len: ")
:let x = dict.func("again: ")
:try
:let Fn = dict.func
:call Fn('xxx')
:catch
: $put =v:exception[:15]
:endtry
:"
:" Function in script-local List or Dict
:let g:dict = {}

View File

@@ -748,6 +748,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1605,
/**/
1604,
/**/