d4447cdd5a51 — Leonard Ritter 16 days ago
* default copy operator now also dereferences the value
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/scopes/core.sc
M lib/scopes/core.sc +1 -1
@@ 2464,7 2464,7 @@ do
                         hide-traceback;
                         error "cannot copy value of non-plain storage type"
                     let anchor = ('anchor args)
-                    'tag `(dupe self) anchor
+                    'tag `(dupe (deref self)) anchor
 
     'set-symbols immutable
         __copy = default-copy