Instructions: Replace the template text and remove irrelevant text (including this line)
Describe the bug
There're still some crash cases with nested map/filter functions.
To Reproduce
Detailed steps to reproduce the behavior:
vim --clean (or gvim --clean, etc.):echo map({'x':{'y':1}}, 'map(v:val, "2")')Expected behavior
No SIGABRT happens, echoes {'x': {'y': 2}}.
Screenshots
If applicable, copy/paste the text or add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
This resembles #4888 but different report (because this reproduces with v8.1.1967).
Replacing map with filter also reproduce the crash.
I git-bisected the repository and the bad commit was;
e5cdf153bcb348c68011b308c8988cea42d6ddeb is the first bad commit
commit e5cdf153bcb348c68011b308c8988cea42d6ddeb
Author: Bram Moolenaar <Br...@vim.org>
Date: Thu Aug 29 22:09:46 2019 +0200
patch 8.1.1939: code for handling v: variables in generic eval file
Problem: Code for handling v: variables in generic eval file.
Solution: Move v: variables to evalvars.c. (Yegappan Lakshmanan,
closes #4872)
src/eval.c | 1041 +-----------------------------------------------
src/evalvars.c | 1028 ++++++++++++++++++++++++++++++++++++++++++++++-
src/proto/eval.pro | 34 +-
src/proto/evalvars.pro | 34 ++
src/version.c | 2 +
5 files changed, 1077 insertions(+), 1062 deletions(-)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub