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 5330e73 commit 68565caCopy full SHA for 68565ca
src/main/clojure/clojure/core/async.clj
@@ -35,7 +35,8 @@ to catch and handle."
35
[java.util.concurrent.locks Lock]
36
[java.util.concurrent Executors Executor ThreadLocalRandom]
37
[java.util Arrays ArrayList]
38
- [clojure.lang Var]))
+ [clojure.lang Var]
39
+ [java.lang Thread$Builder]))
40
41
(alias 'core 'clojure.core)
42
@@ -491,7 +492,7 @@ to catch and handle."
491
492
(defmacro go
493
"Dispatches to task macro."
494
[& body]
- `(task ~body))
495
+ `(task ~@body))
496
497
(defonce ^:private ^Executor thread-macro-executor
498
(Executors/newCachedThreadPool (conc/counted-thread-factory "async-thread-macro-%d" true)))
0 commit comments