0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

patch 9.0.2156: Vim9: can use typealias in assignment

Problem:  Vim9: can use typealias in an assignment
Solution: Generate errors when class/typealias involved in the rhs of an
          assignment

closes: #13637

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Generate errors when class/typealias involved in assignment.
This commit is contained in:
Ernie Rael
2023-12-11 17:40:46 +01:00
committed by Christian Brabandt
parent fa920da283
commit 9ed53752df
10 changed files with 156 additions and 22 deletions

View File

@@ -35,4 +35,7 @@ type_T *get_member_type_from_stack(int count, int skip, cctx_T *cctx);
char *vartype_name(vartype_T type);
char *type_name(type_T *type, char **tofree);
void f_typename(typval_T *argvars, typval_T *rettv);
int check_vartype_is_value(vartype_T typ);
int check_typval_is_value(typval_T *tv);
int check_type_is_value(type_T *type);
/* vim: set ft=c : */