On Mon, Jan 5, 2009 at 11:29 PM, rzeze...@gmail.com <rzeze...@gmail.com> wrote:
>
> I was just messing around with array's and produced the following
> exception.  I don't actually need this to work for any reason, but I
> was rather surprised by the behavior.  Is this a bug or expected
> behavior? Please note I'm using revision 1195.
>
> user=> (alength nil)
> java.lang.IllegalArgumentException: More than one matching method
> found: alength (NO_SOURCE_FILE:146)

The docs say "Works on arrays of all types" and last I checked, nil is
not an array of any type.
What would you expect it to do?

--Chouser

--~--~---------~--~----~------------~-------~--~----~
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
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