only fill in meth-ht when there is a tag-ht to pull from
This commit is contained in:
parent
b3719378fc
commit
a7cf8d0f5e
|
@ -90,10 +90,11 @@
|
||||||
(for ([a-bluebox-info (in-list lst)])
|
(for ([a-bluebox-info (in-list lst)])
|
||||||
(match a-bluebox-info
|
(match a-bluebox-info
|
||||||
[(bluebox-info blueboxes.rktd offset tag-ht mod-time)
|
[(bluebox-info blueboxes.rktd offset tag-ht mod-time)
|
||||||
|
(when tag-ht
|
||||||
(for ([(tag val) (in-hash tag-ht)])
|
(for ([(tag val) (in-hash tag-ht)])
|
||||||
(when (method-tag? tag)
|
(when (method-tag? tag)
|
||||||
(define-values (class/intf meth) (get-class/interface-and-method tag))
|
(define-values (class/intf meth) (get-class/interface-and-method tag))
|
||||||
(hash-set! meth-ht meth (cons tag (hash-ref meth-ht meth '())))))]))
|
(hash-set! meth-ht meth (cons tag (hash-ref meth-ht meth '()))))))]))
|
||||||
meth-ht)
|
meth-ht)
|
||||||
|
|
||||||
;; build-blueboxes-cache : ... -> (listof (list file-path int valid-blueboxes-info?))
|
;; build-blueboxes-cache : ... -> (listof (list file-path int valid-blueboxes-info?))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user