Calling (done) within binding in an async test corrupts bound vars

Description

In an async test, calling (done) within a (binding) corrupts bound vars.

repro/core.cljs

The first test passes as expected, and because (done) is outside the binding, foo is reverted to nil. The second test passes, but leaves foo bound. The third test fails.

Environment

OS X 10.11.5

⟩ java -version
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)

Assignee

Unassigned

Reporter

import

Labels

Approval

None

Patch

None

Affects versions

Priority

Major
Configure