We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcfee99 commit 78e9354Copy full SHA for 78e9354
src/main/clojure/clojure/core/async/impl/dispatch.clj
@@ -75,9 +75,10 @@
75
76
(defn ensure-clojure-version! [maj min incr]
77
(let [{:keys [major minor incremental]} *clojure-version*]
78
- (when (or (< maj major)
79
- (< min minor)
80
- (< incr incremental))
+ (when-not
+ (or (> major maj)
+ (and (= major maj) (> minor min))
81
+ (and (= major maj) (= minor min) (>= incremental incr)))
82
(throw (ex-info (str "core.async go block expander requires Clojure version ≥"
83
maj "." min "." incr
84
" to load")
0 commit comments