Skip to content
This repository has been archived by the owner on Jan 28, 2019. It is now read-only.

Fix refer-clojure at the top level #133

Merged
merged 2 commits into from
Apr 9, 2016
Merged

Fix refer-clojure at the top level #133

merged 2 commits into from
Apr 9, 2016

Conversation

arrdem
Copy link
Collaborator

@arrdem arrdem commented Apr 9, 2016

Since refer is now deprecated, and refer* is private, refer-clojure cannot (correctly) macroexpand to a refer* invocation outside of the ns form where it is sanboxed within a fn compiled in clojure.core. Rather than implement refer-clojure as a macro and conditionally employ the same (with-ns clj (eval)) tactic used by ns, this patch simply makes refer-clojure a fn which invokes refer*.

Fixes #132

Fixes #132, caused by refer-clojure macroexpanding into a refer* form
which is not legal outside of clojure.core.
@arrdem arrdem merged commit 8a2368d into develop Apr 9, 2016
arrdem added a commit that referenced this pull request Apr 9, 2016
Fix refer-clojure at the top level
arrdem added a commit that referenced this pull request Apr 9, 2016
Vist 0.2.1 upon the world

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

Successfully merging this pull request may close these issues.

1 participant