Mercurial > vim
view src/testdir/dotest.in @ 21184:2113e94dc726 v8.2.1143
patch 8.2.1143: Vim9: return type of remove() is any
Commit: https://github.com/vim/vim/commit/ad7c24932725b9ab37b65fe359a41f8ba3e3dfcf
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 5 20:55:29 2020 +0200
patch 8.2.1143: Vim9: return type of remove() is any
Problem: Vim9: return type of remove() is any.
Solution: Use the member type of the first argument, if known.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Jul 2020 21:00:05 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
:set cp :map dotest /^STARTTEST j:set ff=unix cpo-=A :.,/ENDTEST/-1w! Xdotest :set ff& cpo+=A nj0:so! Xdotest dotest dotest