Open
Description
Today the typeid of a type is only generated from the types name and nothing else (see https://github.com/wc-duck/datalibrary/blob/master/src/dl_typelib_read_txt.cpp#L1125)
This will lead to problems when, in the future, type upgrades/conversions need to be supported as 2 types would be considered the same even if their members is not the same!
Typeid should be generated from name + member-names + member-types to generate an unique typeid even if the name is the same.
Question: are 2 types the same if name mismatch but the actual struct is equal?
Metadata
Metadata
Assignees
Labels
No labels