Ernie Rael wrote:
> This may be the first time I have to consider the <>Funct stuff. I'd
> like to disassemble an nested function. Tried several things, the
> example below fails with
>
> Error detected while processing :source buffer=5[12]..function <SNR>37_A:
> line 5:
> E1061: Cannot find function B
>
> vim9script
>
> def A()
> def B()
> printf('foo')
> enddef
> printf('bar')
> disassemble B
> enddef
> defcompile
> disassemble A
> A()
Look at the output of "disassemble A", there should be a <lambda>123
used there, you can disassemble that one.
Remove the "disassemble B".
--
>From "know your smileys":
;-0 Can't find shift key
,-9 Kann Umschalttaste nicht finden
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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/20220429091628.3784D1C0255%40moolenaar.net.