Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not check variance validity in private methods
- Loading branch information
1 parent
e4e5aa9
commit c9d76cb
Showing
5 changed files
with
24 additions
and
11 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,4 +69,7 @@ function l() {} | |
|
||
/** @return Invariant<Out<X>> */ | ||
function m() {} | ||
|
||
/** @return X */ | ||
private function n() {} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,4 +69,7 @@ function l() {} | |
|
||
/** @return Invariant<Out<X>> */ | ||
function m() {} | ||
|
||
/** @param X $n */ | ||
private function n($n) {} | ||
} |