Skip to content

Commit 9fea0c6

Browse files
authored
Merge pull request #2908 from MarcoQin/master
debug: fix RPC params of method CreateBreakpoint
2 parents 71633c4 + 4280c43 commit 9fea0c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/go/debug.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ function! go#debug#Breakpoint(...) abort
10631063
if type(l:found) == v:t_dict && !empty(l:found)
10641064
exe 'sign unplace '. l:found.id .' file=' . l:found.file
10651065
if s:isActive()
1066-
let res = s:call_jsonrpc('RPCServer.ClearBreakpoint', {'id': l:found.id})
1066+
let res = s:call_jsonrpc('RPCServer.ClearBreakpoint', {'id': str2nr(l:found.id, 10)})
10671067
endif
10681068
" Add breakpoint.
10691069
else

0 commit comments

Comments
 (0)