Mercurial > vim
view runtime/compiler/stack.vim @ 23187:013aa8e2be8c v8.2.2139
patch 8.2.2139: Vim9: unreachable code in assignment
Commit: https://github.com/vim/vim/commit/acbae18df528b6aee72ecfd66e344dc8be7b3775
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 13 18:44:43 2020 +0100
patch 8.2.2139: Vim9: unreachable code in assignment
Problem: Vim9: unreachable code in assignment.
Solution: Don't check "new_local" when "has_index" is set. Add test for
wrong type of list index.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Dec 2020 18:45:16 +0100 |
parents | 34fd018452ed |
children |
line wrap: on
line source
" Vim compiler file " Compiler: Haskell Stack " Maintainer: Daniel Campoverde <alx@sillybytes.net> " Latest Revision: 2018-08-27 if exists("current_compiler") finish endif let current_compiler = "stack" let s:cpo_save = &cpo set cpo&vim CompilerSet errorformat= \%-G%.%#:\ build\ %.%#, \%-G%.%#:\ configure\ %.%#, \%-G[%.%#]%.%#, \%-G%.%#preprocessing\ %.%#, \%-G%.%#configuring\ %.%#, \%-G%.%#building\ %.%#, \%-G%.%#linking\ %.%#, \%-G%.%#installing\ %.%#, \%-G%.%#registering\ %.%#, \%-G%.%#:\ copy/register%.%#, \%-G%.%#process\ exited\ %.%#, \%-G%.%#--builddir=%.%#, \%-G--%.%#, \%-G%.%#\|%.%#, \%E%f:%l:%c:\ error:,%+Z\ \ \ \ %m, \%E%f:%l:%c:\ error:\ %m,%-Z, \%W%f:%l:%c:\ warning:,%+Z\ \ \ \ %m, \%W%f:%l:%c:\ warning:\ %m,%-Z, let &cpo = s:cpo_save unlet s:cpo_save