tailrecursion / boot.core

Core libraries for the Boot Clojure build tool.
8 stars 6 forks source link

an inline comment at the end of a file produces an eof exception #8

Open jumblerg opened 10 years ago

jumblerg commented 10 years ago

boot generates an eof whenever an inline comment is placed at the end of a file:

$ boot repl java.lang.RuntimeException: EOF while reading at clojure.lang.Util.runtimeException (Util.java:219) clojure.lang.LispReader.readDelimitedList (LispReader.java:1137) clojure.lang.LispReader$ListReader.invoke (LispReader.java:982) clojure.lang.LispReader.read (LispReader.java:185) clojure.lang.RT.readString (RT.java:1738) clojure.core$read_string.invoke (core.clj:3427) tailrecursion.boot.loader$_main.doInvoke (loader.clj:183) clojure.lang.RestFn.applyTo (RestFn.java:137) tailrecursion.boot.loader.main (:-1)

xykj61 commented 8 years ago

Did you move the last closing parenthesis down to the next line, i.e. take it out of the comment line? That just happened to me lol. Noob move.