diff options
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 6a3c32aad..25376d052 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -1799,7 +1799,7 @@ compile_assign_unlet( return FAIL; } type = get_type_on_stack(cctx, 0); - if ((dest_type != VAR_BLOB && type != &t_special) + if ((dest_type != VAR_BLOB && type->tt_type != VAR_SPECIAL) && need_type(type, &t_number, -1, 0, cctx, FALSE, FALSE) == FAIL) return FAIL; |