[vim/vim] Vim9: internal error when a class member is initialized with a closure (PR #21081)

1 view
Skip to first unread message

h_east

unread,
2:39 AM (8 hours ago) 2:39 AM
to vim/vim, Subscribed
Problem:  Initializing an object variable with a closure gives an internal
          error when the constructor is called without arguments.
Solution: Do not use "any" as the type of an argument that was not set, and
          do not copy such an argument when the stack is copied for a
          closure.

fixes: #21069


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/21081

Commit Summary

  • dab85c5 Vim9: internal error when a class member is initialized with a closure

File Changes

(2 files)

Patch Links:


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.Message ID: <vim/vim/pull/21081@github.com>

Reply all
Reply to author
Forward
0 new messages