You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was there no solution found to this problem? I found some strange behavior....
If I have something like this - "#{#uuid "000-000-000" #uuid "123-456-879"}"
And I parse and then re-encode, it gives ""#{"000-000-000" "123-456-879"}"
It's failing on the parse, it generates a set with two strings, rather than a set with two Tagged elements. So the encode is doing what it's supposed to, but the parse is not.
What's really weird is that if I do something like this to the string (replacing '#uuid' with '#uuidN') var counter = 0; stringToParse = stringToParse.replace(/#uuid/g, function(match) { counter++; return match + counter; });
And now I parse, the object comes out with two tagged elements in the set! And re-encoding gives
"#{#uuid1 "000-000-000" #uuid2 "123-456-879"}"
Why is it failing when the tags are the same, but succeeding when the tags are unique?
This:
results in
but I'm trying to get back
So how should I go about keeping the tag in the output?
The text was updated successfully, but these errors were encountered: