mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.4286: Vim9: strict type checking after copy() and deepcopy()
Problem: Vim9: strict type checking after copy() and deepcopy(). Solution: Allow type to change after making a copy. (closes #9644)
This commit is contained in:
@@ -484,7 +484,7 @@ def Test_assign_linebreak()
|
||||
->copy()
|
||||
->copy()
|
||||
END
|
||||
v9.CheckDefFailure(lines, 'E1012:', 2)
|
||||
v9.CheckDefExecFailure(lines, 'E1012:', 4)
|
||||
|
||||
lines =<< trim END
|
||||
var x: any
|
||||
|
Reference in New Issue
Block a user