Mercurial > vim
diff src/vim9type.c @ 24606:a4fda40e0bb9 v8.2.2842
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiled
Commit: https://github.com/vim/vim/commit/f18332fb9e2e4208a97d800f096b02c6681780e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 7 17:55:55 2021 +0200
patch 8.2.2842: Vim9: skip argument to searchpair() is not compiled
Problem: Vim9: skip argument to searchpair() is not compiled.
Solution: Add VAR_INSTR.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 May 2021 18:00:04 +0200 |
parents | 5c6ccab68d1e |
children | e61a2085c89b |
line wrap: on
line diff
--- a/src/vim9type.c +++ b/src/vim9type.c @@ -950,6 +950,7 @@ equal_type(type_T *type1, type_T *type2) case VAR_BLOB: case VAR_JOB: case VAR_CHANNEL: + case VAR_INSTR: break; // not composite is always OK case VAR_LIST: case VAR_DICT: @@ -1097,6 +1098,7 @@ vartype_name(vartype_T type) case VAR_CHANNEL: return "channel"; case VAR_LIST: return "list"; case VAR_DICT: return "dict"; + case VAR_INSTR: return "instr"; case VAR_FUNC: case VAR_PARTIAL: return "func";