adding a few more annotations to make Racket 5.3.1 happy
This commit is contained in:
parent
343a0995f7
commit
ed4e00e952
|
@ -122,8 +122,8 @@
|
||||||
;; Given a list of lexical addresses, computes a set of unique references.
|
;; Given a list of lexical addresses, computes a set of unique references.
|
||||||
;; Multiple lexical addresses to a single prefix should be treated identically.
|
;; Multiple lexical addresses to a single prefix should be treated identically.
|
||||||
(define (collect-lexical-references addresses)
|
(define (collect-lexical-references addresses)
|
||||||
(let: ([prefix-references : (Setof EnvWholePrefixReference) (new-set)]
|
(let: ([prefix-references : (Setof EnvWholePrefixReference) ((inst new-set EnvWholePrefixReference))]
|
||||||
[lexical-references : (Setof EnvLexicalReference) (new-set)])
|
[lexical-references : (Setof EnvLexicalReference) ((inst new-set EnvLexicalReference))])
|
||||||
(let: loop : (Listof (U EnvLexicalReference EnvWholePrefixReference))
|
(let: loop : (Listof (U EnvLexicalReference EnvWholePrefixReference))
|
||||||
([addresses : (Listof LexicalAddress) addresses])
|
([addresses : (Listof LexicalAddress) addresses])
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Reference in New Issue
Block a user