aboutsummaryrefslogtreecommitdiff
path: root/stmutil/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'stmutil/context.go')
-rw-r--r--stmutil/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmutil/context.go b/stmutil/context.go
index 315abf4..8a4d58d 100644
--- a/stmutil/context.go
+++ b/stmutil/context.go
@@ -23,7 +23,7 @@ func ContextDoneVar(ctx context.Context) (*stm.Var, func()) {
if ctx.Err() != nil {
// TODO: What if we had read-only Vars? Then we could have a global one for this that we
// just reuse.
- v := stm.NewVar(true)
+ v := stm.NewBuiltinEqVar(true)
return v, func() {}
}
v := stm.NewVar(false)