Mention cljc when require fails

Description

If you attempt to require a namespace for which the code cannot be located, now that cljc files are considered when locating code, it could be mentioned in the list of files considered on the classpath.

Note: FWIW, ClojureScript has similar error messages, and the order listed in the error message is the order tried when loading. If this were followed, I suspect the text of the error message above would end up looking like:

Patch: clj-1797.patch
Approach: add info about cljcfile not found in exception thrown from load
Screened by: Alex Miller

Environment

None

Activity

Show:
Alex Miller
January 18, 2016, 12:53 PM

Go for it!

Cezary Kosko
January 18, 2016, 12:21 PM

Hey,

I'm a newbie, so I thought I'd do that one (even though it's not vetted yet, but seems it 's bound to be), to get a tad more familiar w/ the sources.

Kind regards,
Cezary

Completed

Assignee

Cezary Kosko

Reporter

Mike Fikes

Labels

Approval

Ok

Patch

Code

Fix versions

Affects versions

Priority

Minor