Mercurial > vim
diff src/vim9compile.c @ 33326:4e531adb3fac v9.0.1928
patch 9.0.1928: Vim9: constructor type checking bug
Commit: https://github.com/vim/vim/commit/b895b0fabce7d952a6617eb69fc1e1597ece8b00
Author: h-east <h.east.727@gmail.com>
Date: Sun Sep 24 15:46:31 2023 +0200
patch 9.0.1928: Vim9: constructor type checking bug
Problem: Vim9: constructor type checking bug
Solution: Fix class constructor regression
closes: #13102
closes: #13113
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: h-east <h.east.727@gmail.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Sep 2023 16:00:07 +0200 |
parents | 9062315f9de1 |
children | 41b50abddeea |
line wrap: on
line diff
--- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -1101,7 +1101,7 @@ compile_nested_function(exarg_T *eap, cc int save_KeyTyped = KeyTyped; KeyTyped = FALSE; - ufunc = define_function(eap, lambda_name, lines_to_free, 0); + ufunc = define_function(eap, lambda_name, lines_to_free, 0, NULL, 0); KeyTyped = save_KeyTyped;