[CLJS-356] `read-string` exception message should be the same as in Clojure Created: 16/Aug/12 Updated: 17/Aug/12 Resolved: 17/Aug/12 |
|
| Status: | Resolved |
| Project: | ClojureScript |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Defect | Priority: | Minor |
| Reporter: | Shantanu Kumar | Assignee: | Unassigned |
| Resolution: | Completed | Votes: | 0 |
| Labels: | reader | ||
| Environment: |
ClojureScript (Rhino REPL, browser, PhantomJS) |
||
| Description |
|
When I run (read-string ""), I get the exception message "EOF while reading" on Clojure (clojure.core) but on ClojureScript (cljs.reader) the message is just "EOF". ClojureScript's `read-string` should be fixed to match the error message "EOF while reading". Reference: https://groups.google.com/forum/?fromgroups#!topic/clojure/k-ZX5MaXoiQ%5B1-25%5D |
| Comments |
| Comment by David Nolen [ 17/Aug/12 12:40 AM ] |
|
Fixed, http://github.com/clojure/clojurescript/commit/df6f316acdc3375ea6de29b7700dac1a5c8e9dbe |