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

cram (add missing libspec) fails if there are no :requires yet #28

Open
daveyarwood opened this issue Jun 1, 2018 · 0 comments
Open

Comments

@daveyarwood
Copy link

If I have a bare-bones namespace declaration like:

(ns foo)

And I move my cursor over something like str/includes? and type cram, I get an error message: nil

If I add in a :require part of the ns form:

(ns foo
  (:require []))

and then do the same thing, then it works.

I would guess that this is something to do with not being able to locate the :require part of the ns (because it doesn't exist yet) and not handling that case specially. I think the right behavior there would be to add the :require form for you.

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

No branches or pull requests

1 participant