mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.1569: cannot use "this.member" in lambda in class method
Problem: Cannot use "this.member" in lambda in class method. Solution: Adjust check for reserved keyword. (Hirohito Higashi, closes #12416, closes #12076, closes #12336)
This commit is contained in:
@@ -1654,7 +1654,7 @@ set_var_lval(
|
||||
{
|
||||
cc = *endp;
|
||||
*endp = NUL;
|
||||
if (in_vim9script() && check_reserved_name(lp->ll_name, NULL) == FAIL)
|
||||
if (in_vim9script() && check_reserved_name(lp->ll_name, FALSE) == FAIL)
|
||||
return;
|
||||
|
||||
if (lp->ll_blob != NULL)
|
||||
|
Reference in New Issue
Block a user