changeset 8631:e5f2e0f8af10 v7.4.1605

commit https://github.com/vim/vim/commit/3905e291fe4375ca5c59efa9ffcb01a39c7be3a9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 19 18:44:08 2016 +0100 patch 7.4.1605 Problem: Catching exception that won't be thrown. Solution: Remove try/catch.
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Mar 2016 18:45:05 +0100
parents 062d86d6ef92
children efdc2951aac4
files src/testdir/test55.in src/version.c
diffstat 2 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test55.in
+++ b/src/testdir/test55.in
@@ -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 = {}
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1605,
+/**/
     1604,
 /**/
     1603,