From 3905e291fe4375ca5c59efa9ffcb01a39c7be3a9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 19 Mar 2016 18:44:08 +0100 Subject: [PATCH] patch 7.4.1605 Problem: Catching exception that won't be thrown. Solution: Remove try/catch. --- src/testdir/test55.in | 8 ++------ src/version.c | 2 ++ 2 files changed, 4 insertions(+), 6 deletions(-) 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, /**/