Mercurial > vim
comparison src/proto/vim9class.pro @ 31843:ffa11e2757e7 v9.0.1254
patch 9.0.1254: calling a method on an interface does not work
Commit: https://github.com/vim/vim/commit/d0200c8631582bbb16a9b585e2ca7adccc84ccdd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 28 15:19:40 2023 +0000
patch 9.0.1254: calling a method on an interface does not work
Problem: Calling a method on an interface does not work.
Solution: At runtime figure out what method to call. (closes https://github.com/vim/vim/issues/11901)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Jan 2023 16:30:04 +0100 |
parents | 64f03e860c91 |
children | e4851934751a |
comparison
equal
deleted
inserted
replaced
31842:1b6543beb560 | 31843:ffa11e2757e7 |
---|---|
1 /* vim9class.c */ | 1 /* vim9class.c */ |
2 int object_index_from_itf_index(class_T *itf, int idx, class_T *cl); | 2 int object_index_from_itf_index(class_T *itf, int is_method, int idx, class_T *cl); |
3 void ex_class(exarg_T *eap); | 3 void ex_class(exarg_T *eap); |
4 type_T *class_member_type(class_T *cl, char_u *name, char_u *name_end, int *member_idx); | 4 type_T *class_member_type(class_T *cl, char_u *name, char_u *name_end, int *member_idx); |
5 void ex_enum(exarg_T *eap); | 5 void ex_enum(exarg_T *eap); |
6 void ex_type(exarg_T *eap); | 6 void ex_type(exarg_T *eap); |
7 int class_object_index(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int verbose); | 7 int class_object_index(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int verbose); |