aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source
diff options
context:
space:
mode:
authorEduardo Julian2016-12-19 20:03:13 -0400
committerEduardo Julian2016-12-19 20:03:13 -0400
commit4639d34aeab515261ff8e21ff96170de74ff8304 (patch)
tree8e4e8ed73bf34b25335cf832196c4a8cc46cf5db /stdlib/source
parent98656372b3b69d6db6541538ddf7bacfd2c9a6fb (diff)
- Fixed a bug when updating the value of a STM var.
- Refactored the tests for lux/concurrency/stm.
Diffstat (limited to 'stdlib/source')
-rw-r--r--stdlib/source/lux/concurrency/stm.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/lux/concurrency/stm.lux b/stdlib/source/lux/concurrency/stm.lux
index c3e5fad3a..914920773 100644
--- a/stdlib/source/lux/concurrency/stm.lux
+++ b/stdlib/source/lux/concurrency/stm.lux
@@ -91,7 +91,7 @@
(:! (Var ($ +0)) _var))
(#;Cons [(:! (Var ($ +0)) _var)
(:! ($ +0) _original)
- (:! ($ +0) _current)]
+ (:! ($ +0) value)]
tx')
(#;Cons [_var _original _current]
(update-tx-value var value tx')))