We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
resolve-tag
AFAIK a tag is resolved from the global environment, not local scope. For example this works fine even though we shadow Class with a local.
Class
(let [Class nil] ((fn [^Class a] (.getName a)) Integer)) (resolve {'Class true} 'Class) ;; emulating Schema's tag inference ;=> nil (resolve 'Class) ;; what I suspect is more correct ;=> java.lang.Class
Relevant line:
schema/src/clj/schema/macros.clj
Line 121 in 8fcb57f
The text was updated successfully, but these errors were encountered:
No branches or pull requests
AFAIK a tag is resolved from the global environment, not local scope. For example this works fine even though we shadow
Class
with a local.Relevant line:
schema/src/clj/schema/macros.clj
Line 121 in 8fcb57f
The text was updated successfully, but these errors were encountered: