From: Bram Moolenaar Date: Sat, 19 Mar 2016 17:44:08 +0000 (+0100) Subject: patch 7.4.1605 X-Git-Tag: v7.4.1605 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3905e291fe4375ca5c59efa9ffcb01a39c7be3a9;p=thirdparty%2Fvim.git patch 7.4.1605 Problem: Catching exception that won't be thrown. Solution: Remove try/catch. --- diff --git a/src/testdir/test55.in b/src/testdir/test55.in index 635b35fc60..cab9c53273 100644 --- 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 = {} diff --git a/src/version.c b/src/version.c index 4be03debb2..2c4d24d070 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1605, /**/ 1604, /**/