Open
Description
The interpreter uses the racket equal? to evaluate the eq? primitive. This is different than the other interpreters which use the racket eq? . This causes the following test to give a different answer based off of the interpreter that you are using
(if (eq? (vector 0) (vector 0))
42
0)
This is the line in the Ldyn interpreter
[(Prim 'eq? (list e1 e2))
(Tagged (equal? (recur e1) (recur e2)) 'Boolean)]
Metadata
Metadata
Assignees
Labels
No labels