Skip to content

Error parsing clojure-contrib #1

Open
@dmiller

Description

@dmiller

Running dep against the clojure-contrib files, get this error:

java.lang.RuntimeException: java.lang.ClassCastException: clojure.lang.PersistentVector cannot be cast to clojure.lang.Named (NO_SOURCE_FILE:0)

I traced this to get-required being called on the ns form coming from command_line.clj:

(ns clojure.contrib.command-line
(:require (clojure.contrib [seq-utils :as su]))
(:use (clojure.contrib [str-utils :only (str-join)])))

I'm guessing get-required is not expecting to see the vector with the :as.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions