To: vim_dev@googlegroups.com Subject: Patch 7.4.1605 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1605 Problem: Catching exception that won't be thrown. Solution: Remove try/catch. Files: src/testdir/test55.in *** ../vim-7.4.1604/src/testdir/test55.in 2016-03-12 19:33:43.430403350 +0100 --- src/testdir/test55.in 2016-03-16 21:28:27.879784243 +0100 *************** *** 173,184 **** :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 :" :" Function in script-local List or Dict :let g:dict = {} --- 173,180 ---- :let dict.data = [1,2,3] :call dict.func("len: ") :let x = dict.func("again: ") ! :let Fn = dict.func ! :call Fn('xxx') :" :" Function in script-local List or Dict :let g:dict = {} *** ../vim-7.4.1604/src/version.c 2016-03-19 18:21:30.330003198 +0100 --- src/version.c 2016-03-19 18:43:33.916068936 +0100 *************** *** 750,751 **** --- 750,753 ---- { /* Add new patch number below this line */ + /**/ + 1605, /**/ -- From "know your smileys": y:-) Bad toupee /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///