patch 8.2.0159: non-materialized range() list causes problems
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
Solution: Materialize the list where needed.
diff --git a/src/eval.c b/src/eval.c
index a9d0c7d..f017243 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -4205,7 +4205,7 @@
cur_l = l;
for (;;)
{
- if (!abort)
+ if (!abort && cur_l->lv_first != &range_list_item)
// Mark each item in the list. If the item contains a hashtab
// it is added to ht_stack, if it contains a list it is added to
// list_stack.