On Fri, May 23, 2025 at 04:29:45PM +0200, Dmitry Dolgov wrote:
> I think it's better to recursively call IsSquashableConst on the nested
> expression (arg or args for FuncExpr). Something like that was done in
> the original patch version and was concidered too much at that time, but
> since it looks like all the past concerns are lifted, why not. Do not
> forget check_stack_depth.
AFAIK, we have already a couple of check_stack_depth() calls during
some node transformations after-parsing. At this level of the code
that would be a new thing..
--
Michael