Uploaded image for project: 'tools.reader'
  1. TRDR-43

CLJS tests cannot run with Clojure 1.9.0-SNAPSHOT and Clojurescript prior to 1.9.183

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Labels:
      None
    • Environment:

      Clojure 1.9.0-master-SNAPSHOT, tested as of April 10, 2017

      Description

      Fix is to update project.clj to depend on org.clojure/clojurescript "1.9.183" or later.

      See commit https://github.com/clojure/clojurescript/commit/48b83d900dc46e912fcefc2365f806f5c8c15dfe

      This corrected a minor bug in the ns form of base64_vlq.clj. The absence of this fix causes cljsbuild to fail with a clojure.spec failure:

      Exception in thread "main" clojure.lang.ExceptionInfo: Call to clojure.core/ns did not conform to spec:
      In: [1] val: ((require [clojure.string :as string] [cljs.source-map.base64 :as base64])) fails at: [:args] predicate: (cat :docstring (? string?) :attr-map (? map?) :clauses :clojure.core.specs/ns-clauses), Extra input
      :clojure.spec/args (cljs.source-map.base64-vlq (require [clojure.string :as string] [cljs.source-map.base64 :as base64]))
      #:clojure.spec{:problems [{:path [:args], :reason "Extra input", :pred (cat :docstring (? string?) :attr-map (? map?) :clauses :clojure.core.specs/ns-clauses), :val ((require [clojure.string :as string] [cljs.source-map.base64 :as base64])), :via [], :in [1]}], :args (cljs.source-map.base64-vlq (require [clojure.string :as string] [cljs.source-map.base64 :as base64]))}, compiling:(cljs/source_map/base64_vlq.clj:1:1)
      at clojure.lang.Compiler.load(Compiler.java:7442)
      at clojure.lang.RT.loadResourceScript(RT.java:374)
      at clojure.lang.RT.loadResourceScript(RT.java:365)
      at clojure.lang.RT.load(RT.java:455)
      at clojure.lang.RT.load(RT.java:421)
      at clojure.core$load$fn__7831.invoke(core.clj:6008)
      at clojure.core$load.invokeStatic(core.clj:6007)

        Attachments

          Activity

            People

            • Assignee:
              bronsa Nicola Mometto
              Reporter:
              mtnygard Michael Nygard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: