`<!` inside nested `let` inside `go` block erroneously yields "<! not used inside go block" error

Description

Title says it all.

Environment

Mac OS X.
Node 4.1.1.
Clojure 1.7.0
ClojureScript 1.7.170

Activity

Show:
Jonathan Leonard
February 21, 2016, 9:08 PM

Actually, my code is a bit more complicated:

Nicola Mometto
February 21, 2016, 9:20 PM

You cannot user `for` inside a go block

Jonathan Leonard
February 21, 2016, 9:39 PM

The `for` cannot appear anywhere inside a `go`? Or the `for` cannot contain inside it any async calls; i.e., is it ok for `for` to appear somewhere in the let binding as a sibling to a call to <!?

Nicola Mometto
February 21, 2016, 9:48 PM

You can't use `<!` inside a `for` inside a `go` block, code like this OTOH should be valud:

Jonathan Leonard
February 21, 2016, 10:45 PM

Ahh, perfect! Thx!

Assignee

Unassigned

Reporter

Jonathan Leonard

Labels

None

Approval

None

Patch

None

Priority

Minor
Configure