Mercurial > vim
view src/typemap @ 30787:9f37bcd4d5c5 v9.0.0728
patch 9.0.0728: extend() test fails
Commit: https://github.com/vim/vim/commit/a4962cd7bac8464d9f8d95d37614ecf595c5487e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 11 23:12:59 2022 +0100
patch 9.0.0728: extend() test fails
Problem: extend() test fails.
Solution: Item is final, not const.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Oct 2022 00: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}\")