Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document template-covariant behavior #2299

Closed
someniatko opened this issue Nov 5, 2019 · 1 comment
Closed

Document template-covariant behavior #2299

someniatko opened this issue Nov 5, 2019 · 1 comment

Comments

@someniatko
Copy link
Contributor

As a fix for #1603, a concept of "covariant templates" was born. However, as stated in #2291 (comment), it was never documented.

Therefore, to fill this gap, covariant templates should be explained on this page: https://psalm.dev/docs/annotating_code/templated_annotations/

@muglug
Copy link
Collaborator

muglug commented Jan 2, 2020

This was fixed in 7b6061e

@muglug muglug closed this as completed Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants