Seems like `==` operator doesn't work for object variants. Is there better options than writing it by hands?
Writing `==` proc manually feels a bit o type Obj = object case type: bool of false: a: int of true: b: int echo Obj() == Obj() # Error Run P.S. There's an option to convert objects to json and compare string blobs for equality, not good for performance, but still better than writing comparison code manually :).