In a Vim9 script, a new item can be appended to a list by using the list length
as the index. When doing this, Vim initially adds a number as the new item.
This led to the type error reported in #19045. Instead of using a number as the
new item, this change creates a new item based on the proper type before
adding it to the list.
Fixes the issue reported in #19045.
https://github.com/vim/vim/pull/19076
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@yegappan pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()