shithub: mc

Download patch

ref: 1ad429cfd3ae87764bcb7ba95d44a79eb4ce3dbf
parent: d5f2f88064356c362bad8c63153d7543c0141bab
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Aug 7 06:30:03 EDT 2015

Actually duplicate the bits.

--- a/libstd/bitset.myr
+++ b/libstd/bitset.myr
@@ -1,6 +1,9 @@
 use "alloc.use"
+use "die.use"
 use "extremum.use"
 use "mk.use"
+use "slcp.use"
+use "sldup.use"
 use "slfill.use"
 use "types.use"
 
@@ -34,7 +37,7 @@
 }
 
 const bsdup = {bs
-	-> mk([.bits=bs.bits])
+	-> mk([.bits=sldup(bs.bits)])
 }
 
 const bsfree = {bs