Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RT #124207: assert failure in ck_stringify()
v5.21.4-416-g73f4c4f converted (among other things) stringify(join(...)) into just join(...). It asserted that the stringify didn't have any extra children, which it won't normally do, since in something like "@A-" the elements of the stringify get bundled up into a single tree of concats etc, and stringify just sees a single top-level join or concat or whatever. However during error recovery weird stuff can get left on the stack. So rather than asserting no more kids, skip the optimisation if there are more kids.
- Loading branch information
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters