planner: Correct crash in virtual doc iteration
There was an issue with iterating over virtual docs when planning an expression that had `with` keywords. The iterator would potentially be called multiple times, so the "with" values needed to be pushed and popped accordingly. This essentially copies the pattern used in the topdown eval flow. Fixes: #2601 Signed-off-by: Patrick East <east.patrick@gmail.com>
P
Patrick East committed
c141d08ff8ff9874b65bb8a27a795230441f9747
Parent: 6b461a0
Committed by Torin Sandall <torinsandall@gmail.com>
on 8/24/2020, 8:08:04 PM