-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
When we have self-referential heap structures, the output loops infinitely and must be interrupted:
> (let ([v (make-vector 1 #t)]) (begin (vector-set! v 0 v) v))
#0='#(#0#)
> (run (compile (parse '(let ([v (make-vector 1 #t)]) (begin (vector-set! v 0 v) v)))))
^Cuser break [,bt for context]It'd be nice to implement a (simple) check for these cases and indicate the recursion somehow.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels