Mercurial > vim
view runtime/compiler/go.vim @ 11142:a54985a73ab2 v8.0.0458
patch 8.0.0458: potential crash if adding list or dict to dict fails
commit https://github.com/vim/vim/commit/42f45b850df93b806ef44f3025aecedfffb9ae01
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 14 22:17:14 2017 +0100
patch 8.0.0458: potential crash if adding list or dict to dict fails
Problem: Potential crash if adding list or dict to dict fails.
Solution: Make sure the reference count is correct. (Nikolai Pavlov, closes
#1555)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 14 Mar 2017 22:30:05 +0100 |
parents | 1e8ebf870720 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Go " Maintainer: David Barnett (https://github.com/google/vim-ft-go) " Last Change: 2014 Aug 16 if exists('current_compiler') finish endif let current_compiler = 'go' if exists(':CompilerSet') != 2 command -nargs=* CompilerSet setlocal <args> endif let s:save_cpo = &cpo set cpo-=C CompilerSet makeprg=go\ build CompilerSet errorformat= \%-G#\ %.%#, \%A%f:%l:%c:\ %m, \%A%f:%l:\ %m, \%C%*\\s%m, \%-G%.%# let &cpo = s:save_cpo unlet s:save_cpo " vim: sw=2 sts=2 et