0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1720: Vim9 class using wrong index for overridden method

Problem: Vim9 class using wrong index for overridden method
Solution: Use correct index for overridden method

closes: #12524
closes: #12813

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
Yegappan Lakshmanan
2023-08-16 20:14:37 +02:00
committed by Christian Brabandt
parent 20b33b56ad
commit a456b12011
3 changed files with 41 additions and 1 deletions

View File

@@ -911,7 +911,7 @@ early_ret:
== 0)
{
int *table = (int *)(if2cl + 1);
table[if_i] = cl_i;
table[if_i] = objmethods.ga_len + cl_i;
break;
}
}