diff options
author | Rich Hickey <richhickey@gmail.com> | 2006-08-05 15:31:36 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2006-08-05 15:31:36 +0000 |
commit | da11eb9d0dd587e532470965b3c655b741d1fa5c (patch) | |
tree | 12ca5ed1b29b2f29caebc3cb3fba09d72af23bd8 /src/cli/runtime/Var.cs | |
parent | db58898d1d44d8025208bb5f0b2c4a493a5cdb43 (diff) |
changed return type of assoc to Associative
Diffstat (limited to 'src/cli/runtime/Var.cs')
-rw-r--r-- | src/cli/runtime/Var.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/runtime/Var.cs b/src/cli/runtime/Var.cs index 13d10034..cb0327e7 100644 --- a/src/cli/runtime/Var.cs +++ b/src/cli/runtime/Var.cs @@ -49,7 +49,7 @@ Binding getThreadBinding()
{ if (b == null)
newtb = tb.without(thread);
else
- newtb = tb.assoc(thread, b);
+ newtb = (IPersistentMap)tb.assoc(thread, b);
} while (tb != Interlocked.CompareExchange(ref threadBindings, newtb, tb));
}
public IFn fn(){
return (IFn)getValue();
}
override public Object invoke(){
return fn().invoke();
|