]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1605 v7.4.1605
authorBram Moolenaar <Bram@vim.org>
Sat, 19 Mar 2016 17:44:08 +0000 (18:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 19 Mar 2016 17:44:08 +0000 (18:44 +0100)
Problem:    Catching exception that won't be thrown.
Solution:   Remove try/catch.

src/testdir/test55.in
src/version.c

index 635b35fc605f5223151b6c6c27db9130707a519e..cab9c532738ff55919ccafc4bc9ef19ec46c7a25 100644 (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
+:let Fn = dict.func
+:call Fn('xxx')
 :" 
 :" Function in script-local List or Dict
 :let g:dict = {}
index 4be03debb28c5addde670bb61a5f4f35dbda8f1d..2c4d24d0704ad61ca843c0fbfec1c19ba1f3e254 100644 (file)
@@ -748,6 +748,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1605,
 /**/
     1604,
 /**/