You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, cyclic values lead to a stack overflow. It would be nice to have some option (maybe just for debugging) to get some information where a cycle happened.
#type t =A of t |B [@@deriving to_yojson]
typet = Aoft | Bvalto_yojson : t -> Yojson.Safe.json=<fun>#to_yojsonB- : Yojson.Safe.json=`List [`String"B"]
#letrecx=Axvalx : t=A<cycle>#to_yojsonxStackoverflowduringevaluation (loopingrecursion?).
Raisedbyprimitiveoperationatfile"//toplevel//", line1, characters0-42Calledfromfile"//toplevel//", line1, characters0-42
The text was updated successfully, but these errors were encountered:
Currently, cyclic values lead to a stack overflow. It would be nice to have some option (maybe just for debugging) to get some information where a cycle happened.
The text was updated successfully, but these errors were encountered: