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

coerce cannot cast object to primitive types. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hozumi
Copy link

@hozumi hozumi commented Nov 30, 2010

Hi,
:default method of coerce has a problem about casting primitive types.

$ wget http://media.pragprog.com/titles/shcloj/code/shcloj-code.tgz
$ tar xzf shcloj-code.tgz
$ cd code
$ bin/repl.sh
Clojure 1.1.0-alpha-SNAPSHOT
user=> (use 'lancet.step-5-complete)
nil
user=> (def sleep (instantiate-task ant-project "sleep" {:seconds 2}))
java.lang.ClassCastException (NO_SOURCE_FILE:2)

I've fixed this problem.

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.

1 participant