On 2 February 2010 05:14, Raoul Duke <rao...@gmail.com> wrote:
> given keyword isn't one that is supported,
> or no load target given

Good point, I've updated the ticket patch to check options are valid
also, so the behavior is now:

user=> (use 'foo :foo :bar)
java.lang.Exception: Unsupported option(s) supplied: :foo,:bar
(NO_SOURCE_FILE:0)
user=> (use :foo)
java.lang.Exception: Unsupported option(s) supplied: :foo (NO_SOURCE_FILE:0)
user=> (use)
java.lang.Exception: Nothing specified to load (NO_SOURCE_FILE:0)


http://www.assembla.com/spaces/clojure/tickets/253-Improve-errors-for--use---require--in-REPL


Regards,
Tim.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to