Circular reference checking gets way out of hand in the Haxe object notation transformer as input sizes increase.
In order to cull it, I'm going to assume that only classes can have self references.
I know it's possible at runtime to break this rule, but you've got to fight the type system to do it, and there's a mechanism already to override the encoder behaviour where this is true.
I tried getting the y-combinator working because I've got to pass config around the equality algorithm so it can do more than one sort of equality, but no luck, there's still a hashlink compilation issue at least.
Might wind up copy pasting the Lookup function to escape the tedium of parameterising all of the Eq instances.
Naming of the now two distinct Eq methods also eludes me.
#DevLog #Haxe