Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Concretize callable object params before intersection processing
Summary: When we see an intersection lower bound with a function type upper bound, we concretize the params to give the speculation machinery a fighting chance to choose one branch. We did not do the same thing for callable object upper bounds. This diff adds more logic to handle that case. Reviewed By: panagosg7 Differential Revision: D14784956 fbshipit-source-id: 1b9f0da01b8b3c1a7a4cdd532d8a5a1b293621af
- Loading branch information
1 parent
6dd62e0
commit 0938da8
Showing
1 changed file
with
28 additions
and
4 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