Mercurial > vim
view src/typemap @ 25455:e7c02cbe701f v8.2.3264
patch 8.2.3264: Vim9: assign test fails
Commit: https://github.com/vim/vim/commit/f24f51d03035379cf3e5b2dccf489a40bc4ca92a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 1 12:01:49 2021 +0200
patch 8.2.3264: Vim9: assign test fails
Problem: Vim9: assign test fails.
Solution: Add missing change.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Aug 2021 12:15:03 +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}\")