I've tried different things, the following looked like a good shot, but it fails. Can a forward reference be done?

   vim9script

   var X: func = funcref('F')

   def F()
        echo "in F()"
   enddef

   X()

   line    3:
   E700: Unknown function: F

-ernie

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/fb62a538-f981-6d38-d4af-da3b9353152a%40raelity.com.

Raspunde prin e-mail lui