Skip to content

bug(semantic): generic passed to typeof not counted as a reference #4495

@DonIsaac

Description

@DonIsaac

Part of #4445

// T incorrectly has no references, but it should have a single one with `ReferenceFlags::Type`
export type Foo<T> = typeof foo<T>;

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-semanticArea - SemanticC-bugCategory - Buggood first issueExperience Level - Good for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions