Removing error when hovering over non-heap squares. Fixes pr11147
This commit is contained in:
parent
5684ba4a9c
commit
ef664d531f
|
@ -318,6 +318,7 @@
|
|||
(update-arrows '())]))
|
||||
|
||||
(define/private (index->nexts index)
|
||||
(if (< index (vector-length heap-vec))
|
||||
(let ([n (vector-ref heap-vec index)])
|
||||
(cond
|
||||
[(and (exact-integer? n)
|
||||
|
@ -327,7 +328,8 @@
|
|||
[(procedure? n)
|
||||
(map read-root (procedure-roots n))]
|
||||
[else
|
||||
'()])))
|
||||
'()]))
|
||||
'()))
|
||||
|
||||
(define/private (find-connections start)
|
||||
(let ([visited (make-hash)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user