Skip to content

typeIndex gives inconsistent results for differently-qualified versions of same object #58

@pbackus

Description

@pbackus

Failing test:

alias MySum = SumType!(const(int[]), int[]);
int[] ma;
auto x = MySum(ma);
auto y = x;
assert(x.typeIndex == y.typeIndex);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions