Since LDC 1.42.0-beta1, the DtoIsObjcLinkage function appears to be returning true for TypeInfo classes, breaking dynamic up-casts of them.
I'm not sure where in the code the ClassKind is wrongfully being assigned to ClassKind::objc, maybe class initialization issue?