bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26639: bug#27057: 26.0.50; Equal defstruct objects not recognized in


From: Stefan Monnier
Subject: bug#26639: bug#27057: 26.0.50; Equal defstruct objects not recognized in puthash
Date: Wed, 24 May 2017 11:56:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>     (progn
>       (cl-defstruct sm-foo a b)
>       (setq sm-hash (make-hash-table :test 'equal))
>       (puthash (make-sm-foo :a 4 :b 6) "test1" sm-hash)
>       (puthash (make-sm-foo :a 4 :b 6) "test2" sm-hash)
>       (hash-table-count sm-hash))
>
> this code return 2 here instead of 1.

This should be fixed now,


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]