Mercurial > vim
view src/typemap @ 27541:8af6e7761b0c v8.2.4297
patch 8.2.4297: Vim9: not all code covered by tests
Commit: https://github.com/vim/vim/commit/21ebb0899ecf9049c3e1c9cbc2e06fd8e2a99e06
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 4 21:58:58 2022 +0000
patch 8.2.4297: Vim9: not all code covered by tests
Problem: Vim9: not all code covered by tests.
Solution: Add a couple more tests.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Feb 2022 23:00:05 +0100 |
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}\")