alts!! completes more than one operation when reading and writing to the same channel.

Description

The documentation states:

"Completes at most one of several channel operations"

When running the following example, the expected outcome would be a deadlock, but the code returns either [42 c] or [true c].

Environment

[org.clojure/clojure "1.9.0-alpha16"]
[org.clojure/core.async "0.3.443"]

Assignee

Unassigned

Reporter

import

Labels

None

Approval

None

Patch

None

Priority

Major
Configure