Problem with equal-hash? -- Segmentation fault: 11
Issue #182
resolved
Reported on Github.
Comments (3)
-
reporter -
reporter Both R6RS and R7RS say that comparison of record by
eqv?
returns #t only if the memory location is the same. So basically, the error case should always return #f.NB: this also means
equal?
must also return #f for the sake of R6RS. (or more precisely, the R6RS test suites.) -
reporter - changed status to resolved
eqv? shouldn't inspect record fields. (Fixes
#182) Comforming R6RS equal? strictly (breaking backward compatibility)→ <<cset a40b2b1018da>>
- Log in to comment
eqv?
of record causes stack overflow. The following is a simple example: