# HG changeset patch # User Christian Brabandt # Date 1458409505 -3600 # Node ID e5f2e0f8af1099291e8a2675f19801c93be645d5 # Parent 062d86d6ef92e2cb491735c546e486317f732c9b commit https://github.com/vim/vim/commit/3905e291fe4375ca5c59efa9ffcb01a39c7be3a9 Author: Bram Moolenaar 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. diff --git a/src/testdir/test55.in b/src/testdir/test55.in --- 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 --- 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,