I wrote:
> Patch 7.4.1836
> Problem: When using a partial on a dictionary it always gets bound to that
> dictionary.
> Solution: Make a difference between binding a function to a dictionary
> explicitly or automatically.
> Files: src/structs.h, src/eval.c, src/testdir/test_partial.vim,
> runtime/doc/eval.txt
I hope this doesn't break anything. At least code that was written
before Partials were introduced.
I hope it's not too difficult to understand:
- When using dict.member the dict is bound automatically to member
- When using function() to bind a dict that dict is kept and not change
by automatic binding.
It might be useful to add some more explanation in the documentation.
Let me know if you have a suggestion.
--
The process for understanding customers primarily involves sitting around with
other marketing people and talking about what you would to if you were dumb
enough to be a customer.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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].
For more options, visit https://groups.google.com/d/optout.