vim-patch:7.4.1605

Problem:    Catching exception that won't be thrown.
Solution:   Remove try/catch.

3905e291fe
This commit is contained in:
Michael Ennen 2016-10-26 22:50:07 -07:00 committed by James McCoy
parent 86706011a6
commit 34a7814219
2 changed files with 4 additions and 8 deletions

View File

@ -837,7 +837,7 @@ static int included_patches[] = {
// 1608,
// 1607,
// 1606,
// 1605,
1605,
1604,
1603,
// 1602 NA

View File

@ -274,17 +274,13 @@ describe('list and dictionary types', function()
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')]])
expect([[
len: 3
again: 3
Vim(call):E725: ]])
xxx3]])
end)
it('Function in script-local List or Dict', function()