forked from aniani/vim
patch 9.1.1279: Vim9: null_object and null_class are no reserved names
Problem: Vim9: null_object and null_class are no reserved names Solution: Add null_object and null_class as reserved names. (Yegappan Lakshmanan) closes: #17054 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
d22f43111b
commit
8daae6fea9
@@ -326,6 +326,8 @@ def Test_reserved_name()
|
||||
'null_list',
|
||||
'null_partial',
|
||||
'null_string',
|
||||
'null_object',
|
||||
'null_class',
|
||||
] + more_names
|
||||
v9.CheckDefExecAndScriptFailure(['var ' .. name .. ' = 0'], 'E1034:')
|
||||
v9.CheckDefExecAndScriptFailure(['var ' .. name .. ': bool'], 'E1034:')
|
||||
|
Reference in New Issue
Block a user