Use of structural equality in that part of the code is just a typo, the physical equality needs to be used instead for the purpose of the sharing optimization in this type of Walker. Happened to have caught this just by looking randomly for an example of that kind of traversal.
Use of structural equality in that part of the code is just a typo, the physical equality needs to be used instead for the purpose of the sharing optimization in this type of Walker. Happened to have caught this just by looking randomly for an example of that kind of traversal.