-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: We begin support for `infer_variance` and add a unittest. TODO: Three conformance tests that respectively use: - dataclass - property - final I looked at is setting the "self" parameter to be bivariant, which seems correct according to Vitousek's writeup on the variance for self types https://fb.workplace.com/notes/flow-inference-redesign/variance-of-the-this-parameter-in-methods/2804686066457515 , but doing so is not giving me the right results. Reviewed By: stroxler Differential Revision: D64702381 fbshipit-source-id: 53db8adaea91b46f4b8891465dbcecfbc1c30dac
- Loading branch information
1 parent
0d20f3a
commit 54e7df4
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters