check syntax: sort the identifiers (but this time without a bug...)

closes PR 11494
This commit is contained in:
Robby Findler 2010-12-04 08:49:09 -06:00
parent dba0472873
commit 3a506e5acb

View File

@ -1395,11 +1395,7 @@
(loop (list (syntax-source stx)
(syntax-position stx)
(syntax-span stx))))))))
(define locs-to-be-renamed
(sort (hash-map src-locs (λ (k v) k))
>=
#:key cadr))
(define to-be-renamed (hash-map all-stxs (λ (k v) k)))
(define to-be-renamed (sort (hash-map all-stxs (λ (k v) k)) > #:key syntax-position))
(define do-renaming?
(or (not (name-duplication? to-be-renamed id-sets new-sym))
(equal?