view src/typemap @ 24367:95b8937804d3 v8.2.2724

patch 8.2.2724: Vim9: concatenating to list in dict not tested Commit: https://github.com/vim/vim/commit/0d351a04e137b5c25dd558476182e4cbc81a287d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 5 21:05:26 2021 +0200 patch 8.2.2724: Vim9: concatenating to list in dict not tested Problem: Vim9: concatenating to list in dict not tested. Solution: Add a test. (issue https://github.com/vim/vim/issues/8068)
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Apr 2021 21: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}\")