Skip to content

Better support for static<T> #5383

@gharlan

Description

@gharlan

https://psalm.dev/r/b9d50b9872

It would be nice if psalm could fail here, because static<bool> does not match C2 extends C1<string>.
(But I don't know how difficult that would be to implement.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions