Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added :refer-clojure :exclude for promise for actors namespace #13

Merged
merged 1 commit into from
Oct 22, 2013

Conversation

ekarlsso
Copy link
Contributor

When referring to co.paralleluniverse.pulsar.actor I get following error message:

IllegalStateException promise already refers to: #'co.paralleluniverse.pulsar.core/promise in namespace: co.paralleluniverse.pulsar.actors clojure.lang.Namespace.warnOrFailOnReplace (Namespace.java:88) and the loading fails.

Used namespace declaration is following:

(ns ptest
  (:refer-clojure :exclude [promise])
  (:require [co.paralleluniverse.pulsar.core :refer :all] :reload
               [co.paralleluniverse.pulsar.actors :as a] :reload))

The error message doesn't happen if only accessing pulsar.core.

After adding the (:refer-clojure :exclude [promise]) to actors namespace the problem doesn't appear anymore.

Probably this happens because actors namespace refer pulsar.core :all.

pron added a commit that referenced this pull request Oct 22, 2013
Added :refer-clojure :exclude for promise for actors namespace
@pron pron merged commit a3e796e into puniverse:master Oct 22, 2013
@pron
Copy link
Contributor

pron commented Oct 22, 2013

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants