Mercurial > vim
comparison src/userfunc.c @ 21032:f80e822a310d v8.2.1067
patch 8.2.1067: expression "!expr->func()" does not work
Commit: https://github.com/vim/vim/commit/0b1cd52ff6bf690388f892be686a91721a082e55
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 27 13:11:50 2020 +0200
patch 8.2.1067: expression "!expr->func()" does not work
Problem: Expression "!expr->func()" does not work.
Solution: Apply plus and minus earlier. (closes https://github.com/vim/vim/issues/6348)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Jun 2020 13:15:03 +0200 |
parents | ae185f35e256 |
children | d9e0db9b2b99 |
comparison
equal
deleted
inserted
replaced
21031:d49456e1977e | 21032:f80e822a310d |
---|---|
3924 if (has_watchexpr()) | 3924 if (has_watchexpr()) |
3925 dbg_check_breakpoint(eap); | 3925 dbg_check_breakpoint(eap); |
3926 | 3926 |
3927 // Handle a function returning a Funcref, Dictionary or List. | 3927 // Handle a function returning a Funcref, Dictionary or List. |
3928 if (handle_subscript(&arg, &rettv, eap->skip ? 0 : EVAL_EVALUATE, | 3928 if (handle_subscript(&arg, &rettv, eap->skip ? 0 : EVAL_EVALUATE, |
3929 TRUE, name, &name) == FAIL) | 3929 TRUE) == FAIL) |
3930 { | 3930 { |
3931 failed = TRUE; | 3931 failed = TRUE; |
3932 break; | 3932 break; |
3933 } | 3933 } |
3934 | 3934 |