83ef25dc664c — Leonard Ritter a month ago
* Set: a custom hash function can now be specified
1 files changed, 2 insertions(+), 2 deletions(-)

M lib/scopes/Set.sc
M lib/scopes/Set.sc +2 -2
@@ 351,8 351,8 @@ typedef Set < Struct
 
     inline __typecall (cls opts...)
         static-if (cls == this-type)
-            let key-type = opts...
-            gen-type key-type
+            let key-type function-type = opts...
+            gen-type key-type function-type
         else
             let numsets = ((MinCapacity + 63:u64) // 64:u64)
             let validset = (malloc-array BitfieldType numsets)