Reader tags not resolved by Cursive

19 views
Skip to first unread message

Pedro Boschi

unread,
Aug 13, 2021, 9:40:38 AM8/13/21
to cur...@googlegroups.com
Hi.

Cursive is not properly recognizing/linking the reader tags/directives when they are from an external lib, declared in the namespace's :require.

Example:
(ns example
(:require [tick.alpha.api :as time]))

{:my-date #time/date "1982-08-13"}

The "#time/date" reader directive is not being recognized / resolved by Cursive:
image.png

I'm using Cursive version "1.10.3-2021.2" on IntelliJ IDEA 2021.2 (Community Edition) Build #IC-212.4746.92

Regards,

Pedro Boschi

Engineering | Pipo Saúde

+55 11 998155344 | My profile 

alex

unread,
Aug 14, 2021, 8:55:43 AM8/14/21
to Cursive
Reader tags are not resolved using aliases so the require is irrelevant and unnecessary here.

Reader tag qualifiers are their own naming context, only defined by the set of readers in libraries on the classpath (which still may be a different problem here).

Reply all
Reply to author
Forward
0 new messages