There is a small bug in jank's error code snippet reporter wherein it tries to search for a source file even when we are using read-string to read in some arbitrary source code from a string.
user=> (read-string "#cpp")
─ parse/invalid-reader-tag-value ───────────────────────────────────────────────────────────────────
error: The string literal after this '#cpp' is missing.
─────┬──────────────────────────────────────────────────────────────────────────────────────────────
│ /var/folders/xd/9v1dcg0d46l7d19830vq0lhc0000gn/T/jank-repl-5Wf2yg
─────┼──────────────────────────────────────────────────────────────────────────────────────────────
1 │ (read-string "#cpp")
│ ^^^^^^^^^^^^^^^^^^^^ Used here.
─────┴──────────────────────────────────────────────────────────────────────────────────────────────
╭ nil ─────────────────────────────────────────────────────────────────────────────────────────────╮
│Unable to map file: Unable to find module 'user'. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
There is a small bug in jank's error code snippet reporter wherein it tries to search for a source file even when we are using
read-stringto read in some arbitrary source code from a string.