Let’s say I have structs A and B. They are defined the same way, but weren’t specified to be part of a common abstract type.
Is there a way to tell Julia that they’re really the same type, and that functions that accept A should accept B?
This is relevant to e.g. loading data from a JLD2 file where the type is reconstructed but was defined in a different module and so is considered to be different.