Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Handle invalid .clj files #2

Merged
merged 1 commit into from Feb 14, 2012

Conversation

Projects
None yet
2 participants
Contributor

hugoduncan commented Feb 14, 2012

In clojure 1.2, the reader only checks for invalid forms when the read forms are used,
so can throw outside of a read call. This commit forces any ns form to be read
completely befor ethe namespace name is exctracted.

See also http://dev.clojure.org/jira/browse/TNS-1 for discussion of the issue.

@hugoduncan hugoduncan Handle invalid .clj files
In clojure 1.2, the reader only checks for invalid forms when the read forms are used,
so can throw outside of a read call. This commit forces any ns form to be read
completely befor ethe namespace name is exctracted.

See also http://dev.clojure.org/jira/browse/TNS-1 for discussion of the issue.
5c18a6c

@Raynes Raynes added a commit that referenced this pull request Feb 14, 2012

@Raynes Raynes Merge pull request #2 from hugoduncan/feature/handle-invalid-clj-fils
Handle invalid .clj files
dad899f

@Raynes Raynes merged commit dad899f into Raynes:master Feb 14, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment