On Wed, 7 Feb 2024 00:16:57 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:
>> There are two cases that need consideration: >> 1. A tree that is not modified during the transformation, as in the test >> case here, so that all nodes should be "as before" >> 2. A tree that is modified during the transformation, raising the issue of >> the positions of the new node and any enclosing node > > I found what I think was the issue, and I've pushed an initial fix for it, > which passes improved versions of existing tests. > I'll follow up with more tests and perhaps include your test case here as > well; thanks for providing it. Update: I've added your test case, which now passes OK. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16388#discussion_r1480724330