Problem: In an unpack assignment the variable after the ";" gets the type
of the whole tuple instead of the type of the remaining items.
When the assigned value has type "any" it even gets a list type,
so that a tuple cannot be assigned to it later.
Solution: Give the variable the type of the remaining items. Keep "any"
when it is not known whether a list or a tuple is assigned.
https://github.com/vim/vim/pull/21059
(4 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Updated vim9.txt.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()