Skip to content
Browse files

* src/clj/cljs/analyzer.clj: comment about role of *reader-ns-name* a…

…nd *reader-ns*
  • Loading branch information...
1 parent 7dbef70 commit 8e0caf2db73e86553dfd747e7c0f7528cd61382b David Nolen committed Jul 10, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/clj/cljs/analyzer.clj
View
3 src/clj/cljs/analyzer.clj
@@ -22,6 +22,9 @@
(declare confirm-bindings)
(declare ^:dynamic *cljs-file*)
+;; to resolve keywords like ::foo - the namespace
+;; must be determined during analysis - the reader
+;; did not know
(def ^:dynamic *reader-ns-name* (gensym))
(def ^:dynamic *reader-ns* (create-ns *reader-ns-name*))

0 comments on commit 8e0caf2

Please sign in to comment.
Something went wrong with that request. Please try again.