import issue?

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Wed Nov 22 16:11:03 UTC 2023


You have two ``SA`` structs, each in different encapsulations.

Each of them are different, even if they have similar members.

In D types that look the same do not combine, they are distinct.

You can see this by comparing the mangling of each.

``pragma(msg, SA.mangleof);``


More information about the Digitalmars-d-learn mailing list