We're updating the issue view to help you get more done. 

IndexingPushbackReader error when compiling :reload-all with cljs.spec.alpha

Description

There seems to be an error when the following happens:

1 2 (ns repro.a-namespace (:require [cljs.spec.alpha :as s] :reload-all))

There is a repro here: https://github.com/arichiardi/cljs-reload-all-repro

The stack is enormous so I attached a file but the gist of it is:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 Caused by: clojure.lang.ExceptionInfo: No implementation of method: :read-char of protocol: #'clojure.tools.reader.reader-types/Reader found for class: clojure.tools.reader.reader_types.IndexingPushbackReader {:type :reader-exception} at clojure.core$ex_info.invokeStatic(core.clj:4739) at clojure.core$ex_info.invoke(core.clj:4739) at clojure.tools.reader$read_STAR_.invokeStatic(reader.clj:941) at clojure.tools.reader$read_STAR_.invoke(reader.clj:905) at clojure.tools.reader$read.invokeStatic(reader.clj:972) at clojure.tools.reader$read.invoke(reader.clj:949) at cljs.analyzer$forms_seq_STAR_$forms_seq___3119$fn__3120$fn__3121.invoke(analyzer.cljc:3676) at cljs.analyzer$forms_seq_STAR_$forms_seq___3119$fn__3120.invoke(analyzer.cljc:3669) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.RT.seq(RT.java:528) at clojure.core$seq__5124.invokeStatic(core.clj:137) at clojure.core$seq__5124.invoke(core.clj:137) at cljs.compiler$emit_source.invokeStatic(compiler.cljc:1389) at cljs.compiler$emit_source.invoke(compiler.cljc:1370) at cljs.compiler$compile_file_STAR_$fn__4580.invoke(compiler.cljc:1471) at cljs.compiler$with_core_cljs.invokeStatic(compiler.cljc:1285) at cljs.compiler$with_core_cljs.invoke(compiler.cljc:1274) at cljs.compiler$compile_file_STAR_.invokeStatic(compiler.cljc:1456) at cljs.compiler$compile_file_STAR_.invoke(compiler.cljc:1449) at cljs.compiler$compile_file$fn__4611.invoke(compiler.cljc:1553) ... 37 more

Environment

None

Status

Assignee

David Nolen

Reporter

Andrea Richiardi

Labels

None

Approval

None

Patch

None

Affects versions

1.10.238

Priority

Minor