Created attachment 1100 [details] test case It looks like what's happening is the extern(C) on the struct is affecting the hidden helper function __xopEquals use by the typeinfo. Once I figured out what was wrong, it was easy enough to make sure the strut was extern(C), but actually figure out what was going wrong wasn't easy.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18437 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB