Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: No reader function for tag tailrecursion.priority-map #14

Open
danielcompton opened this issue Aug 25, 2022 · 0 comments
Open

Error: No reader function for tag tailrecursion.priority-map #14

danielcompton opened this issue Aug 25, 2022 · 0 comments

Comments

@danielcompton
Copy link

danielcompton commented Aug 25, 2022

When we do pr-str and then read-string on a priority map, the reading fails.

I think this is because the priority-map reader is registered as a string, not a symbol.

CleanShot 2022-08-25 at 19 39 50@2x

To reproduce:

(cljs.reader/read-string (pr-str (pm/priority-map :a 1)))

To fix:

(cljs.reader/register-tag-parser! 'tailrecursion.priority-map pm/read-priority-map)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant