Uploaded image for project: 'ClojureScript'
  1. CLJS-2543

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects versions: 1.10.238
    • Fix versions: None
    • Labels:
      None

      Description

      There seems to be an error when the following happens:

      (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:

      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
      

        Attachments

          Activity

            People

            • Assignee:
              dnolen David Nolen
              Reporter:
              arichiardi Andrea Richiardi
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: