Files
vim/runtime
Hirohito HigashiandClaude Opus 5 d4703e569d patch 9.2.0958: Vim9: wrong type for the rest of a tuple in an unpack assignment
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 (Mao-Yining).
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
          (Hirohito Higashi).

fixes:  #21057
fixes:  #21058
closes: #21059

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2026-08-16 15:46:32 +00:00
..
2025-10-03 08:02:02 +00:00
…
…
…
…
…