seanjensengrey / mosh-scheme

Automatically exported from code.google.com/p/mosh-scheme
Other
0 stars 0 forks source link

Hashtable does not store bytevector as its key #227

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. creates a new hashtable with equal-hash and equal?
2. set a bytevector with its key.
3. call hashtable-ref with it
(import (rnrs))
(define ht (make-hashtable equal-hash equal?))
(hashtable-set! ht #vu8(1 2 3) 'ok)
(hashtable-ref ht #vu8(1 2 3) #f)

What is the expected output? 
'ok

What do you see instead?
#f

What version of the product are you using? On what operating system?
mosh 0.2.6

Please provide any additional information below.

Original issue reported on code.google.com by ktakash...@gmail.com on 3 Jan 2012 at 1:54

GoogleCodeExporter commented 9 years ago

Original comment by hige...@gmail.com on 3 Jan 2012 at 2:14

GoogleCodeExporter commented 9 years ago

Original comment by hige...@gmail.com on 12 Jan 2012 at 6:16