Mercurial > vim
view src/typemap @ 22421:2765ae0ce02e v8.2.1759
patch 8.2.1759: Vim9: Some tests are still using :let
Commit: https://github.com/vim/vim/commit/37ce6d3a6ab7c7864de6788feb67377e8bbffa63
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 27 17:57:43 2020 +0200
patch 8.2.1759: Vim9: Some tests are still using :let
Problem: Vim9: Some tests are still using :let.
Solution: Change more declarations to use :var.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 27 Sep 2020 18:00:04 +0200 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")