I doubt there is a precise solution for what this function should do,
as, at least in CLJS, it seems like there has to be some ambiguity
introduced by the munging process.
I think we can at least aim for usable output, though.
I didn't make any attempt to figure out what the behavior for foo$$
was before commit 2e72125.
There might be more good test cases we can add. The ones I did
required rather different expectations between clj and cljs, since
apparently the two implementations produce rather different output.
This is to address issue #416.
I doubt there is a precise solution for what this function should do, as, at least in CLJS, it seems like there has to be some ambiguity introduced by the munging process.
I think we can at least aim for usable output, though.
I didn't make any attempt to figure out what the behavior for
foo$$
was before commit 2e72125.There might be more good test cases we can add. The ones I did required rather different expectations between clj and cljs, since apparently the two implementations produce rather different output.