mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1605
Problem: Catching exception that won't be thrown. Solution: Remove try/catch.
This commit is contained 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
|
||||
:"
|
||||
:" Function in script-local List or Dict
|
||||
:let g:dict = {}
|
||||
|
@@ -748,6 +748,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1605,
|
||||
/**/
|
||||
1604,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user