-
Notifications
You must be signed in to change notification settings - Fork 59
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
Migrate to better type inference tooling to detect BC breaks in types #143
Labels
Comments
4 tasks
As discussed with @muglug, there is some internal API in Psalm that could be helpful here (but is not covered by BC yet):
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As documented in #134, type inference based on documented types is weak.
In practice, we want to detect type variance changes for complex types, such as
@var Foo<Bar, Baz>
.We also want to detect changes such as:
These types are currently not inferred (BC check completely skipped), and that is a problem.
I think @psalm could help with this, but need to inspect further.
The text was updated successfully, but these errors were encountered: