> On Mon, Jan 19, 2026 at 05:14:46PM +0900, Michael Paquier wrote: > On Thu, Jan 15, 2026 at 02:53:20PM -0600, Sami Imseih wrote: > >> As far as I recall it was an > >> intentional design decision, and to adjust newa->list_end in such > >> scenarios we need to solve the original problem of finding an end > >> location of any arbitrary expression, > > > > I'm not sure I follow. How would we adjust newa->list_end? > > I may be missing something, of course, but Dmitry's message reads as > follows to me: > "It was a design choice to track the start and end locations because > we needed that for arrays, and resetting the locations if we have Vars > in the list like you are suggesting is OK by me."
Yep, I concur the current approach is fine. What I was saying about adjusting newa->list_end is just an ideal and at the moment only hypothetical scenario, where we could deduce end location of the new list based on its nested elements. Currently there are no mechanism to achieve that, so maybe in the future.
