compiler/cm: fix self-dependency check for ".ss" vs. ".rkt"

This commit is contained in:
Matthew Flatt 2012-09-21 08:31:04 -06:00
parent cb041850f4
commit 9b6ff5d94d

View File

@ -144,7 +144,9 @@
(let* ([r (resolve-module-path-index x path)]
[r (if (pair? r) (cadr r) r)])
(if (and (path? r)
(not (equal? path r)))
(not (equal? path r))
(not (equal? path r))
(not (equal? path (rkt->ss r))))
(hash-set ht (path->bytes r) #t)
ht))))
(for*/fold ([ht new-ht]) ([non-star? (in-list '(#f #t))]