Skip to content

TypeInfo classes have wrong ClassKind, causing compilation errors. #5034

@LunaTheFoxgirl

Description

@LunaTheFoxgirl

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions