No origin tracking for root node
Doing an innermost traversal fails to propagate ast-mapping for the root node.
preserve(s) = ![<id>]; all(s); Hd
orSubmitted by Nathan Bruning on 29 March 2010 at 10:07
preserve(s) = !Some(<id>); all(s); ?Some(<id>)
There’s no general way to fix this (other than patching all traversal strategies, such as innermost, topdown, etc.) So I’m closing this issue as a wontfix. However, the origin tracking API of Spoofax/11 will include something like preserve(s).
Log in to post comments