<< Back to previous view

[CLJS-356] `read-string` exception message should be the same as in Clojure Created: 16/Aug/12  Updated: 27/Jul/13  Resolved: 17/Aug/12

Status: Closed
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

Generated at Tue Jul 29 03:47:20 CDT 2014 using JIRA 4.4#649-r158309.