That suggestion of a more humane and helpful error message (", use alength function for array length") is Jira ticket 1448 <https://dev.clojure.org/jira/browse/CLJ-1448>.
Back in 2014, it got closed as "declined". But that was before the recent growth of interest in usable error messages. The proposed mitigation looks like it would hit the nail on the head. Its only apparent run-time cost would be on the error path. One nit: this patch may be step down a slippery slope leading to a more helpful message concerning yet another fake field, Class.class. (Are there any more?) Seems like a clear-cut, useful case to me. Alex, could issue 1448 be reopened? -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.