[vim/vim] Vim9: cannot use an exported function of an autoload import as a value (PR #20922)

1 view
Skip to first unread message

h_east

unread,
6:30 PM (2 hours ago) 6:30 PM
to vim/vim, Subscribed
Problem:  Using an exported function of a script imported with "import
          autoload" as a value gives E121, unless the script is under an
          "autoload" directory.
Solution: When the name is not a script variable also look for an exported
          function and push a funcref for it.

fixes: #20911


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

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

Commit Summary

  • 75b5f1b Vim9: cannot use an exported function of an autoload import as a value

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/20922@github.com>

Reply all
Reply to author
Forward
0 new messages