Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Tagged literals break Instarepl #18

Open
gilch opened this issue Mar 21, 2016 · 0 comments
Open

Tagged literals break Instarepl #18

gilch opened this issue Mar 21, 2016 · 0 comments

Comments

@gilch
Copy link

gilch commented Mar 21, 2016

image

As you can see from the second line, the reader function does show up in the *data-readers* map.

The third line demonstrates that the function from the map is correctly defined and produces the expected form.

The last line is an attempt to use the tagged literal, but it produces an error message, and the Instarepl stops working altogether until the offending form is removed.

Explicitly requiring the file where the reader function is defined (first line) doesn't help the Instarepl find it either.

You can reproduce this error by defining a tagged literal in the usual manner, that is, with a data_readers.clj file mapping the tag symbol to the reader function in your src/ folder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant