Skip to content

Commit 878379b

Browse files
committed
fix error message
1 parent 82512a1 commit 878379b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/clojure/core/async.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ the following values:
190190
"takes a val from port. Must be called inside a (go ...) block. Will
191191
return nil if closed. Will park if nothing is available."
192192
[port]
193-
(assert nil ">! used not in (go ...) block"))
193+
(assert nil "<! used not in (go ...) block"))
194194

195195
(defn take!
196196
"Asynchronously takes a val from port, passing to fn1. Will pass nil

0 commit comments

Comments
 (0)